
/* Layout: blaues Kopfband mit Hirsch-Logo, rot-wei\df -blauer Streifen wie auf dem RTW, Titelbild als Banner, darunter Seiteninhalt in einer Spalte. Anton f\fc r Titel wie im Logo, Jost f\fc r Text. */
:root {
  --bg: #F2F4FA;
  --surface: #FFFFFF;
  --ink: #0F1330;
  --muted: #4A5173;
  --line: #D3D8EA;
  --soft: #E8ECF8;
  --red: #C8202A;
  --red-text: #B01B24;
  --on-red: #FFFFFF;
  --blue: #1F2E8C;
  --head: #141F6B;
  --head-ink: #FFFFFF;
  --head-muted: #B4BDE8;
  --font-display: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
:root { color-scheme: light; }

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-body); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopf */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--head); color: var(--head-ink); }
.head-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 54px; width: auto; max-width: none; flex: none; }
.wm { display: grid; line-height: 1; }
.wm b { font: 700 1.15rem/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.wm i { font: 300 0.82rem/1.2 var(--font-body); font-style: normal; letter-spacing: 0.42em; text-transform: uppercase; margin-top: 3px; }
.tabs { display: flex; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; align-items: center; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .login-link { font: 500 1rem/1 var(--font-body); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; padding: 12px 12px; border-bottom: 3px solid transparent; color: var(--head-muted); }
.tabs a:hover, .login-link:hover { color: var(--head-ink); }
.tabs a[aria-current="page"] { color: var(--head-ink); border-bottom-color: var(--red); }
.tabs .sep { width: 1px; align-self: stretch; margin: 8px 8px; background: var(--head-muted); opacity: 0.4; flex: none; }
.tabs a.adm { color: #FFD9DB; }
.login-wrap { margin-left: auto; display: grid; justify-items: end; gap: 2px; }
.login-link { border: 2px solid var(--head-muted); border-radius: 3px; padding: 8px 14px; color: var(--head-ink); }
.admin-link { font: 500 0.72rem/1.2 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--head-muted); text-decoration: none; background: none; border: 0; padding: 2px 2px; cursor: pointer; }
.admin-link:hover, .admin-link[aria-current="page"] { color: var(--head-ink); text-decoration: underline; }
.login-link[aria-current="page"] { background: var(--red); border-color: var(--red); }
.stripe { height: 5px; background: linear-gradient(90deg, #C8202A 0 60%, #1F2E8C 60% 100%); }
@media (max-width: 760px) {
  .head-row { padding-block: 8px 0; }
  .brand { order: 1; } .login-wrap { order: 2; } .tabs { order: 3; flex-basis: 100%; }
}

/* Infos */
[id] { scroll-margin-top: 130px; }
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 70px); z-index: 10; }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav button { font: 500 0.95rem/1 var(--font-body); white-space: nowrap; background: var(--soft); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; color: var(--ink); }
.subnav button:hover { background: var(--blue); color: #fff; }
.prose { display: grid; gap: 16px; max-width: 96ch; }
.prose p { font-size: 1.05rem; line-height: 1.7; }
.quals { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 110ch; }
.quals li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.quals strong { font: 700 1.15rem/1.3 var(--font-display); }
.quals p { color: var(--muted); }
.course-box { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: grid; gap: 16px; max-width: 110ch; }
.course-box h3 { font-size: 1.2rem; }
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(8, 12, 40, .6); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.dlg { background: var(--surface); color: var(--ink); width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 12px; padding: 22px 24px 26px; display: grid; gap: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.35); border-top: 5px solid var(--red); }
.dlg-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.dlg .x { border: 0; background: var(--soft); width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; flex: none; }
.form.flat { border: 0; padding: 0; background: transparent; }
.hint { color: var(--muted); font-size: .95rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: 5px; flex: none; }
.status.err { color: var(--red-text); min-height: 1.2em; }
@media (max-width: 520px) { .dlg .form-grid { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.split .prose { max-width: none; }
.split .frame.tall { aspect-ratio: 4 / 3; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.frame { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.frame.tall { aspect-ratio: 4 / 5; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.empty { border: 2px dashed var(--line); background: repeating-linear-gradient(135deg, var(--soft) 0 14px, var(--bg) 14px 28px); display: grid; place-items: center; }
.frame .ph { display: grid; justify-items: center; gap: 8px; color: var(--muted); font: 500 0.85rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.frame .ctl { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 8px 56px; }
@media (max-width: 640px) { .strip { grid-template-columns: minmax(0, 1fr); } }
.qrows { border-top: 1px solid var(--line); }
.qrows li { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) auto; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.qrows strong { font: 700 1.05rem/1.3 var(--font-display); }
.qrows span { color: var(--muted); }
@media (max-width: 640px) { .qrows li { grid-template-columns: minmax(0, 1fr); } }
.extra-head { margin-top: 16px; display: grid; gap: 4px; }
.extra-head h3 { font-size: 1.3rem; }
.extra-head p { color: var(--muted); }
.xcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.xcards li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px 20px; display: grid; gap: 6px; align-content: start; border-top: 4px solid var(--blue); }
.xcards .xk { font: 700 1.7rem/1 var(--font-display); color: var(--blue); letter-spacing: -0.01em; }
.xcards strong { font-weight: 600; font-size: .95rem; line-height: 1.35; }
.xcards p { color: var(--muted); font-size: .95rem; }
.qcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
@media (max-width: 820px) { .qcols { grid-template-columns: minmax(0, 1fr); } }
.qh { font-size: 1.2rem; margin-bottom: 8px; }
.qi { color: var(--muted); margin-bottom: 8px; }
.qcols .quals { max-width: none; }

/* Login-Fenster */
.lmodal { position: fixed; inset: 0; z-index: 70; background: rgba(6, 9, 32, .72); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.ldlg { width: min(1060px, 100%); min-height: min(640px, calc(100vh - 32px)); background: var(--surface); color: var(--ink); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.lhero { color: #fff; background-size: cover; background-position: 70% 40%; padding: 28px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 260px; }
.lbrand { display: flex; align-items: center; gap: 12px; }
.lbrand img { height: 46px; width: auto; }
.lbrand span { display: grid; line-height: 1.05; }
.lbrand b { font: 700 1rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.lbrand i { font: 400 .72rem/1.2 var(--font-body); letter-spacing: .4em; text-transform: uppercase; font-style: normal; }
.lcopy { display: grid; gap: 10px; }
.lcopy .eyebrow { color: #C9D1FF; }
.lcopy h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; }
.lcopy p:last-child { color: #D6DBF5; max-width: 34ch; }
.lcard { position: relative; padding: 36px 36px 32px; display: grid; gap: 14px; align-content: center; }
.lcard h2 { font-size: 2rem; margin-top: -6px; }
.x { position: absolute; top: 14px; right: 14px; border: 0; background: var(--soft); width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lseg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); border-radius: 10px; padding: 4px; gap: 4px; }
.lseg button { border: 0; background: transparent; padding: 10px 8px; border-radius: 7px; font: 600 .95rem var(--font-body); cursor: pointer; color: var(--muted); }
.lseg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.ltabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); }
.ltabs button { border: 0; background: none; padding: 8px 0; font: 600 1rem var(--font-body); color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; margin-bottom: -1px; }
.ltabs button.on { color: var(--ink); border-bottom-color: var(--red); }
@media (max-width: 820px) { .ldlg { grid-template-columns: minmax(0, 1fr); } .lhero { min-height: 170px; padding: 20px; } .lcopy p:last-child { display: none; } .lcopy h2 { font-size: 1.8rem; } .lcard { padding: 24px 20px; } }

/* Kommentare, Profil */
.av { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; background: var(--blue); color: #fff; display: inline-grid; place-items: center; font: 700 1rem var(--font-body); }
.av.big { width: 96px; height: 96px; font-size: 2.2rem; }
.qa { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.qa h3 { font-size: 1.3rem; }
.cbox { display: grid; gap: 18px; }
.ccomp { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 12px; }
.cwho { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; }
.cwho .av { width: 32px; height: 32px; font-size: .9rem; }
.ccomp textarea, .cedit textarea, .rform textarea { width: 100%; min-height: 96px; resize: vertical; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.cnote { color: var(--muted); font-size: .95rem; }
.login-hint { background: var(--surface); border: 1px dashed var(--line); border-radius: 10px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.clist { display: grid; gap: 14px; }
.comment { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.cbody { display: grid; gap: 8px; min-width: 0; }
.chead { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cname { font-weight: 600; }
.ctime { color: var(--muted); font-size: .85rem; }
.ctext { white-space: pre-wrap; overflow-wrap: anywhere; }
.ctext small { color: var(--muted); }
.badge { font: 600 .68rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--blue); color: #fff; padding: 4px 7px; border-radius: 999px; }
.creply { border-left: 3px solid var(--blue); background: var(--soft); border-radius: 0 8px 8px 0; padding: 10px 12px; display: grid; gap: 6px; }
.rform, .cedit { display: grid; gap: 8px; }
.prof { display: grid; gap: 28px; }
.prof-av { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.danger { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 10px; }
.danger p { color: var(--muted); }
.danger-btn { background: var(--red); border-color: var(--red); color: #fff; }
.danger-btn:hover { background: var(--red); border-color: var(--red); filter: brightness(1.1); color: #fff; }
button.login-link { background: none; cursor: pointer; font-family: inherit; }

/* Weniger Linien */
.sec { border-top: 0; padding-block: 44px; }
.quals, .qrows, .tasks, .facts, .timeline, .w-list, .steps, .ladder, .faq, .accounts { border-top: 0; }
.quals li:last-child, .qrows li:last-child, .timeline li:last-child, .ladder li:last-child, .w-list li:last-child, .steps li:last-child, .tasks li:last-child, .facts li:last-child, .faq details:last-child, .faq .faq-item:last-child { border-bottom: 0; }
.qrows li, .timeline li, .ladder li, .quals li, .faq details, .faq .faq-item { border-bottom-color: var(--soft); }
.subnav { border-bottom: 0; box-shadow: 0 2px 8px rgba(15, 19, 48, .06); }
.qa { border-top: 0; padding-top: 12px; margin-top: 8px; }
.danger { border-top: 0; padding-top: 12px; }
.faq details { background: var(--surface); border-radius: 10px; margin-bottom: 8px; padding: 0 16px; border: 0; }
.faq summary { padding: 16px 0; }
.faq { display: grid; }

/* Einklappen, Daumen, Profil */
.cfold { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font: 600 1rem var(--font-body); cursor: pointer; text-align: left; }
.cfold:hover { border-color: var(--blue); }
.cfold .ct { flex: 1; }
.cfold .cnt { background: var(--soft); border-radius: 999px; padding: 3px 10px; font: 600 .85rem var(--font-mono); }
.chev { width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .15s; }
.cfold[aria-expanded="true"] .chev { transform: rotate(-135deg); margin-top: 4px; }
.cwrap { display: grid; gap: 18px; }
.crow { align-items: center; }
.votes { display: flex; gap: 6px; margin-right: 4px; }
.vote { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; cursor: pointer; font: 600 .9rem var(--font-body); color: var(--muted); }
.vote:hover { border-color: var(--blue); color: var(--blue); }
.vote.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.vote.down svg { transform: rotate(180deg); }
.vote.down.on { background: var(--red); border-color: var(--red); }
.prof-id { display: grid; gap: 6px; }
.pstats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pstats div { background: var(--surface); border-radius: 10px; padding: 14px 16px; display: grid; }
.pstats b { font: 700 1.8rem/1 var(--font-display); color: var(--blue); }
.pstats span { color: var(--muted); font-size: .9rem; }
.prof h3, .myposts h3 { font-size: 1.2rem; }
.myposts { display: grid; gap: 10px; }
.myposts ul { display: grid; gap: 8px; }
.myposts li { background: var(--surface); border-radius: 10px; padding: 12px 14px; display: flex; gap: 12px; justify-content: space-between; align-items: start; }
.myposts li p { margin-top: 4px; }

.cfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cfacts li { background: var(--surface); border-radius: 12px; padding: 18px 20px; display: grid; gap: 4px; border-left: 4px solid var(--red); }
.cfacts b { font: 700 1.9rem/1.1 var(--font-display); color: var(--blue); letter-spacing: -0.02em; }
.cfacts li > span { color: var(--muted); }
@media (max-width: 720px) { .cfacts { grid-template-columns: minmax(0, 1fr); } }
.split { align-items: start; }
.course-box { max-width: none; border: 0; }
.checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 720px) { .checks.two { grid-template-columns: minmax(0, 1fr); } }

/* Typo */
.eyebrow { font: 500 0.8rem/1.3 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-transform: none; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 9vw, 5.6rem); line-height: 1; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.05; }
.lead { font-size: 1.2rem; max-width: 80ch; }
.section-head { display: grid; gap: 8px; margin-bottom: 22px; }
.section-head p:not(.eyebrow) { color: var(--muted); max-width: 90ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 1rem/1 var(--font-body); letter-spacing: 0.01em; padding: 14px 24px; border: 2px solid currentColor; border-radius: 8px; background: transparent; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary { background: var(--red); border-color: var(--red); color: var(--on-red); }
.btn.primary:hover { filter: brightness(1.1); background: var(--red); border-color: var(--red); color: var(--on-red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stack { display: grid; gap: 64px; padding-block: 48px 64px; }

/* Titelband (Unterseiten) */
.page-top { background: var(--head); color: var(--head-ink); padding-block: 36px 34px; }
.page-top .wrap { display: grid; gap: 10px; }
.page-top .eyebrow { color: var(--head-muted); }
.page-top p:not(.eyebrow) { color: var(--head-muted); max-width: 90ch; }
.page-top .stripe { margin-top: 0; }

/* Hero */
.hero { color: #fff; background-color: #0A0F33; background-size: cover; background-position: 70% 40%; padding-block: 56px 52px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; }
.hero-copy { display: grid; gap: 20px; }
.hero .eyebrow { color: #C9D1FF; }
.hero h1 { display: grid; gap: 4px; }
.h1a { display: block; }
.h1b { display: block; font: 400 clamp(1.1rem, 3.6vw, 1.7rem)/1.2 var(--font-body); letter-spacing: 0.02em; opacity: .9; }
.hero .btn:not(.primary) { color: #fff; }
.hero .btn:not(.primary):hover { background: #fff; color: #141F6B; border-color: #fff; }
.callbox { background: var(--surface); color: var(--ink); border-top: 8px solid var(--red); padding: 20px 22px 22px; display: grid; gap: 6px; }
.callbox .num { font: 700 clamp(4.2rem, 13vw, 6.6rem)/0.95 var(--font-display); color: var(--red-text); letter-spacing: -0.02em; }
.callbox p:not(.eyebrow) { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 820px) { .hero-in { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Listen */
.w-list { border-top: 3px solid var(--ink); counter-reset: w; }
.w-list li { display: grid; grid-template-columns: minmax(130px, 210px) minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.w-list .q { font: 400 2.1rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.w-list .q::before { counter-increment: w; content: counter(w); font: 600 0.8rem var(--font-mono); color: var(--red-text); margin-right: 12px; vertical-align: 0.55em; }
.w-list p { color: var(--muted); max-width: 80ch; }
@media (max-width: 600px) { .w-list li { grid-template-columns: minmax(0, 1fr); } }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.rules { display: grid; gap: 16px; }
.rules li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--blue); }
.rules strong, .tasks strong { font-weight: 600; }
.rules span, .tasks span, .steps span, .ladder span { color: var(--muted); }
.tasks { border-top: 1px solid var(--line); }
.tasks li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.cta-band { background: var(--head); color: #fff; padding: 30px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; border-left: 10px solid var(--red); }
.cta-band .cta-text { display: grid; gap: 8px; max-width: 80ch; }
.cta-band p { color: var(--head-muted); }
.cta-band .btn { color: #fff; }
.cta-band .btn:hover { background: #fff; color: #141F6B; border-color: #fff; }

/* Fahrzeuge */
.fleet { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.veh { background: var(--surface); border: 1px solid var(--line); min-width: 0; display: grid; grid-template-rows: auto auto 1fr; }
.veh .pic { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; object-position: 35% 50%; background: var(--soft); }
.plate { background: #1F2E8C; color: #fff; padding: 12px 18px 10px; display: grid; gap: 2px; border-bottom: 6px solid #C8202A; }
.plate .call { font: 600 1.35rem/1.15 var(--font-mono); overflow-wrap: anywhere; }
.plate .kind { font: 400 0.95rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: #C9D1FF; }
.veh dl { padding: 16px 18px 18px; display: grid; gap: 12px; align-content: start; }
.veh dt { font: 500 0.72rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.veh .ctl { padding: 0 18px 16px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Bewerbung, Infos */
.steps { border-top: 3px solid var(--ink); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s); grid-row: span 2; font: 700 2.2rem/1 var(--font-display); color: var(--red-text); }
.steps strong { font-weight: 600; }
.checks { display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 12px; height: 7px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.form { background: var(--surface); border: 1px solid var(--line); padding: 24px; display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font: 500 0.75rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; }
.field textarea { min-height: 110px; resize: vertical; }
.field.full { grid-column: 1 / -1; }
.output { display: grid; gap: 10px; }
.output[hidden] { display: none !important; }
.output textarea { font: 500 0.88rem/1.5 var(--font-mono); min-height: 220px; background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 12px; width: 100%; }
.status { font: 500 0.85rem var(--font-mono); color: var(--muted); min-height: 1.4em; }
.ladder { border-top: 3px solid var(--ink); counter-reset: r; }
.ladder li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ladder li::before { counter-increment: r; content: counter(r); grid-row: span 2; font: 600 1rem var(--font-mono); color: var(--red-text); padding-top: 4px; }
.ladder strong { font: 700 1.2rem/1.3 var(--font-display); }
.faq { border-top: 3px solid var(--ink); }
.faq details, .faq .faq-item { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 4px 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.3rem/1.2 var(--font-mono); color: var(--red-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p, .faq .faq-item p { padding: 0 0 16px; color: var(--muted); max-width: 90ch; }
.faq .faq-item .fq { display: block; font-weight: 600; padding: 14px 0 6px; }
.contact { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--blue); padding: 20px 22px; display: grid; gap: 6px; }
.contact code { font: 500 0.95rem var(--font-mono); background: var(--bg); padding: 2px 8px; border-radius: 3px; overflow-wrap: anywhere; }

/* Login, Konten */
.narrow { max-width: 460px; display: grid; gap: 20px; }
.notice { border-left: 4px solid var(--red); padding: 10px 14px; background: var(--surface); color: var(--muted); font-size: 0.95rem; }
.notice.warn { border-left-color: #E0A100; color: var(--ink); }
.accounts { border-top: 3px solid var(--ink); }
.acc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.acc .who { display: grid; gap: 0; min-width: 0; }
.acc .who b { overflow-wrap: anywhere; }
.acc .who small { color: var(--muted); font-family: var(--font-mono); font-size: 0.78rem; }
.acc .role { font: 500 0.78rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.acc .role.admin { color: var(--red-text); }
.acc .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.acc form.inline { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; align-items: end; padding: 8px 0 4px; }
.acc form.inline .field { flex: 1 1 220px; }
@media (max-width: 700px) { .acc { grid-template-columns: minmax(0, 1fr); } .acc .acts { justify-content: flex-start; } }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.slot { background: var(--surface); border: 1px solid var(--line); padding: 16px; display: grid; gap: 12px; align-content: start; }
.slot .prev { background: var(--head); display: grid; place-items: center; min-height: 120px; padding: 12px; }
.slot .prev img { max-height: 110px; width: auto; max-width: 100%; object-fit: contain; }
.slot .prev.photo { padding: 0; background: var(--soft); }
.slot .prev.photo img { max-height: none; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.slot b { font-weight: 600; }
.slot span { color: var(--muted); font-size: 0.9rem; }

/* Bearbeiten */
.mini { display: inline-flex; align-items: center; font: 500 0.78rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; }
.mini:hover { border-color: var(--ink); }
.mini.rm { color: var(--red-text); }
.mini.add { border-style: dashed; }
.add-row { margin-top: 14px; }
.ed { outline: 1px dashed var(--red); outline-offset: 3px; cursor: text; }
.ed:hover { background: color-mix(in srgb, var(--red) 8%, transparent); }
.ed:focus { outline: 2px solid var(--red); background: color-mix(in srgb, var(--red) 10%, transparent); }
.ed:empty::before { content: "Text eingeben"; opacity: 0.5; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--head); color: #fff; border-top: 4px solid var(--red); padding-top: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)); }
.bar .wrap { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.bar .state { font: 500 0.85rem var(--font-mono); letter-spacing: 0.04em; color: #C9D1FF; }
.bar .btn { padding: 10px 16px; font-size: 0.9rem; color: #fff; }
.bar .btn.primary { color: var(--on-red); }
.bar .btn:hover { background: #fff; color: #141F6B; border-color: #fff; }
.bar .btn.primary:hover { background: var(--red); color: var(--on-red); border-color: var(--red); }
.bar .btn[disabled] { opacity: 0.5; cursor: wait; }
.has-bar { padding-bottom: 96px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; max-width: min(92vw, 560px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 4px; font-size: 0.95rem; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.has-bar .toast { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
.toast.on { opacity: 1; }
.restore { background: var(--surface); border-left: 6px solid #E0A100; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; }

/* Besucherseite */
.timeline { border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: minmax(84px, 130px) minmax(0, 1fr) auto; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline .yr { font: 700 1.6rem/1 var(--font-display); color: var(--red-text); }
.timeline .tl-body { display: grid; gap: 2px; }
.timeline .tl-body strong { font-weight: 600; font-size: 1.1rem; }
.timeline .tl-body p { color: var(--muted); max-width: 92ch; }
@media (max-width: 600px) { .timeline li { grid-template-columns: minmax(0, 1fr); } }
.sections { padding-bottom: 64px; }
.stats-wrap { padding-block: 40px 8px; }
.stats { border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--red); }
.stats li { padding: 22px 22px 24px; display: grid; gap: 4px; align-content: start; border-left: 1px solid var(--line); position: relative; }
.stats li:first-child { border-left: 0; }
.stats .sv { font: 700 clamp(2rem, 4.2vw, 2.9rem)/1 var(--font-display); color: var(--blue); letter-spacing: -0.02em; }
.stats .sk { font: 500 0.78rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.stats .sd { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats li:nth-child(odd) { border-left: 0; } .stats li:nth-child(n+3) { border-top: 1px solid var(--line); } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.cards li { border-radius: 10px; background: var(--surface); border: 1px solid var(--line); padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; position: relative; }

.cards .no { font: 500 0.75rem/1 var(--font-mono); color: var(--red-text); letter-spacing: 0.1em; }
.cards strong { font-size: 1.15rem; font-weight: 600; }
.cards p { color: var(--muted); }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.pair-sec { padding-block: 56px; }
.sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 56px; border-top: 1px solid var(--line); }
.sec > .section-head { margin: 0 0 8px; }
.sec-body { display: grid; gap: 32px; min-width: 0; }
.traeger { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.traeger img { width: min(230px, 100%); height: auto; max-width: none; flex: none; }
.traeger .txt { flex: 1 1 260px; display: grid; gap: 10px; }
.traeger .txt p + p { color: var(--muted); }
.traeger-list { display: grid; gap: 14px; }
.traeger-list h3 { font-size: 1.15rem; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 0 56px; }
.pair > div { display: grid; grid-template-rows: subgrid; grid-row: span 2; align-content: start; }
@media (max-width: 860px) { .pair { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 56px; } .pair > div { grid-template-rows: none; grid-row: auto; } }
.facts { border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts .k { font: 500 0.75rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .facts li { grid-template-columns: minmax(0, 1fr); } }
.rules { max-width: 72ch; }

/* Bildergalerie */
.gal { display: grid; gap: 12px; }
.gal-stage { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--head); overflow: hidden; touch-action: pan-y; user-select: none; }
.gal-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: rgba(8, 12, 45, 0.62); cursor: pointer; display: grid; place-items: center; padding: 0; }
.gal-btn.prev { left: 12px; }
.gal-btn.next { right: 12px; }
.gal-btn::before { content: ""; width: 12px; height: 12px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg); margin-left: 5px; }
.gal-btn.next::before { transform: rotate(-135deg); margin-left: -5px; }
.gal-btn:hover { background: var(--red); border-color: var(--red); }
.gal-bar { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: space-between; }
.gal-cap { color: var(--muted); min-height: 1.6em; margin: 0; }
.gal-count { font: 500 0.85rem var(--font-mono); color: var(--muted); }
.gal-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.gal-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); background: transparent; padding: 0; cursor: pointer; }
.gal-dot[aria-current="true"] { background: var(--red); border-color: var(--red); }
.gal-empty { background: var(--surface); border: 1px dashed var(--muted); padding: 40px 20px; color: var(--muted); text-align: center; }
.gal-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 22px; }
.gal-item { background: var(--surface); border: 1px solid var(--line); padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.gal-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); }
.gal-item .row { display: flex; flex-wrap: wrap; gap: 6px; }
.slot .prev.light { background: var(--soft); }

/* Fu\df  */
.site-foot { background: var(--head); color: var(--head-muted); padding-block: 32px max(28px, env(safe-area-inset-bottom, 0px)); font-size: 0.92rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.site-foot img { height: 84px; width: auto; max-width: 60vw; }
.site-foot .lines { display: grid; gap: 4px; }
.site-foot .links a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.site-foot .links a:hover { color: #FFD9DB; }
@media (prefers-reduced-motion: no-preference) { .btn, .tabs a, .login-link, .mini { transition: background-color 0.15s, color 0.15s, border-color 0.15s; } }

/* ===== Modernisierung ===== */
:root { --font-mono: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif; --bg: #F4F6FB; --shadow: 0 1px 2px rgba(15, 19, 48, .05), 0 12px 32px rgba(15, 19, 48, .06); --radius: 14px; }
body { font-size: 17px; }
.eyebrow { font: 600 0.78rem/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-text); }
.hero .eyebrow, .lcopy .eyebrow { color: #FFB8BD; }
.page-top .eyebrow { color: #FFB8BD; }
.btn { border-radius: 10px; }
.btn.primary { box-shadow: 0 4px 14px rgba(200, 32, 42, .28); }
.field label, .plate .kind, .veh dt, .mini, .badge { font-family: var(--font-body); }
.field label { font-weight: 600; letter-spacing: 0.06em; }
.form, .contact, .course-box, .ccomp, .comment, .xcards li, .cards li, .stats, .veh, .callbox, .faq details, .myposts li, .pstats div, .cfold, .cfacts li { border: 0; box-shadow: var(--shadow); border-radius: var(--radius); }
.stats { border-top: 0; }
.stats li { border-left-color: var(--soft); }
.cards li, .xcards li { border-top: 0; }
.xcards li { border-top: 4px solid var(--blue); }
.callbox { border-top: 0; border-left: 6px solid var(--red); }
.hero { padding-block: 64px 60px; }
.site-head { box-shadow: 0 2px 14px rgba(8, 12, 45, .25); }
.head-row { padding-block: 6px; }
.stripe { display: none; }

[hidden] { display: none !important; }
.sec { border-top: 0; }
.timeline, .facts, .tasks, .quals, .qrows, .ladder, .faq, .accounts, .steps, .w-list { border-top: 0; }
.timeline li:last-child, .ladder li:last-child, .qrows li:last-child { border-bottom: 0; }
.cfold { padding: 16px 20px; }
/* Seitenk\f6 pfe schlanker */
.page-top { padding-block: 34px 30px; background: linear-gradient(135deg, var(--head) 0%, #1B2A8F 100%); }
.page-top h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-top .wrap { gap: 8px; }
.stack { gap: 48px; padding-block: 44px 64px; }

/* Notruf */
.w-list { border-top: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.w-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 22px 22px; background: var(--surface); border: 0; border-radius: var(--radius); box-shadow: var(--shadow); align-content: start; }
.w-list .q { font: 700 1.5rem/1.1 var(--font-display); text-transform: none; letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; }
.w-list .q::before { margin: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; display: inline-grid; place-items: center; font: 700 .95rem var(--font-body); vertical-align: 0; flex: none; }
.w-list li:last-child { border-bottom: 0; }
.rules { max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.rules li { background: var(--surface); border: 0; border-left: 4px solid var(--blue); border-radius: 12px; box-shadow: var(--shadow); padding: 16px 18px; gap: 4px; align-content: start; }

/* Fahrzeuge */
.fleet { gap: 20px; }
.veh { overflow: hidden; border: 0; }
.plate { border-bottom: 0; background: linear-gradient(135deg, #1F2E8C, #16206E); padding: 16px 20px 14px; }
.plate .call { font: 700 1.3rem/1.15 var(--font-display); letter-spacing: -0.01em; }
.plate .kind { letter-spacing: 0.1em; font-weight: 500; font-size: .85rem; }
.veh dl { padding: 18px 20px 20px; gap: 14px; }
.veh dt { font-weight: 600; letter-spacing: 0.08em; }

/* Bewerbung: Ablauf als Karten */
.steps { border-top: 0; display: grid; gap: 12px; }
.steps li { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 14px; padding: 16px 18px; background: var(--surface); border: 0; border-radius: 12px; box-shadow: var(--shadow); align-items: start; }
.steps li::before { grid-column: 1; grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 1.1rem var(--font-body); }
.steps li > strong { grid-column: 2; grid-row: 1; }
.steps li > span { grid-column: 2; grid-row: 2; }
.steps li > .mini { grid-column: 3; grid-row: 1; }
.checks li { padding-left: 32px; }

/* Geschichte, Listen sauberer */
.timeline li { grid-template-columns: minmax(72px, 110px) minmax(0, 1fr) auto; padding: 18px 0; border-bottom-color: var(--soft); }
.timeline .yr { font-size: 1.4rem; }
.cta-band { border-left: 0; border-radius: 16px; background: linear-gradient(135deg, var(--head) 0%, #1B2A8F 100%); padding: 32px 36px; box-shadow: var(--shadow); }
.cta-band .btn { border-radius: 10px; }
.sec { padding-block: 40px; }

/* Fu\df zeile */
.site-foot { padding-block: 40px max(28px, env(safe-area-inset-bottom, 0px)); }
.site-foot .wrap { align-items: flex-start; }
.site-foot img { height: 72px; }

/* Startauswahl */
.is-gate { min-height: 100vh; }
.gate { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--bg); }
.ghero { color: #fff; background-size: cover; background-position: 70% 40%; padding: 36px 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px; }
.ghero .lcopy h2 { font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; }
.ghero .lcopy { max-width: 520px; }
.gmain { display: grid; align-content: center; justify-items: center; gap: 28px; padding: 40px 28px; }
.gbox { width: min(460px, 100%); display: grid; gap: 14px; }
.gbox h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.gsub { color: var(--muted); margin-top: -6px; }
.gopts { display: grid; gap: 12px; margin-top: 8px; }
.gopt { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; text-align: left; background: var(--surface); border: 2px solid transparent; border-radius: 14px; padding: 16px 18px; cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.gopt:hover, .gopt:focus-visible { border-color: var(--blue); transform: translateY(-1px); }
.gi { width: 52px; height: 52px; border-radius: 12px; background: var(--soft); color: var(--blue); display: grid; place-items: center; }
.gopt:first-child .gi { background: var(--red); color: #fff; }
.gt { display: grid; gap: 2px; }
.gt b { font: 700 1.15rem var(--font-display); }
.gt i { font-style: normal; color: var(--muted); font-size: .92rem; line-height: 1.35; }
.ga { width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-top: 2.5px solid var(--muted); transform: rotate(45deg); margin-right: 4px; }
.gback { justify-self: start; border: 0; background: none; color: var(--muted); font: 600 .95rem var(--font-body); cursor: pointer; padding: 4px 0; }
.gback:hover { color: var(--ink); }
.g112 { color: var(--muted); font-size: .95rem; }
.g112 b { color: #fff; background: var(--red); border-radius: 999px; padding: 3px 10px; margin-left: 4px; }
@media (max-width: 860px) { .gate { grid-template-columns: minmax(0, 1fr); } .ghero { min-height: 200px; padding: 22px; gap: 20px; } .ghero .lcopy p:last-child { display: none; } .ghero .lcopy h2 { font-size: 2rem; } .gmain { padding: 28px 18px 36px; align-content: start; } }

/* Fahrzeuge, Presse, Leitung */
.fleet { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; }
.plate .call { font: 700 1.6rem/1.1 var(--font-display); letter-spacing: 0; }
.calls { padding: 0 20px 20px; display: grid; gap: 8px; }
.calls .dt { font: 600 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calls ul { display: flex; flex-wrap: wrap; gap: 6px; }
.calls li { background: var(--soft); border-radius: 8px; padding: 6px 10px; font: 500 .85rem/1.3 var(--font-body); display: inline-flex; gap: 8px; align-items: center; }
.press { display: grid; gap: 16px; max-width: 860px; }
.pr { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; align-items: start; }
.pr-date { font: 600 .9rem var(--font-body); color: var(--red-text); letter-spacing: .04em; padding-top: 4px; }
.pr-body { display: grid; gap: 8px; }
.pr-body h3 { font-size: 1.3rem; }
.pr-body p { color: var(--muted); }
.pr-contact { max-width: 860px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 5px solid var(--blue); padding: 20px 24px; display: grid; gap: 6px; }
@media (max-width: 640px) { .pr { grid-template-columns: minmax(0, 1fr); } }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.person { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: grid; align-content: start; }
.person .frame { border-radius: 0; border: 0; }
.frame.sq { aspect-ratio: 1; }
.pinfo { padding: 16px 18px 20px; display: grid; gap: 4px; }
.pinfo h3 { font-size: 1.25rem; }
.prole { font-weight: 600; color: var(--blue); }
.pqual { color: var(--muted); }
.orgchain { display: grid; gap: 0; max-width: 760px; counter-reset: o; }
.orgchain li { position: relative; padding: 0 0 22px 56px; display: grid; gap: 2px; }
.orgchain li::before { counter-increment: o; content: counter(o); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 1rem var(--font-body); }
.orgchain li::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--soft); }
.orgchain li:last-child::after { display: none; }
.orgchain strong { font-size: 1.1rem; }
.orgchain p { color: var(--muted); }
.cards.plain li:first-child { grid-column: auto; }

/* Fahrzeuge nach Kategorie */
.fcat { display: grid; gap: 20px; padding-bottom: 8px; }
.fhead { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 18px; }
.fabbr { grid-row: span 2; background: #1F2E8C; color: #fff; border-radius: 10px; min-width: 78px; padding: 12px 14px; text-align: center; font: 700 1.15rem/1.1 var(--font-display); }
.fhead > div { display: contents; }
.fhead h2 { font-size: 1.4rem; align-self: end; }
.fhead p { grid-column: 2; color: var(--muted); max-width: 100ch; align-self: start; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr; } .fhead { grid-template-columns: 1fr; } .fabbr { grid-row: auto; justify-self: start; } .fhead p { grid-column: 1; } }
.vcar { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.vcar .frame.wide { aspect-ratio: 16 / 9; border-radius: 0; border: 0; background: var(--soft); }
.vcar .frame.empty { border: 0; background: linear-gradient(135deg, #EEF1F8, #E3E8F3); }
.vcar .frame.wide img { object-position: 35% 50%; }
.vbody { padding: 16px 18px 18px; display: grid; gap: 12px; flex: 1; align-content: start; }
.vtop { display: grid; gap: 2px; }
.vbody h3 { font-size: 1.05rem; line-height: 1.25; }
.vlabel { color: var(--red-text); font-weight: 600; font-size: .85rem; min-height: 1.2em; }
.vcrew { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--soft); }
.vcrew .dt { font: 600 .7rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vcrew p { font-size: .92rem; }
.vcar > .ctl { padding: 0 18px 16px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Einsatzablauf */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: f; }
.flow li { counter-increment: f; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 22px 24px; display: grid; gap: 8px; align-content: start; border-top: 4px solid #C8202A; }
.flow li::before { content: counter(f, decimal-leading-zero); font: 700 1.6rem var(--font-display); color: #1F2E8C; }
.flow strong { font: 700 1.1rem/1.3 var(--font-display); }
.flow p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

.dates { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dates li { background: var(--soft); border-radius: 999px; padding: 9px 16px; font-weight: 600; color: #1F2E8C; display: flex; gap: 8px; align-items: center; }

.nodates { color: var(--muted); font-weight: 500; }
.dates li { flex-direction: column; align-items: flex-start; gap: 2px; border-radius: 12px; }
.dinfo { font-weight: 400; font-size: .85rem; color: var(--muted); }
.dform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 8px; }
.dform .full, .dform .btn-row, .dform .status { grid-column: 1 / -1; }
@media (max-width: 640px) { .dform { grid-template-columns: 1fr; } }

/* Admin-Panel */
.padmin { display: grid; gap: 24px; }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ov-k { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; box-shadow: var(--shadow); }
.ov-k b { font-size: 1.9rem; line-height: 1.1; color: var(--ink); } .ov-k span { font-weight: 600; } .ov-k small { color: var(--muted); }
.ov-k.hot { border-top-color: var(--red); } .ov-k.stat-online { border-top-color: #1E9E55; } .ov-k.stat-maint { border-top-color: #D9902B; } .ov-k.stat-offline { border-top-color: var(--red); }
.ov-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; } .ov-card.wide2 { grid-column: 1 / -1; }
.ov-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.ov-list { list-style: none; margin: 0; padding: 0; display: grid; } .ov-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); } .ov-list li:last-child { border-bottom: 0; } .ov-list li > span:first-child { display: grid; min-width: 0; } .ov-list small { color: var(--muted); } .ov-list .role { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-align: right; } .ov-list .role.admin { color: var(--red-text); }
.ac-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; } .ac-bar input { flex: 1 1 220px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--surface); color: var(--ink); }
.padmin .accounts { border-top: 0; display: grid; gap: 8px; margin-top: 12px; } .padmin .acc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); }
.padmin .fchips button.on { background: #E3000F; border-color: #E3000F; color: #fff; } .padmin .fchips button.on .cnt { color: #fff; }
.fchips .cnt { opacity: .7; font-weight: 600; margin-left: 4px; } .fchips.sub2 { margin-top: 6px; }
@media (max-width: 720px) { .ov-cols { grid-template-columns: minmax(0, 1fr); } .acc { grid-template-columns: minmax(0, 1fr); } .acc .acts { justify-content: flex-start; } }
.ptabs { display: flex; gap: 6px; flex-wrap: wrap; background: var(--surface); padding: 6px; border-radius: 12px; box-shadow: var(--shadow); }
.ptabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 8px; font: 600 .95rem var(--font-body); color: var(--muted); cursor: pointer; }
.ptabs button:hover { background: var(--soft); color: var(--ink); }
.ptabs button[aria-current="page"] { background: #1F2E8C; color: #fff; }
.ppanel { display: grid; gap: 24px; min-width: 0; }
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pcard { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 10px; align-content: start; }
.pcard p { color: var(--muted); }
.plist { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.plink { text-align: left; background: var(--surface); border: 0; box-shadow: var(--shadow); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 4px; cursor: pointer; font: inherit; color: var(--ink); border-left: 4px solid #C8202A; }
.plink:hover { background: var(--soft); }
.plink span { color: var(--muted); font-size: .9rem; }
.gcap { color: var(--muted); font-size: .9rem; }
.gal-tools { display: grid; gap: 10px; margin-top: 14px; padding: 16px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.gal-tools .row { display: flex; flex-wrap: wrap; gap: 8px; }
.gal-hint { color: var(--muted); font-size: .92rem; }

/* Organigramm */
.otop { position: relative; display: grid; justify-items: center; padding-bottom: 40px; }
.otop::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 40px; background: #C5CBE3; }
.obox { width: min(100%, 440px); background: linear-gradient(135deg, #1F2E8C, #141C63); border-radius: 20px; box-shadow: 0 18px 40px -18px rgba(20,28,99,.6); padding: 18px; display: grid; gap: 10px; }
.olab { font: 700 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #B7C0F2; text-align: center; }
.odepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; position: relative; padding-top: 40px; }
.odepts::before { content: ""; position: absolute; top: 0; left: calc((100% - 48px) / 6); right: calc((100% - 48px) / 6); height: 2px; background: #C5CBE3; }
.odept { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: 20px; box-shadow: 0 14px 34px -20px rgba(20,28,99,.35); overflow: hidden; }
.odept::before { content: ""; position: absolute; left: 50%; top: -40px; width: 2px; height: 40px; background: #C5CBE3; }
.odept { overflow: visible; }
.ohead { position: relative; overflow: hidden; background: #1F2E8C; color: #fff; padding: 0 22px; min-height: 92px; display: grid; place-items: center; text-align: center; border-radius: 20px 20px 0 0; border-bottom: 4px solid #C8202A; }
.ohead::after { content: ""; position: absolute; right: -30px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.07); }
.ohead h3 { position: relative; z-index: 1; font-size: 1.15rem; line-height: 1.25; color: #fff; }
.ohead .ed { outline-color: #fff; }
.obody { padding: 20px; display: grid; gap: 16px; align-content: start; flex: 1; }
.onode { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 14px; min-height: 74px; padding: 12px 14px; border-radius: 14px; background: #F4F6FC; }
.onode.lead { background: rgba(255,255,255,.1); }
.onode.lead .orole { color: #B7C0F2; }
.onode.lead .oname { color: #fff; }
.onode.head { background: #E8ECFB; box-shadow: inset 0 0 0 1.5px #C9D1F4; }
.ono { width: 48px; height: 48px; border-radius: 12px; background: #1F2E8C; color: #fff; display: grid; place-items: center; font: 700 1rem var(--font-mono); }
.onode.lead .ono { background: #C8202A; }
.onode.team .ono { background: #fff; color: #1F2E8C; box-shadow: inset 0 0 0 1.5px #C9D1F4; }
.orole { display: block; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.onode.head .orole { color: #1F2E8C; font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.oname { display: block; font-size: 1.02rem; margin-top: 3px; }
.onode.vac .oname { display: inline-block; background: #FFE9B8; color: #7A4B00; border-radius: 999px; padding: 1px 12px 1px 22px; font-weight: 700; font-size: .85rem; line-height: 1.6; position: relative; text-transform: uppercase; letter-spacing: .06em; }
.onode.vac .oname::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #E39A00; }
.oteams { list-style: none; padding: 0; margin: 0 0 0 24px; display: grid; gap: 12px; border-left: 2px solid #C5CBE3; }
.oteam { position: relative; padding-left: 20px; }
.oteam::before { content: ""; position: absolute; left: 0; top: 37px; width: 20px; height: 2px; background: #C5CBE3; }
@media (max-width: 900px) { .odepts { grid-template-columns: 1fr; padding-top: 0; } .odepts::before, .odept::before { display: none; } .otop { padding-bottom: 20px; } .otop::after { display: none; } }

.ologo { height: 58px; width: auto; justify-self: center; margin: 2px 0 -2px; }
.odept .orole { color: #2B3358; font-size: .88rem; font-weight: 500; }
.odept .onode.head .orole { color: #1F2E8C; font-weight: 800; }
.odept .oname { color: #0E1330; font-size: 1.05rem; }
.odept .onode.team { background: #F1F3FB; }
.odept .onode.vac .oname { color: #6B3F00; }
.odept .onode.team .ono { color: #141C63; }

.onode { padding: 14px 18px; min-height: 68px; align-content: center; }
.onode.lead { border-left: 4px solid #C8202A; }
.onode.head { border-left: 4px solid #1F2E8C; }
.oteam::before { top: 34px; }

.owrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.oextra { margin-top: 40px; background: var(--surface); border-radius: 20px; border: 2px dashed #B9C0DC; overflow: hidden; }
.ohead.alt { background: #46508F; border-radius: 0; border-bottom-color: #B9C0DC; }
@media (max-width: 1100px) { .owrap { grid-template-columns: 1fr; } .oextra { margin-top: 0; } }

.otop { width: calc((100% - 24px) * 3 / 4); }
@media (max-width: 1100px) { .otop { width: 100%; } }

.oteams { border-left: 0; }
.oteam::after { content: ""; position: absolute; left: 0; top: 0; bottom: -12px; width: 2px; background: #C5CBE3; }
.oteam:first-child::after { top: -16px; }
.oteam:last-child::after { bottom: auto; height: 35px; }
.oextra .onode { min-height: 60px; }

.odept, .oextra { background: #FFFFFF; color: #0E1330; }
.oextra .onode { background: #EEF1FB; }
.oextra .oname { color: #0E1330 !important; font-weight: 700; }
.odept .oname { color: #0E1330; }
.odept .onode.vac .oname { color: #6B3F00; }

/* R\e4 nder vereinheitlicht */
.onode, .onode.lead, .onode.head, .onode.team { border: 0; border-radius: 12px; box-shadow: none; }
.onode.lead { background: rgba(255,255,255,.12); }
.onode.head { background: #E3E8FA; box-shadow: inset 0 0 0 1px #C9D1F4; }
.onode.team { background: #F1F3FB; box-shadow: inset 0 0 0 1px #E3E7F4; }
.oextra .onode { box-shadow: inset 0 0 0 1px #E3E7F4; }
.ohead, .ohead.alt { border-bottom: 0; }
.odept { box-shadow: 0 0 0 1px #E3E7F4, 0 14px 34px -22px rgba(20,28,99,.35); }
.oextra { border: 0; box-shadow: 0 0 0 1px #D5DAEE, 0 14px 34px -22px rgba(20,28,99,.35); border-radius: 20px; }
.ohead.alt { border-radius: 20px 20px 0 0; }
.obox { box-shadow: 0 18px 40px -22px rgba(20,28,99,.6); }

.psec.alert .pr { border-left: 4px solid #C8202A; }
.psec.alert .pr-date::before { content: "EILMELDUNG"; display: block; color: #C8202A; font: 700 .7rem var(--font-body); letter-spacing: .12em; margin-bottom: 4px; }
.psec.alert h2 { color: #C8202A; }

.pr { display: block; padding: 0; overflow: hidden; }
.pfold { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; text-align: left; background: transparent; border: 0; padding: 18px 22px; font: inherit; color: inherit; cursor: pointer; }
.pfold:hover { background: var(--soft); }
.pfold .pr-date { font: 600 .85rem var(--font-mono); color: var(--red-text); }
.pfold .pt { font: 700 1.1rem/1.3 var(--font-display); }
.pfold .chev { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.pfold[aria-expanded="true"] .chev { transform: rotate(-135deg); margin-top: 4px; }
.pr .pr-body { padding: 0 22px 20px 146px; display: grid; gap: 10px; }
.pr .pr-body[hidden] { display: none; }
.pr.expired { opacity: .6; }
.pr.expired::after { content: "Abgelaufen, f\fc r Besucher ausgeblendet"; display: block; padding: 0 22px 14px 146px; color: #A15C00; font: 600 .8rem var(--font-body); }
@media (max-width: 640px) { .pfold { grid-template-columns: 1fr auto; } .pfold .pr-date { grid-column: 1 / -1; } .pr .pr-body, .pr.expired::after { padding-left: 22px; } }

/* Profile F\fc hrungsebene */
.pgroup { display: grid; gap: 16px; }
.pgt { font: 700 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #1F2E8C; display: flex; align-items: center; gap: 14px; }
.pgt::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.profs { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profs.c1 { grid-template-columns: minmax(0, 1fr); max-width: 400px; }
.profs.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
@media (max-width: 900px) { .profs, .profs.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .profs, .profs.c2, .profs.c1 { grid-template-columns: 1fr; } }
.prof { background: #fff; color: #0E1330; border-radius: 18px; box-shadow: 0 0 0 1px #E3E7F4, 0 14px 34px -22px rgba(20,28,99,.35); overflow: hidden; display: flex; flex-direction: column; }
.prof .frame, .prof .frame.tall { border-radius: 0; border: 0; aspect-ratio: 3 / 2; }
.prof .frame.empty { background: linear-gradient(135deg, #E8ECFB, #D8DEF5); }
.pbody { padding: 18px 20px 22px; display: grid; gap: 6px; align-content: start; flex: 1; }
.prof .prole { color: #C8202A; font: 700 .76rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.prof h3 { font-size: 1.25rem; line-height: 1.25; color: #0E1330; }
.prof .parea { color: #1F2E8C; font-weight: 600; font-size: .92rem; }
.prof .pqual { color: #2B3358; font-size: .9rem; }
.prof .pabout { color: #2B3358; font-size: .92rem; margin-top: 6px; padding-top: 10px; border-top: 1px solid #E3E7F4; }
.pvac { justify-self: start; background: #FFE9B8; color: #6B3F00; border-radius: 999px; padding: 1px 12px; font: 700 .8rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.prof.vac h3 { display: none; }

.profs, .profs.c1, .profs.c2 { grid-template-columns: repeat(auto-fill, 250px); gap: 16px; max-width: none; justify-content: start; }
.prof { background: #E6E9F0; box-shadow: none; border-radius: 14px; }
.prof .frame, .prof .frame.tall { aspect-ratio: 4 / 3; }
.prof .frame.empty { background: #D3D8E4; }
.pbody { padding: 14px 16px 16px; gap: 4px; }
.prof h3 { font-size: 1.05rem; }
.prof .prole { font-size: .7rem; }
.prof .parea, .prof .pqual, .prof .pabout { font-size: .85rem; }
.prof .pabout { border-top-color: #CDD2DF; margin-top: 4px; padding-top: 8px; }
@media (max-width: 560px) { .profs, .profs.c1, .profs.c2 { grid-template-columns: 1fr; } .prof { max-width: 340px; } }

/* Admin-Panel schlicht, Bearbeiten-Modus ruhiger */
.pcard.wide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; }
.pcard.wide p { max-width: 62ch; }
.ed { outline: 1px dashed rgba(31, 46, 140, .35); outline-offset: 3px; border-radius: 3px; }
.ed:hover { outline-color: #1F2E8C; background: rgba(31, 46, 140, .06); }
.ed:focus { outline: 2px solid #1F2E8C; background: rgba(31, 46, 140, .08); }
.ohead .ed, .obox .ed, .onode.lead .ed { outline-color: rgba(255,255,255,.5); }
.mini { border-radius: 8px; padding: 7px 11px; }
.mini.add { border-style: dashed; color: #1F2E8C; background: transparent; }
.mini.rm { background: transparent; }
.bar { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; width: min(780px, calc(100% - 24px)); border: 0; border-radius: 18px; background: #141C63; box-shadow: 0 18px 44px -12px rgba(10, 14, 60, .55); padding: 10px 12px 10px 20px; }
.bar .barin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.bar .state { font: 600 .85rem var(--font-body); letter-spacing: 0; color: #DDE2FF; display: inline-flex; align-items: center; gap: 10px; }
.bar .state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #5BD38A; }
.bar .btn { padding: 9px 16px; font-size: .88rem; border-radius: 10px; }
.has-bar { padding-bottom: 110px; }
.has-bar .toast { bottom: 100px; }

.vshow { display: grid; }
.vstage { position: relative; aspect-ratio: 16 / 9; background: var(--head); overflow: hidden; }
.vstage img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; display: block; }
.vstage.empty { background: linear-gradient(135deg, #EEF1F8, #E3E8F3); display: grid; place-items: center; }
.vstage .gal-btn { width: 36px; height: 36px; }
.vdots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.vdots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1.5px solid #fff; background: transparent; cursor: pointer; }
.vdots button[aria-current="true"] { background: #fff; }
.vtools { display: grid; gap: 8px; padding: 10px 14px; background: #F1F3FB; }
.vtools b { font-size: .82rem; color: #1F2E8C; }
.vtools .row { display: flex; flex-wrap: wrap; gap: 6px; }

.gal-none { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; color: #C9D1FF; font: 500 .85rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(135deg, #1B2680, #141C63); }
.vstage .ph { display: grid; justify-items: center; gap: 8px; color: var(--muted); font: 500 .8rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }

/* Organigramm: Verbindungslinien deutlicher */
.otop::after { width: 3px; margin-left: -1.5px; height: 40px; background: #6F7BB8; }
.odepts::before { height: 3px; background: #6F7BB8; }
.odept::before { width: 3px; margin-left: -1.5px; height: 40px; top: -40px; background: #6F7BB8; }
.oteams, .oteam::after, .oteam::before { border-color: #6F7BB8; }
.oteam::after, .oteam::before { background: #6F7BB8; }
.oteams { border-left: 0; }
@media (max-width: 900px) { .otop::after { display: block; } .odept::before { display: block; top: -20px; height: 20px; } .odepts { gap: 20px; } }
@media (max-width: 1100px) and (min-width: 901px) { .otop { width: 100%; } }

@media (max-width: 900px) { .otop { padding-bottom: 20px; } .otop::after { height: 20px; bottom: 0; } .odept:not(:first-child)::before { top: -20px; height: 20px; } .odept:first-child::before { display: none; } }

.otop::after { bottom: -32px; height: 72px; }
@media (max-width: 900px) { .otop::after { bottom: -32px; height: 52px; } }

/* Bewerbung */
.apply .section-head h2 { font-size: 1.6rem; }
.reqgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.reqgrid li { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 18px 20px; font-weight: 500; }
.reqgrid .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #E8ECFB; position: relative; }
.reqgrid .tick::after { content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 12px; border-right: 2.5px solid #1F2E8C; border-bottom: 2.5px solid #1F2E8C; transform: rotate(40deg); }
.flow.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.apply #apply-form { max-width: 860px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; border: 0; }
.apply #ap-form .section-head { margin-bottom: 20px; }
@media (max-width: 1000px) { .reqgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .reqgrid, .flow.four { grid-template-columns: 1fr; } .apply #apply-form { padding: 20px; } }

.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.job { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.job h3 { font-size: 1.15rem; line-height: 1.3; }
.job p { color: var(--muted); font-size: .94rem; }
.job .jreq { color: #2B3358; border-top: 1px solid var(--soft); padding-top: 10px; }
.jtag { align-self: flex-start; background: #E8ECFB; color: #1F2E8C; border-radius: 999px; padding: 3px 12px; font: 700 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.jfoot { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.jfoot .btn { padding: 10px 18px; font-size: .9rem; }
.offers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.offers li { background: #E9ECF3; border-radius: 14px; padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.offers strong { font: 700 1.05rem var(--font-display); color: #141C63; }
.offers p { color: #2B3358; font-size: .94rem; }
@media (max-width: 1000px) { .jobs, .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .jobs, .offers { grid-template-columns: 1fr; } }

.jobs { align-items: start; }
.job .jmore { display: grid; gap: 8px; border-top: 1px solid var(--soft); padding-top: 12px; }
.job .jmore[hidden] { display: none; }
.job h4 { font: 700 .74rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.jlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.jlist li { position: relative; padding-left: 18px; font-size: .92rem; }
.jlist li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #C8202A; }
.jfacts { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; }
.jfacts div { background: var(--soft); border-radius: 10px; padding: 8px 10px; }
.jfacts dt { font: 600 .66rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.jfacts dd { margin: 2px 0 0; font-weight: 600; font-size: .88rem; color: #0E1330; }
.jtog { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; font: 600 .9rem var(--font-body); cursor: pointer; padding: 8px 4px; }
.jtog .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s; }
.jtog[aria-expanded="true"] .chev { transform: rotate(-135deg); margin-top: 3px; }

.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.track { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; }
.track h3 { font-size: 1.05rem; }
.track ol.tflow.flow { display: flex; flex-direction: column; grid-template-columns: none; gap: 0; counter-reset: t; list-style: none; padding: 0; margin: 0; }
.track .tflow li { position: relative; display: block; width: auto; min-width: 0; flex: none; background: none; box-shadow: none; padding: 0 0 18px 46px; border: 0; }
.tflow li::before { counter-increment: t; content: counter(t); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: #1F2E8C; color: #fff; display: grid; place-items: center; font: 700 .9rem var(--font-body); }
.tflow li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.tflow li:last-child { padding-bottom: 0; } .tflow li:last-child::after { display: none; }
.tflow li:last-child::before { background: #C8202A; }
.tflow strong { display: block; } .tflow p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .tracks { grid-template-columns: 1fr; } }

.track { padding: 0; overflow: hidden; }
.thead { padding: 18px 24px; color: #fff; background: #1F2E8C; }
.track.t1 .thead { background: #C8202A; }
.thead h3 { color: #fff; font-size: 1.35rem; margin: 4px 0 0; }
.tbadge { display: inline-block; font: 700 .7rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.2); border-radius: 999px; padding: 4px 10px; }
.track ol.tflow.flow { padding: 24px 24px 26px; }
.track.t1 .tflow li::before { background: #C8202A; }
.track.t1 .tflow li:last-child::before { background: #1F2E8C; }
.tflow strong { font-size: 1.02rem; color: var(--ink); }
.tflow p { color: var(--muted); font-size: .95rem; }
.job .jmore { gap: 16px; }
.jcols { display: grid; grid-template-columns: 1fr; gap: 16px; }
.job h4 { font-size: .85rem; color: var(--red-text); margin: 0 0 8px; }
.jlist li { font-size: .98rem; color: var(--ink); line-height: 1.5; }
.jfacts dt { font-size: .72rem; color: var(--muted); }
.jfacts dd { font-size: .98rem; color: var(--ink); }
.jfacts div { padding: 10px 14px; }
.jtog { color: var(--blue); border: 1.5px solid var(--blue); border-radius: 10px; padding: 9px 14px; margin-left: auto; }
.jtog:hover { background: var(--blue); color: var(--surface); }
@media (max-width: 760px) { .jfacts { grid-template-columns: 1fr; } }

.tracks { gap: 48px; }
.track { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.track .thead { background: none; color: var(--ink); padding: 0 0 14px; border-bottom: 2px solid var(--ink); }
.track.t1 .thead { background: none; }
.track .thead h3 { color: var(--ink); font-size: 1.1rem; font-weight: 700; margin: 0; }
.track ol.tflow.flow { padding: 0; }
.track .tflow li, .track .tflow li:last-child { border-radius: 0; box-shadow: none; background: none; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--line); }
.track .tflow li::before, .track.t1 .tflow li::before, .track.t1 .tflow li:last-child::before, .tflow li:last-child::before { background: none; color: var(--muted); width: auto; height: auto; border-radius: 0; left: 0; top: 17px; place-items: start; font: 600 .9rem var(--font-mono); content: "0" counter(t); }
.track .tflow li::after { display: none; }
.track .tflow strong { font-size: 1rem; }
.track .tflow p { font-size: .92rem; }

.fgrp { grid-column: 1 / -1; font: 700 .78rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin: 14px 0 0; }
.fgrp:first-child { margin-top: 0; }
.fhint { margin: 0; font-size: .82rem; color: var(--muted); }
.fcheck { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; font-size: .95rem; color: var(--ink); }
.fcheck input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.field input[type="file"] { padding: 9px 10px; }
.field input[readonly] { color: var(--muted); }
.apply #apply-form .btn-row { margin-top: 22px; }
.apply #apply-form .field.full:has(textarea) textarea { min-height: 120px; }

.geyebrow { font: 600 .78rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.gopt:first-child .gi { background: var(--soft); color: var(--blue); }
.gbox h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.gopt { box-shadow: none; border: 1px solid var(--line); }
.gopt:hover, .gopt:focus-visible { transform: none; }
.gadmin { justify-self: center; margin-top: 6px; border: 0; background: none; color: var(--muted); font: 500 .8rem var(--font-body); cursor: pointer; padding: 6px 10px; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
.gadmin:hover { color: var(--ink); opacity: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tg { font: 600 .74rem var(--font-body); padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.tg.q { background: var(--blue); color: #fff; }
.tg.r { background: transparent; border: 1px solid var(--blue); color: var(--blue); }
.chks { display: grid; gap: 8px; margin: 4px 0 8px; }
.field .chk, .chk { display: flex; gap: 10px; align-items: center; font: 500 .95rem var(--font-body); text-transform: none; letter-spacing: 0; color: var(--ink); width: auto; }
.field .chk input, .chk input { width: 18px; height: 18px; flex: none; }
.sfields { display: grid; gap: 14px; }
form.sform { display: grid; gap: 14px; width: 100%; }
#a-staff[hidden] { display: none; }

.codebox { background: var(--surface); border: 1px solid var(--blue); border-radius: 14px; padding: 18px 20px; margin-bottom: 20px; display: grid; gap: 10px; max-width: 560px; }
.codebox p { margin: 0; color: var(--muted); font-size: .92rem; }
.codeval { font: 700 2rem/1.1 var(--font-mono); letter-spacing: .18em; color: var(--ink); }

.aseg { display: flex; gap: 4px; background: var(--soft); border-radius: 12px; padding: 4px; margin-bottom: 18px; max-width: 520px; }
.aseg button { flex: 1; border: 0; background: transparent; color: var(--muted); font: 600 .92rem var(--font-body); padding: 10px 12px; border-radius: 9px; cursor: pointer; }
.aseg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(15,19,48,.12); }
.cnt { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .75rem; line-height: 20px; }
.aseg .on .cnt { background: var(--blue); color: #fff; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fchips button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 600 .85rem var(--font-body); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.fchips button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.padmin .accounts .acc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; box-shadow: none; }

.ptabs { padding: 5px; gap: 4px; }
.ptabs button { padding: 10px 16px; }
.ptabs .cnt { background: var(--soft); color: var(--muted); }
.ptabs button[aria-current="page"] .cnt { background: rgba(255,255,255,.22); color: #fff; }
.ppanel { display: grid; gap: 18px; max-width: 980px; }
.ppanel .hint { margin: 0; font-size: .88rem; color: var(--muted); }
.ppanel .notice { margin: 0; }
.form-card { padding: 26px; display: block; }
.form-card .section-head { margin-bottom: 16px; }
.form-card .section-head h3 { margin: 0 0 4px; }
.form-card .section-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.form-card #acc-create { background: none; box-shadow: none; border: 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; align-items: start; }
.form-card #acc-create > p.hint, .form-card #acc-create > button, .form-card #acc-create > .status, .form-card #acc-create > #a-staff { grid-column: 1 / -1; }
.form-card #a-staff .sfields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; align-items: start; }
.form-card #a-staff .sfields .field:nth-child(3), .form-card #a-staff .sfields .field:nth-child(4) { grid-column: auto; }
.form-card #acc-create > button { justify-self: start; min-width: 220px; }
@media (max-width: 760px) { .form-card #acc-create, .form-card #a-staff .sfields { grid-template-columns: 1fr; } }
.codebox { max-width: none; gap: 14px; border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: 18px 20px; }
.cb-top { display: flex; align-items: center; gap: 12px; }
.cb-top > div { flex: 1; display: grid; gap: 2px; }
.cb-top small { color: var(--muted); }
.cb-ok { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); position: relative; flex: none; }
.cb-ok::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cb-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--soft); border-radius: 10px; padding: 12px 16px; }
.cb-lbl { font: 600 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.codeval { flex: 1; font-size: 1.7rem; }
.padmin .accounts { border-top: 0; display: grid; gap: 10px; }
.padmin .accounts .acc { margin: 0; }

.is-pad { min-height: 100vh; }
.pad { --bg: #0A0F2C; --surface: #141B45; --ink: #EEF1FF; --muted: #A3ADD9; --line: #28326B; --soft: #1D2658; --blue: #8EA0FF; --red-text: #FF8A90; display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--font-body); }
.pad h1, .pad h2 { font-family: var(--font-body); color: var(--ink); }
.pad-side { background: #070B22; border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; }
.pad-brand { display: flex; gap: 12px; align-items: center; padding: 0 6px; }
.pad-brand img { width: 40px; height: 40px; object-fit: contain; }
.pad-brand span { display: grid; line-height: 1.15; }
.pad-brand b { font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.pad-brand i { font-style: normal; font-size: .78rem; color: var(--muted); letter-spacing: .08em; }
.pad-nav { display: grid; gap: 6px; }
.pad-nav button { text-align: left; border: 0; background: transparent; color: var(--muted); font: 600 1rem var(--font-body); padding: 14px 16px; border-radius: 12px; cursor: pointer; min-height: 48px; }
.pad-nav button:hover { background: var(--soft); color: var(--ink); }
.pad-nav button.on { background: #1F2E8C; color: #fff; }
.pad-user { margin-top: auto; background: var(--surface); border-radius: 14px; padding: 14px; display: grid; gap: 2px; }
.pad-user b { color: #fff; }
.pad-user small { color: var(--muted); margin-bottom: 8px; }
.pad-user button { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 10px; padding: 10px; font: 600 .9rem var(--font-body); cursor: pointer; }
.pad-main { padding: 26px 32px 40px; min-width: 0; }
.pad-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.pad-top h1 { font-size: 1.8rem; margin: 0; }
.pad-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pad-clock { color: var(--muted); font: 500 .95rem var(--font-mono); }
.pad-st { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .9rem; }
.pad-st i, .pstat i { width: 10px; height: 10px; border-radius: 50%; background: #7A84B8; display: inline-block; }
.s-bereit i { background: #3DDC84; } .s-einsatz i { background: #FFB020; } .s-pause i { background: #6EA8FF; } .s-aus i { background: #7A84B8; }
.pad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pad-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.pcard2 { background: var(--surface); border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pcard2.span2 { grid-column: span 2; }
.pcard2 h2 { font-size: 1.05rem; margin: 0; }
.pcard2 .sub { color: var(--muted); margin: 0; font-size: .95rem; }
.pcard2 .small { font-size: .8rem; }
.pcard2 .big { font-size: 2rem; font-weight: 800; margin: 0; }
.pcard2.sel { outline: 2px solid #8EA0FF; }
.pill { justify-self: start; background: var(--soft); color: var(--blue); font: 700 .75rem var(--font-body); letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.pstat { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 6px; }
.pstat button { display: flex; align-items: center; gap: 10px; justify-content: center; min-height: 64px; border: 2px solid var(--line); background: var(--soft); color: var(--ink); border-radius: 14px; font: 700 1rem var(--font-body); cursor: pointer; }
.pstat button.on { border-color: #8EA0FF; background: #1F2E8C; color: #fff; }
.pbtn { justify-self: start; border: 1px solid var(--line); background: var(--soft); color: var(--ink); border-radius: 12px; padding: 12px 18px; min-height: 46px; font: 700 .95rem var(--font-body); cursor: pointer; margin-top: 6px; }
.pbtn.on { background: #1F2E8C; border-color: #1F2E8C; color: #fff; }
.pmini { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 8px; padding: 8px 12px; font: 600 .82rem var(--font-body); cursor: pointer; }
.plist, .plist2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plist li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.plist li span, .plist li small, .plist2 small { color: var(--muted); }
.plist2 li { background: var(--soft); border-radius: 12px; padding: 14px 16px; }
.plist2 li.pr { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.plist2 li.pr small { display: block; margin-top: 2px; }
.pacts { display: flex; gap: 8px; flex: none; }
.pform .pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pform .field.full { grid-column: 1 / -1; }
.pform .pbtns { margin-top: 6px; }
.pad .field input, .pad .field select, .pad .field textarea { background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 1rem; }
.pad .tg { background: var(--soft); color: var(--ink); }
.pad .tg.q { background: #1F2E8C; color: #fff; }
.pad .tg.r { background: transparent; border: 1px solid #8EA0FF; color: #8EA0FF; }
.pad .accounts .acc { background: var(--soft); border: 0; }
.pad .mini, .pad .btn { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.pad .btn.primary { background: #1F2E8C; border-color: #1F2E8C; color: #fff; }
.pad .codebox { background: var(--surface); border-color: var(--line); }
.pad .form-card { padding: 22px; box-shadow: none; }
.pad .form-card #acc-create { display: grid; grid-template-columns: 1fr; gap: 14px; }
.pad .toast { z-index: 100; }
.pad .form-card #a-staff .sfields, .pad .sfields { grid-template-columns: 1fr; }
.pad .accounts .acc { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; border-radius: 12px; }
.pad .accounts .acc .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.pad .accounts .acc .role { justify-self: start; }
.pad .field label { text-transform: none; letter-spacing: .01em; font-size: .85rem; font-weight: 600; color: var(--muted); }
.pad .chk { color: var(--ink); }
.pad .field input[type="checkbox"] { width: 18px; height: 18px; padding: 0; }
@media (max-width: 860px) {
  .pad { grid-template-columns: 1fr; padding-bottom: 76px; }
  .pad-side { position: fixed; left: 0; right: 0; bottom: 0; top: auto; height: auto; flex-direction: row; padding: 8px; z-index: 50; border-right: 0; border-top: 1px solid var(--line); gap: 6px; overflow-x: auto; }
  .pad-brand, .pad-user { display: none; }
  .pad-nav { display: flex; gap: 6px; }
  .pad-nav button { white-space: nowrap; padding: 12px 14px; }
  .pad-main { padding: 18px 16px 30px; }
  .pad-split { grid-template-columns: 1fr; }
  .pcard2.span2 { grid-column: auto; }
  .pform .pf-grid { grid-template-columns: 1fr; }
}

.vbar { background: #05081C; border-bottom: 1px solid rgba(255,255,255,.08); }
.vswitch { display: inline-flex; gap: 2px; padding: 4px 8px; }
.vswitch button { border: 0; background: transparent; color: #A3ADD9; font: 600 .78rem var(--font-body); letter-spacing: .04em; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.vswitch button.on { background: #1F2E8C; color: #fff; }
.vswitch button:hover:not(.on) { color: #fff; }
.pad-side .vbar { background: none; border: 0; }
.pad-side .vswitch { display: flex; padding: 4px; background: var(--surface); border-radius: 12px; }
.pad-side .vswitch button { flex: 1; padding: 9px 6px; }
.pad-vm { display: none; }
@media (max-width: 860px) { .pad-side .vbar { display: none; } .pad-vm { display: block; margin-bottom: 12px; } .pad-vm .vbar { background: none; border: 0; } .pad-vm .vswitch { background: var(--surface); border-radius: 12px; display: flex; } .pad-vm .vswitch button { flex: 1; } }

.pad.pad2 { display: block; min-height: 100vh; padding: 0; position: relative; background: #070B24; overflow-x: hidden; }
.pad-wall { position: fixed; inset: 0; background: radial-gradient(1200px 700px at 15% -10%, #22308F 0%, transparent 60%), radial-gradient(900px 600px at 100% 100%, #16205F 0%, transparent 55%), #070B24; z-index: 0; }
.pad-status { position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 16px; background: rgba(7,11,36,.72); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.07); }
.ps-l .vbar, .ps-l .vswitch { background: none; border: 0; padding: 0; }
.ps-l .vswitch { padding: 2px; background: rgba(255,255,255,.06); border-radius: 10px; }
.ps-r { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.ps-user { font-weight: 600; font-size: .9rem; }
.ps-out { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 10px; padding: 7px 12px; font: 600 .8rem var(--font-body); cursor: pointer; }
.pad-st { border: 0; color: var(--ink); cursor: pointer; font: 600 .85rem var(--font-body); }
.pad-screen { position: relative; z-index: 1; min-height: calc(100vh - 52px); }
.launch { max-width: 980px; margin: 0 auto; padding: 36px 20px 80px; text-align: center; }
.l-time { font: 300 clamp(3.4rem, 10vw, 6rem)/1 var(--font-body); letter-spacing: -.02em; color: #fff; }
.l-date { color: var(--muted); font-size: 1.1rem; margin-top: 4px; text-transform: capitalize; }
.l-hello { color: var(--ink); margin: 18px 0 34px; font-weight: 600; }
.appgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 30px 14px; justify-items: center; }
.app { background: none; border: 0; color: var(--ink); cursor: pointer; display: grid; gap: 10px; justify-items: center; width: 112px; font: 600 .88rem var(--font-body); }
.app:active .aic { transform: scale(.94); }
.aic { position: relative; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .12s; }
.aic.mini { width: 36px; height: 36px; border-radius: 11px; box-shadow: none; }
.aic.g1 { background: linear-gradient(145deg, #3D56E0, #1F2E8C); }
.aic.g2 { background: linear-gradient(145deg, #5B7BFF, #2A3FB5); }
.aic.g3 { background: linear-gradient(145deg, #2F6FD8, #17338F); }
.abadge { position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; border-radius: 12px; background: #fff; color: #1F2E8C; font: 800 .8rem/24px var(--font-body); padding: 0 6px; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.alb { line-height: 1.2; text-align: center; }
.appview { max-width: 1100px; margin: 0 auto; padding: 18px 20px 100px; }
.appbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.appbar h1 { font-size: 1.5rem; margin: 0; }
.abk { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.pad-navbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding: 10px; pointer-events: none; }
.pad-navbar button { pointer-events: auto; width: 64px; height: 28px; border: 0; background: rgba(255,255,255,.1); border-radius: 14px; backdrop-filter: blur(8px); cursor: pointer; display: grid; place-items: center; }
.pad-navbar i { width: 20px; height: 20px; border: 2.5px solid #fff; border-radius: 50%; display: block; }
.stackc { display: grid; gap: 12px; }
.fold { padding: 0; gap: 0; }
.fold summary { padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: center; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 1.4rem; }
.fold[open] summary::after { content: "\2013 "; }
.fold > p, .fold > ol, .fold > ul, .fold > h3 { margin: 0; padding: 0 22px 14px; color: var(--ink); line-height: 1.55; }
.fold > h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: 8px; }
.steps2 { padding-left: 42px !important; display: grid; gap: 8px; }
ol.steps2 { list-style: decimal; } ul.steps2 { list-style: disc; }
.ptabs2 { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ptabs2 button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 12px; padding: 12px 16px; font: 600 .95rem var(--font-body); cursor: pointer; }
.ptabs2 button.on { background: #1F2E8C; border-color: #1F2E8C; color: #fff; }
.mlist { gap: 6px !important; }
.mlist li { padding: 0 !important; background: none !important; }
.mrow { width: 100%; text-align: left; display: grid; gap: 2px; background: var(--soft); border: 1px solid transparent; color: var(--ink); border-radius: 12px; padding: 12px 14px; cursor: pointer; font: 500 .95rem var(--font-body); }
.mrow.on { border-color: #8EA0FF; }
.mrow.un b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #8EA0FF; margin-right: 8px; }
.mrow small { color: var(--muted); }
.mbody { line-height: 1.6; margin: 6px 0; }
.tk { display: grid; gap: 6px; }
.tk-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tst { font: 700 .72rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; background: #1F2E8C; color: #fff; border-radius: 999px; padding: 4px 10px; flex: none; }
.tk.s-erledigt .tst { background: #2A6B4C; }
.tk p { margin: 0; color: var(--ink); }
.tk small { color: var(--muted); }
.pmini.on { background: #1F2E8C; border-color: #1F2E8C; color: #fff; }
@media (max-width: 860px) { .pad.pad2 { padding-bottom: 0; } .appgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 8px; } .app { width: auto; } .aic { width: 72px; height: 72px; border-radius: 21px; } .ps-user, .pad-clock { display: none; } .pad-split { grid-template-columns: 1fr; } }

.pad.pad2 { background: var(--pad-bg, #070B24); }
.pad-wall { background: radial-gradient(1100px 650px at 12% -8%, var(--pad-glow, #22308F) 0%, transparent 62%), radial-gradient(800px 600px at 100% 100%, color-mix(in srgb, var(--pad-glow, #22308F) 70%, transparent) 0%, transparent 60%), var(--pad-bg, #070B24); }
.pad.pad2.light { --ink: #12183A; --muted: #4A5173; --surface: rgba(255,255,255,.7); --soft: rgba(255,255,255,.8); --line: rgba(18,24,58,.15); color: #12183A; }
.pad.pad2.light h1, .pad.pad2.light h2, .pad.pad2.light .l-time, .pad.pad2.light .l-hello b { color: #12183A; }
.pad.pad2.light .pad-status { background: rgba(255,255,255,.6); }
.aic.g1 { background: linear-gradient(145deg, color-mix(in srgb, var(--acc) 82%, #fff), color-mix(in srgb, var(--acc) 72%, #000)); }
.aic.g2 { background: linear-gradient(145deg, color-mix(in srgb, var(--acc) 68%, #fff), color-mix(in srgb, var(--acc) 90%, #000)); }
.aic.g3 { background: linear-gradient(145deg, color-mix(in srgb, var(--acc) 92%, #fff), color-mix(in srgb, var(--acc) 55%, #000)); }
.aic { width: var(--isize, 84px); height: var(--isize, 84px); border-radius: calc(var(--isize, 84px) * .28); }
.aic.mini { width: 38px; height: 38px; border-radius: 11px; }
.aic svg { width: 40%; height: 40%; }
.aic.mini svg { width: 22px; height: 22px; }
.launch { max-width: 1080px; text-align: left; padding: 28px 24px 90px; display: grid; gap: 26px; }
.l-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.l-time { font: 200 clamp(3.6rem, 9vw, 6.4rem)/.95 var(--font-body); letter-spacing: -.03em; color: #fff; }
.l-date { color: var(--muted); font-size: 1.1rem; margin-top: 8px; }
.l-hello { display: grid; gap: 2px; text-align: right; margin: 0; }
.l-hello small { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.l-hello b { font-size: 1.5rem; color: #fff; }
.l-hello span { color: var(--muted); }
.widgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.widget { text-align: left; display: grid; gap: 2px; padding: 18px 20px; border-radius: 22px; cursor: pointer; color: var(--ink); background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); font: 500 .9rem var(--font-body); }
.widget small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 700; }
.widget b { font-size: 2.2rem; font-weight: 700; line-height: 1.1; }
.widget span { color: var(--muted); }
.agroup { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: 18px 22px 24px; backdrop-filter: blur(14px); }
.agroup h2 { font: 700 .75rem var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 18px; }
.appgrid { display: grid; grid-template-columns: repeat(auto-fill, calc(var(--isize, 84px) + 30px)); gap: var(--igap, 26px) 10px; justify-content: center; }
.al-start .appgrid { justify-content: start; } .al-end .appgrid { justify-content: end; }
.app { width: calc(var(--isize, 84px) + 30px); }
.appwrap { position: relative; display: grid; justify-items: center; }
.mv { display: flex; gap: 6px; margin-top: 6px; }
.mv i { font-style: normal; font-size: .85rem; background: rgba(255,255,255,.14); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.cfgbtn { width: 36px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--ink); border-radius: 10px; cursor: pointer; }
.cfgbtn.on { background: #1F2E8C; color: #fff; border-color: #1F2E8C; }
.ps-l { display: flex; gap: 10px; align-items: center; }
.stwrap { position: relative; }
.stpop { position: absolute; right: 0; top: calc(100% + 8px); background: #141B45; border: 1px solid var(--line); border-radius: 14px; padding: 6px; display: grid; gap: 2px; min-width: 190px; box-shadow: 0 16px 40px rgba(0,0,0,.4); z-index: 60; }
.stpop button { display: flex; align-items: center; gap: 10px; background: transparent; border: 0; color: #EEF1FF; padding: 12px 14px; border-radius: 10px; font: 600 .95rem var(--font-body); cursor: pointer; text-align: left; }
.stpop button:hover, .stpop button.on { background: #1D2658; }
.stpop i { width: 10px; height: 10px; border-radius: 50%; background: #7A84B8; }
.stpop .s-bereit i { background: #3DDC84; } .stpop .s-einsatz i { background: #FFB020; } .stpop .s-pause i { background: #6EA8FF; }
.cfgsheet { position: fixed; left: 12px; top: 58px; width: min(340px, calc(100vw - 24px)); max-height: calc(100vh - 76px); overflow: auto; z-index: 70; background: rgba(14,19,52,.94); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 18px; color: #EEF1FF; display: grid; gap: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.cfg-h { display: flex; justify-content: space-between; align-items: center; }
.cfg-x { border: 0; background: rgba(255,255,255,.1); color: #fff; width: 32px; height: 32px; border-radius: 10px; font-size: 1.2rem; cursor: pointer; }
.cfgsheet h3 { margin: 8px 0 0; font: 700 .72rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #A3ADD9; }
.cfg-pre { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cfg-pre button { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 10px; color: #fff; font: 600 .82rem var(--font-body); cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.cfg-pre i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; flex: none; }
.cfgrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 .9rem var(--font-body); }
.cfgrow em { font-style: normal; color: #A3ADD9; margin-left: 4px; }
.cfgrow input[type="color"] { width: 48px; height: 32px; border: 0; padding: 0; background: none; cursor: pointer; }
.cfgrow input[type="range"] { flex: 1; max-width: 170px; }
.cfg-seg { display: flex; gap: 4px; background: rgba(255,255,255,.08); border-radius: 10px; padding: 3px; }
.cfg-seg button { border: 0; background: transparent; color: #A3ADD9; padding: 7px 10px; border-radius: 8px; font: 600 .8rem var(--font-body); cursor: pointer; }
.cfg-seg button.on { background: #1F2E8C; color: #fff; }
.cfg-btn { border: 1px solid rgba(255,255,255,.18); background: transparent; color: #EEF1FF; border-radius: 12px; padding: 12px; font: 600 .9rem var(--font-body); cursor: pointer; }
.cfg-btn.on { background: #1F2E8C; border-color: #1F2E8C; }
@media (max-width: 860px) { .widgets { grid-template-columns: 1fr; } .l-hello { text-align: left; } .agroup { padding: 16px 14px 20px; } .appgrid { grid-template-columns: repeat(auto-fill, calc(var(--isize, 84px) + 16px)); } .app { width: calc(var(--isize, 84px) + 16px); } .aic { width: min(var(--isize, 84px), 76px); height: min(var(--isize, 84px), 76px); } }

.launch { max-width: 1180px; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 960px) { .groups { grid-template-columns: 1fr; } }
.cfg-pre button:nth-child(6) { color: #12183A; text-shadow: none; }
@media (min-width: 900px) { .pad.cfg-open .pad-screen { margin-left: 364px; } .pad.cfg-open .launch { max-width: none; } }

.launch { max-width: 1200px; gap: 22px; padding-top: 24px; }
.l-time { font-size: clamp(3rem, 7vw, 4.8rem); }
.lmain { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.appsarea { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.09); border-radius: 30px; padding: 28px 26px 30px; backdrop-filter: blur(14px); min-height: 360px; }
.appsarea .appgrid { grid-template-columns: repeat(auto-fill, calc(var(--isize, 84px) + 34px)); }
.appsarea .app { width: calc(var(--isize, 84px) + 34px); }
.widgets { display: grid; grid-template-columns: 1fr; gap: 12px; }
.widget { padding: 16px 18px; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; row-gap: 0; }
.widget small { grid-column: 1 / -1; }
.widget b { grid-column: 2; grid-row: 2 / span 2; font-size: 2.4rem; text-align: right; }
.widget span { grid-column: 1; grid-row: 2; font-size: .85rem; }
.agroup { display: none; }
@media (max-width: 960px) { .lmain { grid-template-columns: 1fr; } .widgets { grid-template-columns: repeat(3, minmax(0, 1fr)); order: -1; } .widget { grid-template-columns: 1fr; } .widget b { grid-column: 1; grid-row: auto; text-align: left; font-size: 1.8rem; } .widget span { grid-row: auto; } }
@media (max-width: 620px) { .widgets { grid-template-columns: 1fr; } .appsarea { padding: 20px 14px; } .appsarea .appgrid { grid-template-columns: repeat(auto-fill, calc(var(--isize, 84px) + 14px)); } .appsarea .app { width: calc(var(--isize, 84px) + 14px); } }

.pad.photo .pad-wall { background-size: cover; background-position: center; }
.home2 { max-width: 1240px; margin: 0 auto; padding: 22px 28px 140px; display: grid; gap: 26px; text-align: left; }
.hrow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: end; }
.clockw .l-time { font: 200 clamp(3.4rem, 7vw, 5.4rem)/.95 var(--font-body); text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.clockw .l-date { margin-top: 8px; font-size: 1.1rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.l-who { margin-top: 4px; color: rgba(255,255,255,.65); font-size: .9rem; }
.wgts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wgts .widget { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 18px; min-height: 112px; align-content: space-between; border-radius: 24px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.wgts .widget b { grid-column: 1; grid-row: auto; text-align: left; font-size: 2.2rem; line-height: 1; }
.wgts .widget span { grid-column: 1; grid-row: auto; }
.canvas { position: relative; min-height: 240px; }
.canvas .appwrap { position: absolute; display: grid; justify-items: center; transition: left .22s ease, top .22s ease; touch-action: pan-y; }
.canvas .appwrap.lifting { transition: none; z-index: 20; filter: drop-shadow(0 18px 28px rgba(0,0,0,.5)); }
.canvas .appwrap.lifting .aic { transform: scale(1.12); }
.editing .canvas .appwrap { touch-action: none; cursor: grab; animation: jig .28s infinite alternate ease-in-out; }
.editing .canvas .appwrap.lifting { animation: none; cursor: grabbing; }
@keyframes jig { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
.alb { text-shadow: 0 1px 6px rgba(0,0,0,.6); font-weight: 600; font-size: .85rem; }
.editbar { display: none; position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 45; gap: 14px; align-items: center; background: rgba(20,27,69,.92); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 8px 8px 18px; font: 600 .88rem var(--font-body); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.editbar button { border: 0; background: #fff; color: #1F2E8C; border-radius: 999px; padding: 8px 18px; font: 700 .85rem var(--font-body); cursor: pointer; }
.editing .editbar { display: flex; }
.dock { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; gap: 18px; padding: 14px 20px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 34px; backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.dock .appwrap { position: static; }
.dock .app { width: auto; }
.dock .aic { width: 68px; height: 68px; border-radius: 19px; }
.ps-sys { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.bat { position: relative; width: 26px; height: 12px; border: 1.5px solid currentColor; border-radius: 4px; padding: 1.5px; box-sizing: border-box; display: inline-block; opacity: .9; }
.bat::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: currentColor; border-radius: 0 2px 2px 0; }
.bat i { display: block; height: 100%; width: 100%; background: currentColor; border-radius: 1.5px; }
.bat.chg i { background: #3DDC84; }
.ps-sys em { font-style: normal; font-size: .78rem; opacity: .85; }
.pad-status { background: rgba(6,9,30,.45); }
.appview { animation: appin .22s ease-out; transform-origin: 50% 80%; }
@keyframes appin { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hrow { grid-template-columns: 1fr; } .wgts .widget { min-height: 92px; } .home2 { padding: 16px 14px 130px; } .dock { gap: 12px; padding: 12px 14px; } .dock .aic { width: 58px; height: 58px; } .ps-sys { display: none; } }

.wp-off .wgts { display: none; }
.paper { background: #fff; color: #12183A; border-radius: 14px; padding: 20px; max-width: 900px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.paper-head { display: flex; gap: 14px; justify-content: space-between; align-items: center; background: #1F2E8C; color: #fff; border-radius: 8px; padding: 14px 18px; margin-bottom: 14px; }
.paper-head b { display: block; font: 800 1.05rem var(--font-head, inherit); letter-spacing: .04em; } .paper-head small { color: #C9D0F5; } .paper-head em { font: 700 1rem var(--font-body, inherit); font-style: normal; }
.psec { margin-bottom: 12px; } .psec h4 { margin: 0 0 8px; padding: 6px 10px; background: #E6EAFA; color: #1F2E8C; border-radius: 6px; font: 800 .72rem var(--font-body, inherit); letter-spacing: .1em; text-transform: uppercase; }
.pgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pfield { display: flex; flex-direction: column; gap: 2px; border: 1px solid #C9CFE6; border-radius: 8px; padding: 6px 10px; background: #fff; min-width: 0; }
.pfield > span { font: 700 .6rem var(--font-body, inherit); letter-spacing: .08em; text-transform: uppercase; color: #6B7399; }
.pfield input, .pfield select, .pfield textarea { border: 0 !important; outline: 0; background: transparent !important; color: #12183A !important; font: 500 .95rem var(--font-body, inherit); padding: 2px 0 !important; width: 100%; min-width: 0; box-shadow: none !important; }
.pfield textarea { min-height: 64px; resize: vertical; }
.pfield:focus-within { border-color: #1F2E8C; box-shadow: 0 0 0 3px rgba(31,46,140,.12); }
.pval { font: 500 .95rem var(--font-body, inherit); min-height: 1.3em; word-break: break-word; }
.paper .pbtns { display: flex; flex-wrap: wrap; gap: 10px; }
.stackc > .pmini { align-self: flex-start; }
.pchk { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 2px; }
.pchk label { position: relative; display: inline-flex; border: 1px solid #C9CFE6; border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--font-body, inherit); color: #3B4470; cursor: pointer; background: #fff; user-select: none; }
.pchk input { position: absolute; opacity: 0; pointer-events: none; width: 1px !important; height: 1px; }
.pchk label:has(input:checked) { background: #1F2E8C; border-color: #1F2E8C; color: #fff; }
.pchk label:has(input:focus-visible) { outline: 2px solid #3D56E0; outline-offset: 2px; }
.paper-foot { background: #1F2E8C; border-radius: 10px; padding: 14px; text-align: center; margin: 16px 0 4px; } .paper-foot img { height: 76px; width: auto; max-width: 100%; }
.ptop { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.pdfpages { display: grid; gap: 16px; justify-items: center; } .pdfpages img { width: 100%; max-width: 820px; background: #fff; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pbtn.dng { background: #fff; color: #C8202A; border: 1px solid #E8B4B8; }
.ph-stag { background: #E3000F; border-radius: 8px; padding: 6px 9px; flex: none; display: inline-flex; } .ph-stag img { height: 34px; width: auto; } .pf-stag { height: 34px !important; }
.ph-mark { height: 46px; width: auto; flex: none; } .ph-t { flex: 1; min-width: 0; }
.ph-nr { background: #fff; color: #1F2E8C; border-radius: 8px; padding: 6px 14px; text-align: left; min-width: 110px; } .ph-nr span { display: block; font: 700 .55rem var(--font-body, inherit); letter-spacing: .1em; text-transform: uppercase; color: #6B7399; } .ph-nr b { font: 800 1.05rem var(--font-body, inherit); letter-spacing: 0; }
.psec h4 { display: flex; align-items: center; gap: 10px; background: transparent !important; border-left: 4px solid #1F2E8C; border-radius: 0 !important; padding: 2px 0 2px 10px !important; margin-bottom: 10px !important; font-size: .78rem !important; }
.psec h4 i { font-style: normal; background: #1F2E8C; color: #fff; border-radius: 4px; padding: 1px 7px; font-size: .7rem; }
.paper { border-top: 8px solid #E3000F; }
.paper-head { background: #fff !important; color: #1a1a22 !important; border-radius: 0 !important; padding: 0 0 14px !important; margin-bottom: 18px !important; border-bottom: 3px solid #FBEC02; box-shadow: 0 5px 0 #E3000F; align-items: center; }
.ph-mark { height: 62px !important; }
.ph-t b { color: #E3000F !important; font-size: 1.25rem !important; letter-spacing: .03em !important; } .ph-t small { color: #55555f !important; display: block; } .ph-t em { font-style: normal; font-weight: 700; font-size: .78rem; color: #55555f; }
.ph-nr { background: #E3000F !important; border-radius: 8px !important; } .ph-nr span { color: #FBEC02 !important; } .ph-nr b { color: #fff !important; }
.psec h4 { border-left: 0 !important; padding: 0 !important; color: #E3000F !important; border-bottom: 1px solid #F0C4C4; padding-bottom: 6px !important; }
.psec h4 i { background: #E3000F !important; color: #FBEC02 !important; border-radius: 3px !important; font-weight: 800; }
.pfield { border-color: #D9CFCF !important; } .pfield > span { color: #9A1A22 !important; }
.pfield:focus-within { border-color: #E3000F !important; box-shadow: 0 0 0 3px rgba(227,0,15,.12) !important; }
.pchk label { border-color: #D9CFCF; color: #3A3A44; } .pchk label:has(input:checked) { background: #E3000F; border-color: #E3000F; color: #fff; } .pchk label:has(input:focus-visible) { outline-color: #E3000F; }
.paper-foot { background: #E3000F !important; border-bottom: 5px solid #FBEC02; border-radius: 0 !important; padding: 10px 0 !important; margin-top: 22px !important; text-align: center; } .paper-foot img { height: 40px !important; }
.paper .pbtn.on { background: #E3000F; color: #fff; }
.paper .sub { color: #6B7399; } .paper .pbtns { margin-top: 14px; }
.ptype { text-align: left; cursor: pointer; display: grid; gap: 8px; } .ptop { display: flex; }
@media (max-width: 700px) { .pfield { grid-column: span 6 !important; } }
.cfg-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.07); margin: 4px 0 12px; }
.cfg-tabs button { border: 0; background: transparent; color: #C9D0F5; border-radius: 9px; padding: 9px 0; font: 700 .82rem var(--font-body); cursor: pointer; }
.cfg-tabs button.on { background: #fff; color: #12183A; }
.cfgsec { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.cfgsec:first-child { border-top: 0; padding-top: 4px; }
.cfgsec h3 { margin: 0; }
.cfghint { margin: 0; font-size: .78rem; color: #A3ADD9; line-height: 1.4; }
.cfg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cfg-btn.danger { border-color: rgba(248,113,113,.5); color: #FCA5A5; }
.cfg-foot { margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.cfg-foot .cfg-btn { width: 100%; }
.noapps { grid-column: 1 / -1; margin: 40px auto; max-width: 360px; text-align: center; color: #C9D0F5; line-height: 1.5; }
.votes { align-items: center; align-self: center; }
.vote { height: 34px; min-height: 0; padding: 0 14px 0 11px; line-height: 1; align-self: center; flex: 0 0 auto; background: var(--soft); border-color: transparent; transition: background .15s, color .15s, transform .1s; }
.vote svg { width: 17px; height: 17px; flex: 0 0 auto; }
.vote span { font-variant-numeric: tabular-nums; }
.vote:active { transform: scale(.95); }
.vote.on { background: var(--blue); color: #fff; }
.vote.down.on { background: var(--red); }
.catlist { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.catrow form, .catadd { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.catrow input, .catadd input { flex: 1 1 180px; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.catrow input.ck, .catadd input.ck { flex: 0 0 96px; }
.catsec { margin-bottom: 14px; }
.rdy { display: inline-block; font: 700 .72rem var(--font-body, inherit); padding: 3px 9px; border-radius: 999px; margin-left: 6px; }
.rdy.ok { background: rgba(34,197,94,.18); color: #22C55E; } .rdy.no { background: rgba(239,68,68,.18); color: #F87171; }
.home2 { max-width: none !important; padding-left: 40px !important; padding-right: 40px !important; }
.midrow.left { grid-template-columns: 250px minmax(0, 1fr); }
.midrow.left .canvas { justify-content: center; }
@media (max-width: 900px) { .midrow.left { grid-template-columns: 1fr; } .home2 { padding-left: 14px !important; padding-right: 14px !important; } }
.midrow { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; align-items: start; }
.midrow .wgts { grid-template-columns: 1fr; }
.wp-bottom .wgts { margin-top: 4px; }
@media (max-width: 900px) { .midrow { grid-template-columns: 1fr; } .midrow .wgts { grid-template-columns: repeat(3, minmax(0, 1fr)); order: -1; } }
.aic { background: linear-gradient(150deg, var(--c1, color-mix(in srgb, var(--acc) 78%, #fff)), var(--c2, color-mix(in srgb, var(--acc) 68%, #000))) !important; overflow: hidden; box-shadow: 0 12px 26px color-mix(in srgb, var(--c2, var(--acc)) 55%, transparent), 0 2px 6px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 6px rgba(0,0,0,.18); }
.aic::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,.04) 48%, rgba(255,255,255,0) 52%); pointer-events: none; }
.aic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); pointer-events: none; }
.aic svg { position: relative; z-index: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.28)); stroke-width: 1.6; }
.aic.mini { box-shadow: 0 4px 10px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.4); }
.abadge { z-index: 3; background: #FF3B5C; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.aic { overflow: visible; }
.aic::before, .aic::after { overflow: hidden; }
.cfg-walls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cfg-walls button, .cwup { position: relative; height: 62px; border-radius: 12px; border: 2px solid rgba(255,255,255,.14); color: #fff; font: 700 .72rem var(--font-body); cursor: pointer; display: flex; align-items: flex-end; padding: 6px 8px; text-shadow: 0 1px 4px rgba(0,0,0,.7); overflow: hidden; }
.cfg-walls .on { border-color: #fff; }
.cwup { background: rgba(255,255,255,.08); align-items: center; justify-content: center; text-align: center; border-style: dashed; }
.cwup.on { border-style: solid; border-color: #fff; }
.cwup input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cfg-seg.wide { width: 100%; } .cfg-seg.wide button { flex: 1; }
.cfg-dock { display: flex; flex-wrap: wrap; gap: 6px; }
.cfg-dock button { border: 1px solid rgba(255,255,255,.18); background: transparent; color: #EEF1FF; border-radius: 999px; padding: 7px 12px; font: 600 .8rem var(--font-body); cursor: pointer; }
.cfg-dock button.on { background: #1F2E8C; border-color: #1F2E8C; }
.dock .mv { margin-top: 4px; } .dock .mv i { padding: 4px 8px; font-size: .7rem; }

.is-down { min-height: 100vh; display: grid; place-items: center; background: #0B1240; color: #fff; }
.sdown { text-align: center; padding: 32px 20px; max-width: 520px; }
.sdown h1 { font: 800 clamp(1.6rem, 5vw, 2.3rem) var(--font-head, inherit); margin: 12px 0 8px; color: #fff; }
.sdown p { color: #C9D0F5; line-height: 1.6; margin: 0 0 22px; }
.dlogo { width: 84px; height: 84px; object-fit: contain; }
.dadm { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: 8px 16px; font: 600 .82rem var(--font-body, inherit); cursor: pointer; }
.spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; margin: 0 auto; animation: dspin .8s linear infinite; }
@keyframes dspin { to { transform: rotate(360deg); } }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.mode { text-align: left; border: 1px solid var(--line, #d9dcec); background: var(--surface, #fff); color: inherit; border-radius: 14px; padding: 16px; cursor: pointer; display: grid; gap: 6px; font: inherit; }
.mode span { font-size: .84rem; opacity: .75; line-height: 1.45; }
.mode.on { border: 2px solid #1F2E8C; box-shadow: 0 0 0 3px rgba(31,46,140,.12); }
@media (max-width: 700px) { .modes { grid-template-columns: 1fr; } }

/* ===== HRH-Stil: sachlich, flach, Rot/Gelb/Weiss ===== */
:root { --bg: #FFFFFF; --surface: #FFFFFF; --ink: #1B1B20; --muted: #55555F; --line: #D9D9DE; --soft: #F2F2F4; --red: #E3000F; --red-text: #C4000D; --blue: #1B1B20; --head: #E3000F; --head-ink: #FFFFFF; --head-muted: #FFE3E5; --yel: #FBEC02; --shadow: none; --radius: 0; --font-display: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif; --font-body: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif; --font-mono: "Helvetica Neue", Helvetica, Arial, sans-serif; }
body { font-size: 16px; line-height: 1.6; margin: 0; }
.stats-wrap { background: var(--red); padding-inline: 0; max-width: none; }
.stats-wrap.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.8rem); line-height: 1.05; text-transform: uppercase; letter-spacing: 0; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.12; text-transform: uppercase; letter-spacing: 0; }
.site-head { border-bottom: 4px solid var(--yel); }
.head-row { padding-block: 6px; }
.brand img { height: 48px; }
.wm b { font-weight: 800; letter-spacing: .08em; }
.wm i { font-weight: 600; letter-spacing: .34em; }
.tabs a, .login-link { font-weight: 700; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; padding: 20px 12px 17px; border-bottom: 3px solid transparent; color: var(--head-muted); }
.tabs a:hover { color: #fff; background: rgba(0,0,0,.12); }
.tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--yel); background: rgba(0,0,0,.14); }
.tabs a.adm { color: #fff; }
.login-link { border: 2px solid #fff; border-radius: 0; padding: 9px 14px; color: #fff; }
.login-link[aria-current="page"] { background: #fff; color: var(--red); border-color: #fff; }
.admin-link { color: var(--head-muted); }
.eyebrow { font: 700 .78rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 6px; background: var(--red); border-bottom: 2px solid var(--yel); box-sizing: content-box; flex: none; }
.hero .eyebrow, .page-top .eyebrow, .lcopy .eyebrow { color: #fff; }
.hero { background-color: #1B1B20; padding-block: 64px 56px; position: relative; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(var(--red) 0 5px, var(--yel) 5px 8px); }
.h1b { font-weight: 600; text-transform: none; letter-spacing: .02em; opacity: 1; }
.btn { border-radius: 0; font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; padding: 14px 22px; box-shadow: none !important; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--yel); border-color: var(--yel); color: #1B1B20; filter: none; }
.hero .btn:not(.primary):hover { background: var(--yel); color: #1B1B20; border-color: var(--yel); }
.subnav { background: var(--soft); border-bottom: 1px solid var(--line); top: calc(env(safe-area-inset-top, 0px) + 62px); }
.subnav .wrap { gap: 0; padding-block: 0; }
.subnav button { background: transparent; border-radius: 0; padding: 14px 16px; font-weight: 700; font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; border-bottom: 3px solid transparent; }
.subnav button:hover { background: transparent; color: var(--red-text); border-bottom-color: var(--red); }
.stats-wrap { padding-block: 0; max-width: none; padding-left: 0; padding-right: 0; }
.stats { border-radius: 0; border: 0; background: transparent; color: #fff; max-width: 1360px; margin: 0 auto; padding-inline: 16px; }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats li { border-left: 1px solid rgba(255,255,255,.28); padding: 26px 24px 28px; }
.stats .sv { color: #fff; font-weight: 800; letter-spacing: 0; }
.stats .sk { color: var(--yel); font-weight: 700; letter-spacing: .1em; }
.stats .sd { color: #fff; opacity: .92; }
.cards { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cards li { border-radius: 0; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: none; padding: 22px 22px 26px; background: var(--surface); }
.cards .no { display: inline-grid; place-items: center; width: 28px; height: 24px; background: var(--red); color: var(--yel); font-weight: 800; font-size: .8rem; letter-spacing: 0; }
.cards strong { font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; }
.sec { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 26px; }
.course-box, .form, .xcards li, .veh, .gal-item, .dlg, .ldlg { border-radius: 0 !important; box-shadow: none; }
.dlg { border-top: 6px solid var(--red); }
.xcards li { border-top: 0; border-left: 6px solid var(--red); }
.xcards .xk { color: var(--red-text); }
.frame { border-radius: 0; }
.gal-btn { border-radius: 0; background: var(--red); border-color: var(--red); }
.gal-btn:hover { background: var(--yel); border-color: var(--yel); }
.gal-btn:hover::before { border-color: #1B1B20; }
.gal-dot { border-radius: 0; width: 18px; height: 6px; border: 0; background: var(--line); }
.gal-dot[aria-current="true"] { background: var(--red); }
.field input, .field textarea, .field select { border-radius: 0; background: var(--surface); border: 1px solid #A9A9B2; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }
.field label { font-weight: 700; letter-spacing: .06em; }
.site-foot { background: #1B1B20; color: #C9C9D0; border-top: 6px solid var(--red); padding-block: 36px; }
.site-foot .links a:hover { color: var(--yel); }
.pill, .badge, .mini { border-radius: 0; }
@media (max-width: 640px) { .stats { grid-template-columns: minmax(0, 1fr); } .stats li { border-left: 0; border-top: 1px solid rgba(255,255,255,.28); padding: 16px 0 18px; } .stats li:first-child { border-top: 0; } }
.quals strong, .qrows strong { font-weight: 800; }


/* Organigramm, sachlich */
.obox { background: var(--red); border-radius: 0; box-shadow: none; border-bottom: 6px solid var(--yel); width: min(100%, 460px); }
.olab { color: #fff; letter-spacing: .18em; }
.odept, .oextra { border-radius: 0; box-shadow: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.oextra { border: 1px solid var(--line); border-top: 0; margin-top: 40px; }
.ohead { background: #1B1B20; border-radius: 0; border-bottom: 5px solid var(--red); min-height: 84px; }
.ohead::after { display: none; }
.ohead.alt { background: #55555F; border-bottom-color: var(--yel); }
.onode, .onode.lead, .onode.head, .onode.team { border-radius: 0; box-shadow: none; }
.onode.lead { background: rgba(0,0,0,.16); border-left: 4px solid var(--yel); }
.onode.lead .orole { color: #FFE3E5; } .onode.lead .oname { color: #fff; }
.onode.head { background: var(--soft); border-left: 4px solid var(--red); box-shadow: none; }
.odept .onode.team, .oextra .onode { background: var(--bg); border: 1px solid var(--line); }
.odept .onode.head .orole { color: var(--red-text); }
.odept .oname, .oextra .oname { color: var(--ink) !important; }
.onode.vac .oname { background: var(--yel); color: #1B1B20 !important; border-radius: 0; }
.onode.vac .oname::before { border-radius: 0; background: #1B1B20; }
.otop::after, .odepts::before, .odept::before { background: #1B1B20; }
.oteam::after, .oteam::before { background: #1B1B20; }
.ono, .onode.lead .ono { border-radius: 0; }
.odept, .oextra, .ohead, .ohead.alt, .obox { border-radius: 0 !important; }
.oextra { box-shadow: none !important; border: 1px solid var(--line) !important; border-top: 0 !important; }
.hrh-badge { background: #fff; padding: 3px 6px; display: inline-flex; flex: none; border-bottom: 3px solid var(--yel); } .hrh-badge img { height: 34px; width: auto; }
@media (max-width: 760px) { .brand { order: 1; margin-right: auto; gap: 8px; } .brand img { height: 38px; } .wm b { font-size: .88rem; } .wm i { font-size: .62rem; letter-spacing: .24em; } .login-wrap { order: 3; } .hrh-badge { order: 2; } .tabs { order: 4; } .hrh-badge img { height: 28px; } .wm b { font-size: .74rem; letter-spacing: .04em; } .wm i { font-size: .55rem; letter-spacing: .2em; } .head-row { gap: 4px 8px; flex-wrap: wrap; } .brand { flex: 1 1 0; min-width: 0; } .login-link { padding: 7px 10px; } .tabs a { padding-block: 14px 11px; } }

.page-top { background: #1B1B20; background-image: none; border-bottom: 0; position: relative; padding-block: 40px 40px; }
.page-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(var(--red) 0 5px, var(--yel) 5px 8px); }
.page-top .eyebrow { color: #fff; } .page-top p:not(.eyebrow) { color: #D6D6DC; }
.plate { background: #1B1B20; background-image: none; border-bottom: 5px solid var(--red); }
.plate .kind { color: var(--yel); }
.cta-band { border-radius: 0; background: var(--red); background-image: none; box-shadow: none; border-bottom: 6px solid var(--yel); }
.fabbr { background: var(--red); border-radius: 0; color: #fff; }
.flow li::before, .pgt, .prof .parea, .jtag, .onode.head .orole, .odept .onode.head .orole, .vtools b, .dates li { color: var(--red-text); }
.jtag { background: var(--soft); border-radius: 0; }
.dates li { border-radius: 0; background: var(--soft); border-left: 4px solid var(--red); }
.ptabs button[aria-current="page"] { background: var(--red); color: #fff; }
.obox { background: var(--red); background-image: none; border-radius: 0; box-shadow: none; border-bottom: 6px solid var(--yel); }
.ohead { background: var(--red); border-radius: 0; }
.ono { background: var(--red); border-radius: 0; }
.onode.team .ono { background: #fff; color: var(--red-text); box-shadow: inset 0 0 0 2px var(--red); }
.onode.head { border-left-color: var(--red); }
.onode, .vcar .frame, .vstage { border-radius: 0; }
.tflow li::before { background: var(--red); border-radius: 0; }
.thead { background: var(--red); }
.track.t1 .tflow li:last-child::before { background: var(--red); }
.vcar .frame.empty, .vstage.empty { background: var(--soft); }
.ed:hover { outline-color: var(--red); } .ed:focus { outline-color: var(--red); }
.mini.add { color: var(--red-text); }
.reqgrid .tick::after { border-color: var(--red); }
/* ===== Schlichter ===== */
:root { --head: #FFFFFF; --head-ink: #1B1B20; --head-muted: #55555F; }
.site-head { background: var(--head); color: var(--head-ink); border-bottom: 1px solid var(--line); box-shadow: inset 0 4px 0 var(--red); }
.head-row { padding-block: 10px 6px; }
.brand img { background: var(--red); padding: 5px 7px; height: 44px; box-sizing: border-box; width: auto; }
.wm b { color: var(--head-ink); } .wm i { color: var(--head-muted); }
.tabs a { color: var(--head-muted); padding: 16px 12px 13px; }
.tabs a:hover { color: var(--head-ink); background: transparent; border-bottom-color: var(--line); }
.tabs a[aria-current="page"] { color: var(--head-ink); background: transparent; border-bottom-color: var(--red); }
.tabs a.adm { color: var(--red-text); }
.login-link { border: 1px solid var(--head-ink); color: var(--head-ink); }
.login-link:hover { background: var(--head-ink); color: var(--bg); }
.login-link[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }
.admin-link { color: var(--head-muted); } .admin-link:hover { color: var(--head-ink); }
.hrh-badge { background: transparent; padding: 0; border: 0; } .hrh-badge img { height: 42px; }
.hero::after, .page-top::after { height: 4px; background: var(--red); }
.hero { padding-block: 56px 52px; }
.hero .btn.primary:hover { background: #fff; border-color: #fff; color: #1B1B20; }
.btn.primary:hover { background: #1B1B20; border-color: #1B1B20; color: #fff; }
.subnav { background: var(--bg); }
.subnav button { font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.stats-wrap { background: var(--soft); border-bottom: 1px solid var(--line); }
.stats li { border-left: 1px solid var(--line); }
.stats .sv { color: var(--ink); } .stats .sk { color: var(--red-text); } .stats .sd { color: var(--muted); opacity: 1; }
@media (max-width: 640px) { .stats li { border-top: 1px solid var(--line); } }
.cards .no { background: transparent; color: var(--red-text); width: auto; height: auto; place-items: start; font-size: .82rem; letter-spacing: .08em; }
.cards strong { text-transform: none; font-size: 1.1rem; font-weight: 700; }
.eyebrow::before { background: var(--red); border-bottom: 0; height: 3px; width: 18px; }
h1, h2 { text-transform: none; font-weight: 700; letter-spacing: -.01em; }
.hero h1, .page-top h1 { text-transform: none; font-weight: 800; }
.page-top { background: var(--soft); color: var(--ink); border-bottom: 1px solid var(--line); padding-block: 36px; }
.page-top::after { display: none; }
.page-top .eyebrow { color: var(--red-text); } .page-top p:not(.eyebrow) { color: var(--muted); }
.page-top h1 { color: var(--ink); }
.plate { background: #1B1B20; border-bottom: 3px solid var(--red); } .plate .kind { color: #D6D6DC; }
.cta-band { background: #1B1B20; border-bottom: 0; border-left: 6px solid var(--red); }
.fabbr { background: #1B1B20; }
.xcards li { border-left: 3px solid var(--red); }
.gal-btn { background: rgba(27,27,32,.8); border-color: #fff; }
.site-foot { border-top: 0; border-bottom: 0; box-shadow: inset 0 4px 0 var(--red); }
/* Organigramm, ordentlich */
.obox { background: #1B1B20; border-bottom: 0; border-top: 4px solid var(--red); width: min(100%, 420px); padding: 16px; }
.onode.lead { background: rgba(255,255,255,.08); border-left: 0; border: 1px solid rgba(255,255,255,.18); }
.olab { color: #D6D6DC; }
.ohead, .ohead.alt { background: var(--soft); color: var(--ink); border-bottom: 1px solid var(--line); border-top: 4px solid var(--red); min-height: 72px; }
.ohead.alt { border-top-color: var(--muted); }
.ohead h3 { color: var(--ink); font-size: 1.02rem; }
.odept .onode.head { background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--red); }
.onode.vac .oname { background: transparent; color: var(--muted) !important; padding: 0; font-weight: 600; letter-spacing: .06em; border: 0; }
.onode.vac .oname::before { display: none; }
.otop::after, .odepts::before, .odept::before, .oteam::after, .oteam::before { background: #8A8A94; }
.odepts { gap: 20px; }
@media (max-width: 520px) { .brand .wm { display: none; } .brand { flex: 1 1 auto; } .brand img { height: 40px; } .hrh-badge img { height: 34px; } }

/* ===== Lesbarkeit ===== */
:root { --muted: #3A3A44; --line: #CFCFD6; }
body { font-size: 18px; line-height: 1.65; font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif; }
p, li { font-size: 1rem; }
.cards p, .stats .sd, .section-head p:not(.eyebrow), .qrows span, .quals p, .xcards p, .gal-cap, .hint { color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
.prose p { font-size: 1.08rem; line-height: 1.75; }
.tabs a, .login-link { font-size: .92rem; letter-spacing: .04em; color: #2A2A32; }
.tabs a[aria-current="page"] { color: #000; }
.wm b { font-size: 1.1rem; } .wm i { font-size: .78rem; }
.subnav button { font-size: .9rem; color: #2A2A32; }
.eyebrow { font-size: .85rem; letter-spacing: .1em; }
.stats .sk { font-size: .85rem; letter-spacing: .06em; }
.cards strong { font-size: 1.2rem; }
.field label, .veh dt, .badge, .mini, .pill { font-size: .82rem; color: var(--muted); }
.field input, .field textarea, .field select { font-size: 1rem; }
.veh dd, .qrows strong, .quals strong { font-size: 1.05rem; }
.onode .orole { font-size: .92rem; color: var(--muted); } .oname { font-size: 1.05rem; }
.onode.vac .oname { font-size: .9rem; color: #55555F !important; }
.site-foot { color: #E3E3E8; font-size: 1rem; }
.hero p, .hero .lead { font-size: 1.2rem; }
.hero .h1b { font-size: clamp(1.2rem, 3.6vw, 1.8rem); }
.page-top p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.hero { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
@media (max-width: 520px) { body { font-size: 17px; } }
.hero p.eyebrow, .page-top p.eyebrow { font-size: .85rem; }

/* ===== Lesbarkeit 2 + feste Unternavigation ===== */
:root { --muted: #2C2C34; }
body { font-size: 19px; }
@media (max-width: 520px) { body { font-size: 18px; } }
.cards p, .stats .sd, .section-head p:not(.eyebrow), .qrows span, .quals p, .xcards p, .gal-cap, .hint { font-size: 1.05rem; color: #2C2C34; }
.prose p { font-size: 1.12rem; line-height: 1.8; }
.tabs a, .login-link { font-size: .95rem; color: #1B1B20; }
.subnav { top: calc(env(safe-area-inset-top, 0px) + var(--headh, 62px) - 1px); z-index: 15; }
.subnav button { font-size: .95rem; color: #1B1B20; }
.site-head { z-index: 30; }
[id] { scroll-margin-top: calc(var(--headh, 62px) + 64px); }
.eyebrow { font-size: .9rem; }

/* ===== Tablet: Einsatz-Tablet-Oberfl\e4 che ===== */
.pad.pad2.nida { --accent: var(--acc, #E3000F); --bg: #E3E6EA; --surface: #FFFFFF; --soft: #F1F3F5; --ink: #1B1D21; --muted: #4A4F58; --line: #C9CED6; --blue: #E3000F; --red-text: #C4000D; background: #E3E6EA; color: #1B1D21; font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif; }
.nida .appview { background: #E3E6EA; min-height: calc(100vh - 56px); } .nida .pad-wall { z-index: 0; }
.pad.pad2.nida h1, .pad.pad2.nida h2, .pad.pad2.nida h3 { color: #1B1D21; text-transform: none; letter-spacing: 0; }
.nida .pad-status { background: var(--pad-bar, #23272D); color: #fff; border-bottom: 3px solid var(--acc, #E3000F); backdrop-filter: none; padding: 7px 14px; }
.pad.pad2.light.nida .pad-status { background: var(--pad-bar, #23272D); }
.nida .pad-status, .nida .pad-status * { color: #fff; }
.nida .pad-status .stpop button, .nida .pad-status .stpop button * { color: #1B1D21; }
.nida .cfgbtn { background: #3A3F47; border: 1px solid #555B65; border-radius: 4px; }
.nida .vswitch { background: #3A3F47; border-radius: 4px; } .nida .vswitch button { border-radius: 3px; }
.nida .vswitch button.on { background: var(--acc, #E3000F); color: #fff; }
.nida .pad-screen { background: transparent; }
.nida .hrow { align-items: stretch; }
.nida .clockw { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--acc, #E3000F); padding: 18px 22px; border-radius: 0; }
.nida .clockw .l-time { color: #1B1D21 !important; text-shadow: none; font-weight: 600; letter-spacing: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.nida .clockw .l-date, .nida .l-who { color: #4A4F58; text-shadow: none; }
.nida .canvas { padding-top: 6px; }
.nida .aic { background: #fff !important; border: 1px solid #B8BEC8; border-radius: 6px; box-shadow: none !important; color: var(--acc, #E3000F); border-bottom: 4px solid var(--acc, #E3000F); }
.nida .aic::before { display: none; }
.nida .aic svg { color: var(--acc, #E3000F); stroke: currentColor; }
.nida .alb { color: #1B1D21; background: rgba(255,255,255,.94); padding: 3px 9px; text-shadow: none; font-weight: 700; font-size: .9rem; margin-top: 6px; }
.nida .appview { max-width: none; padding: 0 0 80px; }
.nida .appbar { background: #fff; margin: 0 0 18px; padding: 12px 20px; border-bottom: 1px solid var(--line); gap: 14px; }
.nida .appbar h1 { font-size: 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.nida .abk { background: #F1F3F5; border: 1px solid #B8BEC8; color: #1B1D21; border-radius: 4px; width: 46px; height: 46px; }
.nida .appbar .aic.mini { width: 40px; height: 40px; border-radius: 4px; }
.nida .appbody { padding: 0 20px; }
.nida .pcard2, .nida .pad-grid > section { background: #fff; border: 1px solid var(--line); border-radius: 0; box-shadow: none; color: #1B1D21; }
.nida .pcard2 h2 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.nida .sub { color: #4A4F58; }
.nida .pbtn, .nida .pmini { background: #fff; color: #1B1D21; border: 1px solid #8A909B; border-radius: 4px; font-weight: 700; }
.nida .pbtn.on, .nida .pmini.on { background: var(--acc, #E3000F); border-color: var(--acc, #E3000F); color: #fff; }
.nida .pbtn.dng { background: #1B1D21; border-color: #1B1D21; color: #fff; }
.nida .pill { background: #1B1D21; color: #fff; border-radius: 2px; }
.nida .plist2 .pr { border-bottom: 1px solid var(--line); }
.nida .plist2 .pr small { color: #4A4F58; }
.nida .field input, .nida .field select, .nida .field textarea { background: #fff; border: 1px solid #8A909B; border-radius: 3px; color: #1B1D21; }
.nida .toast { background: #1B1D21; color: #fff; border-radius: 4px; }
.nida .dock { background: var(--pad-bar, #23272D); border-radius: 0; border-top: 3px solid var(--acc, #E3000F); }
.nida .appview .paper { border-radius: 0; }
.nida .pad-st { background: #3A3F47; border: 1px solid #6A717C; border-radius: 4px; padding: 7px 12px; }
.nida .pad-st i { border-radius: 2px; }
.nida .ps-out { border-radius: 4px; border-color: #8A909B; }
.nida .paper { margin-left: auto; margin-right: auto; width: 100%; max-width: 940px; }
.nida .stackc { justify-items: stretch; } .nida .stackc > .pmini { justify-self: start; padding: 10px 16px; } .nida .stackc > .ptop, .nida .stackc > .pcard2, .nida .stackc > .pad-grid { width: 100%; max-width: 940px; margin-left: auto; margin-right: auto; } .nida .stackc > .pmini { margin-left: max(0px, calc((100% - 940px) / 2)); }
.paper-head h1, .paper-head b { font-weight: 800; }
.nida .cfgsheet { background: #23272D; backdrop-filter: none; border: 1px solid #4A4F58; border-top: 3px solid var(--acc, #E3000F); border-radius: 0; color: #F1F1F3; box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.pad.pad2.nida .cfgsheet h1, .pad.pad2.nida .cfgsheet h2, .pad.pad2.nida .cfgsheet h3, .nida .cfgsheet .cfgrow, .nida .cfgsheet span { color: #F1F1F3; }
.pad.pad2.nida .cfgsheet h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #C9CED6; }
.nida .cfghint { color: #C9CED6; font-size: .85rem; }
.nida .cfg-x, .nida .cfg-tabs, .nida .cfg-seg { border-radius: 0; background: #3A3F47; }
.nida .cfg-tabs button, .nida .cfg-seg button { border-radius: 0; color: #E3E6EA; }
.nida .cfg-tabs button.on, .nida .cfg-seg button.on, .nida .cfgbtn.on, .nida .cfg-btn.on { background: var(--acc, #E3000F); color: #fff; border-color: var(--acc, #E3000F); }
.nida .cfg-btn, .nida .cfg-walls button, .nida .cfg-pre button { border-radius: 0; }
.nida .cfg-walls button.on, .nida .cfg-pre button.on { outline: 2px solid #fff; }
.nida .cfgsec { border-top-color: #4A4F58; }

.cta-band p, .cta-band .cta-text p { color: #ECECF0; }
.plate .kind { color: #F1F1F3; }

/* ===== Dauerhaft dunkel ===== */
:root { color-scheme: dark; --bg: #121214; --surface: #1C1C20; --soft: #26262B; --ink: #F4F4F6; --muted: #D0D0D8; --line: #3C3C45; --red: #E3000F; --red-text: #FF6A73; --blue: #F4F4F6; --head: #1A1A1E; --head-ink: #F4F4F6; --head-muted: #D0D0D8; }
body { background: var(--bg); color: var(--ink); }
.site-head { background: var(--head); border-bottom: 1px solid var(--line); }
.tabs a, .login-link, .subnav button { color: var(--ink); }
.tabs a { color: var(--muted); }
.tabs a:hover { color: #fff; }
.tabs a[aria-current="page"] { color: #fff; }
.tabs a.adm { color: var(--red-text); }
.login-link { border-color: #9A9AA4; }
.login-link:hover { background: #fff; color: #121214; }
.cards p, .stats .sd, .section-head p:not(.eyebrow), .qrows span, .quals p, .xcards p, .gal-cap, .hint, .page-top p:not(.eyebrow), .sub { color: var(--muted); }
.subnav { background: var(--bg); border-bottom: 1px solid var(--line); }
.subnav button:hover { color: #fff; }
.stats-wrap { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats .sv { color: #fff; } .stats .sk { color: var(--red-text); }
.cards { border-color: var(--line); } .cards li { background: var(--surface); border-color: var(--line); }
.cards strong, .cards .no { }
.cards .no { color: var(--red-text); }
.page-top { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-top h1 { color: #fff; } .page-top .eyebrow { color: var(--red-text); }
.hero .eyebrow, .lcopy .eyebrow { color: #fff; }
.btn { color: var(--ink); } .btn:hover { background: #fff; color: #121214; border-color: #fff; }
.btn.primary { color: #fff; } .btn.primary:hover { background: #fff; border-color: #fff; color: #121214; }
.hero .btn.primary:hover { background: #fff; color: #121214; }
.frame { background: var(--soft); border-color: var(--line); } .frame.empty { background: var(--soft); }
.vcar .frame.empty, .vstage.empty { background: var(--soft); }
.field input, .field textarea, .field select { background: var(--surface); color: var(--ink); border-color: #70707B; }
.field label { color: var(--muted); }
.form, .course-box, .xcards li, .veh, .gal-item, .dlg, .ldlg { background: var(--surface); color: var(--ink); border-color: var(--line); }
.cta-band { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--red); }
.cta-band p, .cta-band .cta-text p { color: var(--muted); }
.plate { background: #000; } .plate .kind { color: #F4F4F6; }
.veh dt, .veh dd { color: var(--muted); } .veh dd { color: var(--ink); }
.qrows, .qrows li, .quals, .quals li, .sec { border-color: var(--line); }
.pill, .badge, .mini { color: var(--ink); }
.obox { background: #000; }
.ohead, .ohead.alt { background: var(--soft); color: var(--ink); }
.odept, .oextra { background: var(--surface); border-color: var(--line); color: var(--ink); }
.odept .onode.head, .odept .onode.team, .oextra .onode { background: var(--bg); border-color: var(--line); }
.odept .onode.head .orole { color: var(--red-text); }
.onode .orole, .odept .orole { color: var(--muted); }
.odept .oname, .oextra .oname, .oname { color: var(--ink) !important; }
.onode.vac .oname { color: var(--muted) !important; }
.onode.lead .orole { color: var(--muted); } .onode.lead .oname { color: #fff !important; }
.otop::after, .odepts::before, .odept::before, .oteam::after, .oteam::before { background: #8A8A94; }
.dates li, .jtag { background: var(--soft); color: var(--red-text); }
.eyebrow { color: var(--red-text); }
.site-foot { background: #0B0B0D; color: #E3E3E8; }
.modal { background: rgba(0,0,0,.7); }
.ed:focus { background: rgba(255,255,255,.08); }
.timeline .yr { color: var(--red-text); }
.psec.alert .pr-date::before, .psec.alert h2, .prof .prole { color: var(--red-text); }
.prof { background: var(--surface); border: 1px solid var(--line); border-radius: 0; } .prof .frame.empty { background: var(--soft); }
.vstage.empty, .vcar .frame.empty { background: var(--soft); background-image: none; }
.prof .parea { color: var(--red-text); }
.prof, .prof span, .prof b, .prof strong, .prof h3 { color: var(--ink); } .prof .pabout, .prof .prole2, .prof small { color: var(--muted); } .prof .prole, .prof .parea { color: var(--red-text); }
.prof .pvac, .pvac { background: var(--soft); color: var(--muted); border-radius: 0; }
/* Organigramm kompakter */
.owrap { gap: 16px; }
.odepts { gap: 14px; padding-top: 28px; }
.odepts::before { left: calc((100% - 28px) / 6); right: calc((100% - 28px) / 6); }
.odept::before { top: -28px; height: 28px; }
.otop { padding-bottom: 28px; } .otop::after { height: 28px; }
.obox { width: min(100%, 340px); padding: 10px 12px; gap: 6px; }
.ologo { height: 34px; margin: 0; }
.olab { font-size: .68rem; }
.ohead, .ohead.alt { min-height: 50px; padding: 0 12px; }
.ohead h3 { font-size: .92rem; line-height: 1.2; }
.obody { padding: 12px; gap: 8px; }
.onode { padding: 7px 10px !important; min-height: 0 !important; gap: 6px; }
.onode .orole { font-size: .78rem; line-height: 1.25; }
.oname, .odept .oname, .oextra .oname { font-size: .92rem !important; margin-top: 1px; }
.onode.vac .oname { font-size: .8rem !important; letter-spacing: .05em; }
.onode.head .orole, .odept .onode.head .orole { font-size: .7rem; }
.oteams { margin: 6px 0 0 14px; gap: 6px; }
.oteam { padding-left: 14px; } .oteam::before { width: 14px; top: 50%; } .oteam::after { bottom: -6px; }
.oteam:last-child::after { height: 50%; }
.oextra { margin-top: 28px; }
@media (max-width: 1100px) { .oextra { margin-top: 0; } }
.brand img { background: transparent; padding: 0; height: 50px; width: auto; }
@media (max-width: 520px) { .brand img { height: 42px; } }

/* ===== N\fc chterner ===== */
.eyebrow { display: none !important; }
.cards .no { display: none; }
.tabs a, .login-link, .subnav button, .btn { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 1rem; }
.tabs a { padding: 18px 14px 15px; }
.subnav button { padding: 13px 16px; }
.btn { padding: 12px 22px; }
.wm b { letter-spacing: .05em; } .wm i { letter-spacing: .28em; font-weight: 500; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -.01em; }
.hero { padding-block: 72px 64px; text-shadow: none; }
.hero h1 { font-weight: 700; }
.hero .h1b { font-weight: 400; }
.hero p, .hero .lead { font-size: 1.15rem; max-width: 62ch; }
.hero::after, .page-top::after { height: 3px; }
.page-top { padding-block: 40px 36px; }
.page-top h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.stats .sv { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 700; }
.stats .sk { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.stats li { padding: 22px 24px; }
.cards strong { font-size: 1.1rem; font-weight: 700; }
.cards li { padding: 22px 24px 26px; gap: 10px; }
.sec { padding-block: 52px; }
.section-head { margin-bottom: 20px; }
.section-head h2 { position: relative; padding-bottom: 12px; } .section-head h2::after { content: ""; display: block; width: 40px; height: 3px; background: var(--red); position: absolute; left: 0; bottom: 0; }
.field label { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 600; }
.veh dt { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.ohead h3, .olab { text-transform: none; letter-spacing: 0; }
.olab { font-size: .8rem; font-weight: 600; }
.onode.head .orole, .odept .onode.head .orole { text-transform: none; letter-spacing: 0; font-size: .8rem; font-weight: 600; }
.onode.vac .oname { text-transform: none; letter-spacing: 0; font-weight: 500; font-style: italic; }
.plate .call { letter-spacing: 0; }
.plate .kind { text-transform: none; letter-spacing: 0; }
.gal-count { font-size: .9rem; }
.site-foot { font-size: .95rem; }
.cta-band { padding: 28px 32px; }
.cta-band h2 { font-size: 1.5rem; }

/* Einsatzablauf ausklappbar */
.flow:not(.tflow) { counter-reset: f; align-items: start; }
.flow:not(.tflow) li.fstep { counter-increment: f; padding: 0; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); display: block; }
.flow:not(.tflow) li.fstep::before { display: none; }
.fstep details { padding: 0; }
.fstep summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.fstep summary::-webkit-details-marker { display: none; }
.fstep summary::before { content: counter(f, decimal-leading-zero); font: 700 1.5rem var(--font-display); color: #fff; min-width: 2ch; }
.fstep summary strong { flex: 1; font-size: 1.1rem; }
.fstep summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.fstep details[open] summary::after { content: "\2212"; }
.fstep details > p, .fstep details > .ed { display: block; padding: 0 18px 18px 18px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.fstep summary:hover { background: var(--soft); }
.flow .no, .flow li::before { color: #fff; }
.tflow li::before { color: #fff; }
.flow:not(.tflow) { margin-top: 10px; }

/* Ansichtsumschalter und Organigramm-Ausrichtung */
.vbar { background: #0B0B0D; border-bottom: 1px solid #2A2A30; }
.vswitch { padding: 0 16px; gap: 0; max-width: 1360px; margin: 0 auto; display: flex; }
.vswitch button { border-radius: 0; font: 600 .85rem var(--font-body); letter-spacing: 0; color: #C9C9D2; padding: 9px 16px; border-bottom: 2px solid transparent; }
.vswitch button:hover:not(.on) { background: #1C1C20; color: #fff; }
.vswitch button.on { background: #1C1C20; color: #fff; border-bottom-color: var(--red); }
.otop { width: calc((100% - 16px) * 3 / 4); }
@media (max-width: 1100px) { .otop { width: 100%; } }
@media (min-width: 1000px) { .head-row { flex-wrap: nowrap; } .tabs { overflow-x: auto; } }
@media (min-width: 1000px) { .head-row { gap: 6px 14px; } .tabs a { padding-inline: 9px; font-size: .95rem; } .tabs .sep { margin-inline: 4px; } .brand { gap: 8px; } .login-link { padding: 7px 12px; } }

/* ===== Protokoll im Tablet-Stil ===== */
.nform { display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: auto 1fr auto; background: #fff; border: 1px solid #B8BEC8; width: 100%; max-width: 1180px; margin: 0 auto; min-height: calc(100vh - 150px); color: #1B1D21; }
.nf-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; background: #2B3037; color: #fff; padding: 10px 14px; border-bottom: 3px solid var(--acc, #E3000F); }
.nf-back { width: 48px; height: 48px; border: 1px solid #6A717C; background: #3A3F47; color: #fff; font-size: 1.3rem; cursor: pointer; }
.nf-t { flex: 1; display: grid; line-height: 1.2; } .nf-t b { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; color: #fff; } .nf-t small { color: #D5D9DF; font-size: .95rem; }
.nf-save { min-height: 48px; padding: 0 24px; border: 0; background: var(--acc, #E3000F); color: #fff; font: 700 1rem var(--font-body); cursor: pointer; }
.nf-nav { background: #EEF0F3; border-right: 1px solid #C9CED6; display: flex; flex-direction: column; }
.nf-i { display: flex; align-items: center; gap: 12px; text-align: left; border: 0; border-bottom: 1px solid #D5D9DF; background: transparent; padding: 0 14px; min-height: 58px; font: 600 1rem var(--font-body); color: #1B1D21; cursor: pointer; position: relative; }
.nf-i i { font-style: normal; width: 30px; height: 30px; display: grid; place-items: center; background: #fff; border: 1px solid #8A909B; font-weight: 700; flex: none; }
.nf-i span { flex: 1; } .nf-i u { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #A9AEB8; flex: none; }
.nf-i.done u { background: #1F9D55; border-color: #1F9D55; }
.nf-i.on { background: #fff; box-shadow: inset 5px 0 0 var(--acc, #E3000F); font-weight: 800; }
.nf-i.on i { background: var(--acc, #E3000F); border-color: var(--acc, #E3000F); color: #fff; }
.nf-main { padding: 22px 24px 28px; min-width: 0; background: #fff; }
.nform .psec { display: none; margin: 0; } .nform .psec.on { display: block; }
.nform .psec h4 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 16px; padding: 0 0 10px; border-bottom: 2px solid #1B1D21; background: transparent; color: #1B1D21; display: flex; gap: 10px; align-items: center; }
.nform .psec h4 i { background: var(--acc, #E3000F); color: #fff; padding: 2px 10px; font-size: 1rem; }
.nform .pgrid { gap: 12px; }
.nform .pfield { border: 1px solid #8A909B; border-radius: 0; background: #fff; padding: 8px 12px 6px; min-height: 66px; }
.nform .pfield span { font-size: .8rem; font-weight: 700; color: #4A4F58; letter-spacing: .02em; text-transform: none; }
.nform .pfield input, .nform .pfield select, .nform .pfield textarea { font-size: 1.15rem; min-height: 32px; color: #1B1D21; }
.nform .pfield textarea { min-height: 120px; }
.nform .pfield:focus-within { border-color: var(--acc, #E3000F); box-shadow: inset 0 -4px 0 var(--acc, #E3000F); }
.nform .pchk { gap: 8px; }
.nform .pchk label { min-height: 50px; padding: 0 16px; font-size: 1.05rem; border: 1px solid #8A909B; border-radius: 0; background: #F4F5F7; color: #1B1D21; display: inline-flex; align-items: center; }
.nform .pchk label:has(input:checked) { background: #1B1D21; border-color: #1B1D21; color: #fff; }
.nform .pchk label:has(input:checked) span::before { content: "\2713  "; }
.nf-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #EEF0F3; border-top: 1px solid #C9CED6; }
.nf-hint { flex: 1; color: #4A4F58; font-size: .9rem; text-align: center; }
.nf-b { min-height: 52px; min-width: 140px; padding: 0 20px; border: 1px solid #6A717C; background: #fff; color: #1B1D21; font: 700 1rem var(--font-body); cursor: pointer; }
.nf-b.nx { background: #1B1D21; border-color: #1B1D21; color: #fff; }
.nform.first [data-act="nprev"], .nform.last [data-act="nnext"] { visibility: hidden; }
@media (max-width: 820px) { .nform { grid-template-columns: 1fr; } .nf-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #C9CED6; } .nf-i { min-width: max-content; border-bottom: 0; border-right: 1px solid #D5D9DF; } .nf-i.on { box-shadow: inset 0 -4px 0 var(--acc, #E3000F); } .nf-hint { display: none; } .nf-foot { justify-content: space-between; } }
.nform .pfield span, .nform .pfield > span { color: #4A4F58 !important; text-transform: none !important; letter-spacing: .01em !important; font-size: .82rem !important; font-weight: 700 !important; }
.nform .pfield { border-radius: 0 !important; border-color: #8A909B !important; }
.nform .psec h4 { color: #1B1D21 !important; text-transform: uppercase; font-size: 1.2rem !important; border-left: 0 !important; padding-left: 0 !important; }
.nform .psec h4 i { background: var(--acc, #E3000F) !important; color: #fff !important; border-radius: 0 !important; font-size: 1rem !important; padding: 2px 10px !important; }
.nform .pfield input, .nform .pfield select, .nform .pfield textarea { font-size: 1.15rem !important; color: #1B1D21 !important; }
@media (min-width: 821px) { .nform { height: calc(100vh - 200px); min-height: 520px; } .nf-main { overflow-y: auto; } .nf-nav { overflow-y: auto; } .nform { grid-template-rows: auto minmax(0, 1fr) auto; } }
.nida .ptypes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 940px; margin: 0 auto; width: 100%; }
.nida .ptype { min-height: 230px; padding: 26px; text-align: left; cursor: pointer; border-top: 5px solid var(--acc, #E3000F) !important; display: grid; gap: 10px; align-content: start; }
.nida .ptype h2 { font-size: 1.7rem; margin: 0; text-transform: none; }
.nida .ptype .sub { font-size: 1.1rem; }
.nida .ptype .tmeta { margin-top: auto; font-weight: 700; color: #1B1D21; font-size: .95rem; padding-top: 12px; border-top: 1px solid #C9CED6; }
.nida .ptype:hover { background: #F4F5F7; }
@media (max-width: 700px) { .nida .ptypes { grid-template-columns: 1fr; } }

/* ===== Geraet: 11,6-Zoll-Tablet im 16:9-Querformat ===== */
@media (min-width: 1000px) and (min-height: 560px) {
  .is-pad { --dw: min(calc(100vw - 48px), calc((100vh - 48px) * 16 / 9)); --dh: calc(var(--dw) * 9 / 16); background: radial-gradient(1200px 700px at 50% 30%, #1d1f24 0%, #0c0d10 70%); height: 100vh; min-height: 0; padding: 0; display: grid; place-items: center; overflow: hidden; }
  .is-pad::before { display: none; }
  .is-pad .pad.pad2 { width: var(--dw); height: var(--dh); min-height: 0; overflow-x: hidden; overflow-y: auto; border: 18px solid #17181b; border-radius: 30px; box-shadow: 0 0 0 3px #3a3d44, 0 0 0 9px #202226, 0 0 0 11px #3a3d44, 0 40px 90px rgba(0,0,0,.65), inset 0 0 0 2px #000; transform: translateZ(0); position: relative; }
  .is-pad .pad.pad2::-webkit-scrollbar { width: 8px; } .is-pad .pad.pad2::-webkit-scrollbar-thumb { background: #8A909B; }
  .is-pad .pad-screen { min-height: calc(var(--dh) - 36px - 56px); }
  .nida .appview { min-height: calc(var(--dh) - 36px - 56px); }
  .nform { height: calc(var(--dh) - 36px - 56px - 64px - 44px); min-height: 0; }
  .is-pad .pad-screen { min-height: 0; }
  .nida .cfgsheet { position: absolute; top: 58px; max-height: calc(var(--dh) - 36px - 70px); }
}
.ps-hw { display: inline-flex; gap: 6px; align-items: center; } .ps-hw b { font: 700 .66rem var(--font-body); letter-spacing: .06em; padding: 2px 5px; background: #3A3F47; color: #E3E6EA; border-radius: 2px; }
.ps-hw b.on { background: #1F9D55; color: #fff; }

/* ===== Tablet: Seite scrollt nie, nur Bereiche darin ===== */
html:has(.is-pad), body:has(.is-pad) { overflow: hidden; overscroll-behavior: none; height: 100%; }
.is-pad { position: fixed; inset: 0; overflow: hidden; }
.is-pad .pad.pad2 { display: flex; flex-direction: column; overflow: hidden !important; }
.is-pad .pad-status { position: relative; flex: none; }
.is-pad .pad-screen { flex: 1 1 auto; min-height: 0 !important; height: auto; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain; }
.is-pad .pad-screen::-webkit-scrollbar { display: none; }
.is-pad .nida .appview, .is-pad .appview { min-height: 0 !important; }
.is-pad .nf-main { scrollbar-width: none; } .is-pad .nf-main::-webkit-scrollbar { display: none; }
.is-pad .nf-nav { scrollbar-width: none; } .is-pad .nf-nav::-webkit-scrollbar { display: none; }
@media (max-width: 999px), (max-height: 559px) { .is-pad .pad.pad2 { height: 100%; width: 100%; } }

@media (max-width: 820px) { .is-pad .nform { grid-template-columns: minmax(0,1fr); width: 100%; max-width: 100%; height: auto; min-height: 0; } .is-pad .nform > *, .is-pad .nf-main, .is-pad .appview, .is-pad .pad-screen > * { min-width: 0; max-width: 100%; } .is-pad .nf-main { overflow-x: hidden; } .is-pad .appview { overflow-x: hidden; } .is-pad .nform .psec, .is-pad .nform .pgrid { max-width: 100%; } .is-pad .nf-head { flex-wrap: nowrap; min-width: 0; } .is-pad .nf-b { padding-inline: 14px; } }
@media (max-width: 520px) { .is-pad .nf-head { gap: 8px; padding-inline: 10px; } .is-pad .nf-head > * { min-width: 0; } .is-pad .nf-head h2, .is-pad .nf-head b { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .is-pad .nf-head .nf-b, .is-pad .nf-head button { padding: 10px 12px; font-size: .9rem; flex: none; } .is-pad .nf-head .nf-back { flex: none; } }
.folder .fgrid { justify-content: flex-start; display: flex; flex-wrap: wrap; gap: 28px 24px; padding: 18px 4px; }
.folder .fgrid .app { width: 132px; }
.folder .fgrid .alb { color: #1B1D21; font-weight: 600; }

.aic.fldr { position: relative; border-radius: 14px 14px 10px 10px !important; background: #E9ECF0 !important; border: 1px solid #8F97A3 !important; border-bottom: 4px solid var(--acc, #E3000F) !important; display: grid; place-items: center; overflow: visible; }
.aic.fldr::before { content: ""; display: block !important; position: absolute; left: -1px; top: -9px; width: 42%; height: 10px; background: #E9ECF0; border: 1px solid #8F97A3; border-bottom: 0; border-radius: 6px 6px 0 0; }
.fmini { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 8px; width: 100%; height: 100%; box-sizing: border-box; }
.fmini i { display: grid; place-items: center; background: #fff; border: 1px solid #C2C8D0; border-radius: 4px; color: var(--acc, #E3000F); }
.fmini svg { width: 60%; height: 60%; }
.folder .ftab { display: inline-block; margin-top: 14px; background: #fff; border: 1px solid #B8BEC8; border-bottom: 0; border-radius: 8px 8px 0 0; padding: 4px 14px; font: 700 .75rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: #4A4F58; }
.folder { padding: 10px 24px 20px; min-height: 100%; box-sizing: border-box; }
.folder .ftab { display: none; }
.is-pad .appbody:has(.folder) { padding: 0 !important; background: #F3F4F6; }
.is-pad .appbody:has(.folder) .folder { border-top: 0; margin: 0; }
/* Tablet: Bildschirm selbst scrollt nie */
.is-pad .pad-screen { overflow: hidden !important; }
.is-pad .appview { height: 100%; display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; }
.is-pad .appbar { flex: none; }
.is-pad .appbody { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding-bottom: 60px; }
.is-pad .appbody::-webkit-scrollbar { display: none; }
.is-pad .launch { height: 100%; overflow: hidden; }

/* Tablet: einheitliche Typografie und Feinschliff */
.pad.nida, .pad.nida button, .pad.nida input, .pad.nida select, .pad.nida textarea, .pad.nida .l-time { font-family: var(--font-body), system-ui, sans-serif !important; }
.nida .clockw { width: fit-content; min-width: 300px; padding: 14px 24px 16px; }
.nida .clockw .l-time { font-size: clamp(2.8rem, 5vw, 3.6rem) !important; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.nida .clockw .l-date { font-size: 1rem; font-weight: 500; margin-top: 6px; }
.nida .l-who { font-size: .9rem; font-weight: 500; margin-top: 2px; }
.nida .alb, .folder .fgrid .alb { background: none !important; color: #fff !important; font: 600 .9rem/1.25 var(--font-body) !important; padding: 0 !important; margin-top: 8px; text-shadow: 0 1px 4px rgba(0,0,0,.85) !important; letter-spacing: 0; }
.folder .fgrid .alb { color: #1B1D21 !important; text-shadow: none !important; }
.nida .appbar h1 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.nida .appbody, .nida .appbody p, .nida .appbody li, .nida .appbody .sub { font-size: .95rem; line-height: 1.5; }
.nida .appbody h2, .nida .pcard2 h2 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.nida .appbody label, .nida .field label { font-size: .8rem; font-weight: 600; letter-spacing: .01em; text-transform: none; }
.nida .pbtn, .nida .nf-b, .nida .btn { font-size: .95rem; font-weight: 700; letter-spacing: 0; }
/* untere Leiste fest im Ger\e4 t statt \fc ber dem Inhalt */
.is-pad .pad-navbar { position: relative; flex: none; height: 44px; padding: 8px 0; background: #1B1D21; border-top: 1px solid #3A3F47; box-sizing: border-box; align-items: center; }
.is-pad .pad-navbar button { background: rgba(255,255,255,.14); height: 28px; }
.is-pad .appbody { padding-bottom: 16px; } @media (min-width: 1000px) and (min-height: 560px) { .is-pad .nform { height: calc(var(--dh) - 36px - 56px - 64px - 44px - 18px); } }
/* Anpassen-Fenster sauber im Ger\e4 t */
.is-pad .nida .cfgsheet { left: 8px; top: 64px; bottom: 8px; max-height: none; width: min(340px, calc(100% - 16px)); overflow-y: auto; scrollbar-width: none; }
.is-pad .nida .cfgsheet::-webkit-scrollbar { display: none; }

/* Ordner-Symbol sauber */
.nida .aic.fldr { background: #fff !important; border: 1px solid #B8BEC8 !important; border-bottom: 4px solid var(--acc, #E3000F) !important; border-radius: 6px !important; overflow: visible; display: block; position: relative; margin-top: 0; }
.nida .aic.fldr::before { content: "" !important; display: block !important; position: absolute; left: -1px; top: -11px; width: 38px; height: 10px; background: #fff; border: 1px solid #B8BEC8; border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box; }
.nida .aic.fldr .fmini { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; padding: 8px; }
.nida .aic.fldr .fmini i { background: #F1F3F6; border: 1px solid #D5D9DF; border-radius: 3px; box-shadow: none; }
.nida .aic.fldr .fmini svg { width: 58%; height: 58%; filter: none; }
.nida .clockw { align-self: start; height: auto !important; max-height: max-content; flex: none; }
.nida .hrow { align-items: start; }
.is-pad .appview:has(.folder) .appbar { margin-bottom: 0; }
.nida .app .alb { min-height: 2.5em; }
/* Ordner: Reiter b\fc ndig, rote Kante ohne Rundung */
.nida .aic.fldr { border: 1px solid #B8BEC8 !important; box-shadow: inset 0 -4px 0 var(--acc, #E3000F) !important; border-radius: 6px !important; }
.nida .aic.fldr::before { top: -10px !important; height: 11px !important; z-index: 2; border-radius: 5px 5px 0 0 !important; }
.nida .aic.fldr .fmini { z-index: 1; padding: 8px 8px 12px; }
.nida .clockw { align-self: start; height: auto !important; flex: none; }
.nida .hrow { align-items: start; }
.is-pad .appview:has(.folder) .appbar { margin-bottom: 0; }
.nida .aic.fldr::before, .aic.fldr::before { display: none !important; content: none !important; }
/* Fuhrparkmanagement */
.fgrid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.fcard { padding: 0 !important; overflow: hidden; }
.fc-st { font: 700 .85rem var(--font-body); letter-spacing: .04em; text-transform: uppercase; padding: 9px 16px; color: #fff; }
.fc-st.ok { background: #1E8E4F; } .fc-st.no { background: #C8102E; }
.fc-body { padding: 14px 16px 16px; }
.fc-body h2 { margin: 8px 0 2px; }
.fflags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fflags button { border: 1px solid #B8BEC8; background: #fff; color: #1B1D21; border-radius: 4px; padding: 10px 12px; min-height: 44px; font: 600 .85rem var(--font-body); cursor: pointer; }
.fflags button.on { background: #FFF1C2; border-color: #C98A00; box-shadow: inset 0 -3px 0 #E0A100; }
.fnote { margin: 10px 0 0; font-weight: 600; color: #B4232A; font-size: .85rem; }
.fbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.fh { margin: 22px 0 10px; font: 700 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: #4A4F58; }
.frow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.fr-l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .fr-l b { font-size: 1rem; }
.fr-r { display: flex; flex-wrap: wrap; gap: 8px; }
.fchips2 { display: flex; gap: 6px; flex-basis: 100%; } .fchips2 i { font-style: normal; font-size: .78rem; font-weight: 700; background: #FFF1C2; border: 1px solid #C98A00; color: #5C4000; padding: 2px 8px; border-radius: 3px; }
.fst { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; margin-left: 6px; background: #E3E6EA; color: #1B1D21; }
.fst.s-offen { background: #FDE2E4; color: #8A1020; } .fst.s-bearb { background: #FFF1C2; color: #5C4000; } .fst.s-erledigt { background: #D9F2E3; color: #0F5B30; }
.fdl { display: grid; grid-template-columns: 150px 1fr; gap: 4px 14px; margin: 8px 0; } .fdl dt { font-weight: 600; color: #4A4F58; font-size: .85rem; } .fdl dd { margin: 0; font-size: .95rem; }
.pmini.on { background: #1B1D21; color: #fff; }
.nida .appbody .stackc { max-width: none; }
.nida .frow .rdy, .nida .frep .fst { margin-left: 0; }
.nida .frow .rdy.ok { background: #1E8E4F; color: #fff; } .nida .frow .rdy.no { background: #C8102E; color: #fff; }
#fr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; max-width: none; }
#fr-form h2, #fr-form .pbtns, #fr-form .field:has(textarea) { grid-column: 1 / -1; }
@media (max-width: 700px) { #fr-form { grid-template-columns: 1fr; } .fdl { grid-template-columns: 1fr; } }
.is-pad .appview, .is-pad .launch { animation: none !important; }
.plist2 .pr { flex-wrap: wrap; } .plist2 .pacts { display: flex; flex-wrap: wrap; gap: 8px; }
.pmini.dng { color: #B4232A; border-color: #B4232A; }
.fimgs { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
.fimgs img { width: 150px; height: 110px; object-fit: cover; border: 1px solid #B8BEC8; display: block; }
.fimg { position: relative; } .fimg button { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 1.1rem; cursor: pointer; }
.frl { margin-top: 12px; padding-top: 12px; border-top: 1px solid #D5D9DF; } .frl-g { display: grid; grid-template-columns: 240px 1fr; gap: 0 16px; } .frl textarea { min-height: 70px; }
.pbtn.ok { background: #1E8E4F; border-color: #1E8E4F; color: #fff; } .pbtn.dng { color: #B4232A; border-color: #B4232A; background: #fff; }
@media (max-width: 700px) { .frl-g { grid-template-columns: 1fr; } }
/* Meldungen neu */
.frep { padding: 0 !important; overflow: hidden; }
.frep > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; }
.frep > summary::-webkit-scrollbar, .frep > summary::marker { display: none; } .frep > summary::after { content: none !important; }
.frep > summary b { font-size: 1rem; } .fr-meta { margin-left: auto; font-size: .82rem; color: #4A4F58; }
.frep .fst { margin-left: 0; }
.fr-body { padding: 4px 16px 16px; border-top: 1px solid #E3E6EA; }
.fr-by { margin: 10px 0 0; font-size: .82rem; color: #4A4F58; }
.fr-cols { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-top: 12px; } .fr-cols:not(:has(.fr-ph)) { grid-template-columns: 1fr; }
.fr-ph { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, 132px); max-width: 280px; }
.fimgb { padding: 0; border: 1px solid #B8BEC8; background: #000; cursor: zoom-in; display: block; }
.fimgb img { width: 132px; height: 100px; object-fit: cover; display: block; border: 0; }
.fdl { margin: 0; }
.frl { margin-top: 14px; padding: 14px; background: #F3F4F6; border: 1px solid #D5D9DF; }
.frl h3 { margin: 0 0 10px; font: 700 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: #4A4F58; }
.frl-g { display: grid; grid-template-columns: 240px 1fr; gap: 0 16px; }
.frl-b { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-end; margin-top: 10px; }
.frl-bg { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .frl-bg > span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #4A4F58; width: 100%; }
.frl-bg.end { margin-left: auto; } .frl-bg.end span { display: none; }
@media (max-width: 700px) { .fr-cols { grid-template-columns: 1fr; } .frl-g { grid-template-columns: 1fr; } .fr-meta { margin-left: 0; width: 100%; } }
/* Foto-Ansicht */
.lbx { position: absolute; inset: 0; z-index: 90; background: rgba(8,9,11,.92); display: grid; place-items: center; cursor: zoom-out; }
.lbx img { max-width: 92%; max-height: 80%; object-fit: contain; cursor: default; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lb-x { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: #1B1D21; font-size: 1.7rem; cursor: pointer; }
.lb-n { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 72px; border: 0; background: rgba(255,255,255,.9); color: #1B1D21; font-size: 2.2rem; cursor: pointer; } .lb-p { left: 12px; } .lb-f { right: 12px; }
.lb-c { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; }
/* Logs */
.lbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-bottom: 8px; }
.lc { display: flex; flex-wrap: wrap; gap: 8px; } .lc button { border: 1px solid #B8BEC8; background: #fff; border-radius: 4px; padding: 9px 12px; font: 600 .85rem var(--font-body); cursor: pointer; color: #1B1D21; } .lc button.on { background: #1B1D21; color: #fff; border-color: #1B1D21; }
.lflt { display: flex; gap: 8px; flex-wrap: wrap; } .lflt select, .lflt input { border: 1px solid #B8BEC8; background: #fff; border-radius: 4px; padding: 9px 12px; font: 500 .9rem var(--font-body); min-height: 40px; }
.ltab { background: #fff; border: 1px solid #D5D9DF; margin-bottom: 14px; }
.lrow { display: grid; grid-template-columns: 150px 120px 120px minmax(0, 1fr) 200px; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #E3E6EA; font-size: .88rem; align-items: start; }
.lrow[hidden] { display: none; } .lrow time { color: #4A4F58; font-variant-numeric: tabular-nums; } .lrow em { font-style: normal; color: #4A4F58; } .lrow small { display: block; color: #4A4F58; margin-top: 2px; font-size: .82rem; }
.lhead { background: #F3F4F6; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; position: sticky; top: 0; }
.lcat { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; background: #E3E6EA; width: fit-content; }
.lcat.c-anmeldung { background: #DCE8FF; } .lcat.c-protokoll { background: #FDE2E4; } .lcat.c-fuhrpark { background: #FFF1C2; } .lcat.c-verwaltung { background: #E4DAFF; } .lcat.c-komm { background: #D9F2E3; }
@media (max-width: 900px) { .lrow { grid-template-columns: 1fr 1fr; } .lhead { display: none; } }
.nida .app { width: calc(var(--isize, 84px) + 52px); } .nida .app .alb { font-size: .86rem; }
.nida .canvas { column-gap: 12px; }
.nida .canvas .app { width: 100%; padding: 0; } .nida .canvas .appwrap { padding: 0 6px; box-sizing: border-box; }
.nida .app .alb { max-width: 100%; hyphens: manual; overflow-wrap: break-word; text-align: center; font-size: .84rem; line-height: 1.25; min-height: 2.5em; }
.nida .canvas .appwrap .app { display: grid; justify-items: center; align-content: start; }
.folder .fgrid { display: grid; grid-template-columns: repeat(auto-fill, calc(var(--isize, 64px) + 44px)); gap: 26px 0; justify-content: start; }
.folder .fgrid .appwrap { padding: 0 6px; } .folder .fgrid .app { width: 100%; }
@media (min-width: 700px) { .nida .canvas { margin-left: calc(-1 * (30px + var(--igap, 14px) / 4)); } }
/* Tablet anpassen: ruhiger, feste Kopfzeile und Fu\df zeile */
.is-pad .nida .cfgsheet { display: flex !important; flex-direction: column; gap: 0 !important; padding: 0 !important; overflow: hidden !important; }
.nida .cfgsheet .cfg-h { padding: 14px 16px 10px; flex: none; }
.nida .cfgsheet .cfg-tabs { margin: 0 16px 8px; flex: none; }
.nida .cfgsheet .cfg-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px 16px 12px; display: block !important; scrollbar-width: none; }
.nida .cfgsheet .cfg-body::-webkit-scrollbar { display: none; }
.nida .cfgsheet .cfg-foot { flex: none; margin: 0; padding: 12px 16px; background: #23272D; border-top: 1px solid #4A4F58; }
.nida .cfgsheet .cfgsec { display: grid; gap: 10px; padding: 14px 0; margin: 0; } .nida .cfgsheet .cfgsec:first-child { border-top: 0; padding-top: 6px; }
.arows { display: grid; gap: 8px; }
.arow { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 10px; align-items: center; background: #2D3138; border: 1px solid #4A4F58; padding: 8px 10px; }
.arow.off { opacity: .55; }
.arow .aic.mini { width: 40px; height: 40px; }
.arow .an b { display: block; font-size: .95rem; color: #F1F1F3; } .arow .an small { display: block; color: #C9CED6; font-size: .78rem; line-height: 1.3; margin-top: 2px; }
.ao { display: grid; gap: 2px; } .ao button { border: 1px solid #5A616C; background: #3A3F47; color: #F1F1F3; width: 34px; height: 22px; font-size: .7rem; cursor: pointer; padding: 0; } .ao button:disabled { opacity: .3; cursor: default; }
.sw { width: 50px; height: 28px; border-radius: 14px; border: 0; background: #5A616C; position: relative; cursor: pointer; padding: 0; }
.sw i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s; }
.sw.on { background: #1E8E4F; } .sw.on i { left: 25px; }
.nida .cfgsheet .cfg-btn { width: 100%; }
.nida .cfgsheet .cfg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.arow { grid-template-columns: 40px minmax(0, 1fr) auto 50px; box-sizing: border-box; min-width: 0; } .arows, .nida .cfgsheet .cfgsec { min-width: 0; max-width: 100%; }
.nida .cfgsheet .cfg-body { overflow-x: hidden; box-sizing: border-box; } .nida .cfgsheet .cfghint { overflow-wrap: break-word; }
.is-pad .nida .cfgsheet { width: min(372px, calc(100% - 16px)) !important; box-sizing: border-box; }
.sw { flex: none; }
/* Bewerbungen */
#apply-form #apply-out { display: none !important; }
.agate { background: var(--surface); border-left: 5px solid var(--red); padding: 22px 24px; max-width: 860px; margin-bottom: 18px; }
.agate h3 { margin: 0 0 8px; } .agate p { margin: 0 0 14px; color: var(--muted); }
.myapps { margin: 22px 0; } .myapp { border: 1px solid var(--line); background: var(--surface); padding: 16px 18px; margin: 12px 0; }
.myapp header, .bcard header, .pkcard header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .myapp header small, .bcard header small, .pkcard header small { margin-left: auto; opacity: .75; }
.astat { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 3px; background: #E3E6EA; color: #1B1D21; }
.astat.s-neu { background: #DCE8FF; } .astat.s-offen { background: #FFF1C2; } .astat.s-angenommen { background: #D9F2E3; color: #0F5B30; } .astat.s-abgelehnt { background: #FDE2E4; color: #8A1020; }
.thr { display: grid; gap: 10px; margin: 12px 0; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 4px; background: rgba(127,127,127,.14); } .msg small { display: block; opacity: .75; font-size: .75rem; margin-bottom: 3px; } .msg p { margin: 0; line-height: 1.45; }
.msg.team { justify-self: end; background: rgba(227,0,15,.14); border-left: 3px solid #E3000F; } .msg.sys { justify-self: center; max-width: 92%; text-align: center; background: transparent; border: 1px dashed rgba(127,127,127,.5); font-style: italic; }
.vmsg textarea, .bmsg textarea { width: 100%; min-height: 90px; box-sizing: border-box; }
.btext { white-space: pre-wrap; font: .85rem/1.5 var(--font-body); background: rgba(127,127,127,.1); padding: 12px; margin: 8px 0 0; overflow-wrap: anywhere; }
.btpl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; } .btpl span { font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.vtal { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 10px 0; } .vtal .ja, .vtal .nein { font-weight: 700; padding: 6px 12px; } .vtal .ja { background: #D9F2E3; color: #0F5B30; } .vtal .nein { background: #FDE2E4; color: #8A1020; }
.vlist { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 10px 0 0; font-size: .85rem; }
.pbtn.on2 { background: #B4232A; color: #fff; }
.bcard, .pkcard { display: grid; gap: 8px; }
.nida .canvas .appwrap .app { font-size: .82rem; overflow-wrap: anywhere; hyphens: auto; text-align: center; }
.afrow { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 6px 10px; margin-top: 6px; background: rgba(127,127,127,.14); font-size: .88rem; } .afrow span { overflow-wrap: anywhere; } .afx { background: none; border: 1px solid #E3000F; color: #E3000F; padding: 3px 10px; cursor: pointer; font: inherit; font-size: .8rem; } .afx:hover { background: #E3000F; color: #fff; } .afl2 { margin: 10px 0; }
#chat-ov { position: fixed; inset: 0; z-index: 250; background: rgba(8,9,11,.72); display: grid; place-items: center; padding: 16px; box-sizing: border-box; }
.cm-box { width: min(640px, 100%); height: min(720px, 100%); background: #fff; color: #1B1D21; display: grid; grid-template-rows: auto auto 1fr auto auto auto auto auto; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); font-family: inherit; }
.cm-box header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #E3000F; color: #fff; } .cm-box header div { display: grid; flex: 1; min-width: 0; } .cm-box header small { opacity: .85; } .cm-x { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.cm-list { overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #F1F3F5; min-height: 0; }
.cm { max-width: 80%; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid #DDE1E6; align-self: flex-start; } .cm small { display: block; font-size: .72rem; color: #6B7280; margin-bottom: 2px; } .cm p { margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.cm.mine { align-self: flex-end; background: #E3000F; color: #fff; border-color: #E3000F; } .cm.mine small { color: rgba(255,255,255,.8); }
.cm.sys { align-self: center; max-width: 92%; background: transparent; border: 1px dashed #9AA1AB; font-style: italic; text-align: center; color: #4B5563; }
.cm-ats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .cm-chip { font: inherit; font-size: .8rem; padding: 4px 10px; border-radius: 14px; border: 1px solid currentColor; background: rgba(255,255,255,.85); color: #1B1D21; cursor: pointer; }
.cm-empty { text-align: center; color: #6B7280; margin: auto; }
.cm-tpl { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; } .cm-tpl button { font: inherit; font-size: .78rem; padding: 4px 10px; border: 1px solid #C3C8CF; background: #fff; border-radius: 14px; cursor: pointer; color: #1B1D21; }
.cm-files { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px; } .cm-f { font-size: .8rem; background: #E8EBEF; padding: 3px 4px 3px 10px; border-radius: 14px; margin-top: 8px; } .cm-f button { border: 0; background: none; cursor: pointer; font-size: 1rem; }
#cm-form { display: flex; gap: 8px; padding: 10px 12px; align-items: flex-end; border-top: 1px solid #DDE1E6; }
#cm-form textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; padding: 10px; border: 1px solid #C3C8CF; border-radius: 8px; font: inherit; color: #1B1D21; background: #fff; box-sizing: border-box; }
.cm-att { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #C3C8CF; font-size: 1.5rem; cursor: pointer; color: #1B1D21; flex: none; }
.cm-send { height: 42px; padding: 0 18px; border: 0; background: #E3000F; color: #fff; font-weight: 700; border-radius: 8px; cursor: pointer; } .cm-send:disabled { opacity: .5; }
.imgov { position: fixed; inset: 0; z-index: 300; background: rgba(8,9,11,.92); display: grid; place-items: center; cursor: zoom-out; } .imgov img { max-width: 94%; max-height: 90%; cursor: default; } .imgov button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; }
.cm-lbl { padding: 8px 12px 0; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #E3000F; background: #FFF4F4; border-top: 3px solid #E3000F; }
#cm-form { background: #FFF4F4; border-top: 0; padding-top: 6px; } #cm-form textarea { min-height: 64px; border: 2px solid #E3000F; font-size: 1rem; } #cm-form textarea:focus { outline: 3px solid rgba(227,0,15,.25); }
.cm-docs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 12px; background: #fff; border-bottom: 1px solid #DDE1E6; font-size: .8rem; font-weight: 700; }
.cm-docs .cm-chip { background: #F1F3F5; }
/* Design-Update Tablet + Chat */
.cm-box { grid-template-columns: minmax(0, 1fr); max-height: 100%; } .cm-box header { flex-wrap: wrap; }
.cm-lbl small { font-weight: 500; text-transform: none; letter-spacing: 0; color: #6B7280; margin-left: 8px; }
.cm-tpl { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; } .cm-tpl::-webkit-scrollbar { display: none; } .cm-tpl button { flex: none; }
.cm { overflow-wrap: anywhere; } .cm.mine { border-bottom-right-radius: 3px; } .cm.other { border-bottom-left-radius: 3px; }
@media (max-width: 640px) { #chat-ov { padding: 0; } .cm-box { width: 100%; height: 100%; border-radius: 0; } .cm { max-width: 90%; } }
.imgdl { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; background: #E3000F; padding: 10px 18px; border-radius: 6px; text-decoration: none; font-weight: 700; }
.pdfbox { width: min(900px, 96%); height: 92%; background: #fff; display: grid; grid-template-rows: auto 1fr; cursor: default; border-radius: 6px; overflow: hidden; } .pdfbox header { display: flex; gap: 14px; align-items: center; padding: 10px 14px; background: #1B1D21; color: #fff; } .pdfbox header b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pdfbox header a { color: #fff; font-size: .85rem; } .pdfbox header button { position: static; font-size: 1.8rem; } .pdfbox iframe { width: 100%; height: 100%; border: 0; background: #F1F3F5; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; } .kpi { background: #fff; border: 1px solid #D5D9DF; border-top: 3px solid #E3000F; border-radius: 6px; padding: 12px 14px; display: grid; gap: 2px; } .kpi b { font-size: 1.7rem; line-height: 1; color: #1B1D21; } .kpi span { font-size: .78rem; color: #5A616C; font-weight: 600; }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bhd { display: flex; align-items: center; gap: 12px; } .bwho { display: grid; flex: 1; min-width: 0; } .bwho b { font-size: 1.05rem; } .bwho small { color: #5A616C; overflow-wrap: anywhere; }
.av { width: 42px; height: 42px; flex: none; border-radius: 50%; background: #1F2E8C; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; } .chip { font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #ECEEF1; color: #5A616C; } .chip.ok { background: #D9F2E3; color: #0F5B30; }
.nida .pcard2 { border: 1px solid #D5D9DF; box-shadow: 0 1px 2px rgba(0,0,0,.05); border-radius: 8px; }
.nida .ptabs2 button { border-radius: 6px; } .nida .ptabs2 button.on { background: #E3000F; border-color: #E3000F; }
.nida .pbtn.dng { background: #fff; color: #B4232A; border-color: #B4232A; } .nida .pbtn.dng:hover { background: #B4232A; color: #fff; }
.nida .pbtn.on { background: #E3000F; border-color: #E3000F; color: #fff; }
.nida .aic.fldr .fmini { justify-items: stretch; align-content: stretch; } .nida .aic.fldr .fmini:has(i:only-child) { grid-template-columns: 1fr; grid-template-rows: 1fr; padding: 12px; } .nida .aic.fldr .fmini:has(i:only-child) i { grid-column: 1; }
.nida .appbody { padding: 0 20px 20px; } .nida .appbar { box-shadow: 0 1px 0 #D5D9DF; }
.nida .canvas .appwrap .aic { box-shadow: 0 6px 16px rgba(0,0,0,.35); } .nida .canvas .appwrap .app { text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.bcard .bhd small, .pkcard .bhd small { margin-left: 0 !important; opacity: 1; display: block; }
/* Profil neu */
.pf { display: grid; gap: 22px; }
.pf-head { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 18px; align-items: center; background: var(--surface); border-radius: 14px; padding: 20px; }
.pf-head .av-big, .pf-head > :first-child { grid-row: span 2; }
.pf-id { display: grid; gap: 2px; min-width: 0; } .pf-id b { font-size: 1.3rem; overflow-wrap: anywhere; } .pf-id span { color: var(--muted); font-size: .9rem; }
.pf-chips { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 8px; } .pf-chips span { font-size: .85rem; padding: 5px 12px; border-radius: 999px; background: rgba(127,127,127,.16); } .pf-chips b { margin-right: 3px; }
.pf-out { grid-column: 3; grid-row: 1; align-self: start; }
@media (max-width: 560px) { .pf-head { grid-template-columns: auto 1fr; } .pf-out { grid-column: 1 / 3; grid-row: auto; } .pf-chips { grid-column: 1 / 3; } }
.pf-secs { display: grid; gap: 10px; }
.pf-sec { background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid rgba(127,127,127,.18); }
.pf-sec summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; } .pf-sec summary::-webkit-details-marker { display: none; }
.pf-sec summary span { display: grid; gap: 2px; } .pf-sec summary b { font-size: 1.02rem; } .pf-sec summary small { color: var(--muted); font-size: .84rem; }
.pf-sec summary i { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; flex: none; margin-right: 4px; } .pf-sec[open] summary i { transform: rotate(-135deg); }
.pf-sec[open] summary { border-bottom: 1px solid rgba(127,127,127,.18); } .pf-body { padding: 16px 18px 20px; display: grid; gap: 14px; }
.pf-sec.danger summary b { color: #E5484D; } .pf-av { display: flex; gap: 10px; flex-wrap: wrap; }
.pf-list { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; } .pf-list li { display: flex; gap: 12px; justify-content: space-between; align-items: start; background: rgba(127,127,127,.1); border-radius: 8px; padding: 10px 12px; }
.myapps h2 { font-size: 1.25rem; margin: 0 0 4px; } .myapp { border-radius: 12px; border: 1px solid rgba(127,127,127,.25); }
/* Chat v2 */
.cm-box { border-radius: 14px; } .cm-box header { padding: 14px 16px; gap: 12px; background: linear-gradient(135deg, #E3000F, #B3000C); }
.cm-ava { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
.cm-list { background: #EEF0F3; gap: 3px; padding: 14px 14px 18px; }
.cm { position: relative; max-width: 78%; padding: 8px 12px 6px; border-radius: 14px; box-shadow: 0 1px 1px rgba(0,0,0,.06); } .cm.first { margin-top: 8px; }
.cm time { display: block; text-align: right; font-size: .66rem; opacity: .6; margin-top: 2px; } .cm.sys time { display: none; }
.cm p { font-size: .96rem; } .cm small { font-weight: 700; color: #B3000C; }
.cm-day { align-self: center; margin: 10px 0 4px; } .cm-day span { background: rgba(0,0,0,.08); color: #4B5563; font-size: .72rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.cm-thumb { display: block; border: 0; padding: 0; background: rgba(0,0,0,.06); border-radius: 8px; overflow: hidden; cursor: zoom-in; max-width: 240px; } .cm-thumb img { display: block; max-width: 100%; max-height: 180px; object-fit: cover; } .cm-thumb span { display: block; padding: 22px 16px; font-size: .78rem; color: #6B7280; }
.cm-closed { background: #FFF1C2; color: #6B4E00; padding: 12px 16px; font-size: .9rem; text-align: center; }
#cm-form.off { opacity: .5; pointer-events: none; }
.cm-lbl { border-top: 1px solid #E3000F; }
.cm-box { display: flex; flex-direction: column; } .cm-box > * { flex: none; } .cm-box > .cm-list { flex: 1 1 auto; min-height: 0; }
.narrow:has(.pf) { max-width: 780px; } .pf-head, .myapp { color: #F3F4F6; } .pf-id span, .myapp small { color: #B6BCC8; }
.myapp header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; } .myapp header b { font-size: 1.1rem; } .myapp header small { flex-basis: 100%; margin: 0; }
.myapp .afrow { background: rgba(255,255,255,.07); } .myapp .pacts { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
/* Freie Anordnung */
.is-pad .launch { position: relative; }
.is-pad .launch .canvas { position: absolute; inset: 0; margin: 0 !important; padding: 0 !important; min-height: 0; pointer-events: none; z-index: 2; }
.is-pad .launch .canvas .appwrap { pointer-events: auto; }
.is-pad .launch .canvas .noapps { pointer-events: none; }
.is-pad .launch .editbar { z-index: 5; }
.is-pad .editbar span { color: #fff !important; font-weight: 600; }
.canvas .appwrap.droptg .aic { outline: 3px solid #FFC857; outline-offset: 4px; transform: scale(1.1); }
.ufbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 10px; } .ufbar label { display: flex; align-items: center; gap: 8px; font-weight: 700; } .ufbar input { padding: 8px 10px; border: 1px solid #8A909B; border-radius: 4px; font: inherit; }
.folder .appwrap { position: relative; } .ufx { display: block; margin: 4px auto 0; font: 600 .7rem inherit; padding: 3px 8px; border: 1px solid #B8BEC8; background: #fff; color: #1B1D21; border-radius: 4px; cursor: pointer; }
.ufbar input { background: #fff !important; color: #1B1D21 !important; }
.folder .fgrid .appwrap { display: grid; justify-items: center; align-content: start; width: calc(var(--isize, 64px) + 44px); } .folder .fgrid .alb { text-align: center; overflow-wrap: anywhere; hyphens: auto; font-size: .82rem; }
.ufx { width: 100%; box-sizing: border-box; font: 600 .68rem var(--font-body, inherit) !important; padding: 4px 2px !important; }
.is-pad .launch .canvas .appwrap { touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; } .is-pad .launch .canvas .appwrap.lifting { cursor: grabbing; }
.canvas .slotghost { position: absolute; border: 2px dashed rgba(255,255,255,.7); border-radius: 14px; background: rgba(255,255,255,.12); pointer-events: none; z-index: 1; }
.is-pad .launch .canvas .appwrap { cursor: default; } .is-pad .editing .canvas .appwrap { cursor: grab; } .editing .canvas .appwrap.lifting { cursor: grabbing; }
/* Personalakten */
.pa-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; } .pa-top input { flex: 1 1 220px; padding: 12px 14px; border: 1px solid #8A909B; border-radius: 6px; font: inherit; background: #fff; color: #1B1D21; }
.pa-plus b { font-size: 1.2rem; margin-right: 4px; } .pa-top .pbtn { margin-top: 0; }
.pa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pacard { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px; background: #fff; border: 1px solid #D5D9DF; border-radius: 8px; cursor: pointer; font: inherit; color: #1B1D21; min-width: 0; } .pacard:hover { border-color: #E3000F; }
.pa-w { display: grid; min-width: 0; } .pa-w b { overflow-wrap: anywhere; } .pa-w small { color: #5A616C; overflow-wrap: anywhere; }
.paav { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: #1F2E8C; color: #fff; display: grid; place-items: center; font-weight: 800; } .paav.big { width: 84px; height: 84px; font-size: 1.6rem; } .paav.ini { font-size: 1rem; } .paav.big.ini { font-size: 1.8rem; }
.pa-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; } .pa-hi { flex: 1 1 240px; min-width: 0; } .pa-hi h2 { margin: 0 0 2px; } .pa-hi p { margin: 0; }
.pa-ph { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; } .pa-fg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pa-fg .full { grid-column: 1 / -1; } @media (max-width: 640px) { .pa-fg { grid-template-columns: 1fr; } }
.pa-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; } .pa-list li { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; background: #F1F3F5; border-radius: 6px; padding: 10px 12px; } .pa-list li div:first-child { display: grid; min-width: 0; overflow-wrap: anywhere; } .pa-list small { color: #5A616C; }
.pa-up { display: inline-block; cursor: pointer; margin: 6px 0; }
.pl-form { display: flex; flex-wrap: wrap; gap: 8px; } .pl-form select, .pl-form input { padding: 10px; border: 1px solid #8A909B; border-radius: 6px; font: inherit; background: #fff; color: #1B1D21; } .pl-form input { flex: 1 1 220px; } .pl-form .pbtn { margin-top: 0; }
.cf-g { border: 1px solid #D5D9DF; border-radius: 6px; margin: 8px 0; background: #fff; } .cf-g summary { padding: 12px 14px; font-weight: 800; cursor: pointer; } .cf-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; padding: 4px 14px 14px; } .cf-body .full { grid-column: 1 / -1; } @media (max-width: 640px) { .cf-body { grid-template-columns: 1fr; } }
.cf-body input[type=text], .cf-body input[type=date], .cf-body select { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #8A909B; border-radius: 6px; font: inherit; background: #fff; color: #1B1D21; } .cf-r { display: flex; gap: 18px; padding: 8px 0; }
.nida .pmini.dng { color: #B4232A; border-color: #B4232A; }
.cf-body .cf-r label { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; font-size: .95rem; color: #1B1D21; } .cf-body .cf-r input { width: auto; margin: 0; }
.pdfcard { position: relative; width: min(420px, 92%); background: #fff; color: #1B1D21; border-radius: 8px; padding: 28px 24px 22px; display: grid; gap: 10px; justify-items: center; text-align: center; cursor: default; box-shadow: 0 20px 60px rgba(0,0,0,.5); } .pdfcard small { color: #6B7280; } .pdfcard .sub { margin: 4px 0 0; font-size: .85rem; color: #4B5563; } .pdfic { width: 64px; height: 78px; display: grid; place-items: center; background: #E3000F; color: #fff; font-weight: 800; border-radius: 6px; letter-spacing: .04em; } .pdfx { position: absolute; top: 6px; right: 12px; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: #6B7280; }
.imgov .pdfcard button.pbtn { position: static; font-size: .95rem; padding: 10px 18px; color: #fff; background: #E3000F; border: 0; border-radius: 6px; font-weight: 700; cursor: pointer; }
.imgov .pdfcard button.pdfx { position: absolute; top: 6px; right: 12px; color: #6B7280; font-size: 1.8rem; }
.cf-c { display: flex; gap: 8px; align-items: center; font-weight: 600; cursor: pointer; } .cf-c input { width: 18px; height: 18px; }
.sigw { position: relative; width: min(420px, 100%); aspect-ratio: 700 / 110; background: #fff; border: 1px solid #9AA1AB; border-bottom: 2px solid #1B1D21; border-radius: 4px; margin-bottom: 6px; } .sigc { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; } .sigimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; } .sigph { position: absolute; inset: 0; display: grid; place-items: center; color: #9AA1AB; font-size: .85rem; pointer-events: none; }
.pdfbox header .pdfmsg { flex: 1; font-size: .8rem; opacity: .8; text-align: right; } .imgov .pdfbox header button { position: static; font-size: .9rem; color: #fff; background: #E3000F; border: 0; border-radius: 5px; padding: 6px 14px; font-weight: 700; cursor: pointer; } .imgov .pdfbox header button.pdfclose { background: none; font-size: 1.8rem; padding: 0 6px; line-height: 1; }
.pdfpages { overflow: auto; background: #5A616C; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 0; } .pdfpg { background: #fff; display: block; max-width: 100%; height: auto !important; box-shadow: 0 2px 10px rgba(0,0,0,.4); } .pdfload { color: #fff; margin: auto; } .pdfbox { grid-template-columns: minmax(0, 1fr); } .pdfbox header b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; }

/* Organigramm: Stamm-Verbindung vollst\e4 ndig, Qualit\e4 tssicherung seitlich */
.otoprow { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 16px; position: relative; align-items: start; }
.otoprow:not(.hasq) { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.otoprow .otop { width: 100%; padding-bottom: 28px; }
.otoprow .otop::after { bottom: -32px; height: 60px; width: 3px; margin-left: -1.5px; background: #8A8A94; }
.otoprow.hasq::before { content: ""; position: absolute; top: 64px; height: 3px; background: #8A8A94; left: calc((100% - 16px) * 3 / 8 + 170px); right: calc((100% - 16px) / 4); }
@media (max-width: 1100px) {
  .otoprow { display: block; } .otoprow.hasq::before { display: none; }
  .otoprow .otop { padding-bottom: 0; } .otoprow .otop::after { display: none; }
  .oqual { width: min(100%, 340px); margin: 28px auto 28px; position: relative; } .oqual::before { content: ""; position: absolute; left: 50%; top: -28px; width: 3px; height: 28px; margin-left: -1.5px; background: #8A8A94; } .oqual::after { content: ""; position: absolute; left: 50%; bottom: -60px; width: 3px; height: 60px; margin-left: -1.5px; background: #8A8A94; }
  .otoprow:not(.hasq) .otop { padding-bottom: 28px; } .otoprow:not(.hasq) .otop::after { display: block; }
}

/* Aufr\e4 umen: leere Bildpl\e4 tze und L\fc cken */
.split:has(> .prose:only-child) { grid-template-columns: minmax(0, 1fr); } .split:has(> .prose:only-child) .prose { max-width: 70ch; }
.vgrid { align-items: start; } .strip:empty { display: none; } .site-foot .lines span:empty { display: none; }

/* Organigramm: Qualit\e4 tssicherung sachlich, wie die \fc brigen K\e4 sten */
.otoprow.hasq::before { background: #8A8A94; height: 3px; top: 64px; }
.oqual { margin-top: 28px; }
@media (max-width: 1100px) { .oqual { width: min(100%, 340px); margin: 28px auto 28px; position: relative; } .oqual::before { content: ""; position: absolute; left: 50%; top: -28px; width: 3px; height: 28px; margin-left: -1.5px; background: #8A8A94; } .oqual::after { content: ""; position: absolute; left: 50%; bottom: -60px; width: 3px; height: 60px; margin-left: -1.5px; background: #8A8A94; } }

/* Stabsstelle \c4 rztliche Direktion */
.oqual .ohead.alt { background: #1B1B20; border-bottom: 0; border-top: 4px solid var(--red); min-height: 0; padding: 16px 20px 16px; display: grid; gap: 4px; justify-items: center; place-items: initial; text-align: center; }
.oqual .oeyebrow { position: relative; z-index: 1; font: 600 .68rem/1 "IBM Plex Mono", monospace; letter-spacing: .22em; text-transform: uppercase; color: var(--yel); }
.oqual .ohead h3 { font-size: 1.25rem; letter-spacing: .02em; }
.oqual .osub { position: relative; z-index: 1; font-size: .8rem; line-height: 1.3; color: rgba(255,255,255,.72); padding-top: 8px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,.2); width: 100%; }
.oqual .obody { padding: 16px 20px 20px; }

/* Stabsstelle auf H\f6 he der Wachleitung, Stamm bis zur Sachgebiets-Schiene */
@media (min-width: 1101px) {
  .otoprow { align-items: stretch; }
  .otoprow .oqual { margin: 0 0 28px; display: flex; flex-direction: column; min-height: 0; }
  .oqual .ohead.alt { padding: 12px 16px; }
  .oqual .obody { padding: 12px 16px 16px; flex: 1; align-content: center; }
  .otoprow .otop::after { bottom: -32px; height: 60px; }
  .otoprow.hasq::before { top: 44px; }
}

/* Gr\f6 \df ere App-Symbole, Rollen nach Bereich */
.aic svg, .nida .aic svg { width: 66%; height: 66%; } .nida .aic.fldr .fmini svg { width: 66%; height: 66%; }
.nida .app .alb { font-size: 1rem; line-height: 1.25; font-weight: 600; }
.folder .fgrid .appwrap .aic svg { width: 66%; height: 66%; }
.chkgrp { margin: 8px 0 4px; } .chkgrp > b { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #8A8A94); margin-bottom: 2px; }
.catlist .catgrp { list-style: none; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #8A8A94); padding: 14px 0 4px; }
.catrow select { padding: 8px; border: 1px solid #8A909B; border-radius: 6px; font: inherit; background: #fff; color: #1B1D21; max-width: 220px; }
.prow small { display: block; font-weight: 400; opacity: .7; }

/* ===== Dienst-Tablet: neues Startbild ===== */
.pad.pad2.nida .pad-status { background: linear-gradient(#1A1C21, #101216); border-bottom: 2px solid var(--acc, #E3000F); padding: 6px 16px; box-shadow: 0 2px 14px rgba(0,0,0,.35); }
.pad.pad2.nida .pad-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,8,12,.86) 0, rgba(6,8,12,.52) 40%, rgba(6,8,12,.34) 100%), linear-gradient(0deg, rgba(0,0,0,.4), transparent 32%); pointer-events: none; }
.hpanel { background: none !important; border: 0 !important; padding: 0 !important; display: grid; gap: 14px; align-content: start; }
.hp-clock { color: #fff; } .nida .hpanel .l-time { color: #fff !important; font-weight: 300 !important; font-size: clamp(3.2rem, 6vw, 4.6rem) !important; line-height: 1; letter-spacing: -.01em; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.nida .hpanel .l-date { color: rgba(255,255,255,.86) !important; font-size: 1.05rem; margin-top: 6px; } .nida .hpanel .l-who { color: rgba(255,255,255,.6) !important; font-size: .9rem; margin-top: 2px; }
.hp-cards { display: grid; gap: 12px; }
.pad.pad2.nida .hp-card { text-align: left; background: rgba(16,18,22,.66); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; padding: 14px 16px; color: #fff; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 26px rgba(0,0,0,.28); font: inherit; display: block; }
.pad.pad2.nida .hp-card h4 { margin: 0 0 9px; font: 700 .66rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.58); }
.hp-card small { display: block; margin-top: 10px; color: rgba(255,255,255,.6); font-size: .78rem; }
.hp-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hp-pills button { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; font: 600 .84rem var(--font-body); cursor: pointer; text-align: left; }
.hp-pills button i { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.hp-pills .s-bereit.on { background: rgba(61,220,132,.18); border-color: #3DDC84; } .hp-pills .s-einsatz.on { background: rgba(255,176,32,.18); border-color: #FFB020; } .hp-pills .s-pause.on { background: rgba(110,168,255,.18); border-color: #6EA8FF; } .hp-pills .s-aus.on { background: rgba(255,255,255,.16); border-color: #A9B0BD; }
.hp-veh { cursor: pointer; } .hp-veh b { display: block; font-size: 1.7rem; line-height: 1.1; font-weight: 700; } .hp-veh span { display: block; margin-top: 2px; font-size: .84rem; color: rgba(255,255,255,.7); }
.hp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .hp-n { cursor: pointer; } .hp-n b { display: block; font-size: 1.9rem; line-height: 1; font-weight: 700; } .hp-n span { font-size: .8rem; color: rgba(255,255,255,.62); }
.pad.pad2.nida .canvas .aic { background: linear-gradient(150deg, var(--c1, var(--acc, #E3000F)), var(--c2, #7A0008)) !important; border: 0 !important; border-radius: calc(var(--isize, 84px) * .27) !important; color: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 6px rgba(0,0,0,.18) !important; }
.pad.pad2.nida .canvas .aic::before { display: block !important; content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 52%); pointer-events: none; }
.pad.pad2.nida .canvas .aic svg { color: #fff; stroke: #fff; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.pad.pad2.nida.mono .canvas .aic { background: linear-gradient(150deg, color-mix(in srgb, var(--acc, #E3000F) 82%, #fff), var(--acc, #E3000F)) !important; }
.pad.pad2.nida .canvas .aic.fldr { background: rgba(255,255,255,.14) !important; border: 1px solid rgba(255,255,255,.28) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.pad.pad2.nida .canvas .aic.fldr::before { display: none !important; }
.pad.pad2.nida .canvas .aic.fldr .fmini { padding: 12%; gap: 7%; } .pad.pad2.nida .canvas .aic.fldr .fmini i { background: rgba(255,255,255,.2); border: 0; border-radius: 22%; display: grid; place-items: center; } .pad.pad2.nida .canvas .aic.fldr .fmini svg { width: 62%; height: 62%; color: #fff; stroke: #fff; filter: none; }
.pad.pad2.nida .canvas .appwrap .app, .pad.pad2.nida .canvas .appwrap .alb { color: #fff; font-size: .96rem; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.75); }
.aic.mini svg, .nida .aic.mini svg { width: 62%; height: 62%; }
.pad.pad2.nida .appbar .aic.mini { background: linear-gradient(150deg, var(--c1, var(--acc)), var(--c2, #7A0008)) !important; border: 0 !important; border-radius: 10px !important; } .pad.pad2.nida .appbar .aic.mini svg { color: #fff; stroke: #fff; }
.pad.pad2.nida .pad-navbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: 46px; padding: 0; display: flex; justify-content: center; align-items: center; gap: 84px; background: #0C0D10; border-top: 1px solid rgba(255,255,255,.08); pointer-events: auto; }
.pad.pad2.nida .pad-navbar button { width: 72px; height: 34px; border: 0; background: transparent; border-radius: 17px; display: grid; place-items: center; cursor: pointer; backdrop-filter: none; } .pad.pad2.nida .pad-navbar button:hover:not(:disabled) { background: rgba(255,255,255,.1); } .pad.pad2.nida .pad-navbar button:disabled { opacity: .3; cursor: default; }
.pad-navbar i { display: block; } .nb-back i { width: 0; height: 0; border-style: solid; border-width: 9px 15px 9px 0; border-color: transparent #E8EAEE transparent transparent; border-radius: 0 !important; background: none !important; } .nb-home i { width: 19px; height: 19px; border: 2.5px solid #E8EAEE !important; border-radius: 50%; } .nb-rec i { width: 17px; height: 17px; border: 2.5px solid #E8EAEE !important; border-radius: 4px; }
@media (min-width: 1000px) and (min-height: 560px) { .is-pad::after { content: ""; position: absolute; left: 50%; top: calc(50% - var(--dh, 0px) / 2 + 4px); width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4a6b 0, #0a0c12 62%); box-shadow: 0 0 0 2px #0b0c0f; z-index: 60; pointer-events: none; } }
@media (min-width: 1000px) and (min-height: 560px) {
  .pad.pad2.nida .launch.home2 { display: block; padding: 0 !important; height: 100%; min-height: 100%; }
  .pad.pad2.nida .launch.home2 .hrow { position: absolute; left: 0; top: 0; bottom: 0; width: 340px; padding: 18px 0 16px 26px; display: block; overflow-y: auto; scrollbar-width: none; z-index: 3; }
  .is-pad .pad.pad2.nida .launch .canvas { left: 360px; }
  .is-pad .pad-screen { padding-bottom: 0; }
}
@media not all and (min-width: 1000px) and (min-height: 560px) { .hp-cards { display: none; } .nida .hpanel .l-time { font-size: 3rem !important; } }

@media (min-width: 1000px) and (min-height: 560px) and (max-height: 840px) {
  .nida .hpanel .l-time { font-size: 2.7rem !important; } .nida .hpanel .l-who { display: none; } .hpanel, .hp-cards { gap: 10px; }
  .pad.pad2.nida .hp-card { padding: 10px 14px; border-radius: 16px; } .pad.pad2.nida .hp-card h4 { margin-bottom: 7px; } .hp-pills button { min-height: 34px; } .hp-card small { margin-top: 6px; }
  .hp-veh span { display: none; } .hp-veh b { font-size: 1.4rem; } .hp-n b { font-size: 1.5rem; }
  .pad.pad2.nida .launch.home2 .hrow { padding-top: 12px; }
}
.pad.pad2.nida .appbar .aic.mini { width: 40px; height: 40px; } .pad.pad2.nida .appbar .aic.mini svg { width: 24px !important; height: 24px !important; }

.vhint { margin: 0; padding: 10px 14px; border-left: 4px solid #1F9D55; background: #fff; font-size: .92rem; color: #1B1D21; } .vhint .linkb { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #C4000D; text-decoration: underline; cursor: pointer; }
.fcard.mine { box-shadow: 0 0 0 3px #1F9D55; } .pill.seat { background: #1F9D55; color: #fff; } .seatbtn { margin: 8px 0 4px; width: 100%; }

/* ===== Tablet: App-Rahmen, Ordner, Karten ===== */
.pad.pad2.nida .appbar { background: linear-gradient(#1D2026, #14161B); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); padding: 10px 20px; margin: 0 0 18px; gap: 14px; }
.pad.pad2.nida .appbar h1 { color: #fff !important; font-size: 1.28rem; font-weight: 700; letter-spacing: 0; }
.pad.pad2.nida .appbar .abk { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 1.3rem; display: grid; place-items: center; padding: 0; cursor: pointer; }
.pad.pad2.nida .appbar .aic.mini { width: 44px; height: 44px; border-radius: 13px !important; box-shadow: 0 6px 14px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.35) !important; }
.pad.pad2.nida .appview { background: linear-gradient(180deg, #EAEDF2, #DDE2E9); }
.pad.pad2.nida .appview:has(.folder) { background: transparent; }
.pad.pad2.nida .pcard2, .pad.pad2.nida .pad-grid > section { border: 0; border-radius: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 12px 26px -14px rgba(16,24,40,.22); }
.pad.pad2.nida .pbtn, .pad.pad2.nida .pmini { border-radius: 10px; border: 1px solid #C3C9D3; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.pad.pad2.nida .pbtn.on { background: linear-gradient(#F01C2C, #C4000D); border-color: #B1000C; color: #fff; box-shadow: 0 8px 16px -8px rgba(227,0,15,.7); }
.pad.pad2.nida .ptabs2 { display: inline-flex; padding: 4px; gap: 4px; background: rgba(255,255,255,.75); border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(16,24,40,.08); }
.pad.pad2.nida .ptabs2 button { border: 0; background: transparent; border-radius: 10px; color: #4A4F58; padding: 10px 18px; }
.pad.pad2.nida .ptabs2 button.on { background: #1D2026; color: #fff; box-shadow: 0 6px 14px -8px rgba(0,0,0,.6); }
.pad.pad2.nida .pcard2 input:not([type=checkbox]):not([type=radio]), .pad.pad2.nida .pcard2 select, .pad.pad2.nida .pcard2 textarea, .pad.pad2.nida .pl-form input, .pad.pad2.nida .pl-form select { border-radius: 10px; border: 1px solid #BFC6D1; } .pad.pad2.nida .pcard2 input:focus, .pad.pad2.nida .pcard2 select:focus, .pad.pad2.nida .pcard2 textarea:focus { outline: 2px solid rgba(227,0,15,.45); outline-offset: 1px; }
.folder .fcount { color: rgba(255,255,255,.7) !important; font-size: .95rem; margin: 6px 0 4px; }
.pad.pad2.nida .folder { padding: 20px 28px; }
.pad.pad2.nida .folder .fgrid { display: grid; grid-template-columns: repeat(auto-fill, calc(var(--isize, 100px) + 56px)); gap: 28px 12px; justify-content: start; padding: 12px 0; }
.pad.pad2.nida .folder .fgrid .appwrap { width: auto; padding: 0; } .pad.pad2.nida .folder .fgrid .app { width: 100%; }
.pad.pad2.nida .folder .alb { color: #fff !important; font-size: .94rem !important; font-weight: 600 !important; overflow-wrap: normal !important; word-break: normal; hyphens: manual; text-align: center; text-shadow: 0 1px 8px rgba(0,0,0,.75) !important; }
.pad.pad2.nida .folder .aic { background: linear-gradient(150deg, var(--c1, var(--acc, #E3000F)), var(--c2, #7A0008)) !important; border: 0 !important; border-radius: calc(var(--isize, 100px) * .27) !important; color: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.4) !important; position: relative; }
.pad.pad2.nida .folder .aic::before { display: block !important; content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 52%); pointer-events: none; }
.pad.pad2.nida .folder .aic svg { color: #fff; stroke: #fff; width: 66%; height: 66%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.pad.pad2.nida.mono .folder .aic { background: linear-gradient(150deg, color-mix(in srgb, var(--acc, #E3000F) 82%, #fff), var(--acc, #E3000F)) !important; }
@media (min-width: 1000px) and (min-height: 560px) { .is-pad::before { display: block !important; content: ""; position: absolute; left: 50%; top: 50%; width: var(--dw); height: var(--dh); transform: translate(-50%, -50%); border-radius: 30px; background: linear-gradient(115deg, rgba(255,255,255,.07) 0, rgba(255,255,255,0) 32%); pointer-events: none; z-index: 70; } }

.pad.pad2.nida .appbody:has(.folder), .pad.pad2.nida .folder, .pad.pad2.nida .appview:has(.folder) .appbody { background: transparent !important; border: 0 !important; }
.pad.pad2.nida .vhint { border-radius: 12px; border-left-width: 5px; box-shadow: 0 8px 20px -14px rgba(16,24,40,.3); }

.pad.pad2.nida .folder .fgrid { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 26px; padding: 28px 24px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); margin-top: 10px; }

/* ===== Tablet: Mail, Chat, Bewerbungen ===== */
.pad.pad2.nida .mrow { grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: #F3F5F8; border: 1px solid transparent; border-radius: 14px; padding: 10px 14px; transition: background .12s; } .pad.pad2.nida .mrow:hover { background: #E9EDF3; } .pad.pad2.nida .mrow.on { background: #fff; border-color: #E3000F; box-shadow: 0 6px 16px -10px rgba(227,0,15,.6); }
.mrow .mav { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #3B4252, #1D2026); color: #fff; font: 700 .8rem var(--font-body); } .mrow.un .mav { background: linear-gradient(145deg, #F01C2C, #B3000C); }
.mrow .mtx { display: grid; min-width: 0; } .mrow .mtx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mrow .mtx span { color: #4A4F58; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mrow.un .mtx span { font-weight: 700; color: #1B1D21; }
.mrow.un b::before { background: #E3000F !important; } .mrow small { white-space: nowrap; align-self: start; }
.pad.pad2.nida .mailview .mbody { line-height: 1.6; font-size: 1.02rem; padding: 14px 16px; background: #F6F7F9; border-radius: 12px; margin: 4px 0; }
.pad.pad2.nida .kpi { border: 0; border-top: 0; border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 12px 24px -14px rgba(16,24,40,.25); position: relative; overflow: hidden; } .pad.pad2.nida .kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #E3000F; } .pad.pad2.nida .kpi b { font-size: 2rem; line-height: 1; }
.pad.pad2.nida .kpi:nth-child(1)::before { background: #3B82F6; } .pad.pad2.nida .kpi:nth-child(2)::before { background: #F59E0B; } .pad.pad2.nida .kpi:nth-child(3)::before { background: #16A34A; } .pad.pad2.nida .kpi:nth-child(4)::before { background: #E3000F; }
.pad.pad2.nida .bcard .av { background: linear-gradient(145deg, #3B4252, #1D2026); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.pad.pad2.nida .astat { border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .75rem; }
.pad.pad2.nida .chip { border-radius: 999px; }
.pad.pad2.nida details > summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
#chat-ov { background: rgba(4,6,9,.74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#chat-ov .cm-box { background: #13151A; color: #E8EAEE; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 90px rgba(0,0,0,.65); overflow: hidden; }
#chat-ov .cm-box header { background: linear-gradient(135deg, #20232A, #15171C); border-bottom: 1px solid rgba(255,255,255,.08); padding: 14px 18px; }
#chat-ov .cm-box header b { color: #fff; font-size: 1.08rem; } #chat-ov .cm-box header small { color: rgba(255,255,255,.62); }
#chat-ov .cm-ava { background: linear-gradient(145deg, #F01C2C, #B3000C); box-shadow: 0 6px 14px -6px rgba(227,0,15,.8); color: #fff; }
#chat-ov .cm-x { background: rgba(255,255,255,.08); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; line-height: 1; padding: 0; color: #fff; }
#chat-ov .cm-list { background: #0E1014; padding: 16px 18px 20px; gap: 4px; }
#chat-ov .cm { background: #23272F; color: #E8EAEE; border: 0; box-shadow: none; border-radius: 18px; padding: 9px 14px 6px; } #chat-ov .cm.mine { background: linear-gradient(135deg, #F01C2C, #C4000D); color: #fff; } #chat-ov .cm.other { border-bottom-left-radius: 5px; } #chat-ov .cm.mine { border-bottom-right-radius: 5px; }
#chat-ov .cm small { color: #FF8F97; } #chat-ov .cm.mine small { color: rgba(255,255,255,.85); }
#chat-ov .cm.sys { background: transparent; border: 1px dashed rgba(255,255,255,.22); color: #AEB4C0; }
#chat-ov .cm-day span { background: rgba(255,255,255,.08); color: #AEB4C0; }
#chat-ov .cm-empty { color: #8E95A3; }
#chat-ov .cm-docs, #chat-ov .cm-tpl { background: #13151A; border-color: rgba(255,255,255,.08); color: #AEB4C0; }
#chat-ov .cm-chip, #chat-ov .cm-tpl button { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #E8EAEE; border-radius: 999px; padding: 6px 14px; font-size: .8rem; cursor: pointer; } #chat-ov .cm-chip:hover, #chat-ov .cm-tpl button:hover { background: rgba(255,255,255,.14); }
#chat-ov .cm-lbl { background: #13151A; border-top: 1px solid rgba(255,255,255,.08); color: #8E95A3; text-transform: none; letter-spacing: 0; font-weight: 600; } #chat-ov .cm-lbl small { color: #6F7685; }
#chat-ov #cm-form { background: #13151A; padding: 8px 14px 14px; }
#chat-ov #cm-form textarea { background: #1D2026; color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; min-height: 48px; padding: 12px 16px; } #chat-ov #cm-form textarea:focus { outline: 2px solid rgba(240,28,44,.5); border-color: transparent; } #chat-ov #cm-form textarea::placeholder { color: #6F7685; }
#chat-ov .cm-att { background: #1D2026; border: 1px solid rgba(255,255,255,.14); color: #fff; width: 48px; height: 48px; }
#chat-ov .cm-send { height: 48px; border-radius: 24px; padding: 0 24px; background: linear-gradient(#F01C2C, #C4000D); box-shadow: 0 8px 18px -8px rgba(227,0,15,.8); }
#chat-ov .cm-closed { background: #3A2F0A; color: #FFD479; }
#chat-ov .cm-f { background: rgba(255,255,255,.1); color: #E8EAEE; }

.seatpick { margin: 8px 0 4px; padding: 10px; border-radius: 12px; background: #F3F5F8; display: grid; gap: 8px; } .seatpick > b { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #4A4F58; }
.seatchips { display: flex; flex-wrap: wrap; gap: 6px; } .seatchips button { border: 1px solid #C3C9D3; background: #fff; color: #1B1D21; border-radius: 999px; padding: 9px 14px; font: 600 .88rem var(--font-body); cursor: pointer; } .seatchips button.on { background: #1D2026; border-color: #1D2026; color: #fff; } .seatchips button:hover:not(.on) { border-color: #E3000F; color: #C4000D; }

.seatpick > b { margin-top: 4px; } .seatok { width: 100%; margin-top: 4px; } .seatok:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.seatnow { margin: 6px 0 2px; font-size: .9rem; color: #1B1D21; } .seatnow b { color: #0F6B38; }

.mfrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mfbtn{cursor:pointer;display:inline-block}.mfs{display:flex;flex-wrap:wrap;gap:6px}
.mats{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.mats .cm-chip{cursor:pointer}

/* Uhr-Karte */
.nida .hpanel .hp-clock { background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 16px 20px 16px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 10px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12); position: relative; overflow: hidden; }
.nida .hpanel .hp-clock::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(#FF3B47, #E3000F); }
.hc-top { display: flex; align-items: center; gap: 8px; font: 700 .68rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hc-dot { width: 7px; height: 7px; border-radius: 50%; background: #34C759; box-shadow: 0 0 8px #34C759; }
.hc-time { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 2px; }
.nida .hpanel .hc-time .l-time { font-weight: 200 !important; font-size: clamp(3.2rem, 5.4vw, 4.4rem) !important; font-variant-numeric: tabular-nums; }
.hc-sec { font: 300 1.5rem var(--font-body); color: #FF5A64; font-variant-numeric: tabular-nums; }
.nida .hpanel .hp-clock .l-date { font-size: 1.02rem; font-weight: 600; color: #fff; }
.nida .hpanel .hp-clock .l-who { margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: rgba(255,255,255,.62); }
@media (max-height: 840px) { .nida .hpanel .hp-clock { padding: 12px 16px; } .nida .hpanel .hc-time .l-time { font-size: 3rem !important; } }
@media not all and (min-width: 1000px) and (min-height: 560px) { .hc-top, .hc-sec { display: none; } .nida .hpanel .hp-clock { padding: 12px 16px; } }

/* App-Seiten: ruhiger, klarer */
.pad.pad2.nida .appbody { padding: 18px 24px 22px; }
.pad.pad2.nida .appbody:not(:has(.folder)) { background: #EEF1F6; }
.pad.pad2.nida .pcard2 { border: 1px solid #E1E5EC; border-radius: 16px; box-shadow: 0 2px 10px rgba(16,24,40,.06); padding: 20px 22px; background: #fff; }
.pad.pad2.nida .pcard2 > h2, .pad.pad2.nida .pform > h2 { font-size: 1.12rem; font-weight: 800; color: #14171C; margin: 0 0 2px; letter-spacing: -.005em; }
.pad.pad2.nida .sub, .pad.pad2.nida small.sub { color: #626A78; }
.pad.pad2.nida .ptabs2 { margin-bottom: 16px; background: #fff; box-shadow: 0 1px 4px rgba(16,24,40,.08); border-radius: 14px; }
.pad.pad2.nida .ptabs2 button { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font-weight: 700; color: #4A5260; }
.pad.pad2.nida .ptabs2 button.on { background: #1B1D21; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.pad.pad2.nida .pbtn.on, .pad.pad2.nida .pbtn.red { background: linear-gradient(#F0182A, #D0000E); color: #fff; border-color: #B8000C; box-shadow: 0 4px 12px rgba(227,0,15,.28); }
.pad.pad2.nida .pbtn, .pad.pad2.nida .pmini { min-height: 42px; font-weight: 700; transition: transform .08s, box-shadow .15s; }
.pad.pad2.nida .pbtn:active, .pad.pad2.nida .pmini:active { transform: scale(.97); }
.pad.pad2.nida .field label { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5A6270; }
.pad.pad2.nida .field input, .pad.pad2.nida .field select, .pad.pad2.nida .field textarea { border: 1px solid #CDD3DD; border-radius: 10px; background: #F8F9FB; padding: 11px 13px; font-size: 1rem; }
.pad.pad2.nida .field input:focus, .pad.pad2.nida .field select:focus, .pad.pad2.nida .field textarea:focus { outline: 0; border-color: #E3000F; background: #fff; box-shadow: 0 0 0 3px rgba(227,0,15,.14); }
.pad.pad2.nida .plist2 > li { border-radius: 12px; }
.pad.pad2.nida .mrow { border-radius: 12px; }
.pad.pad2.nida .mrow.on { background: #FDECEE; box-shadow: inset 3px 0 0 #E3000F; }
.pad.pad2.nida .mrow.un b::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #E3000F; margin-left: 8px; }
.pad.pad2.nida .mailview .mbody { background: #F6F7F9; border-radius: 12px; padding: 14px 16px; line-height: 1.55; }
.pad.pad2.nida .tk { border: 1px solid #E1E5EC; border-radius: 14px; background: #fff; box-shadow: 0 1px 6px rgba(16,24,40,.05); }

/* Fahrzeugkarten */
.pad.pad2.nida .fcard { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.pad.pad2.nida .fcard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,24,40,.12); }
.pad.pad2.nida .fcard.mine { box-shadow: 0 0 0 2px #E3000F, 0 8px 22px rgba(227,0,15,.15); }
.pad.pad2.nida .fc-st { padding: 7px 18px; font-size: .7rem; letter-spacing: .12em; }
.pad.pad2.nida .fc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pad.pad2.nida .fc-body h2 { font-size: 1.08rem; margin: 6px 0 0; }
.pad.pad2.nida .fc-body > .sub { font-size: .88rem; line-height: 1.4; margin: 0 0 6px; flex: 1; }
.pad.pad2.nida .fc-body > .pbtn { justify-self: stretch; width: 100%; text-align: center; white-space: normal; }
.pad.pad2.nida .fc-body > .pbtn.on { background: linear-gradient(#F0182A, #D0000E); color: #fff; }
.pad.pad2.nida .fc-body > .pbtn:not(.on) { background: #1B1D21; color: #fff; border-color: #1B1D21; }
.pad.pad2.nida .fflags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; padding-top: 12px; border-top: 1px solid #E8EBF0; }
.pad.pad2.nida .fflags .pmini { padding: 8px 4px; font-size: .74rem; min-height: 38px; text-align: center; background: #F4F6F9; border-color: #E1E5EC; box-shadow: none; white-space: normal; }
.pad.pad2.nida .fc-body > .pill { align-self: flex-start; }
.pad.pad2.nida .fflags { min-width: 0; } .pad.pad2.nida .fflags .pmini { width: 100%; min-width: 0; padding: 8px 2px; }
.pad.pad2.nida .fcard .fflags { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .pad.pad2.nida .fcard .fflags button { width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 8px 2px !important; }
.msrch { margin-bottom: 8px; } .msrch input { width: 100%; box-sizing: border-box; border: 1px solid #CDD3DD; border-radius: 12px; background: #F4F6F9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235A6270' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center; padding: 11px 14px 11px 40px; font: 500 .95rem var(--font-body); color: #14171C; }
.msrch input:focus { outline: 0; border-color: #E3000F; background-color: #fff; box-shadow: 0 0 0 3px rgba(227,0,15,.14); }
.msearch, #m-tq { width: 100%; box-sizing: border-box; border: 1px solid #CDD3DD; border-radius: 10px; background: #F8F9FB; padding: 10px 13px; font: inherit; margin-bottom: 8px; color: #14171C; }
#m-tq:focus { outline: 0; border-color: #E3000F; background: #fff; box-shadow: 0 0 0 3px rgba(227,0,15,.14); }
#m-to[size] { width: 100%; box-sizing: border-box; border: 1px solid #CDD3DD; border-radius: 10px; background: #fff; padding: 4px; font: inherit; }
#m-to[size] option { padding: 7px 10px; border-radius: 6px; } #m-to[size] option:checked { background: #E3000F linear-gradient(#E3000F, #E3000F); color: #fff; }
.mtabs { align-items: center; } .mtabs .mfadd { border-style: dashed !important; background: transparent !important; color: #5A6270 !important; } .mtabs .mnew { margin-left: auto; }
.mfnew { display: flex; gap: 8px; margin: 0 0 14px; flex-wrap: wrap; } .mfnew input { flex: 1; min-width: 160px; border: 1px solid #CDD3DD; border-radius: 10px; padding: 10px 13px; font: inherit; background: #fff; }
.mfhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.mnote { margin: 0 0 8px; padding: 9px 12px; border-radius: 10px; background: #FFF4E5; color: #7A4B00; font-size: .84rem; }
.mmv { max-width: 190px; }
.pad.pad2.nida .fcard .fc-st.no { background: #C62828; } .pad.pad2.nida .seatbtn.locked { background: #E9ECF1 !important; color: #6B7280 !important; border-color: #D5D9DF !important; cursor: not-allowed; box-shadow: none; }
.kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; } .kn { margin: 4px 0 12px; }
.kcard { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 14px; align-items: center; background: #fff; border: 1px solid #E1E5EC; border-radius: 16px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(16,24,40,.06); }
.kcard[hidden] { display: none; } .kcard .mav { width: 46px; height: 46px; grid-row: span 2; }
.kinfo { display: grid; gap: 2px; min-width: 0; } .kinfo b { font-size: 1.02rem; color: #14171C; } .kpos { justify-self: start; font: 800 .68rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; background: #E3000F; color: #fff; padding: 3px 8px; border-radius: 6px; } .kq { color: #5A6270; font-size: .86rem; }
.ktel { grid-column: 2; font: 700 1.02rem var(--font-body); color: #1B1D21; text-decoration: none; padding: 6px 0 2px; } .ktel:hover { color: #E3000F; }
.kcard .pacts { grid-column: 1 / -1; margin-top: 6px; }
.kcard .mav { border-radius: 50%; display: grid; place-items: center; background: #2B2F36; color: #fff; font: 800 .9rem var(--font-body); }

/* Pr\fc fungskommission */
.pkhero { background: linear-gradient(135deg, #1B2A6B 0%, #11173F 60%, #0B0F2A 100%); color: #fff; border-radius: 18px; padding: 20px 24px; margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; box-shadow: 0 8px 24px rgba(17,23,63,.3); position: relative; overflow: hidden; }
.pkhero::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); pointer-events: none; }
.pkh-t { display: flex; gap: 14px; align-items: center; max-width: 520px; } .pkh-t h2 { margin: 0 0 3px; font-size: 1.25rem; color: #fff; } .pkh-t p { margin: 0; color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.4; }
.pkh-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); flex: none; }
.pkstats { display: flex; gap: 10px; position: relative; z-index: 1; } .pkstats > div { min-width: 104px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); display: grid; gap: 2px; }
.pkstats b { font-size: 1.7rem; line-height: 1; font-weight: 800; } .pkstats span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.pkstats .ok b { color: #5BE0A0; } .pkstats .no b { color: #FF7A85; }
.pkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; }
.pkc { background: #fff; border: 1px solid #E1E5EC; border-radius: 16px; padding: 18px 20px; display: grid; gap: 14px; box-shadow: 0 2px 10px rgba(16,24,40,.06); position: relative; overflow: hidden; align-content: start; }
.pkc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #8A93A6; } .pkc.res-angenommen::before { background: #12A150; } .pkc.res-abgelehnt::before { background: #D7263D; }
.pkc header { display: flex; align-items: center; gap: 12px; }
.pkav { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1F2E8C; color: #fff; font-weight: 800; flex: none; }
.pkid { display: grid; min-width: 0; flex: 1; } .pkid b { font-size: 1.05rem; color: #14171C; } .pkid small { color: #626A78; }
.pkres { justify-self: start; font: 800 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; } .pkres.angenommen { background: #E3F6EA; color: #0B7A3E; } .pkres.abgelehnt { background: #FDE8EA; color: #B4172B; }
.pkl { font: 800 .68rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #6B7280; }
.pkdocs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pkdoc { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #CDD3DD; background: #F6F7F9; border-radius: 10px; padding: 8px 12px; font: 600 .86rem var(--font-body); color: #1B1D21; cursor: pointer; } .pkdoc:hover { border-color: #1F2E8C; background: #EEF1FF; }
.pktally { display: grid; gap: 8px; } .pkt { display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; } .pkt b { font-size: 1.05rem; text-align: right; }
.pips { display: flex; gap: 6px; } .pips i { flex: 1; height: 10px; border-radius: 6px; background: #E6E9EF; } .pips i.on.ja { background: linear-gradient(90deg, #34D07F, #12A150); } .pips i.on.nein { background: linear-gradient(90deg, #FF7A85, #D7263D); }
.pkt.ja b { color: #0B7A3E; } .pkt.nein b { color: #B4172B; }
.pkvoters { display: flex; flex-wrap: wrap; gap: 6px; } .pkv { display: inline-flex; align-items: center; gap: 6px; font: 600 .8rem var(--font-body); padding: 5px 10px; border-radius: 999px; background: #F1F3F6; color: #2B2F36; } .pkv i { width: 8px; height: 8px; border-radius: 50%; } .pkv.ja i { background: #12A150; } .pkv.nein i { background: #D7263D; }
.pkempty { margin: 0; color: #6B7280; font-size: .85rem; }
.pkc footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 14px; border-top: 1px solid #E8EBF0; }
.pkvote { display: flex; gap: 8px; } .pkb { min-width: 92px; padding: 11px 20px; border-radius: 12px; border: 2px solid; font: 800 .95rem var(--font-body); cursor: pointer; background: #fff; transition: transform .08s; } .pkb:active { transform: scale(.96); }
.pkb.ja { border-color: #12A150; color: #0B7A3E; } .pkb.ja.on { background: #12A150; color: #fff; box-shadow: 0 4px 12px rgba(18,161,80,.3); }
.pkb.nein { border-color: #D7263D; color: #B4172B; } .pkb.nein.on { background: #D7263D; color: #fff; box-shadow: 0 4px 12px rgba(215,38,61,.3); }
.pkmine { color: #5A6270; } .pkdel { margin-left: auto; background: none; border: 0; color: #8A93A6; font: 600 .8rem var(--font-body); cursor: pointer; text-decoration: underline; padding: 6px; } .pkdel:hover { color: #D7263D; }
@media (max-width: 520px) { .pkgrid { grid-template-columns: 1fr; } .pkstats > div { min-width: 0; flex: 1; } }
.pad.pad2.nida .pkhero .pkh-t h2 { color: #fff !important; }

/* Stellenangebote */
.jwrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 18px; } @media (max-width: 1100px) { .jwrap { grid-template-columns: 1fr; } }
.jpv { display: grid; gap: 8px; position: sticky; top: 8px; } .jpv .job { margin: 0; }
.jgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; }
.jcard { background: #fff; border: 1px solid #E1E5EC; border-radius: 16px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(16,24,40,.06); display: grid; gap: 10px; align-content: start; } .jcard.closed { opacity: .7; }
.jcard header { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .jcard header small { color: #626A78; }
.jst { font: 800 .68rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; } .jst.auf { background: #E3F6EA; color: #0B7A3E; } .jst.zu { background: #ECEEF2; color: #5A6270; }
.jcard .job.jprev, .jpv .job { border: 1px solid #E1E5EC; border-radius: 12px; padding: 14px 16px; background: #FAFBFC; box-shadow: none; display: grid; gap: 8px; }
.jcard .job h3, .jpv .job h3 { margin: 0; font-size: 1.1rem; color: #14171C; } .jcard .job p, .jpv .job p { margin: 0; color: #3C4350; font-size: .9rem; line-height: 1.45; }
.jcard .jtag, .jpv .jtag { justify-self: start; font: 800 .66rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; background: #E3000F; color: #fff; padding: 3px 8px; border-radius: 6px; }
.jcard .jfacts, .jpv .jfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 4px 0; } .jcard .jfacts dt, .jpv .jfacts dt { font: 800 .64rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #6B7280; } .jcard .jfacts dd, .jpv .jfacts dd { margin: 0; font-weight: 600; font-size: .9rem; }
.jcard .jcol h4, .jpv .jcol h4 { margin: 6px 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #1F2E8C; } .jcard .jlist, .jpv .jlist { margin: 0; padding-left: 18px; font-size: .88rem; display: grid; gap: 3px; }
.jobs-db { margin-top: 16px; } .jobs-db:empty { display: none; }
.jobs-db .jfacts { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; } .jobs-db .jfacts > div { min-width: 0; }
.jdone { background: #E3F6EA; color: #0B7A3E; border-radius: 10px; padding: 9px 12px; font-weight: 600; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.jaform { display: grid; gap: 8px; } .jaform label { font: 800 .7rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #5A6270; } .jaform textarea { border: 1px solid #CDD3DD; border-radius: 10px; padding: 10px 12px; font: inherit; background: #F8F9FB; }
.japs { display: grid; gap: 8px; border-top: 1px solid #E8EBF0; padding-top: 10px; } .jap { background: #F4F6F9; border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; } .jap small { color: #6B7280; } .jap p { margin: 4px 0 0; font-size: .88rem; white-space: pre-wrap; }

/* Presse: Webseite */
.prc { background: var(--surface); border-radius: var(--radius, 14px); box-shadow: var(--shadow); padding: 22px 26px; display: grid; gap: 10px; border-left: 5px solid var(--red); margin-bottom: 16px; }
.prc-dach { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font: 600 .82rem var(--font-body); color: var(--muted); } .prc-dach b { font: 800 .72rem var(--font-body); letter-spacing: .14em; color: #fff; background: var(--red); padding: 4px 9px; border-radius: 4px; }
.prc.t-eil { border-left-color: #C8202A; background: linear-gradient(90deg, rgba(200,32,42,.12), transparent 40%), var(--surface); } .prc.t-eil .prc-dach b { background: #C8202A; animation: blinkr 1.6s infinite; }
@keyframes blinkr { 50% { opacity: .65; } }
.prc h3 { margin: 4px 0 0; font-size: 1.5rem; line-height: 1.2; color: var(--ink); } .prc-lead { margin: 0; font-size: 1.08rem; line-height: 1.5; font-weight: 600; color: var(--ink); }
.prc-body { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; } .prc-body h4 { margin: 8px 0 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); } .prc-body p { margin: 0; line-height: 1.6; color: var(--ink); }
.prc blockquote { margin: 8px 0; padding: 10px 18px; border-left: 3px solid var(--red); background: var(--soft); border-radius: 0 10px 10px 0; } .prc blockquote p { font-style: italic; font-size: 1.05rem; } .prc cite { display: block; margin-top: 6px; font-style: normal; font-weight: 700; font-size: .88rem; color: var(--muted); }
.prc-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; border-top: 1px solid var(--line); padding-top: 12px; font-size: .86rem; color: var(--muted); } .prc-foot b { display: block; margin-bottom: 3px; color: var(--ink); } .prc-foot p { margin: 0; line-height: 1.5; }
.prc-more { justify-self: start; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font: 700 .85rem var(--font-body); color: var(--ink); cursor: pointer; } .prc-more:hover { background: var(--soft); }
.eilband { background: #C8202A; color: #fff; } .eilband .wrap { display: grid; } .eilband a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 11px 0; color: #fff; text-decoration: none; } .eilband b { font: 800 .72rem var(--font-body); letter-spacing: .14em; background: #fff; color: #C8202A; padding: 3px 8px; border-radius: 4px; } .eilband span { font-weight: 700; flex: 1; min-width: 200px; } .eilband i { font-style: normal; font-weight: 700; text-decoration: underline; }
.akt { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; } .akt-c { display: grid; gap: 8px; align-content: start; background: var(--surface); border-radius: var(--radius, 14px); box-shadow: var(--shadow); padding: 20px 22px; text-decoration: none; color: var(--ink); border-top: 3px solid var(--red); transition: transform .15s; } .akt-c:hover { transform: translateY(-3px); }
.akt-d { font: 700 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); } .akt-c strong { font-size: 1.1rem; line-height: 1.3; } .akt-c p { margin: 0; color: var(--muted); line-height: 1.5; font-size: .93rem; } .akt-m { font-weight: 700; font-size: .85rem; color: var(--red-text); } .akt + .btn-row { margin-top: 18px; }
/* Presse: Tablet */
.pphero { margin-bottom: 14px; background: linear-gradient(135deg, #7A0F18 0%, #3B0A10 70%, #1A0508 100%) !important; }
.pptiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 16px; }
.pptile { text-align: left; border: 1px solid #E1E5EC; background: #fff; border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; cursor: pointer; font-family: inherit; box-shadow: 0 2px 8px rgba(16,24,40,.06); border-top: 4px solid #8A93A6; transition: transform .1s; } .pptile:hover { transform: translateY(-2px); } .pptile.on { box-shadow: 0 0 0 2px #1B1D21, 0 6px 18px rgba(0,0,0,.15); }
.pptile.t-eil { border-top-color: #C8202A; } .pptile.t-pm { border-top-color: #1F2E8C; } .pptile.t-ber { border-top-color: #0E8F5E; } .pptile.t-ver { border-top-color: #E58A00; } .pptile.t-pers { border-top-color: #7B3FE0; }
.ppk { font: 800 .62rem var(--font-body); letter-spacing: .14em; color: #6B7280; } .pptile b { font-size: 1.02rem; color: #14171C; } .pptile small { color: #626A78; line-height: 1.35; }
.ppchk { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; }
.ppprev .prc, .jpv .prc { margin: 0; box-shadow: 0 2px 10px rgba(16,24,40,.08); border: 1px solid #E1E5EC; border-left: 5px solid #E3000F; background: #fff; color: #14171C; }
.ppprev .prc h3, .ppprev .prc-lead, .ppprev .prc-body p { color: #14171C; } .ppprev .prc-foot { color: #626A78; } .ppprev .prc-foot b { color: #14171C; } .ppprev .prc blockquote { background: #F4F6F9; }
.pplist { display: grid; gap: 10px; } .pprow { background: #fff; border: 1px solid #E1E5EC; border-radius: 14px; padding: 14px 16px; display: grid; gap: 10px; box-shadow: 0 2px 8px rgba(16,24,40,.05); } .pprow.off { opacity: .6; }
.pph { display: grid; gap: 3px; } .pph b { font-size: 1.02rem; color: #14171C; } .pph small { color: #626A78; }
.ppb { justify-self: start; font: 800 .64rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #1F2E8C; padding: 3px 8px; border-radius: 5px; } .ppb.t-eil { background: #C8202A; } .ppb.t-ber { background: #0E8F5E; } .ppb.t-ver { background: #E58A00; } .ppb.t-pers { background: #7B3FE0; }
/* Team-Seite: ruhiger */
.profs { align-items: start; } .prof.vac { background: transparent; box-shadow: none; border: 1px dashed var(--line); } .prof.vac .pbody { padding: 14px 16px; }
.prc-body h4 { border: 0 !important; padding: 0 !important; margin: 10px 0 0 !important; } .prc-body h4::after, .prc-body h4::before { content: none !important; }
.profs, .profs.c1, .profs.c2, .profs.c3 { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important; gap: 20px !important; align-items: start; }
.prof .frame, .prof .frame.tall { aspect-ratio: 4 / 3 !important; height: auto !important; margin: 0 !important; padding: 0 !important; } .prof .frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.prof .pbody { padding: 18px 20px 20px; }
.prof { gap: 0 !important; }

.pdoc { background: #fff; color: #14171C; width: 100%; max-width: 794px; margin: 0 auto; padding: clamp(18px, 5vw, 48px) clamp(18px, 6vw, 56px) 26px; box-shadow: 0 6px 28px rgba(16,24,40,.22); font-family: Georgia, "Times New Roman", serif; line-height: 1.6; box-sizing: border-box; text-align: left; }
.pdoc .pd-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; } .pdoc .pd-head img { height: 54px; width: auto; max-width: 60%; object-fit: contain; }
.pdoc .pd-tag { background: #E3000F; color: #FBEB02; font: 800 .82rem/1 var(--font-body, Arial, sans-serif); letter-spacing: .12em; padding: 9px 14px; }
.pdoc.t-eil .pd-tag { background: #B00000; color: #fff; }
.pdoc .pd-rule { height: 4px; background: #E3000F; margin: 14px 0 0; border-bottom: 2px solid #FBEB02; box-sizing: content-box; }
.pdoc .pd-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px; font: .78rem var(--font-body, Arial, sans-serif); color: #626A78; }
.pdoc h2 { font: 800 clamp(1.4rem, 3.6vw, 1.9rem)/1.2 var(--font-body, Arial, sans-serif); margin: 0 0 12px; color: #14171C; }
.pdoc .pd-lead { font: 700 1.04rem/1.55 var(--font-body, Arial, sans-serif); margin: 0 0 16px; color: #14171C; }
.pdoc h4 { font: 800 .95rem/1.3 var(--font-body, Arial, sans-serif); color: #E3000F; margin: 16px 0 4px; } .pdoc p { margin: 0 0 10px; font-size: 1rem; }
.pdoc blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid #E3000F; } .pdoc blockquote p { font-size: 1.12rem; margin: 0; } .pdoc cite { display: block; margin-top: 6px; font: 700 .85rem var(--font-body, Arial, sans-serif); font-style: normal; color: #626A78; }
.pdoc .pd-boxes { display: grid; gap: 10px; margin-top: 20px; } .pdoc .pd-box { background: #F4F6F9; border-left: 3px solid #E3000F; padding: 10px 14px; } .pdoc .pd-box b { display: block; font: 800 .68rem var(--font-body, Arial, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #E3000F; margin-bottom: 3px; } .pdoc .pd-box p { font: .84rem/1.5 var(--font-body, Arial, sans-serif); margin: 0; }
.pdoc .pd-foot { margin-top: 22px; padding-top: 8px; border-top: 1px solid #E5CFCF; font: .68rem var(--font-body, Arial, sans-serif); color: #8A8080; text-align: center; }
.prdov { z-index: 9999; } .prdbox { position: fixed; inset: 0; display: flex; flex-direction: column; background: rgba(10,12,16,.82); }
.prdbox > header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #14171C; color: #fff; } .prdbox > header b { flex: 1; font-size: .95rem; } .prdmsg { font-size: .8rem; color: #9AA3B2; }
.prdbox .pdfsave { background: #E3000F; color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font: 700 .85rem var(--font-body, Arial, sans-serif); cursor: pointer; } .prdbox .pdfclose { background: transparent; color: #fff; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.prdpaper { flex: 1; overflow: auto; padding: 18px 10px 40px; }
.prc-docbtn { justify-self: start; border: 0; background: var(--red); color: #fff; font: 700 .9rem var(--font-body); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.ppprev .pdoc { box-shadow: 0 2px 12px rgba(16,24,40,.16); border: 1px solid #E1E5EC; }
.ppdocbtns { display: flex; gap: 8px; margin-top: 8px; }

.urk-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 12px; }
.urk-t { text-align: left; background: #fff; border: 1.5px solid #E1E5EC; border-radius: 14px; padding: 14px 16px; cursor: pointer; display: grid; gap: 3px; font: inherit; color: #14171C; } .urk-t b { font-size: .98rem; } .urk-t small { color: #626A78; font-size: .8rem; }
.urk-t.on { border-color: #E3000F; box-shadow: 0 0 0 3px rgba(227,0,15,.12); } .urk-t.add { border-style: dashed; color: #E3000F; background: transparent; }
.urkgrid { align-items: start; } .urk-prev { background: #EEF0F4; border-radius: 10px; padding: 8px; display: grid; place-items: center; min-height: 200px; } .urk-prev canvas { max-width: 100%; height: auto !important; box-shadow: 0 4px 18px rgba(16,24,40,.2); }
.urk-ed { position: relative; line-height: 0; cursor: crosshair; background: #EEF0F4; border-radius: 10px; overflow: hidden; } .urk-ed img { width: 100%; height: auto; display: block; }
.urk-m { position: absolute; width: 0; height: 0; } .urk-m i { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); white-space: nowrap; font: 700 10px/1 Arial, sans-serif; background: #E3000F; color: #fff; padding: 3px 5px; border-radius: 4px; } .urk-m::after { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #E3000F; } .urk-m.on i { background: #14171C; }
.urk-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; } .urk-pick .pmini.on { background: #14171C; color: #fff; }
