/* Leitstelle – öffentlicher Bereich */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-Regular.woff) format('woff'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-Medium.woff) format('woff'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-SemiBold.woff) format('woff'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(fonts/inter-Bold.woff) format('woff'); }
:root {
  --accent: #ff5a36; --ink: #0f172a; --ink2: #334155; --muted: #64748b; --line: #e6e8ee; --line2: #eef0f4; --bg: #f7f8fa; --card: #fff;
  --ok: #16a34a; --warn: #d97706; --bad: #ea580c; --down: #dc2626; --maint: #2563eb;
  --r: 14px; --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.h2, h2 { font-size: 24px; font-weight: 700; }
.h3, h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(780px, 100% - 40px); } .narrow-sm { width: min(460px, 100% - 40px); }
.pad { padding: 34px 0 56px; } .pad-xl { padding: 72px 0; }
.row { display: flex; align-items: center; } .gap { gap: 10px; }
.ic { width: 20px; height: 20px; flex: none; vertical-align: -4px; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line2); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; min-width: 0; }
.brand .logo { height: 32px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 4px 12px -4px var(--accent); }
.brand-name { white-space: nowrap; }
.brand-sub { color: var(--muted); font-weight: 500; padding-left: 10px; border-left: 1px solid var(--line); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 9px; text-decoration: none; color: var(--ink2); font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover, .nav a.on { background: #f1f3f6; color: var(--ink); }
@media (max-width: 720px) { .brand-sub, .nav a:not(.btn):not(.on) { display: none; } .brand-name { max-width: 40vw; overflow: hidden; text-overflow: ellipsis; } }

/* Knöpfe & Formulare */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:hover { background: #f8f9fb; } .btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 6px 18px -8px var(--accent); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.06); box-shadow: 0 8px 22px -8px var(--accent); }
.btn-ghost { background: transparent; } .btn-sm { padding: 7px 13px; font-size: 14px; } .btn-lg { padding: 13px 24px; font-size: 16px; } .btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.form { padding: 26px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink2); }
.form .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid #d7dbe3; border-radius: 10px; padding: 11px 13px; transition: border-color .12s, box-shadow .12s; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
input[readonly] { background: #f6f7f9; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } .form { padding: 18px; } }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 14px !important; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-msg { font-size: 14px; color: var(--muted); } .form-msg.err { color: var(--down); font-weight: 500; } .form-msg.ok { color: var(--ok); font-weight: 500; }
.drop { border: 1.5px dashed #cfd4dd; border-radius: 12px; padding: 16px; text-align: center; color: var(--muted); font-size: 14px; transition: background .12s, border-color .12s; }
.drop.over { background: color-mix(in srgb, var(--accent) 6%, #fff); border-color: var(--accent); }
.drop small { display: block; margin-top: 4px; font-size: 12px; }
.drop-sm { padding: 10px; }
.files { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.files li { display: flex; align-items: center; gap: 6px; background: #f1f3f6; border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 13px; color: var(--ink2); }
.files button { border: 0; background: #e2e5ea; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; line-height: 1; }
.note { padding: 12px 16px; border-radius: 12px; background: #f1f5f9; border: 1px solid var(--line); font-size: 15px; margin: 0 0 16px; }
.note.info { background: color-mix(in srgb, var(--maint) 7%, #fff); border-color: color-mix(in srgb, var(--maint) 25%, #fff); }
.note.warn { background: #fff7ed; border-color: #fed7aa; }

/* Startseite */
.hero { position: relative; padding: 64px 0 46px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 520px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), radial-gradient(closest-side at 80% 40%, #e0e7ff, transparent 70%); filter: blur(10px); z-index: -1; }
.lead { font-size: 19px; color: var(--ink2); max-width: 620px; margin: 0 auto 26px; }
.lead-sm { color: var(--ink2); margin-bottom: 22px; }
.search { position: relative; max-width: 640px; margin: 0 auto; }
.search > .ic { position: absolute; left: 18px; top: 18px; color: var(--muted); }
.search input { height: 58px; padding-left: 52px; border-radius: 16px; font-size: 17px; box-shadow: var(--shadow); border-color: var(--line); }
.search-sm { margin: 0 0 22px; max-width: none; } .search-sm input { height: 50px; } .search-sm > .ic { top: 15px; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 10; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -16px rgba(15, 23, 42, .25); overflow: hidden; text-align: left; }
.search-results a { display: block; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--line2); }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover, .search-results a.on { background: #f6f7fa; }
.search-results strong { display: block; font-weight: 600; } .search-results span { font-size: 13px; color: var(--muted); }
.search-results .none { padding: 14px 16px; color: var(--muted); font-size: 14px; }
.incident-banner { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 18px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 14px; text-decoration: none; }
.incident-banner div { flex: 1; display: grid; } .incident-banner span { font-size: 13px; color: var(--muted); } .arrow { font-size: 20px; color: var(--muted); }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 40px; }
.quick-card { display: grid; gap: 4px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.quick-card:hover { transform: translateY(-2px); border-color: #d6dae2; box-shadow: 0 14px 30px -16px rgba(15, 23, 42, .25); }
.quick-card strong { font-size: 17px; margin-top: 10px; } .quick-card span { color: var(--muted); font-size: 14px; }
.qi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #f1f3f6; color: var(--ink2); }
.qi .ic { width: 22px; height: 22px; }
.qi-accent { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.qi-ok { background: #dcfce7; color: var(--ok); } .qi-warn { background: #fef3c7; color: var(--warn); } .qi-bad, .qi-down { background: #fee2e2; color: var(--down); } .qi-maint { background: #dbeafe; color: var(--maint); }
.qi-lg { width: 56px; height: 56px; } .qi-lg .ic { width: 28px; height: 28px; }
.sec-title { font-size: 20px; margin: 8px 0 14px; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 40px; }
.cat { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cat:hover { border-color: #d6dae2; box-shadow: var(--shadow); }
.cat div { display: grid; gap: 2px; } .cat span { color: var(--muted); font-size: 14px; } .cat em { font-style: normal; font-size: 12px; color: var(--accent); font-weight: 600; }
.articles, .list { display: grid; gap: 10px; margin-bottom: 40px; }
.articles { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.art { display: grid; gap: 3px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .15s, transform .15s; }
.art:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateX(2px); }
.art span { color: var(--muted); font-size: 14px; } .art mark { background: color-mix(in srgb, var(--accent) 20%, #fff); color: inherit; border-radius: 3px; padding: 0 2px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 30px; margin: 10px 0 56px; border-radius: 18px; background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff; }
.cta h2 { margin: 0 0 4px; font-size: 22px; } .cta p { margin: 0; color: #cbd5e1; }
.cta-sm { padding: 18px 22px; margin: 26px 0 0; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.cta-sm p { color: var(--ink2); font-weight: 600; }
@media (max-width: 640px) { .cta { flex-direction: column; align-items: flex-start; } }

/* Artikel */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: var(--ink); }
.crumbs > *:not(:last-child)::after { content: '›'; margin-left: 6px; color: #cbd5e1; }
.cat-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.cat-head h1 { margin: 0; }
.article-grid { display: grid; gap: 40px; }
.article-grid.has-toc { grid-template-columns: minmax(0, 1fr) 240px; }
@media (max-width: 960px) { .article-grid.has-toc { grid-template-columns: 1fr; } .toc { display: none; } }
.article { max-width: 760px; }
.article .meta { color: var(--muted); font-size: 14px; }
.toc { position: sticky; top: 90px; align-self: start; display: grid; gap: 6px; font-size: 14px; padding-left: 16px; border-left: 2px solid var(--line); }
.toc strong { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.toc a { text-decoration: none; color: var(--ink2); } .toc a:hover { color: var(--accent); } .toc-3 { padding-left: 12px; }
.prose { font-size: 17px; line-height: 1.75; color: #1e293b; }
.prose h2 { font-size: 22px; margin: 1.6em 0 .5em; scroll-margin-top: 90px; } .prose h3 { font-size: 18px; margin: 1.4em 0 .4em; scroll-margin-top: 90px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; } .prose li { margin: .25em 0; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 5%, #fff); border-radius: 0 10px 10px 0; }
.prose blockquote p:last-child { margin: 0; }
.prose code { font: 14px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; background: #f1f3f6; padding: 2px 6px; border-radius: 6px; }
.prose pre { background: #0f172a; color: #e2e8f0; padding: 16px 18px; border-radius: 12px; overflow: auto; } .prose pre code { background: none; padding: 0; color: inherit; }
.prose img { border-radius: 12px; border: 1px solid var(--line); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; } .prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; } .prose th { background: #f6f7f9; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.vote { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 34px 0 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.vote span { font-weight: 600; margin-right: auto; }
.vote-thanks { color: var(--ok); font-style: normal; font-weight: 600; }
.related { margin-top: 30px; display: grid; gap: 8px; } .related a { color: var(--accent); text-decoration: none; font-weight: 500; } .related a:hover { text-decoration: underline; }

/* Formular-Extras */
.suggest { padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--maint) 6%, #fff); border: 1px solid color-mix(in srgb, var(--maint) 22%, #fff); font-size: 14px; }
.suggest-list { display: grid; gap: 6px; margin-top: 8px; }
.suggest-list a { text-decoration: none; color: var(--maint); font-weight: 600; } .suggest-list a:hover { text-decoration: underline; }
.done { padding: 40px 30px; text-align: center; }
.done .check-big { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: var(--ok); animation: pop .4s cubic-bezier(.2, 1.4, .4, 1); }
.done .check-big svg { width: 38px; height: 38px; }
.done .tno { display: inline-block; margin: 8px 0 18px; padding: 6px 14px; border-radius: 999px; background: #f1f3f6; font-weight: 700; letter-spacing: .02em; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.big-ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.big-ico .ic { width: 32px; height: 32px; }
.login { padding: 34px 30px; text-align: center; } .login .form { padding: 0; text-align: left; margin-top: 18px; }

/* Portal */
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.portal-head h1 { margin: 0; font-size: 30px; } .portal-head p { margin: 4px 0 0; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.tabs a { padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--ink2); font-weight: 600; font-size: 14px; }
.tabs a.on { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.tabs b { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #eef0f4; font-size: 12px; }
.tlist { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.trow { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 14px; padding: 15px 18px; text-decoration: none; border-bottom: 1px solid var(--line2); transition: background .12s; }
.trow:last-child { border-bottom: 0; } .trow:hover { background: #fafbfc; }
.tnum { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tsub { display: grid; min-width: 0; } .tsub strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tsub small { color: var(--muted); font-size: 13px; }
.empty { padding: 40px; text-align: center; color: var(--muted); }
@media (max-width: 600px) { .trow { grid-template-columns: 1fr auto; } .tnum { display: none; } }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: #f1f3f6; color: var(--ink2); }
.pill-lg { padding: 6px 14px; font-size: 14px; }
.pill-new { background: #ede9fe; color: #6d28d9; } .pill-open { background: #dbeafe; color: #1d4ed8; } .pill-pending { background: #fef3c7; color: #b45309; }
.pill-solved { background: #dcfce7; color: #15803d; } .pill-closed { background: #f1f5f9; color: #64748b; } .pill-warn { background: #ffedd5; color: #c2410c; } .pill-maint { background: #dbeafe; color: #1d4ed8; }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.ticket-head h1 { margin: 0 0 4px; }
.thread { display: grid; gap: 14px; margin-bottom: 18px; }
.msg { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.msg-agent { border-left: 3px solid var(--accent); }
.msg-me { background: #fcfcfd; }
.msg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.msg-head time { margin-left: auto; color: var(--muted); font-size: 13px; }
.msg-head .role { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 4px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e2e8f0; font-weight: 700; font-size: 13px; color: var(--ink2); }
.msg-agent .av { background: var(--accent); color: #fff; }
.msg-body { font-size: 15.5px; line-height: 1.65; overflow-wrap: anywhere; } .msg-body p:last-child { margin-bottom: 0; }
.msg-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.file { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; text-decoration: none; background: #fafbfc; }
.file small { color: var(--muted); } .file .ic { width: 16px; height: 16px; }
.reply { margin-top: 6px; }
.csat-card { padding: 20px; text-align: center; margin-bottom: 18px; display: grid; gap: 12px; justify-items: center; }
.faces { display: flex; gap: 10px; justify-content: center; }
.faces button { width: 54px; height: 54px; font-size: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: transform .12s, border-color .12s, background .12s; }
.faces button:hover { transform: translateY(-3px) scale(1.06); }
.faces button.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); transform: scale(1.08); }
.faces-sm button { width: 46px; height: 46px; font-size: 22px; }
.csat-page { padding: 34px 28px; display: grid; gap: 14px; justify-items: center; }
.csat-page textarea { min-height: 80px; }
.huge { font-size: 64px; line-height: 1; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }

/* Status */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.dot-ok { background: var(--ok); box-shadow: 0 0 0 3px #dcfce7; } .dot-warn { background: var(--warn); box-shadow: 0 0 0 3px #fef3c7; }
.dot-bad { background: var(--bad); box-shadow: 0 0 0 3px #ffedd5; } .dot-down { background: var(--down); box-shadow: 0 0 0 3px #fee2e2; animation: pulse 1.6s infinite; } .dot-maint { background: var(--maint); box-shadow: 0 0 0 3px #dbeafe; }
.dot-lg { width: 16px; height: 16px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(220, 38, 38, .12); } }
.status-hero { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: 18px; margin-bottom: 22px; color: #fff; background: linear-gradient(135deg, #15803d, #16a34a); box-shadow: 0 16px 34px -18px rgba(22, 163, 74, .8); }
.status-hero h1 { margin: 0; color: #fff; } .status-hero p { margin: 2px 0 0; opacity: .85; font-size: 14px; }
.status-hero .dot { background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .25); animation: none; }
.status-warn { background: linear-gradient(135deg, #b45309, #d97706); box-shadow: 0 16px 34px -18px rgba(217, 119, 6, .8); }
.status-bad, .status-down { background: linear-gradient(135deg, #b91c1c, #dc2626); box-shadow: 0 16px 34px -18px rgba(220, 38, 38, .8); }
.status-maint { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.comps { padding: 6px 22px; margin-bottom: 30px; }
.comp-group { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; padding: 16px 0 2px; }
.comp { padding: 16px 0; border-bottom: 1px solid var(--line2); } .comp:last-child { border-bottom: 0; }
.comp-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.comp-top div { display: grid; } .comp-top small { color: var(--muted); font-size: 13px; }
.comp-state { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.st-ok { color: var(--ok); } .st-warn { color: var(--warn); } .st-bad { color: var(--bad); } .st-down { color: var(--down); } .st-maint { color: var(--maint); }
.bars { display: flex; gap: 2px; height: 30px; }
.bar { flex: 1; border-radius: 2px; background: #e5e7eb; transition: transform .1s; }
.bar:hover { transform: scaleY(1.15); }
.b-ok { background: #22c55e; } .b-warn { background: #f59e0b; } .b-bad { background: #f97316; } .b-down { background: #ef4444; }
.bars-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
@media (max-width: 600px) { .bars .bar:nth-child(-n+60) { display: none; } .bars-legend span:first-child::after { content: ' (30 Tage)'; } }
.inc { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.inc-major, .inc-critical { border-left-color: var(--down); } .inc-maintenance { border-left-color: var(--maint); }
.inc-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.inc-updates { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.inc-updates li { padding-left: 14px; border-left: 2px solid var(--line); } .inc-updates time { color: var(--muted); font-size: 13px; margin-left: 6px; } .inc-updates p { margin: 2px 0 0; color: var(--ink2); }

/* Fuß */
.foot { border-top: 1px solid var(--line2); background: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; font-size: 14px; color: var(--muted); }
.foot-links { display: flex; gap: 18px; } .foot-links a { text-decoration: none; } .foot-links a:hover { color: var(--ink); }

/* Einbettung */
body.embed { background: transparent; }
.embed-main { padding: 18px; }
.embed .form { box-shadow: none; border: 0; padding: 4px 4px 10px; background: transparent; }
.embed .card { box-shadow: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
