@font-face { font-family: 'MC Display'; src: url('/fonts/Display.otf'); font-weight: 900; }
@font-face { font-family: 'MC Body'; src: url('/fonts/Body.otf'); font-weight: 600; }
:root {
  --bg: #04050b; --bg2: #070a18; --panel: rgba(17, 20, 44, .62); --panel2: rgba(24, 28, 60, .7); --line: rgba(139, 122, 255, .16); --line2: rgba(139, 122, 255, .32);
  --text: #eceaff; --soft: #a6a3c9; --mute: #6c6a92; --violet: #8b5cf6; --violet2: #a78bfa; --green: #22e58b; --amber: #f5b544; --red: #ff5d73; --blue: #5b8cff;
  --r: 16px; --font: 'MC Body', 'Segoe UI', system-ui, sans-serif; --display: 'MC Display', 'Segoe UI Black', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: radial-gradient(1200px 700px at 85% -10%, rgba(124, 58, 237, .18), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(30, 64, 175, .16), transparent 60%), var(--bg); color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--violet2); }
button, input, select, textarea { font: inherit; color: inherit; }
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
aside { position: sticky; top: 0; height: 100vh; padding: 22px 14px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 12, 30, .9), rgba(5, 6, 14, .95)); display: flex; flex-direction: column; gap: 4px; }
.logo { font-family: var(--display); letter-spacing: .14em; font-size: 15px; padding: 4px 10px 18px; display: flex; align-items: center; gap: 10px; }
.logo i { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 200deg, var(--violet), var(--blue), var(--green), var(--violet)); box-shadow: 0 0 24px rgba(139, 92, 246, .6); display: inline-block; }
.logo small { display: block; font: 10px var(--font); letter-spacing: .2em; color: var(--mute); }
nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--soft); text-decoration: none; transition: .15s; }
nav a:hover { background: rgba(139, 92, 246, .08); color: var(--text); }
nav a.on { background: linear-gradient(90deg, rgba(139, 92, 246, .22), rgba(139, 92, 246, .04)); color: #fff; box-shadow: inset 2px 0 0 var(--violet); }
nav a b { width: 18px; text-align: center; opacity: .9; }
.side-foot { margin-top: auto; font-size: 12px; color: var(--mute); padding: 10px; }
main { padding: 22px 30px 60px; min-width: 0; }
.top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.top h1 { font-family: var(--display); font-size: 26px; letter-spacing: .02em; margin: 0 auto 0 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; color: var(--soft); white-space: nowrap; }
.chip.ok { color: var(--green); border-color: rgba(34, 229, 139, .3); } .chip.warn { color: var(--amber); border-color: rgba(245, 181, 68, .35); } .chip.bad { color: var(--red); border-color: rgba(255, 93, 115, .4); } .chip.v { color: var(--violet2); border-color: var(--line2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.kill { border: 1px solid rgba(255, 93, 115, .5); background: rgba(255, 93, 115, .1); color: #ffb3bf; padding: 8px 14px; border-radius: 10px; cursor: pointer; font-weight: 700; letter-spacing: .04em; }
.kill.on { background: var(--red); color: #fff; box-shadow: 0 0 24px rgba(255, 93, 115, .6); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 6px rgba(255, 93, 115, .3); } }
select.proj { background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 8px 12px; }
.grid { display: grid; gap: 16px; } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; backdrop-filter: blur(14px); box-shadow: 0 20px 60px -30px rgba(0, 0, 0, .8); min-width: 0; }
.card h2 { font-family: var(--display); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.card h2 small { font: 12px var(--font); text-transform: none; letter-spacing: 0; color: var(--mute); margin-left: auto; }
.card h3 { margin: 16px 0 8px; font-size: 13px; color: var(--soft); text-transform: uppercase; letter-spacing: .08em; }
.kpi { padding: 16px 18px; } .kpi .l { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; } .kpi .v { font-family: var(--display); font-size: 30px; margin-top: 4px; } .kpi .s { font-size: 12px; color: var(--soft); }
.kpi .v.na { font-size: 15px; font-family: var(--font); color: var(--mute); padding-top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 11px; border: 1px solid var(--line2); background: rgba(139, 92, 246, .08); cursor: pointer; transition: .15s; font-weight: 600; text-decoration: none; color: var(--text); white-space: nowrap; }
.btn:hover { background: rgba(139, 92, 246, .18); border-color: var(--violet); }
.btn.p { background: linear-gradient(135deg, #8b5cf6, #6d28d9); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .8); }
.btn.p:hover { filter: brightness(1.12); }
.btn.g { background: linear-gradient(135deg, #22e58b, #0fb871); color: #04120b; border-color: transparent; }
.btn.d { border-color: rgba(255, 93, 115, .4); color: #ffb3bf; background: rgba(255, 93, 115, .06); }
.btn.s { padding: 6px 10px; font-size: 12px; border-radius: 9px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 10px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--soft); }
input, select, textarea { background: rgba(5, 6, 16, .7); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; width: 100%; transition: .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, .15); }
textarea { resize: vertical; min-height: 80px; }
input[type=checkbox] { width: auto; accent-color: var(--violet); } input[type=color] { padding: 2px; height: 38px; } input[type=range] { padding: 0; accent-color: var(--violet); }
label.inline { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 13px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; } .seg button { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--soft); }
.seg button.on { border-color: var(--violet); background: rgba(139, 92, 246, .18); color: #fff; }
.mode { text-align: left; } .mode b { display: block; font-family: var(--display); letter-spacing: .06em; font-size: 12px; } .mode span { font-size: 11px; color: var(--mute); }
.list { display: flex; flex-direction: column; gap: 8px; }
.item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid transparent; background: rgba(255, 255, 255, .02); cursor: pointer; }
.item:hover, .item.on { border-color: var(--line2); background: rgba(139, 92, 246, .07); }
.item img, .thumbph { width: 46px; height: 64px; object-fit: cover; border-radius: 8px; background: #0b0d20; flex: none; }
.item .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .item .m { font-size: 12px; color: var(--mute); }
.grow { flex: 1; min-width: 0; }
.bar { height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .06); overflow: hidden; } .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--green)); border-radius: 9px; transition: width .5s; }
.player { display: flex; justify-content: center; background: #000; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.player video { max-height: 72vh; max-width: 100%; display: block; }
.scene { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: rgba(5, 6, 16, .45); }
.scene .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .scene .n { font-family: var(--display); color: var(--violet2); }
.mut { color: var(--mute); font-size: 12px; } .soft { color: var(--soft); }
.note { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(91, 140, 255, .06); font-size: 13px; color: var(--soft); }
.note.warn { background: rgba(245, 181, 68, .07); border-color: rgba(245, 181, 68, .3); color: #f3d79f; } .note.bad { background: rgba(255, 93, 115, .07); border-color: rgba(255, 93, 115, .3); color: #ffc2cb; } .note.ok { background: rgba(34, 229, 139, .06); border-color: rgba(34, 229, 139, .25); color: #a8f3cf; }
table { width: 100%; border-collapse: collapse; font-size: 13px; } th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); } th { color: var(--mute); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery .g { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0b0d20; aspect-ratio: 1; }
.gallery .g img, .gallery .g video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .g .cap { position: absolute; inset: auto 0 0 0; padding: 6px 8px; font-size: 11px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: flex; justify-content: space-between; gap: 6px; }
.approve { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: start; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(5, 6, 16, .4); }
.approve video, .approve img { width: 170px; border-radius: 10px; background: #000; }
.provider { position: relative; } .provider .st { position: absolute; top: 16px; right: 16px; }
.copybox { white-space: pre-wrap; background: rgba(5, 6, 16, .7); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; max-height: 180px; overflow: auto; }
.modal { position: fixed; inset: 0; background: rgba(2, 2, 8, .75); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.modal > .card { width: min(900px, 100%); max-height: 90vh; overflow: auto; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 8px; }
.toast div { padding: 12px 16px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line2); max-width: 420px; animation: in .25s; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.toast .bad { border-color: rgba(255, 93, 115, .5); } .toast .ok { border-color: rgba(34, 229, 139, .4); }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.auth { min-height: 100vh; display: grid; place-items: center; } .auth .card { width: min(420px, 92vw); padding: 30px; }
.auth h1 { font-family: var(--display); letter-spacing: .14em; margin: 0 0 4px; font-size: 22px; }
.empty { padding: 26px; text-align: center; color: var(--mute); border: 1px dashed var(--line2); border-radius: 14px; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--violet2); animation: sp 0.8s linear infinite; display: inline-block; } @keyframes sp { to { transform: rotate(360deg); } }
.fade-in { animation: in .3s; }
.menu-btn { display: none; }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr 1fr; } .split { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; } aside { position: fixed; z-index: 40; width: 250px; transform: translateX(-100%); transition: .2s; } aside.open { transform: none; }
  .menu-btn { display: inline-flex; } main { padding: 16px; } .g2, .g3, .g4 { grid-template-columns: 1fr; } .approve { grid-template-columns: 1fr; } .approve video, .approve img { width: 100%; }
  .top h1 { font-size: 20px; }
}
.top select.proj { width: auto; min-width: 160px; }
.seg button { width: auto; }

/* KonterIQ Wachstum (Marketing Intelligence Center) – KonterIQ-Farben */
body.kiq { --violet: #c8f53c; --violet2: #d9ff6a; --line: rgba(200, 245, 60, .13); --line2: rgba(200, 245, 60, .3); --panel: rgba(12, 22, 40, .7); --panel2: rgba(16, 30, 54, .8);
  background: radial-gradient(1100px 700px at 80% -10%, rgba(40, 90, 255, .16), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(200, 245, 60, .07), transparent 60%), #050a14; }
body.kiq .btn.p { background: linear-gradient(135deg, #c8f53c, #9ed21c); color: #08120a; box-shadow: 0 10px 30px -12px rgba(200, 245, 60, .7); }
body.kiq nav a.on { background: linear-gradient(90deg, rgba(200, 245, 60, .16), rgba(200, 245, 60, .02)); box-shadow: inset 2px 0 0 #c8f53c; }
body.kiq .logo i { background: conic-gradient(from 200deg, #c8f53c, #2a5bff, #c8f53c); box-shadow: 0 0 24px rgba(200, 245, 60, .45); }
body.kiq input:focus, body.kiq textarea:focus, body.kiq select:focus { border-color: #c8f53c; box-shadow: 0 0 0 3px rgba(200, 245, 60, .12); }
body.kiq input[type=checkbox] { accent-color: #c8f53c; }
.card.next { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; border-color: rgba(200, 245, 60, .35); background: linear-gradient(120deg, rgba(200, 245, 60, .1), rgba(12, 22, 40, .7) 60%); }
.card.next .l { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #c8f53c; width: 100%; margin-bottom: -10px; }
.card.next .t { font-family: var(--display); font-size: 22px; flex: 1; min-width: 240px; }
.note.ok { background: rgba(34, 229, 139, .06); border-color: rgba(34, 229, 139, .3); color: #b8f5d6; }
body.kiq { background-attachment: fixed; }
.card .col > .btn { align-self: flex-start; }
@media (max-width: 760px) { body.kiq .g4 { grid-template-columns: 1fr 1fr; gap: 10px; } body.kiq .kpi { padding: 12px; } body.kiq .kpi .v { font-size: 22px; } body.kiq .card.next .t { font-size: 18px; } }
