/* Creative Factory · Design D „Minimal“: ruhige schwarze Sidebar, warmes Off-White, eingekastelte Elemente mit Haarlinien,
   Instrument Serif für Überschriften und Zahlen, Inter für alles andere, kajo-Gelb nur als feiner Marker. */
:root {
  --grund: #F6F6F3; --karte: #FFFFFF; --flaeche: #FAFAF8; --flaeche-2: #F2F2EE; --tinte: #111111; --tinte-2: #33332F;
  --muted: #6E6E6A; --leise: #9A9A95; --linie: #E2E2DD; --linie-2: #D9D9D4; --akzent: #E6FF02;
  --gut: #2F6B47; --warn: #8A4E17; --warn-grund: #FBF5EC; --bad: #A6362A;
  --rund: 6px; --rund-klein: 4px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink: var(--tinte); --line: var(--linie); --card: var(--karte); --paper: var(--grund);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--tinte); font: 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1 { font: 400 52px/1 var(--serif); letter-spacing: -0.01em; margin: 0 0 6px; }
h1 em, .logo em { font-style: italic; }
h2 { font: 400 24px/1.15 var(--serif); margin: 0 0 6px; }
h3, .label { font: 500 10px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.lead { color: var(--muted); max-width: 680px; margin: 0 0 24px; font-size: 15px; }
.muted { color: var(--muted); } .small { font-size: 12px; } .leise { color: var(--leise); }
code { background: var(--flaeche-2); padding: 1px 6px; border-radius: var(--rund-klein); font-size: 12px; }

/* ---------- Rahmen: Sidebar + Inhalt */
.app { display: flex; flex-wrap: wrap; min-height: 100vh; align-items: stretch; }
.side { flex: 0 0 228px; position: sticky; top: 0; height: 100vh; background: var(--tinte); color: #FFF; padding: 32px 0 26px; display: flex; flex-direction: column; gap: 44px; }
.marke { padding: 0 28px; text-decoration: none; color: #FFF; font: 400 25px/1 var(--serif); }
.marke.dunkel { color: var(--tinte); padding: 0; }
.side-gruppe { display: flex; flex-direction: column; }
.side-gruppe a { display: flex; align-items: center; justify-content: space-between; padding: 11px 28px; text-decoration: none; color: var(--leise); font-size: 14px; transition: color .15s; }
.side-gruppe a:hover { color: #FFF; }
.side-gruppe a.on { color: #FFF; font-weight: 500; box-shadow: inset 2px 0 0 var(--akzent); }
.side-gruppe .zahl { font-size: 12px; color: var(--muted); }
.side-gruppe a.on .zahl { color: var(--leise); }
.side-gruppe .zahl.alarm { color: var(--tinte); background: var(--akzent); border-radius: 3px; padding: 0 6px; font-weight: 600; }
.side-fuss { margin-top: auto; padding: 0 28px; display: flex; flex-direction: column; gap: 18px; }
.naechster { display: flex; flex-direction: column; gap: 5px; padding: 14px; border: 1px solid #2E2E2B; border-radius: var(--rund); text-decoration: none; color: #FFF; font-size: 13px; line-height: 1.4; transition: border-color .15s; }
.naechster:hover { border-color: #4A4A46; }
.naechster .label { color: #8A8A85; margin: 0; }
.naechster .leise { font-size: 12px; }
.profil { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; }
.profil form { margin: 0; }
.profil button.link { color: #8A8A85; font-size: 12px; text-decoration: none; }
.profil button.link:hover { color: #FFF; }
.inhalt { flex: 999 1 560px; min-width: 0; }
.inhalt main { padding: 40px 48px 64px; max-width: 1600px; }
.flash { margin: 20px 48px 0; padding: 12px 16px; border: 1px solid var(--tinte); border-radius: var(--rund); background: var(--karte); display: flex; align-items: center; gap: 12px; font-size: 14px; }
.flash::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tinte); box-shadow: 0 0 0 3px var(--akzent); flex: none; }
.einstieg { max-width: 640px; margin: 0 auto; padding: 36px 16px 60px; position: relative; }
.einstieg .aus { position: absolute; right: 16px; top: 40px; margin: 0; }
.einstieg main { margin-top: 9vh; }
.auth { max-width: 460px; } .auth.wide { max-width: 640px; }
.auth .card { margin-top: 20px; }

/* ---------- Grundbausteine */
.error { color: var(--bad); }
.note { background: var(--warn-grund); color: var(--warn); border-radius: var(--rund-klein); padding: 10px 14px; font-size: 13px; }
.warn { color: var(--warn); }
.busy { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.busy::before { content: ""; width: 13px; height: 13px; border: 1.5px solid var(--linie-2); border-top-color: var(--tinte); border-radius: 50%; animation: spin 0.8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.card { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 20px 22px; margin-bottom: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.row.top { align-items: flex-start; flex-wrap: nowrap; }
.row.wrapless { flex-wrap: wrap; align-items: center; }
.grow { flex: 1 1 220px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.head h1 { margin: 0; }
.kopf-aktionen { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.kopf-text { display: flex; flex-direction: column; gap: 10px; }
.kopf-text .label { margin: 0; }
.back { display: inline-flex; color: var(--muted); text-decoration: none; font-size: 13px; margin-bottom: 14px; }
.back:hover { color: var(--tinte); }
.spaced { margin-top: 32px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 12px; color: var(--tinte-2); }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: var(--tinte); }
.hint { font-weight: 400; color: var(--muted); font-size: 12px; }
input, select, textarea { font: 14px/1.4 var(--sans); color: var(--tinte); background: var(--karte); border: 1px solid var(--linie-2); border-radius: var(--rund); padding: 10px 12px; width: 100%; transition: border-color .15s; }
input:hover, select:hover, textarea:hover { border-color: #BDBDB8; }
input[type=file] { padding: 8px; }
input[type=checkbox], input[type=radio] { width: auto; margin-top: 3px; accent-color: var(--tinte); }
input[type=color] { padding: 3px; height: 42px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--tinte); outline-offset: 0; border-color: var(--tinte); }
button, .button { font: 500 14px/1 var(--sans); border: 1px solid var(--linie-2); background: var(--karte); color: var(--tinte); padding: 0 18px; height: 42px; border-radius: var(--rund); cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s, border-color .15s; white-space: nowrap; }
button:hover, .button:hover { border-color: var(--tinte); }
button.primary, .button.primary { background: var(--tinte); color: #FFF; border-color: var(--tinte); }
button.primary:hover, .button.primary:hover { background: #2A2A27; }
button.akzent, .button.akzent { background: var(--akzent); color: var(--tinte); border-color: var(--akzent); }
button:disabled { opacity: 0.4; cursor: not-allowed; }
button.small, .button.small { height: 32px; padding: 0 12px; font-size: 12px; border-radius: var(--rund-klein); }
button.link { border: 0; background: none; padding: 0; height: auto; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-weight: 400; }
button.link:hover { color: var(--tinte); }
button.link.danger, .link.danger { color: var(--bad); }
.link { color: var(--muted); }
.punkt::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--tinte); box-shadow: 0 0 0 2px var(--akzent); margin-right: 8px; vertical-align: middle; }
details summary { cursor: pointer; font-weight: 500; }
details[open] summary { margin-bottom: 14px; }
.badge, .tag, .chip { font-size: 11px; font-weight: 400; padding: 2px 7px; border: 1px solid var(--linie); border-radius: var(--rund-klein); color: var(--tinte-2); white-space: nowrap; background: var(--karte); }
.chip.dunkel { background: var(--tinte); color: #FFF; border-color: var(--tinte); }
.chip.hinweis { background: var(--warn-grund); color: var(--warn); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.col-side { position: sticky; top: 24px; }
.col-main { min-width: 0; }

/* ---------- Dashboard */
.hinweis-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--tinte); border-radius: var(--rund); background: var(--karte); text-decoration: none; margin-bottom: 20px; }
.hinweis-leiste::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tinte); box-shadow: 0 0 0 3px var(--akzent); flex: none; }
.hinweis-leiste span { flex: 1 1 300px; }
.hinweis-leiste strong { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 16px 18px; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); text-decoration: none; transition: border-color .15s; }
.stat:hover { border-color: var(--tinte); }
.stat b { font: 400 42px/1 var(--serif); }
.stat span { font-size: 12px; color: var(--muted); }
.stat.alert { border-color: var(--tinte); }
.stat.alert span::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--tinte); box-shadow: 0 0 0 2px var(--akzent); vertical-align: middle; }
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.dash-seite { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.kalender { margin: 0; padding: 22px 22px 18px; }
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.cal-head h2 { flex: 1; font-size: 28px; margin: 0; }
.quadrat { width: 34px; height: 34px; padding: 0; }
.quadrat svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.dow { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 0 4px 2px; }
.day { min-height: 96px; background: var(--flaeche); border-radius: var(--rund-klein); padding: 6px; display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow: hidden; }
.day.other { color: #C2C2BD; }
.day.today { background: var(--grund); outline: 1px solid var(--tinte); }
.dn { font-size: 12px; padding: 2px 3px; }
.day.today .dn { align-self: flex-start; width: 22px; height: 22px; padding: 0; border-radius: 50%; background: var(--tinte); color: #FFF; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--akzent); }
.cal-post { display: flex; flex-direction: column; gap: 3px; padding: 5px; border-radius: var(--rund-klein); text-decoration: none; border: 1px dashed var(--leise); color: var(--tinte); min-width: 0; }
.cal-post img { width: 100%; height: 44px; object-fit: cover; display: block; border-radius: 3px; }
.cal-post .zeit { font-size: 10px; color: var(--muted); }
.cal-post .titel { font-size: 11px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal-post.s-geplant, .cal-post.s-gepostet { background: var(--tinte); color: #FFF; border: 1px solid var(--tinte); }
.cal-post.s-geplant .zeit, .cal-post.s-gepostet .zeit { color: #B5B5B0; }
.cal-post.s-gepostet { opacity: 0.55; }
.cal-post.s-zur-abnahme, .cal-post.s-wartet-auf-input { background: var(--karte); border: 1px solid var(--tinte); }
.cal-post.s-zur-abnahme { box-shadow: inset 3px 0 0 var(--akzent); }
.cal-post.s-in-arbeit, .cal-post.s-freigegeben { background: var(--flaeche-2); border: 1px solid var(--linie-2); }
.legende { display: flex; flex-wrap: wrap; gap: 18px; font-size: 11px; color: var(--muted); margin-top: 14px; }
.legende span { display: flex; align-items: center; gap: 6px; }
.legende i { width: 10px; height: 10px; border-radius: 2px; border: 1px dashed var(--leise); }
.legende i.geplant { background: var(--tinte); border: 1px solid var(--tinte); }
.legende i.abnahme { background: var(--akzent); border: 1px solid var(--tinte); }
.legende i.arbeit { background: var(--flaeche-2); border: 1px solid var(--linie-2); }
.abnahme-karte { border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); overflow: hidden; }
.abnahme-karte > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.abnahme-text { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.abnahme-text .label { margin: 0; }
.abnahme-text strong { font: 400 24px/1.15 var(--serif); }
.abnahme-text .knoepfe { display: flex; gap: 8px; margin-top: 4px; }
.abnahme-text .knoepfe .primary { flex: 1; }
.liste-titel { margin: 0 0 8px; }
.kachel-liste { display: flex; flex-direction: column; gap: 8px; }
.line { display: grid; grid-template-columns: 44px 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); text-decoration: none; transition: border-color .15s; }
.line:hover { border-color: var(--tinte); }
.date { text-align: center; font: 400 22px/1 var(--serif); }
.date span { display: block; font: 400 10px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.line img, .line .ohne-bild { width: 40px; height: 50px; object-fit: cover; border-radius: 3px; }
.line .ohne-bild { border: 1px dashed #C9C9C4; }
.line .grow { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; line-height: 1.35; }
.line .grow .small { font-size: 11px; }
.leer-hinweis { border: 1px dashed #C9C9C4; border-radius: var(--rund); padding: 18px 14px; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* ---------- Chat (eingekastelt, hell) */
.card.chat { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.chat h2 { display: flex; align-items: center; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--linie); font: 500 10px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinte); }
.chat h2::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tinte); box-shadow: 0 0 0 2px var(--akzent); margin-right: 10px; flex: none; }
.chat .messages { display: flex; flex-direction: column; gap: 10px; max-height: 56vh; overflow-y: auto; margin: 0; }
.chat .messages > .muted { margin: 0; line-height: 1.6; }
.msg { padding: 10px 12px; border-radius: var(--rund); white-space: pre-wrap; font-size: 13px; line-height: 1.55; max-width: 92%; }
.msg.du { background: var(--tinte); color: #FFF; align-self: flex-end; max-width: 88%; }
.msg.claude { background: var(--flaeche); border: 1px solid var(--linie); color: var(--tinte-2); align-self: flex-start; }
.chatform { display: flex; flex-direction: column; gap: 8px; }
.chat textarea { min-height: 76px; }
.chat .attach { height: 32px; font-size: 12px; }
.msg-bilder { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.msg-bilder img { width: 64px; height: 80px; object-fit: cover; border-radius: 3px; }
.anhang { display: flex; flex-wrap: wrap; gap: 6px; }
.anhang img { width: 52px; height: 65px; object-fit: cover; border-radius: 3px; }
.attach { cursor: pointer; }
.mini-chat .messages { max-height: 240px; }

/* ---------- Planen */
.ideas { padding: 14px 18px; }
.ideas summary { font-size: 13px; }
.werkzeuge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); margin-bottom: 16px; }
.werkzeuge .filter-knopf { height: 34px; padding: 0 12px; font-size: 13px; border-color: transparent; color: #55554F; background: transparent; }
.werkzeuge .filter-knopf.on { border-color: var(--tinte); background: var(--grund); color: var(--tinte); }
.werkzeuge .suche { margin-left: auto; flex: 0 1 240px; display: flex; flex-direction: row; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--linie-2); border-radius: var(--rund); }
.werkzeuge .suche svg { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; flex: none; }
.werkzeuge .suche input { border: 0; padding: 0; height: 32px; background: transparent; outline: none; }
.board { display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.col h3 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); color: var(--tinte); }
.col h3::before { content: ""; width: 9px; height: 9px; border-radius: 2px; border: 1px dashed var(--muted); }
.col.s-arbeit h3::before { border: 1px solid var(--muted); background: #DCDCD6; }
.col.s-abnahme h3::before { border: 1px solid var(--tinte); background: var(--akzent); }
.col.s-geplant h3::before { border: 1px solid var(--tinte); background: var(--tinte); }
.col h3 .anzahl { margin-left: auto; font: 400 20px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--tinte); }
.ticket { border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.ticket:hover { border-color: #BDBDB8; }
.ticket[hidden] { display: none; }
.ticket-bild { display: block; }
.ticket-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ticket-platzhalter { aspect-ratio: 4 / 3; background: var(--flaeche-2); padding: 14px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.ticket-platzhalter .label { margin: 0; }
.ticket-platzhalter strong { font: 400 20px/1.1 var(--serif); }
.ticket-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ticket-body a.titel { font-size: 13px; line-height: 1.4; font-weight: 500; text-decoration: none; }
.ticket-body .chip.hinweis { font-size: 11px; line-height: 1.45; padding: 6px 8px; white-space: normal; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ticket-actions form { margin: 0; }
.ticket-actions form:first-child { flex: 1; }
.ticket-actions form:first-child button, .ticket-actions > .button { width: 100%; }
.planen .col-side .card.chat { min-height: 520px; }
.planen .col-side .messages { flex: 1; }

/* ---------- Post */
.status-word { font: 500 11px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; padding: 6px 10px; border: 1px solid var(--tinte); border-radius: var(--rund-klein); margin-left: 10px; font-style: normal; }
.slides { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 12px; scroll-snap-type: x mandatory; }
.slides a { flex: 0 0 auto; scroll-snap-align: start; }
.slides img { height: 320px; aspect-ratio: 4 / 5; border-radius: var(--rund-klein); display: block; }
.slide-edit { border: 1px solid var(--linie); border-radius: var(--rund); padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--flaeche); }
.slide-edit .nr { font: 400 20px/1 var(--serif); width: 26px; }
.slide-edit select.art { width: auto; }
.sticky-actions { position: sticky; bottom: 12px; z-index: 3; padding: 10px; border: 1px solid var(--linie); border-radius: var(--rund); background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); align-items: center; }
.thumb { width: 160px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund-klein); }
.thumb.faded { opacity: 0.5; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; margin: 8px 0; }
.pick-item { padding: 0; height: auto; border: 1px solid transparent; border-radius: var(--rund-klein); overflow: hidden; background: none; }
.pick-item.on { border: 2px solid var(--tinte); }
.pick-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.reel { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 14px; }
.reel video { width: 270px; aspect-ratio: 9 / 16; background: #000; border-radius: var(--rund); flex: 0 0 auto; }
.transcript { font-size: 14px; line-height: 1.7; }
.transcript .cut { text-decoration: line-through; color: var(--bad); opacity: 0.6; }
.einblendungen { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.einblendungen img { width: 90px; aspect-ratio: 9 / 16; border-radius: var(--rund-klein); border: 1px solid var(--linie); }

/* ---------- Input */
.split2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 12px; }
.teleprompter { font: 22px/1.5 var(--sans); background: var(--tinte); color: #FFF; border-radius: var(--rund); padding: 22px 24px; white-space: pre-wrap; max-height: 420px; overflow-y: auto; }
.pre { white-space: pre-wrap; margin: 0; }

/* ---------- Auftreten */
.muster { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
.muster img { width: 100%; border-radius: var(--rund-klein); border: 1px solid var(--linie); display: block; }
.colors { display: flex; flex-direction: column; gap: 8px; }
.color-row { display: grid; grid-template-columns: 56px 1fr 150px auto; gap: 8px; align-items: center; }
.color-row.new { grid-template-columns: 56px 1fr; }
.files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.logo-prev { max-width: 160px; max-height: 80px; object-fit: contain; background: repeating-conic-gradient(#EEE 0 25%, #FFF 0 50%) 0 0 / 16px 16px; border-radius: var(--rund-klein); padding: 6px; }
.vorbilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 10px; }
.vorbilder figure { margin: 0; }
.vorbilder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund-klein); display: block; }
.setup .steps { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.setup .steps li { font-size: 12px; padding: 6px 12px; border: 1px solid var(--linie); border-radius: var(--rund-klein); background: var(--karte); color: var(--muted); }
.setup .steps li.on { background: var(--tinte); color: #FFF; border-color: var(--tinte); }

/* ---------- Mediathek */
.mediathek { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.m-side { position: sticky; top: 24px; }
.m-title { font: 400 36px/1 var(--serif); margin: 0 0 18px; }
.m-nav { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--tinte); padding-top: 8px; }
.m-nav a { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: var(--rund-klein); text-decoration: none; color: var(--tinte); font-size: 14px; }
.m-nav a span { color: var(--muted); font-size: 12px; }
.m-nav a:hover { background: var(--karte); }
.m-nav a.on { background: var(--karte); box-shadow: inset 2px 0 0 var(--tinte); font-weight: 500; }
.m-sub { display: flex; flex-direction: column; gap: 1px; margin: 2px 0 6px 12px; padding-left: 8px; border-left: 1px solid var(--linie); }
.m-sub a { font-size: 13px; padding: 6px 10px; color: var(--muted); }
.m-sub a.on { color: var(--tinte); }
.m-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.m-head h2 { font-size: 32px; margin: 0; }
.drop { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 1px dashed #BDBDB8; border-radius: var(--rund); padding: 26px 24px; margin-bottom: 20px; background: var(--karte); transition: background .15s, border-color .15s; }
.drop.ueber { background: #FDFFE6; border-color: var(--tinte); }
.drop.fehlt { border-color: #C0392B; background: #FDF1EF; }
.drop.fehlt .drop-text strong { color: #C0392B; }
.drop-text { display: flex; flex-direction: column; gap: 4px; }
.drop-text strong { font: 400 22px/1.15 var(--serif); }
.drop-art { display: flex; gap: 16px; flex-wrap: wrap; }
.drop-art label { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; white-space: nowrap; font-weight: 400; font-size: 13px; }
.drop.klein { padding: 16px; margin: 0; flex-direction: column; align-items: flex-start; background: var(--flaeche); }
.drop-vorschau { display: flex; gap: 8px; }
.drop-vorschau img { width: 64px; height: 80px; object-fit: cover; border-radius: 3px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.medium { margin: 0; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.medium:hover { border-color: #BDBDB8; }
.medium img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--flaeche-2); }
.medium.sheet img { object-fit: contain; background: #B8B8B6; }
.medium figcaption { display: flex; align-items: center; gap: 6px; padding: 10px 12px 2px; }
.medium-actions { display: flex; gap: 12px; padding: 4px 12px 12px; flex-wrap: wrap; font-size: 12px; }
.medium-actions form { margin: 0; }
.medium.platzhalter .leer { aspect-ratio: 4 / 5; background: var(--flaeche-2); }
.personen { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.person { margin: 0; }
.person .sheet { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rund-klein); display: block; margin: 0 0 12px; background: #BDBDBD; }
.sheet-wartet { display: flex; align-items: center; justify-content: center; min-height: 200px; }
.person.neu { border-style: dashed; }
.neu-bild { max-width: 820px; }
.section-title { margin: 28px 0 10px; font-size: 24px; }

/* ---------- Arbeitet im Hintergrund */
.arbeitet { position: relative; overflow: hidden; }
.arbeitet > :not(.arbeitet-overlay) { filter: blur(6px) grayscale(.4); opacity: .5; pointer-events: none; transition: filter .3s, opacity .3s; }
.arbeitet-overlay { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: linear-gradient(110deg, rgba(246,246,243,.3) 20%, rgba(255,255,255,.75) 40%, rgba(246,246,243,.3) 60%); background-size: 250% 100%; animation: ao-glanz 2.4s linear infinite; }
.ao { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 16px 22px; border-radius: var(--rund); max-width: 92%; background: var(--tinte); color: #FFF; }
.ao strong { font: 400 22px/1.1 var(--serif); }
.ao-text { font-size: 12px; color: #B5B5B0; }
.ao-text:empty { display: none; }
.ao-punkte { display: flex; gap: 6px; margin-bottom: 2px; }
.ao-punkte i { width: 6px; height: 6px; border-radius: 50%; background: var(--akzent); animation: ao-punkt 1.2s ease-in-out infinite; }
.ao-punkte i:nth-child(2) { animation-delay: .15s; } .ao-punkte i:nth-child(3) { animation-delay: .3s; }
@keyframes ao-glanz { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes ao-punkt { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
.muster-karte.arbeitet { min-height: 320px; }
.ticket.arbeitet { min-height: 160px; }
.ticket.arbeitet .ao { padding: 10px 12px; } .ticket.arbeitet .ao strong { font-size: 17px; }

/* ---------- Schmale Bildschirme */
@media (max-width: 1240px) {
  .dash { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inhalt main { padding: 32px 28px 56px; }
  .flash { margin: 16px 28px 0; }
}
@media (max-width: 900px) {
  .side { flex: 1 1 100%; position: static; height: auto; padding: 18px 0 8px; gap: 12px; }
  .side-gruppe { flex-direction: row; overflow-x: auto; }
  .side-gruppe a { padding: 10px 16px; white-space: nowrap; }
  .side-gruppe a.on { box-shadow: inset 0 -2px 0 var(--akzent); }
  .side-fuss { display: none; }
  .marke { padding: 0 16px; }
  .inhalt main { padding: 24px 16px 48px; }
  .flash { margin: 12px 16px 0; }
  h1 { font-size: 40px; }
  .split, .split2, .files, .mediathek { grid-template-columns: 1fr; }
  .col-side, .m-side { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day { min-height: 60px; }
  .cal-post .titel, .cal-post img { display: none; }
  .slides img { height: 240px; }
  .row.top { flex-wrap: wrap; }
  .color-row { grid-template-columns: 48px 1fr; }
  .reel { flex-direction: column; } .reel video { width: 100%; max-width: 360px; }
}

/* @-Erwähnungen im Bild-Prompt */
.erwaehnen { position: relative; }
.erwaehnen textarea { width: 100%; }
.erwaehnen-menue { position: absolute; left: 0; top: 100%; margin-top: 4px; z-index: 20; min-width: 220px; background: var(--karte, #fff); border: 1px solid #DADAD5; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 4px; display: flex; flex-direction: column; }
.erwaehnen-menue[hidden] { display: none; }
.erwaehnen-menue button { display: flex; align-items: center; gap: 10px; background: none; border: 0; border-radius: 6px; padding: 6px 8px; text-align: left; font: inherit; color: inherit; cursor: pointer; height: auto; }
.erwaehnen-menue button.on, .erwaehnen-menue button:hover { background: #F0F0EB; }
.erwaehnen-menue img, .erwaehnen-chips img, .erwaehnen .ohne { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; }
.erwaehnen .ohne { display: inline-flex; align-items: center; justify-content: center; background: #E6E6E0; font-size: 12px; font-weight: 600; }
.erwaehnen-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.erwaehnen-chips:empty { display: none; }
.erwaehnen-chips .chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 2px; border-radius: 999px; background: #F0F0EB; font-size: 13px; }
.erwaehnen-chips .chip img, .erwaehnen-chips .chip .ohne { width: 22px; height: 22px; }
.erwaehnen-chips .chip.zuviel { opacity: .45; text-decoration: line-through; }
.erwaehnen-chips .warn { color: #C0392B; }

/* ---------- Post-Detail: je Slide Bild links, Texte rechts */
.post-detail { max-width: 1180px; }
.bereich { margin-bottom: 28px; position: relative; }
.bereich-kopf { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; }
.bereich-kopf h2 { margin: 0; }
.eckdaten { padding: 16px 20px; }
.caption-zeile { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 18px; }
.slide-bild { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.slide-bild > a, .slide-bild > img { display: block; width: 100%; }
.slide-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund-klein); display: block; border: 1px solid var(--linie); }
.slide-bild .layout-auf { width: 100%; }
.slide-leer { width: 100%; aspect-ratio: 4 / 5; border: 1px dashed var(--linie-2); border-radius: var(--rund-klein); background: var(--flaeche); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 400 22px/1.1 var(--serif); color: var(--muted); }
.slide-felder { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.slide-kopf { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--linie); }
.slide-kopf .nr { width: auto; font: 500 10px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.slide-kopf select.art { width: auto; padding: 6px 10px; }
.slide-kopf label.check { align-items: center; }
#slides + #addslide { margin-top: 12px; }
.slide-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.slide-karte { margin: 0; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.slide-oeffnen { display: block; height: auto; padding: 0; border: 0; border-radius: var(--rund-klein); overflow: hidden; background: none; cursor: pointer; position: relative; }
.slide-oeffnen img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .2s; }
.slide-oeffnen:hover img { transform: scale(1.02); }
.slide-oeffnen:not(:disabled):hover::after { content: "Bearbeiten"; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: var(--tinte); color: #FFF; font-size: 12px; padding: 6px 12px; border-radius: 999px; }
.slide-karte figcaption { display: flex; align-items: center; gap: 8px; padding: 0 2px 2px; }
.slide-karte .nr { font: 500 10px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.slide-karte .grow { flex: 1; }
.slide-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.slide-karten .slide-edit { background: var(--karte); }
.umbauen { margin-top: 16px; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); padding: 12px 16px; }
.umbauen > summary { font-size: 13px; }
.umbauen[open] .slide-karten .slide-edit { background: var(--flaeche); }
.reiter { display: flex; gap: 0; border-bottom: 1px solid var(--linie); }
.reiter button { border: 0; border-radius: 0; background: none; height: 38px; padding: 0 16px; color: var(--muted); box-shadow: inset 0 -2px 0 transparent; }
.reiter button.on { color: var(--tinte); box-shadow: inset 0 -2px 0 var(--tinte); }
.zaehler { text-align: right; }
.zaehler.zuviel { color: var(--bad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.foto-block > summary { display: flex; align-items: center; gap: 12px; list-style: none; }
.foto-block > summary::-webkit-details-marker { display: none; }
.foto-block > summary::after { content: "▾"; color: var(--muted); }
.foto-block[open] > summary::after { content: "▴"; }
.foto-block .mini { width: 36px; height: 45px; object-fit: cover; border-radius: 3px; }
.foto-block .mini.faded { opacity: .5; }
.chat-auf .zahl { font-size: 11px; background: var(--akzent); border-radius: 3px; padding: 1px 5px; }
.chat-schublade { position: fixed; top: var(--admin-h, 0px); right: 0; bottom: 0; width: min(420px, 100vw); z-index: 40; background: var(--grund); border-left: 1px solid var(--linie); box-shadow: -12px 0 40px rgba(0,0,0,.08); padding: 18px; display: flex; flex-direction: column; }
.chat-schublade[hidden] { display: none; }
.chat-schublade .card.chat { flex: 1; min-height: 0; }
.chat-schublade .chat .messages { flex: 1; max-height: none; }
.chat-schublade .schliessen { position: absolute; top: 22px; right: 26px; height: 28px; width: 28px; padding: 0; border: 0; background: none; font-size: 22px; color: var(--muted); z-index: 1; }
@media (max-width: 900px) {
  .caption-zeile { grid-template-columns: 1fr; }
  .slide-bild { max-width: 320px; }
}

/* ---------- Layout-Editor */
.le { position: fixed; inset: 0; z-index: 50; background: rgba(17,17,17,.55); display: flex; align-items: stretch; justify-content: center; padding: 24px; }
.le[hidden] { display: none; }
.le-fenster { background: var(--grund); border-radius: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto minmax(0, 1fr); width: min(1240px, 100%); overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.le-kopf { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--linie); background: var(--karte); }
.le-kopf h2 { margin: 0 auto 0 0; font-size: 22px; }
.le-buehne { position: relative; display: flex; align-items: center; justify-content: center; padding: 20px; min-height: 0; overflow: hidden; background: var(--flaeche-2); }
.le-flaeche { position: relative; aspect-ratio: 4 / 5; height: 100%; max-width: 100%; user-select: none; touch-action: none; }
.le-flaeche > img { width: 100%; height: 100%; display: block; box-shadow: 0 2px 18px rgba(0,0,0,.12); }
.le-box { position: absolute; outline: 1px dashed rgba(17,17,17,.0); cursor: move; }
.le-flaeche:hover .le-box { outline-color: rgba(17,17,17,.35); }
.le-box:hover { outline: 1px solid rgba(17,17,17,.6) !important; }
.le-box.aktiv { outline: 2px solid #2D6BFF !important; background: rgba(45,107,255,.05); }
.le-box .griff { display: none; position: absolute; width: 14px; height: 14px; background: #FFF; border: 2px solid #2D6BFF; border-radius: 3px; }
.le-box.aktiv .griff { display: block; }
.le-box .griff.r { right: -8px; top: calc(50% - 7px); cursor: ew-resize; }
.le-box .griff.l { left: -8px; top: calc(50% - 7px); cursor: ew-resize; }
.le-box .griff.ru { right: -8px; bottom: -8px; cursor: nwse-resize; }
.le-box .typ { display: none; position: absolute; left: -2px; top: -22px; background: #2D6BFF; color: #FFF; font-size: 11px; padding: 2px 6px; border-radius: 3px 3px 0 0; white-space: nowrap; }
.le-box.aktiv .typ { display: block; }
.le-linie { position: absolute; background: #FF2D87; pointer-events: none; z-index: 5; }
.le-linie.v { width: 1px; top: 0; bottom: 0; }
.le-linie.h { height: 1px; left: 0; right: 0; }
.le-seite { border-left: 1px solid var(--linie); background: var(--karte); padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.le-seite .leer { color: var(--muted); font-size: 13px; line-height: 1.6; }
.le-seite .gruppe { display: flex; flex-direction: column; gap: 8px; }
.le-seite .knoepfe { display: flex; gap: 6px; }
.le-seite .knoepfe button { flex: 1; height: 32px; padding: 0 8px; font-size: 12px; }
.le-seite .knoepfe button.on { background: var(--tinte); color: #FFF; border-color: var(--tinte); }
.le-seite input[type=range] { padding: 0; accent-color: var(--tinte); }
.le-seite .wert { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; }
.le-seite .zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.le-seite .zahlen input { padding: 6px 8px; }
.le-tipp { font-size: 12px; color: var(--muted); line-height: 1.6; border-top: 1px solid var(--linie); padding-top: 12px; margin-top: auto; }
.le-status { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .le { padding: 0; }
  .le-fenster { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; border-radius: 0; }
  .le-seite { border-left: 0; border-top: 1px solid var(--linie); max-height: 40vh; }
}
.le-inline { position: absolute; z-index: 10; background: var(--karte); border: 2px solid #2D6BFF; border-radius: 8px; box-shadow: 0 12px 36px rgba(0,0,0,.22); padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.le-inline textarea { font-size: 15px; padding: 8px 10px; resize: none; }
.le-inline-fuss { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* Layout-Editor: Bild tauschen */
.le-bild-feld { display: flex; flex-direction: column; gap: 8px; }
.le-bild-feld[hidden] { display: none; }
.le-bild-feld .pick { max-height: 260px; overflow-y: auto; margin: 0; }
.le-bild-feld textarea { font-size: 13px; }

/* ---------- Connectors */
.connectors { max-width: 920px; }
.connector { display: flex; flex-direction: column; gap: 18px; }
.connector-kopf { display: flex; align-items: center; gap: 14px; }
.connector-kopf h2 { margin: 0; }
.connector-logo { width: 44px; height: 44px; border-radius: 10px; background: var(--tinte); color: #FFF; display: inline-flex; align-items: center; justify-content: center; font: 400 26px/1 var(--serif); flex: none; }
.status-punkt { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.status-punkt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--linie-2); }
.status-punkt.an { color: var(--gut); }
.status-punkt.an::before { background: var(--gut); box-shadow: 0 0 0 3px #E3F0E8; }
.connector-wege { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; border-top: 1px solid var(--linie); }
.connector-wege .button.primary { align-self: flex-start; }
.schluessel-weg { display: flex; flex-direction: column; gap: 10px; }
.schluessel-weg[open] > summary { margin-bottom: 4px; }
.schritte { margin: 0 0 12px; padding-left: 18px; color: var(--tinte-2); line-height: 1.8; }
.connector-konto { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.kanaele { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.kanal { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); cursor: pointer; font-weight: 400; transition: border-color .15s, background .15s; }
.kanal:hover { border-color: #BDBDB8; }
.kanal:has(input:checked) { border-color: var(--tinte); background: var(--flaeche); }
.kanal input { margin: 0; }
.kanal img, .kanal-initial { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.kanal-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--flaeche-2); font-weight: 600; color: var(--tinte-2); }
.kanal-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.kanal-text strong { font-size: 14px; color: var(--tinte); }
.kanal.aus { opacity: .6; cursor: default; }
.le-seite [data-hg] { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Video-Layout (Reel, Talking Head): Video links, Inhalt in Reitern rechts */
.video-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 18px; margin-bottom: 28px; }
.video-spalte { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(16px + var(--admin-h, 0px)); max-height: calc(100vh - 32px - var(--admin-h, 0px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.video-spalte video { width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: var(--rund-klein); display: block; }
.video-leer { width: 100%; aspect-ratio: 9 / 16; border: 1px dashed var(--linie-2); border-radius: var(--rund-klein); background: var(--flaeche); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; }
.video-leer > span:first-child { font: 400 24px/1.1 var(--serif); color: var(--muted); }
.aufnahme { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--linie); }
.aufnahme button { align-self: flex-start; }
.video-inhalt { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.slide-karten.einspaltig { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .video-layout { grid-template-columns: 1fr; }
  .video-spalte { position: static; max-width: 340px; max-height: none; overflow: visible; }
}
.einblendungen.alt img { aspect-ratio: 4 / 5; width: 110px; }

/* ---------- Planen: proaktive Redaktion */
.redaktion > summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; list-style: none; }
.redaktion > summary::-webkit-details-marker { display: none; }
.redaktion > summary::after { content: "▾"; color: var(--muted); margin-left: auto; }
.redaktion[open] > summary::after { content: "▴"; }

/* ---------- Post: Kanäle und Platzierung */
.kanal-wahl { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 8px; }
.kanal-zeile { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--linie); border-radius: var(--rund); }
.kanal-zeile img, .kanal-zeile .kanal-initial { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.kanal-zeile .platz { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.platz-knopf { flex-direction: row; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--linie-2); border-radius: 999px; font-weight: 400; font-size: 12px; cursor: pointer; }
.platz-knopf input { margin: 0; }
.platz-knopf:has(input:checked) { background: var(--tinte); color: #FFF; border-color: var(--tinte); }


/* ---------- Dashboard: 7 Tage, nächste Ideen, Redaktion daneben */
.dash2 { display: block; max-width: 1180px; }
.dash-haupt { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.dash-chat { position: sticky; top: 24px; }
.dash-chat .card.chat { min-height: 560px; }
.dash-chat .chat .messages { flex: 1; max-height: 52vh; }
.bereich-zeile { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bereich-zeile h2 { margin: 0; }
.woche { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.wtag { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 8px; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--flaeche); min-height: 170px; }
.wtag.heute { border-color: var(--tinte); background: var(--karte); }
.wtag-kopf { display: flex; align-items: baseline; justify-content: space-between; }
.wtag-kopf .label { margin: 0; }
.wtag-zahl { font: 400 22px/1 var(--serif); }
.wtag-frei { margin-top: auto; font-size: 11px; color: var(--leise); }
.wpost { display: flex; flex-direction: column; gap: 3px; text-decoration: none; min-width: 0; padding-left: 6px; border-left: 2px solid var(--linie-2); }
.wpost img, .wpost-leer { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.wpost-leer { display: flex; align-items: center; justify-content: center; background: var(--flaeche-2); font-size: 10px; color: var(--muted); }
.wpost-titel { font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wpost-meta { font-size: 10px; color: var(--muted); }
.wpost.s-geplant { border-left-color: var(--gut); }
.wpost.s-zur-abnahme { border-left-color: var(--akzent); }
.wpost.s-idee { border-left-color: var(--linie-2); opacity: .85; }
.ideen-liste { display: flex; flex-direction: column; }
.idee-zeile { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linie); min-width: 0; }
.idee-zeile:last-child { border-bottom: 0; }
.idee-zeile a { text-decoration: none; }
.idee-zeile a:hover { text-decoration: underline; }
.schnellfragen { display: flex; flex-wrap: wrap; gap: 6px; }
.schnellfragen button { border-radius: 999px; font-weight: 400; }
@media (max-width: 1100px) {
  .dash2 { grid-template-columns: 1fr; }
  .dash-chat { position: static; }
  .woche { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .woche { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Planen: Ansichten (Kalender, Tabelle, Board) */
.ansicht-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--linie); margin-bottom: 16px; }
.ansicht-tabs a { padding: 10px 18px; text-decoration: none; color: var(--muted); font-weight: 500; box-shadow: inset 0 -2px 0 transparent; }
.ansicht-tabs a:hover { color: var(--tinte); }
.ansicht-tabs a.on { color: var(--tinte); box-shadow: inset 0 -2px 0 var(--tinte); }
.tabelle-karte { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 13px; }
.tabelle th { text-align: left; font: 500 10px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--linie); white-space: nowrap; }
.tabelle th[data-sort] { cursor: pointer; }
.tabelle th[data-sort]:hover { color: var(--tinte); }
.tabelle th[data-richtung="auf"]::after { content: " ↑"; }
.tabelle th[data-richtung="ab"]::after { content: " ↓"; }
.tabelle td { padding: 10px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle tbody tr:hover { background: var(--flaeche); }
.tabelle td a { text-decoration: none; font-weight: 500; }
.tabelle td a:hover { text-decoration: underline; }
.tabelle .nowrap { white-space: nowrap; }
.tabelle .aktionen { text-align: right; white-space: nowrap; }
.tabelle-karte > .small { display: inline-block; margin-top: 12px; }
.status-chip { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--linie-2); white-space: nowrap; }
.status-chip.s-geplant { border-color: var(--gut); color: var(--gut); }
.status-chip.s-zur-abnahme { background: var(--akzent); color: var(--tinte); border-color: var(--akzent); font-weight: 600; }
.status-chip.s-wartet-auf-input { background: var(--warn-grund); color: var(--warn); border-color: transparent; }
.status-chip.s-gepostet { color: var(--muted); }
.cal .day.rhythmus { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--flaeche-2) 6px 7px); }
.legende i.frei { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--linie-2) 3px 4px); }

/* ---------- Chat auf allen Seiten: Symbol unten rechts, Seitenfenster mit dem passenden Chat */
.voll { display: block; }
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 39; width: 56px; height: 56px; padding: 0; border-radius: 50%; background: var(--tinte); border-color: var(--tinte); color: #FFF; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.chat-fab:hover { background: #2A2A27; }
.chat-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.chat-fab::after { content: ""; position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--akzent); border: 2px solid var(--tinte); }
.chat-fab.offen { display: none; }
.chat-schublade .chat-wo { font-size: 11px; color: var(--muted); padding: 0 4px 8px; letter-spacing: .02em; }
.chat-schublade .chat-wo::before { content: "Du bist hier: "; color: var(--leise); }
.chat-schublade .schnellfragen { margin-top: -2px; }
.sticky-actions { padding-right: 90px; }

/* ---------- Seitenleiste: Planen mit Unterpunkten */
.side-gruppe a.unterpunkt-kopf { pointer-events: none; color: var(--leise); }
.side-gruppe a.unterpunkt-kopf.on { color: #FFF; font-weight: 500; box-shadow: none; }
.side-gruppe a.unterpunkt { padding-left: 44px; font-size: 13px; }

/* ---------- Ideenwerkstatt */
.ideen-werkzeug { display: flex; flex-direction: column; gap: 12px; }
.ideen-werkzeug .richtung summary { color: var(--muted); }
.anzahl-klein { font-size: 11px; color: var(--leise); margin-left: 4px; }
.ideen-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.idee-karte { display: flex; flex-direction: column; gap: 8px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 16px 18px; }
.idee-karte:has(input:checked) { border-color: var(--tinte); box-shadow: 0 0 0 1px var(--tinte); }
.idee-kopf { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.idee-kopf input { margin: 0 4px 0 0; width: 16px; height: 16px; }
.idee-titel { font: 400 24px/1.15 var(--serif); letter-spacing: 0; text-transform: none; color: var(--tinte); margin: 2px 0 0; }
.idee-hook { margin: 0; font-size: 14px; }
.idee-karte p { margin: 0; }
.entwurf summary { color: var(--muted); }
.entwurf-slides { margin: 6px 0; padding-left: 18px; color: var(--tinte-2); }
.idee-aktionen { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--linie); }
.idee-aktionen .link { margin-left: auto; }
.auswahl-leiste { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding: 10px 14px; padding-right: 90px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border: 1px solid var(--tinte); border-radius: var(--rund); }
.hinweis-leiste.klein { padding: 10px 14px; font-size: 13px; }

/* ---------- Trendradar */
.idee-karte.genutzt { opacity: .7; }
.idee-karte .quellen { display: flex; flex-direction: column; gap: 2px; }
.idee-karte .quellen a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.swipe-bild { width: 100%; max-height: 220px; object-fit: cover; object-position: top; border-radius: var(--rund-klein); border: 1px solid var(--linie); }
.hinweis-leiste.warn { color: var(--warn); background: var(--warn-grund); }

/* ---------- Leitlinien */
.leitlinien { display: flex; flex-direction: column; gap: 16px; }
.leitlinien .card { display: flex; flex-direction: column; gap: 8px; }
.leitlinien .card h2 { margin: 0; }
.leitlinien .card p { margin: 0; }
.leitlinien textarea { width: 100%; }
.entwurf-leiste { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.leitlinien .saeulen, .leitlinien .vorbilder { display: flex; flex-direction: column; gap: 6px; }
.saeule-zeile { display: grid; grid-template-columns: minmax(160px, 1.2fr) 90px minmax(200px, 2.5fr) 90px; gap: 8px; align-items: center; }
.saeule-zeile.kopf { padding: 0 2px; }
.saeule-zeile .prozent { display: flex; align-items: center; gap: 4px; margin: 0; }
.saeule-zeile .prozent input { width: 64px; }
.saeule-zeile .warn { color: var(--warn); }
.vorbild-zeile { display: grid; grid-template-columns: minmax(160px, 1fr) 130px minmax(200px, 2.5fr); gap: 8px; }
.leitlinien-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.speicher-leiste { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 14px; padding-right: 90px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border: 1px solid var(--linie); border-radius: var(--rund); }
@media (max-width: 760px) {
  .saeule-zeile, .vorbild-zeile { grid-template-columns: 1fr 90px; }
  .saeule-zeile.kopf { display: none; }
  .saeule-zeile > :nth-child(3), .vorbild-zeile > :nth-child(3) { grid-column: 1 / -1; }
}
.vorbild-zeile.leer { display: none; }
.leitlinien .saeule-zeile label.prozent { flex-direction: row; font-size: 13px; color: var(--muted); }
.leitlinien .saeule-zeile label.prozent input { width: 64px; flex: none; }

/* ---------- Ideen: Status-Filter unter den Reitern */
.status-pillen { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; }
.status-pillen a { font-size: 12px; padding: 4px 12px; border: 1px solid var(--linie); border-radius: 999px; color: var(--tinte-2); text-decoration: none; background: var(--karte); }
.status-pillen a.on { background: var(--tinte); border-color: var(--tinte); color: #FFF; }
.status-pillen a.on .anzahl-klein { color: rgba(255,255,255,.7); }
.kopf-aktionen { gap: 8px; }

/* ---------- Einstellungen und Nutzerverwaltung */
.profil-link { color: #8A8A85; font-size: 12px; text-decoration: none; }
.profil-link:hover, .profil-link.on { color: #FFF; }
.admin-leiste { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 8px 16px; background: var(--warn-grund); color: var(--tinte); border-bottom: 1px solid var(--warn); font-size: 13px; }
.admin-leiste form { margin: 0; }
.einstellungen { display: flex; flex-direction: column; gap: 16px; }
.einstellungen .card { display: flex; flex-direction: column; gap: 10px; }
.einstellungen .card h2, .einstellungen .card p { margin: 0; }
.nutzer-tabelle td, .nutzer-tabelle th { vertical-align: middle; }
.nutzer-tabelle .aktionen { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nutzer-tabelle .aktionen form { margin: 0; display: flex; gap: 6px; }
.nutzer-tabelle tr.gesperrt td:not(:last-child) { opacity: .5; }
.nutzer-tabelle details summary { cursor: pointer; font-size: 12px; color: var(--muted); }
.nutzer-tabelle details form { margin-top: 6px; }
.nutzer-tabelle details input { width: 180px; }

/* ---------- Fotos für ein Reel */
.reel-fotos-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; align-items: start; }
.reel-fotos-raster > button { grid-column: 1 / -1; justify-self: start; }
.reel-foto { position: relative; display: block; margin: 0; cursor: pointer; }
.reel-foto img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--rund-klein); display: block; border: 2px solid transparent; }
.reel-foto input { position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; margin: 0; }
.reel-foto input:checked + span, .reel-foto:has(input:checked) img { border-color: var(--tinte); }
.reel-foto span { position: absolute; bottom: 4px; left: 4px; font-size: 10px; background: rgba(0,0,0,.6); color: #FFF; padding: 1px 5px; border-radius: 3px; }
.aus-mediathek summary { color: var(--muted); cursor: pointer; }
.aus-mediathek .reel-foto img { aspect-ratio: 1; }
.reel-fotos-raster.gross { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.reel-fotos-raster.gross .reel-foto span { right: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-fotos .aus-mediathek .reel-fotos-raster { margin: 8px 0; }

/* ---------- Planen: offene Punkte, Ansicht-Leiste mit Filter und Redaktion */
.offen-leiste { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 18px; }
.offen-kachel { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund);
  text-decoration: none; color: var(--tinte); --punkt: var(--tinte); }
.offen-kachel:hover { border-color: var(--tinte); }
.offen-kachel.s-zur-abnahme { --punkt: var(--akzent); }
.offen-kachel.s-idee { --punkt: #8A8A85; }
.offen-kachel.s-wartet-auf-input { --punkt: var(--warn); }
.offen-punkt { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--punkt); flex: none; box-shadow: 0 0 0 1px rgba(17,17,17,.25); }
.offen-kachel.s-zur-abnahme .offen-punkt::after, .offen-kachel.s-wartet-auf-input .offen-punkt::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--punkt); animation: offen-puls 1.8s ease-out infinite; }
@keyframes offen-puls { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .offen-punkt::after { animation: none !important; } }
.offen-zahl { font: 400 34px/1 var(--serif); }
.offen-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.offen-text .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offen-kachel svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; flex: none; }
.ansicht-leiste { display: flex; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--linie); margin-bottom: 16px; }
.ansicht-leiste .ansicht-tabs { border-bottom: 0; margin-bottom: 0; flex: 1; }
.leisten-knoepfe { display: flex; gap: 8px; padding-bottom: 8px; }
.aufklapp { position: relative; }
.aufklapp > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.aufklapp > summary::-webkit-details-marker { display: none; }
.aufklapp > summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.aufklapp[open] > summary, .aufklapp.aktiv > summary { border-color: var(--tinte); }
.filter-zahl { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--tinte); color: #FFF; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.aufklapp-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(440px, 90vw); display: flex; flex-direction: column; gap: 10px;
  padding: 16px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.redaktion-panel { width: min(520px, 92vw); }
.filter-reihe { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-panel .filter-knopf { height: 30px; padding: 0 10px; font-size: 13px; border-color: var(--linie); background: transparent; color: #55554F; }
.filter-panel .filter-knopf.on { border-color: var(--tinte); background: var(--grund); color: var(--tinte); }
.filter-panel .suche { display: flex; flex-direction: row; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--linie-2); border-radius: var(--rund); }
.filter-panel .suche svg { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 1.8; flex: none; }
.filter-panel .suche input { border: 0; padding: 0; height: 34px; background: transparent; outline: none; }
.filter-panel [data-filter-weg] { align-self: flex-start; }
.redaktion > summary .status-punkt { gap: 0; }
@media (max-width: 760px) { .nur-breit { display: none; } }
.status-word.s-zur-abnahme { background: var(--akzent); border-color: var(--akzent); }

/* ---------- Layout-Editor: Farben und neue Elemente */
.le-farben { display: flex; flex-wrap: wrap; gap: 6px; }
.le-farbe { width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.le-farbe.on { box-shadow: 0 0 0 2px var(--karte), 0 0 0 4px var(--tinte); }
.le-farbe.leer { background: repeating-conic-gradient(#DDD 0 25%, #FFF 0 50%) 50% / 10px 10px; }
.le-neu { flex-wrap: wrap; }

/* ---------- Fertige Inhalte */
.fertig-leiste { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bereich-kopf .fertig-hoch { margin-left: auto; }
.planen .kopf-aktionen { display: flex; gap: 8px; align-items: flex-start; }
.planen .kopf-aktionen .aufklapp-panel { width: min(420px, 92vw); }

/* ---------- Einstellungen: Claude Desktop */
.mcp-neu { padding: 14px; border: 1px solid var(--tinte); border-radius: var(--rund); background: var(--flaeche); }
.mcp-neu ol { margin: 0; padding-left: 18px; }
.mcp-konfig { font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; width: 100%; }

/* ---------- Post: Instagram-Vorschau */
.post-ansicht { margin-top: 8px; }
.post-ansicht button { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; height: auto; padding: 10px 14px; font-size: 14px; color: var(--muted); }
.post-ansicht button.on { color: var(--tinte); border-bottom-color: var(--tinte); }
.ig-buehne { display: flex; gap: 40px; align-items: flex-start; justify-content: center; padding: 28px 16px 40px; background: var(--flaeche-2); border-radius: var(--rund); margin-bottom: 24px; flex-wrap: wrap; }
.ig-telefon { --ig: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  position: relative; width: 380px; max-width: 100%; background: #FFF; color: #000; font: 14px/1.35 var(--ig); border-radius: 28px;
  box-shadow: 0 0 0 10px #111, 0 30px 60px rgba(0,0,0,.25); overflow: hidden; }
.ig-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.ig-zeile { display: flex; align-items: center; gap: 10px; }
.ig-zeile strong { font-weight: 600; font-size: 14px; }
.ig-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: #EEE; font-weight: 600; box-shadow: 0 0 0 2px #FFF, 0 0 0 4px #E1306C; }
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ig-avatar.logo img { object-fit: contain; padding: 4px; background: #FFF; }
.ig-kopf { padding: 12px 14px; }
.ig-karussell { position: relative; background: #000; }
.ig-spur { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ig-spur::-webkit-scrollbar { display: none; }
.ig-spur img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; display: block; }
.ig-zaehler { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.65); color: #FFF; font-size: 12px; padding: 3px 9px; border-radius: 12px; }
.ig-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.85); color: #222; font-size: 22px; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.ig-pfeil.links { left: 10px; } .ig-pfeil.rechts { right: 10px; }
.ig-aktionen { display: flex; align-items: center; gap: 14px; padding: 10px 14px 4px; position: relative; }
.ig-punkte { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.ig-punkte i { width: 6px; height: 6px; border-radius: 50%; background: #C8C8C8; }
.ig-punkte i.on { background: #0095F6; }
.ig-text { padding: 4px 14px 16px; }
.ig-caption { margin: 0; white-space: normal; word-wrap: break-word; }
.ig-caption.kurz { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ig-caption.leise { color: #8E8E8E; }
.ig-tag { color: #00376B; }
.ig-mehr { border: 0; background: none; padding: 0; height: auto; color: #737373; font: inherit; cursor: pointer; }
.ig-datum { display: block; margin-top: 6px; font-size: 11px; color: #737373; text-transform: uppercase; letter-spacing: .02em; }
.ig-leer { aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 30px; text-align: center; color: #999; background: #F4F4F2; }
/* Reel und Story: Hochformat, Text auf dem Video */
.ig-telefon.reel, .ig-telefon.story { aspect-ratio: 9 / 16; background: #000; color: #FFF; }
.ig-telefon .ig-medium { position: absolute; inset: 0; }
.ig-telefon .ig-medium video, .ig-telefon .ig-medium img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-telefon.reel .ig-leer, .ig-telefon.story .ig-leer { aspect-ratio: auto; height: 100%; background: #1A1A1A; color: #AAA; }
.ig-reel-kopf { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px; font-size: 18px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.ig-ton { border: 0; background: rgba(0,0,0,.35); color: #FFF; width: 32px; height: 32px; padding: 0; border-radius: 50%; }
.ig-ton.an { background: rgba(255,255,255,.3); }
.ig-ton .ig-icon { width: 18px; height: 18px; }
.ig-reel-seite { position: absolute; right: 10px; bottom: 90px; display: flex; flex-direction: column; gap: 18px; align-items: center; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.ig-reel-seite span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ig-reel-seite small { font-size: 10px; }
.ig-reel-seite .ig-icon { width: 27px; height: 27px; }
.ig-reel-unten { position: absolute; left: 0; right: 56px; bottom: 0; padding: 60px 14px 18px; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); display: flex; flex-direction: column; gap: 8px; }
.ig-reel-unten .ig-caption.kurz { -webkit-line-clamp: 1; }
.ig-reel-unten .ig-tag { color: #FFF; font-weight: 600; }
.ig-reel-unten .ig-mehr { color: #DDD; align-self: flex-start; }
.ig-folgen { border: 1px solid rgba(255,255,255,.8); border-radius: 8px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.ig-audio { font-size: 12px; opacity: .9; }
.ig-story-oben { position: absolute; top: 0; left: 0; right: 0; padding: 10px 12px; background: linear-gradient(to bottom, rgba(0,0,0,.35), transparent); }
.ig-balken { height: 2px; background: rgba(255,255,255,.35); border-radius: 2px; margin-bottom: 10px; overflow: hidden; }
.ig-balken span { display: block; height: 100%; width: 40%; background: #FFF; animation: ig-balken 8s linear infinite; }
@keyframes ig-balken { from { width: 0; } to { width: 100%; } }
.ig-story-oben .leise { color: rgba(255,255,255,.75); font-size: 13px; }
.ig-story-unten { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 14px; }
.ig-antwort { flex: 1; border: 1px solid rgba(255,255,255,.7); border-radius: 22px; padding: 9px 14px; font-size: 14px; color: rgba(255,255,255,.85); }
.ig-info { width: 300px; max-width: 100%; display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.ig-info-titel { font: 400 26px/1.15 var(--serif); }
.ig-info-knoepfe { margin: 8px 0; }
.ig-info .warn { color: var(--warn); }
@media (prefers-reduced-motion: reduce) { .ig-balken span { animation: none; } }

/* ---------- Content Hub: Blog, Newsletter, Connectors */
.connector-wege.drei { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 12px; }
.connector-wege.drei form { padding: 14px; border: 1px solid var(--linie); border-radius: var(--rund); }
.familie { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 12px; }
.familie .label { margin: 0 6px 0 0; }
.familie-post { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--linie); border-radius: 999px; background: var(--karte); text-decoration: none; font-size: 13px; }
.familie-post:hover { border-color: var(--tinte); }
.hub-buehne { display: flex; gap: 40px; align-items: flex-start; justify-content: center; padding: 28px 16px 40px; background: var(--flaeche-2); border-radius: var(--rund); margin-bottom: 24px; flex-wrap: wrap; }
.blog-artikel { width: 680px; max-width: 100%; background: #FFF; color: #1A1A1A; padding: 40px 48px 48px; border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.08);
  font: 17px/1.7 markeText, Georgia, serif; }
.blog-bild { width: calc(100% + 96px); max-width: none; margin: -40px -48px 28px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px 6px 0 0; display: block; }
.blog-meta { font: 12px/1.4 var(--sans); color: #888; text-transform: uppercase; letter-spacing: .08em; }
.blog-titel { font: 400 40px/1.12 markeTitel, var(--serif); margin: 10px 0 14px; color: #111; }
.blog-teaser { font-size: 19px; color: #444; margin: 0 0 24px; }
.blog-text h2 { font: 400 26px/1.25 markeTitel, var(--serif); margin: 34px 0 10px; }
.blog-text h3 { font: 600 19px/1.3 markeText, var(--sans); margin: 26px 0 8px; }
.blog-text p, .blog-text ul, .blog-text ol { margin: 0 0 16px; }
.blog-text a { color: inherit; }
.blog-text blockquote { margin: 20px 0; padding-left: 16px; border-left: 3px solid var(--akzent); color: #444; }
.blog-eingabe { font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.seo-vorschau { display: flex; flex-direction: column; gap: 2px; padding: 12px; background: #FFF; border: 1px solid var(--linie); border-radius: var(--rund); font-family: Arial, sans-serif; }
.seo-url { font-size: 12px; color: #4D5156; } .seo-titel { font-size: 17px; color: #1A0DAB; } .seo-text { font-size: 13px; color: #4D5156; }
.mail-fenster { width: 660px; max-width: 100%; background: #FFF; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.1); overflow: hidden; }
.mail-kopf { display: flex; flex-direction: column; gap: 3px; padding: 16px 20px; border-bottom: 1px solid #EEE; font-family: -apple-system, Helvetica, Arial, sans-serif; color: #222; }
.mail-betreff { font-size: 17px; font-weight: 600; } .mail-vorschau, .mail-von { font-size: 13px; color: #666; }
.mail-inhalt { width: 100%; height: 900px; border: 0; display: block; }
.themen-liste { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Design & Layout */
.typ-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.typ-karte { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.typ-karte:hover { border-color: var(--tinte); }
.typ-karte h2 { margin: 0; }
.typ-vorschau { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; min-height: 60px; align-items: start; }
.typ-vorschau img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund-klein); border: 1px solid var(--linie); }
.typ-vorschau.video { display: flex; flex-wrap: wrap; gap: 6px; }
.typ-knopf { align-self: flex-start; }
.abschnitt-titel { margin: 28px 0 0; }
.vorlagen-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.vorlage { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.vorlage .slide-oeffnen { padding: 0; border: 1px solid var(--linie); border-radius: var(--rund-klein); background: none; height: auto; overflow: hidden; }
.vorlage .slide-oeffnen:hover { border-color: var(--tinte); }
.vorlage .slide-oeffnen img { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.vorlage figcaption { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.aufklapp-panel.klein { width: 220px; }
.aufklapp-panel.klein form { margin: 0; }
.typ-vorschau > span { grid-column: 1 / -1; }
.typ-vorschau.hoch img, .vorlagen-raster.hoch img { aspect-ratio: 9 / 16; }
.vorlagen-raster.hoch { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.vorlagen-raster.hoch .vorlage img { width: 100%; object-fit: cover; border-radius: var(--rund-klein); border: 1px solid var(--linie); display: block; }
.video-vorlagen { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.video-vorlagen .vorlagen-raster { flex: 1; min-width: 260px; }
.beispiel { margin: 0; width: 200px; flex: none; }
.beispiel video { width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: var(--rund-klein); display: block; }

/* ---------- Design für Newsletter */
.nl-vorlagen { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.nl-vorlage { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.nl-vorlage .nl-rahmen { position: relative; display: block; height: 400px; overflow: hidden; border-radius: var(--rund-klein); background: #FFF; border: 1px solid var(--linie); }
.nl-vorlage.on .nl-rahmen { border-color: var(--tinte); box-shadow: 0 0 0 1px var(--tinte); }
.nl-vorlage .nl-rahmen:hover { border-color: var(--tinte); }
.nl-vorlage iframe { position: absolute; top: 0; left: 0; width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
.nl-vorlage figcaption { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.chip.gelb { background: var(--akzent); border-color: transparent; color: #111; }
.nl-editor .titel-feld { font: inherit; border: 0; border-bottom: 1px dashed transparent; background: none; padding: 0; width: 100%; color: inherit; }
.nl-editor .titel-feld:hover, .nl-editor .titel-feld:focus { border-bottom-color: var(--linie); outline: none; }
.nl-buehne { height: calc(100vh - 260px); min-height: 520px; max-width: 760px; border-radius: var(--rund); overflow: hidden; border: 1px solid var(--linie); background: #FFF; }
.nl-buehne iframe { width: 100%; height: 100%; border: 0; }
.nl-html { margin-top: 18px; max-width: 760px; }
.nl-html summary { cursor: pointer; padding: 6px 0; }
.nl-html textarea { font: 12px/1.5 ui-monospace, Menlo, monospace; white-space: pre; }
.farb-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.farb-chip { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.typ-vorschau.nl { display: block; } .typ-vorschau.nl { position: relative; height: 150px; overflow: hidden; border-radius: var(--rund-klein); }
.typ-vorschau.nl iframe { position: absolute; top: 0; left: 0; width: 250%; height: 250%; border: 0; transform: scale(.4); transform-origin: 0 0; pointer-events: none; background: #FFF; }
