/* Vyreel – Design (Zitronengelb, Anthrazit, Grauweiß). Systemschriften, keine externen Fonts (DSGVO). */
:root{
  --y:#E0E049; --y-soft:#FBFBE8; --y-line:#C8C83A;
  --a:#18232A; --a2:#2B3A44; --a3:#3C4A53;
  --bg:#F5F4F0; --w:#FFFFFF; --line:#E6E3DA; --line2:#D9D6CC;
  --mut:#5B6670; --mut2:#3D4950; --red:#B42318; --green:#1F7A3A;
  --r:20px; --r-sm:12px;
  --font: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:15px;line-height:1.5;color:var(--a);background:var(--bg);-webkit-font-smoothing:antialiased}
img,video{max-width:100%;display:block}
a{color:var(--a)}
h1,h2,h3{line-height:1.15;letter-spacing:-.02em;margin:0}
h1{font-size:30px;font-weight:800}
h2{font-size:21px;font-weight:800}
.h3,h3{font-size:17px;font-weight:800}
p{margin:0}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--a);outline-offset:2px}
.muted{color:var(--mut)} .small{font-size:13px} .tiny{font-size:12px}
.hidden{display:none!important}
.stack{display:flex;flex-direction:column;gap:12px}
.stack-lg{display:flex;flex-direction:column;gap:22px}
.row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.between{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cards{display:flex;flex-wrap:wrap;gap:16px}
.cards>*{flex:1 1 280px;min-width:0}
@media (max-width:640px){.grid2{grid-template-columns:1fr}}

/* ---------- Formulare ---------- */
label{font-size:13px;font-weight:700;display:block}
input[type=text],input[type=email],input[type=password],input[type=url],input[type=number],input[type=search],input[type=datetime-local],select,textarea{
  width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--line2);border-radius:var(--r-sm);background:var(--bg);font-size:15px}
