/* Livebetrieb: Werkzeuge aus der Vorschau ausblenden */
.slot-ctl, #heroCtl { display: none !important; }
.slot:not(.has) { display: none !important; }
.f-msg.bad { color: var(--accent, #9E1B32); }

/* Inhalte aus dem Admin: Bilder, Logos, Jobs, Downloads */
.story-art > .cms-img, .refc-img > .cms-img, .ref-hero-img > .cms-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-art { position: relative; overflow: hidden; border-radius: inherit; }
.post-art > .cms-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ava { overflow: hidden; }
.ava > .ava-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person .ava:has(.ava-img) { border-style: solid; }
.ls-row .ls-logo { border: 0; padding: 0; opacity: 1; display: inline-flex; align-items: center; }
.ls-row .cms-logo { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.ls-row .cms-logo:hover { filter: none; opacity: 1; }
.ref.has-logo .cms-logo { height: 40px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; margin-bottom: 6px; }
.ref-logo { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; }
.ref-logo .cms-logo { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.post-hero { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 2/1; max-width: 100%; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.jobs .job { border-bottom: 1px solid var(--line); }
.jobs .job summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 0; cursor: pointer; list-style: none; color: var(--ink); }
.jobs .job summary::-webkit-details-marker { display: none; }
.jobs .job summary strong { font-family: var(--f-display); font-size: 1.15rem; }
.jobs .job summary::after { content: "+"; font-weight: 700; color: var(--accent); }
.jobs .job[open] summary::after { content: "–"; }
.jobs .job-b { padding: 0 0 22px; display: grid; gap: 12px; }
.dl-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.dl-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.dl-item:hover { border-color: var(--accent); transform: translateY(-1px); }
.dl-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft, rgba(158,27,50,.1)); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.dl-ico svg { width: 22px; height: 22px; }
.dl-t { display: grid; gap: 2px; min-width: 0; flex: 1; }
.dl-t .muted { font-size: .9rem; }
.dl-meta { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }

/* Bewerbungsformular */
form.f .f-err { color: var(--accent); font-size: .85rem; font-weight: 600; }
form.f [aria-invalid="true"] { border-color: var(--accent) !important; box-shadow: 0 0 0 1px var(--accent); }
.apply-files { display: grid; gap: 8px; }
.apply-lbl { font-size: .9rem; font-weight: 500; }
.apply-drop { border: 1.5px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); cursor: pointer; background: var(--bg); transition: border-color .2s, background .2s; }
.apply-drop:hover, .apply-drop:focus-visible, .apply-drop.over { border-color: var(--accent); color: var(--ink); outline: none; }
.apply-drop.full { opacity: .5; pointer-events: none; }
.apply-drop[aria-invalid="true"] { border-color: var(--accent); }
.apply-drop u { color: var(--accent); }
.apply-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.apply-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .92rem; min-width: 0; }
.apply-list li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.apply-list button { border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; flex-shrink: 0; }
.apply-ok { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.apply-ok input { width: auto !important; margin-top: 3px; }
.jobs a.job-link { align-items: center; }
.jobs a.job-link > span:first-child { display: grid; gap: 4px; min-width: 0; flex: 1 1 320px; }
.jobs a.job-link strong { font-family: var(--f-display); font-size: 1.15rem; }
.jobs a.job-link .job-sum { font-size: .95rem; }
.jobs a.job-link:hover strong { color: var(--accent); }
.ref-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