textarea{min-height:84px;resize:vertical;line-height:1.45}
input:focus,select:focus,textarea:focus{border-color:var(--a);background:var(--w)}
input[type=range]{width:100%;accent-color:var(--a)}
input[type=checkbox]{width:20px;height:20px;accent-color:var(--a)}
.check{display:flex;gap:10px;align-items:flex-start;font-weight:500;font-size:14px}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border:0;border-radius:14px;font-weight:800;font-size:15px;text-decoration:none;white-space:nowrap;transition:transform .08s ease, opacity .15s}
.btn:active{transform:scale(.98)}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.btn-yellow{background:var(--y);color:var(--a)}
.btn-dark{background:var(--a);color:#fff}
.btn-ghost{background:var(--w);color:var(--a);border:1px solid var(--line);font-weight:700}
.btn-link{background:none;border:0;font-weight:700;text-decoration:underline;min-height:44px;padding:0 6px}
.btn-sm{min-height:40px;padding:0 14px;font-size:13px;border-radius:10px}
.btn-lg{min-height:56px;padding:0 26px;font-size:16px}
.btn-block{width:100%}
.btn .spin{width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------- Chips ---------- */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-height:44px;padding:0 18px;border-radius:99px;border:1px solid var(--line2);background:var(--w);font-weight:600;font-size:15px}
.chip.on{background:var(--a);color:#fff;border-color:var(--a)}
.chip.big{min-height:62px;border-radius:16px;flex:1 1 140px;border-width:2px;font-weight:700}
.tag{display:inline-flex;align-items:center;padding:4px 10px;border-radius:99px;background:var(--bg);font-size:12px;font-weight:700;white-space:nowrap}
.tag.y{background:var(--y)} .tag.d{background:var(--a);color:var(--y)} .tag.l{background:var(--line)} .tag.r{background:#FDE8E7;color:var(--red)}

/* ---------- Karten ---------- */
.card{background:var(--w);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.card.pad-lg{padding:26px}
.card.dark{background:var(--a);color:#fff;border-color:var(--a)}
.card.dark .muted{color:#C9D0D4}
.card.sel{border:2px solid var(--a);background:var(--y-soft)}
.label{font-size:12px;font-weight:800;color:var(--mut);letter-spacing:.05em;text-transform:uppercase}
.big-num{font-size:44px;font-weight:800;letter-spacing:-.03em;line-height:1}
.bar{height:10px;border-radius:99px;background:var(--bg);overflow:hidden}
.bar>i{display:block;height:100%;background:var(--y);border-right:2px solid var(--a);transition:width .4s ease}
.alert{padding:12px 16px;border-radius:14px;background:var(--line);font-size:14px}
.alert.ok{background:#E7F5EA;color:#14532D}
.alert.err{background:#FDE8E7;color:#7A1A12}
.alert.warn{background:var(--y-soft);border:1px solid #E8E89A}
.empty{border:2px dashed #CFCBBE;border-radius:var(--r);padding:28px;text-align:center;color:var(--mut)}

/* ---------- Layout ---------- */
.app{display:flex;min-height:100vh}
.side{width:252px;flex:0 0 252px;background:var(--w);border-right:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh;overflow:auto}
.brand{display:flex;align-items:center;gap:10px;padding:2px 10px 18px;text-decoration:none}
.brand img.ic{width:34px;height:34px;border-radius:9px}
.brand img.wm{height:22px;width:auto}
.nav a{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border-radius:12px;text-decoration:none;font-weight:600;font-size:15px}
.nav a:hover{background:var(--bg)}
.nav a.on{background:var(--y)}
.nav svg{width:20px;height:20px;flex:0 0 20px}
.side .grow{flex:1 1 auto;min-height:20px}
.side-credits{background:var(--bg);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px}
.main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.top{display:flex;align-items:center;gap:10px;padding:14px 36px;border-bottom:1px solid var(--line);background:var(--bg);position:sticky;top:0;z-index:20}
.top .grow{flex:1}
.icon-btn{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--w);display:inline-flex;align-items:center;justify-content:center;position:relative}
.icon-btn svg{width:20px;height:20px}
.icon-btn .dot{position:absolute;top:9px;right:10px;width:9px;height:9px;border-radius:99px;background:var(--y);border:2px solid var(--a)}
.avatar-c{width:44px;height:44px;border-radius:99px;background:var(--a);color:var(--y);display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;text-decoration:none}
.content{padding:28px 36px 64px;width:100%;max-width:1240px}
.page-head{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:flex-end;margin-bottom:22px}
.page-head p{color:var(--mut);margin-top:6px}
.imp-bar{background:var(--a);color:#fff;padding:10px 20px;font-size:14px;display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}
.imp-bar a{color:var(--y);font-weight:800}
.bottom{display:none}
.mobile-only{display:none}
@media (max-width:860px){
  .side{display:none}
  .top{padding:10px 16px}
  .desk-only{display:none!important}
  .mobile-only{display:inline-flex}
  .content{padding:18px 16px 120px}
  h1{font-size:26px}
  .bottom{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--w);border-top:1px solid var(--line);padding:8px 8px calc(10px + env(safe-area-inset-bottom));justify-content:space-around;align-items:center;gap:4px}
  .bottom a,.bottom button{flex:1 1 0;min-height:52px;border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:600;color:var(--mut);text-decoration:none}
  .bottom a.on{color:var(--a);font-weight:800}
  .bottom svg{width:22px;height:22px}
  .bottom .plus{flex:0 0 60px;width:60px;height:60px;margin-top:-26px;border:4px solid var(--bg);border-radius:20px;background:var(--y);color:var(--a)}
  .more-sheet{position:fixed;left:10px;right:10px;bottom:84px;z-index:41;background:var(--w);border:1px solid var(--line);border-radius:20px;box-shadow:0 -10px 30px rgba(24,35,42,.14);padding:8px;display:flex;flex-direction:column}
  .more-sheet a{min-height:50px;display:flex;align-items:center;padding:0 14px;font-weight:700;text-decoration:none;border-radius:12px}
}

/* ---------- Hero ---------- */
.hero{background:var(--a);color:#fff;border-radius:24px;padding:36px;display:flex;flex-wrap:wrap;gap:28px;align-items:center}
.hero .txt{flex:999 1 340px;min-width:0;display:flex;flex-direction:column;gap:16px}
.hero h2{font-size:30px;line-height:1.1}
.hero p{color:#C9D0D4}
.hero .vis{flex:1 1 180px;display:flex;justify-content:center}
.hero .btn-ghost{background:transparent;color:#fff;border-color:var(--a3)}
@media (max-width:860px){.hero{padding:22px}.hero h2{font-size:24px}}

/* ---------- Video-Kacheln ---------- */
.tiles{display:flex;flex-wrap:wrap;gap:16px}
.tile{flex:1 1 160px;max-width:230px;display:flex;flex-direction:column;gap:8px;min-width:0}
.thumb{width:100%;aspect-ratio:9/16;border-radius:18px;background:var(--a2);position:relative;overflow:hidden;display:flex;align-items:flex-end;color:#fff;text-decoration:none}
.thumb img,.thumb video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.thumb .cap{position:relative;z-index:1;padding:12px;font-weight:800;font-size:14px;line-height:1.2;background:linear-gradient(transparent,rgba(24,35,42,.85));width:100%}
.thumb .play{position:absolute;z-index:1;top:50%;left:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:99px;background:var(--y);display:flex;align-items:center;justify-content:center}
.phone{width:100%;max-width:320px;aspect-ratio:9/16;border-radius:26px;background:var(--a);border:6px solid var(--a);overflow:hidden;position:relative;margin:0 auto}
.phone canvas,.phone video,.phone img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- Influencer ---------- */
.inf-face{width:64px;height:64px;border-radius:18px;object-fit:cover;background:var(--y);flex:0 0 64px}
.inf-face.xl{width:110px;height:110px;border-radius:24px;flex-basis:110px}
.faces{display:flex;flex-wrap:wrap;gap:12px}
.face-opt{flex:1 1 130px;max-width:210px;aspect-ratio:9/16;padding:0;border-radius:20px;overflow:hidden;border:4px solid transparent;background:var(--line)}
.face-opt.on{border-color:var(--a)}
.face-opt img{width:100%;height:100%;object-fit:cover}
.skeleton{background:linear-gradient(90deg,var(--line) 25%,#EFEDE6 50%,var(--line) 75%);background-size:200% 100%;animation:sk 1.3s infinite}
@keyframes sk{to{background-position:-200% 0}}
.scene-tiles{display:flex;flex-wrap:wrap;gap:10px}
.scene-tile{width:110px;display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}
.scene-tile .img{width:110px;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:var(--line);position:relative}
.scene-tile .img img{width:100%;height:100%;object-fit:cover}
.scene-tile button.x{position:absolute;top:6px;right:6px;width:30px;height:30px;border-radius:99px;border:0;background:rgba(24,35,42,.75);color:#fff;font-size:16px;line-height:1}
.scene-tile.sel .img{outline:4px solid var(--a);outline-offset:-4px}

/* ---------- Schritte ---------- */
.steps{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.steps li{display:flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border-radius:99px;border:1px solid var(--line);font-size:13px;font-weight:600}
.steps li i{width:24px;height:24px;border-radius:99px;background:var(--line);display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:800}
.steps li.on{background:var(--w);border-color:var(--a)}
.steps li.on i,.steps li.done i{background:var(--y)}
.wiz-bar{display:flex;gap:6px;margin:12px 0 18px}.wiz-bar i{flex:1;height:6px;border-radius:99px;background:var(--line)}.wiz-bar i.on{background:var(--a)}

/* ---------- Bauplan ---------- */
.stats{display:flex;flex-wrap:wrap;gap:10px}
.stat{flex:1 1 140px;background:var(--bg);border-radius:14px;padding:14px}
.stat .k{font-size:12px;color:var(--mut);font-weight:600}.stat .v{font-weight:800;font-size:16px;margin-top:4px}
.timeline{display:flex;gap:4px;height:14px;border-radius:99px;overflow:hidden}
.timeline i{display:block;height:100%}
.tl-row{display:flex;gap:12px;align-items:flex-start;padding:8px 0;border-bottom:1px solid #F0EEE7;font-size:14px}
.tl-row .t{flex:0 0 70px;color:var(--mut);font-weight:600;font-size:13px}
.tl-row .sw{flex:0 0 12px;height:12px;border-radius:4px;margin-top:4px;border:1px solid var(--a)}
.why{background:var(--y-soft);border:1px solid #E8E89A;border-radius:16px;padding:16px}
.why ul{margin:6px 0 0;padding-left:18px}

/* ---------- Auswahlkarten ---------- */
.opt{display:flex;flex-direction:column;gap:8px;text-align:left;padding:18px;border-radius:16px;border:2px solid var(--line);background:var(--w);flex:1 1 220px;min-width:0}
.opt.on{border-color:var(--a);background:var(--y-soft)}
.opt .t{font-weight:800;font-size:16px}
.radio-row{display:flex;gap:12px;align-items:flex-start;text-align:left;padding:14px;border-radius:14px;border:2px solid var(--line);background:var(--w);width:100%}
.radio-row.on{border-color:var(--a);background:var(--y-soft)}
.radio-row .dot{flex:0 0 20px;width:20px;height:20px;border-radius:99px;border:2px solid var(--a);margin-top:2px}
.radio-row.on .dot{background:var(--a);box-shadow:inset 0 0 0 3px var(--y-soft)}

/* ---------- Skript-Szenen ---------- */
.scene-ed{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--w)}
.scene-ed .who{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:800}
.who .av{background:var(--a);color:var(--y);padding:3px 8px;border-radius:6px}
.who .vo{background:var(--line);padding:3px 8px;border-radius:6px}

/* ---------- Studio ---------- */
.studio{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.studio .left{flex:1 1 280px;max-width:340px;margin:0 auto;display:flex;flex-direction:column;gap:12px;position:sticky;top:84px}
.studio .right{flex:999 1 420px;min-width:0;display:flex;flex-direction:column;gap:16px}
.sc-row{display:flex;gap:12px;align-items:center;padding:10px;border-radius:14px;border:2px solid var(--line);background:var(--w);flex-wrap:wrap}
.sc-row.on{border-color:var(--a);background:var(--y-soft)}
.sc-row .th{flex:0 0 40px;width:40px;height:70px;border-radius:8px;background:var(--a2);overflow:hidden}
.sc-row .th img,.sc-row .th video{width:100%;height:100%;object-fit:cover}
.sc-row .tx{flex:1 1 200px;min-width:0}
@media (max-width:860px){.studio .left{position:static}}

/* ---------- Plan ---------- */
.cal{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.cal a,.cal button{text-decoration:none;color:inherit;aspect-ratio:1/1;min-height:44px;border-radius:12px;border:2px solid var(--line);background:var(--w);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0;font-weight:800}
.cal a small,.cal button small{font-size:10px;font-weight:700}
.cal a.full{background:var(--a);color:#fff;border-color:var(--a)}
.cal a.today{background:var(--y)}
.cal a.sel{border-color:var(--a);box-shadow:0 0 0 2px var(--a)}
.todo{display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 12px;border:1px solid var(--line);border-radius:14px;background:var(--w);text-align:left;width:100%}
.todo .box{flex:0 0 24px;width:24px;height:24px;border-radius:7px;border:2px solid var(--a);display:flex;align-items:center;justify-content:center}
.todo.done .box{background:var(--y)}
.todo.done .tt{text-decoration:line-through;color:var(--mut)}

/* ---------- Tabellen ---------- */
.table-wrap{background:var(--w);border:1px solid var(--line);border-radius:18px;overflow-x:auto}
table.t{width:100%;border-collapse:collapse;font-size:14px;min-width:680px}
table.t th{text-align:left;color:var(--mut);font-size:12px;font-weight:700;padding:12px 14px;white-space:nowrap}
table.t td{padding:12px 14px;border-top:1px solid #F0EEE7;vertical-align:middle}

/* ---------- Modal / Toast / Hilfe ---------- */
.modal{position:fixed;inset:0;z-index:100;background:rgba(24,35,42,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.modal .box{background:var(--w);border-radius:22px;padding:22px;width:min(520px,100%);max-height:90vh;overflow:auto;display:flex;flex-direction:column;gap:14px}
.news-item{display:flex;gap:12px}.news-item .tag{flex:0 0 auto;height:24px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:120;background:var(--a);color:#fff;padding:12px 18px;border-radius:14px;font-weight:600;font-size:14px;max-width:min(560px,92vw);box-shadow:0 10px 30px rgba(24,35,42,.25)}
.toast.err{background:var(--red)}
@media (max-width:860px){.toast{bottom:96px}}
.help-panel{position:fixed;top:0;right:0;bottom:0;z-index:90;width:min(400px,100%);background:var(--w);border-left:1px solid var(--line);padding:22px;overflow:auto;box-shadow:-10px 0 30px rgba(24,35,42,.12);display:flex;flex-direction:column;gap:12px}
.help-panel ol{padding-left:20px;margin:0;display:flex;flex-direction:column;gap:8px}

/* ---------- Auth ---------- */
body.auth{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:16px}
.auth-card{background:var(--w);border:1px solid var(--line);border-radius:24px;padding:30px;width:min(440px,100%);display:flex;flex-direction:column;gap:14px}
.auth-logo{height:30px;width:auto;margin-bottom:6px}
.checklist{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:4px;font-size:14px}
.checklist .ok{color:var(--green)} .checklist .bad{color:var(--red);font-weight:700}

/* ---------- Bio-Seite ---------- */
body.bio{background:var(--bg);display:flex;justify-content:center;padding:28px 16px}
.bio-card{width:min(460px,100%);display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.bio-card .pic{width:120px;height:120px;border-radius:99px;object-fit:cover;border:4px solid var(--y)}
.bio-card a.lnk{display:flex;align-items:center;justify-content:center;width:100%;min-height:58px;padding:12px 18px;border-radius:16px;background:var(--a);color:#fff;font-weight:800;text-decoration:none}
.bio-card a.lnk:first-of-type{background:var(--y);color:var(--a)}
.chart{display:flex;align-items:flex-end;gap:4px;height:120px;padding-top:10px}
.chart .c{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;height:100%;min-width:0}
.chart .c i{display:block;width:100%;background:var(--a);border-radius:4px 4px 0 0;min-height:2px}
.chart .c i.cl{background:var(--y);border:1px solid var(--y-line)}
.chart .c small{font-size:10px;color:var(--mut)}
.copy-box{background:var(--bg);border-radius:12px;padding:14px;font-size:14px;line-height:1.55;white-space:pre-wrap;word-break:break-word}
