/* NEWSROOM · Redaktionsportal – Atelier-Gestaltung. Eigenständige Seite (kein Theme, kein wp-admin). */
:root {
	--ink: #111111; --ink-2: #333331; --muted: #6f6f6f; --soft: #9a9a96;
	--line: #ddddda; --line-strong: #c9c9c5; --line-soft: #ebebe8;
	--paper: #ffffff; --surface: #f7f7f6; --surface-2: #fafaf9; --page: #efefed;
	--ok: #2f6b4f; --ok-bg: #eef5f0; --warn: #8a6a1f; --warn-bg: #fbf6e8; --bad: #8a1f1f; --bad-bg: #fbf0ee;
	--sans: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
	--serif: Georgia, "Times New Roman", serif;
	--mono: ui-monospace, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.hnr-portal { background: var(--page); color: var(--ink); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink-2); }
code { font-family: var(--mono); font-size: 12px; background: var(--surface); padding: 2px 6px; border-radius: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ Bogen (Seite) */
.sheet { max-width: 1240px; margin: 28px auto 56px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.055); overflow: hidden; }
.topline { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 17px 30px 16px; border-bottom: 1px solid var(--ink); font-size: 10px; font-weight: 600; letter-spacing: 0.19em; line-height: 1.4; text-transform: uppercase; }
.topline a { text-decoration: none; }
.brand-block { display: inline-flex; align-items: baseline; gap: 14px; color: var(--ink); }
.brand { font-size: 10px; font-weight: 600; letter-spacing: 0.19em; }
.brand-sub { color: var(--muted); font-weight: 500; }
.userbar { display: flex; align-items: center; gap: 22px; color: var(--muted); flex-wrap: wrap; justify-content: flex-end; }
.userbar .who { color: var(--ink); }
.userbar a { color: var(--muted); }
.userbar a:hover { color: var(--ink); text-decoration: underline; }
.userbar .btn-out { color: var(--ink); border: 1px solid var(--line-strong); padding: 7px 12px; }
.userbar .btn-out:hover { background: var(--ink); color: #fff; text-decoration: none; }
.tag { border: 1px solid var(--line-strong); padding: 3px 8px; font-size: 9px; letter-spacing: 0.14em; color: var(--ink); }
.tag.master { background: var(--ink); color: #fff; border-color: var(--ink); }

.master-nav { display: flex; gap: 28px; padding: 0 clamp(24px, 5vw, 56px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.master-nav::-webkit-scrollbar { display: none; }
.master-nav a { white-space: nowrap; font-size: 12px; color: var(--muted); text-decoration: none; padding: 17px 0 15px; border-bottom: 2px solid transparent; letter-spacing: 0.01em; }
.master-nav a:hover { color: var(--ink); }
.master-nav a.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }

.hnr-main-area { padding: clamp(34px, 5vw, 56px) clamp(24px, 5vw, 56px) clamp(44px, 6vw, 72px); }
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 30px; border-top: 1px solid var(--line); font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }

/* ------------------------------------------------------------------ Typografie */
h1, h2, h3, h4 { color: var(--ink); font-family: var(--sans); margin: 0; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 0.19em; line-height: 1.5; text-transform: uppercase; }
.hnr-titlebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 0 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.hnr-titlebar h1, .login-panel h1 { max-width: 930px; font-size: clamp(30px, 4vw, 50px); font-weight: 300; line-height: 1.04; letter-spacing: -0.035em; }
.hnr-titlebar .hnr-inline { margin: 0; }
.hnr-titlebar-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
h2 { font-size: 26px; font-weight: 300; line-height: 1.2; letter-spacing: -0.025em; margin: 0 0 18px; }
h3 { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 16px; }
h4 { font-size: 13px; font-weight: 600; margin: 0 0 10px; }
p { margin: 0 0 14px; }
.muted, .hnr-muted { color: var(--muted); }
.hnr-small { font-size: 12px; line-height: 1.6; }
.hnr-help { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 8px 0 0; }
.hnr-intro { max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.72; margin: -8px 0 30px; }
.hnr-lead { max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.72; margin: 0 0 34px; }

/* ------------------------------------------------------------------ Karten und Flächen */
.panel, .hnr-card { background: var(--paper); border: 1px solid var(--line); padding: 26px 28px; margin: 0 0 20px; }
.hnr-card--surface { background: var(--surface-2); }
.hnr-card > :last-child { margin-bottom: 0; }
.hnr-card h2 { margin-bottom: 14px; }
.hnr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.hnr-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; }
.hnr-row > p { margin: 0; }
.hnr-empty { padding: 34px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 14px; line-height: 1.7; }
.hnr-divider { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }

/* ------------------------------------------------------------------ Formulare */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=date], select, textarea {
	display: block; width: 100%; margin: 0; padding: 15px 16px; min-height: 54px; color: var(--ink); background: var(--surface);
	border: 1px solid transparent; border-bottom-color: var(--line-strong); border-radius: 0; box-shadow: none;
	font-family: var(--sans); font-size: 14px; font-weight: 400; line-height: 1.55; transition: border-color 150ms ease, background 150ms ease;
}
select { padding-right: 38px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
input::placeholder, textarea::placeholder { color: var(--soft); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: none; }
textarea { resize: vertical; min-height: 110px; }
input[type=number] { max-width: 220px; }
input[type=file] { font: inherit; font-size: 13px; color: var(--ink); max-width: 100%; }
input[type=checkbox], input[type=radio] { width: 17px; height: 17px; margin: 0 10px 0 0; accent-color: var(--ink); vertical-align: -3px; }
.regular-text { width: 100%; max-width: 420px; } .large-text { width: 100%; } .code { font-family: var(--mono); font-size: 13px; }
input[size], .hnr-form input[size] { width: auto; min-width: 90px; }

.hnr-form label, .form label, .hnr-field label { display: block; color: var(--ink); font-size: 14px; }
.hnr-form label > strong, .form label > span, .hnr-field > label, .hnr-field > label > strong, .hnr-satz label > span, legend, label.hnr-label {
	display: block; margin: 0 0 10px; color: var(--ink); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase;
}
.hnr-form label > br { display: none; }
.hnr-form p { margin: 0 0 24px; }
.hnr-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; }
.hnr-field { min-width: 0; }
.hnr-field-wide { grid-column: 1 / -1; }
.form { display: grid; gap: 22px; }
.form label.check, .hnr-check, .hnr-form label.hnr-check, label.hnr-check { display: flex; align-items: flex-start; gap: 0; color: var(--ink-2); font-size: 13px; line-height: 1.55; text-transform: none; letter-spacing: 0; font-weight: 400; }
.hnr-check input { margin-top: 2px; flex-shrink: 0; }
fieldset { border: 0; padding: 0; margin: 0; }
.hnr-fieldset { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hnr-fieldset legend { padding: 0; margin-bottom: 14px; }
.hnr-fieldset > p, .hnr-fieldset .hnr-help { margin-bottom: 14px; }
.hnr-choice { display: grid; gap: 10px; }
.hnr-choice label { display: grid; grid-template-columns: 17px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); font-size: 13px; line-height: 1.55; cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 400; }
.hnr-choice label:hover { border-color: var(--line-strong); }
.hnr-choice input { margin: 2px 0 0; }
.hnr-choice strong { display: block; font-weight: 500; font-size: 14px; }
.hnr-choice span { color: var(--muted); }
.hnr-actions, .hnr-step-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 30px 0 0; }
.hnr-actions form, .hnr-step-actions form { margin: 0; }
.hnr-inline { display: inline-block; margin: 0; }

/* ------------------------------------------------------------------ Buttons */
.button, .page-title-action, .button-primary, .button-secondary {
	display: inline-flex; align-items: center; justify-content: center; appearance: none; min-height: 48px; padding: 0 22px; margin: 0;
	font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; line-height: 1.2; text-transform: uppercase; text-decoration: none;
	color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 0; cursor: pointer; white-space: nowrap;
	transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.button:hover, .page-title-action:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.button-primary { color: #fff; background: var(--ink); border-color: var(--ink); }
.button-primary:hover { color: #fff; background: #333; border-color: #333; }
.button-small { min-height: 36px; padding: 0 13px; font-size: 9px; letter-spacing: 0.13em; }
.button-large { min-height: 54px; padding: 0 28px; }
.button[disabled], .button-primary[disabled], button[disabled] { opacity: 0.45; cursor: default; }
.button-link { appearance: none; background: none; border: 0; border-bottom: 1px solid var(--line-strong); padding: 4px 0; margin: 0; color: var(--ink-2); cursor: pointer; font: inherit; font-size: 12px; line-height: 1.4; text-decoration: none; }
.button-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.hnr-danger, .button-link.hnr-danger { color: var(--bad) !important; border-bottom-color: transparent; }
.button-link.hnr-danger:hover { border-bottom-color: var(--bad); }
.hnr-wide { width: 100%; }
.hnr-back { display: inline-block; margin: 0 0 22px; font-size: 12px; color: var(--muted); text-decoration: none; }
.hnr-back:hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------------ Hinweise */
.notice { margin: 0 0 24px; padding: 16px 20px; background: var(--surface); border: 0; border-left: 2px solid var(--ink); color: var(--ink); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.notice p { margin: 0; }
.notice p + p { margin-top: 8px; }
.notice-success { border-left-color: var(--ok); }
.notice-error { background: #fff5f3; border-left-color: var(--bad); color: #712c22; }
.notice-warning { background: var(--warn-bg); border-left-color: var(--warn); color: #5d4712; }
.notice-info { background: var(--surface); border-left-color: var(--ink); }
.notice.inline { margin: 14px 0; }
.hnr-warn { color: var(--warn); }
.hnr-error { color: var(--bad); font-weight: 500; }

/* ------------------------------------------------------------------ Tabellen */
.widefat { width: 100%; border-collapse: collapse; background: transparent; border: 0; font-size: 14px; }
.widefat th { text-align: left; padding: 0 14px 12px 0; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); background: none; }
.widefat td { padding: 16px 14px 16px 0; vertical-align: top; border-bottom: 1px solid var(--line-soft); line-height: 1.55; }
.widefat td:last-child, .widefat th:last-child { padding-right: 0; }
.striped > tbody > tr:nth-child(odd) { background: none; }
.widefat tr:hover td { background: var(--surface-2); }
.row-title { font-weight: 500; font-size: 15px; color: var(--ink); text-decoration: none; }
.row-title:hover { text-decoration: underline; }
.widefat .hnr-inline select { min-height: 40px; padding: 8px 32px 8px 10px; font-size: 13px; width: auto; display: inline-block; background-position: right 10px center; }
.widefat .hnr-inline { display: inline-flex; gap: 8px; align-items: center; }

/* ------------------------------------------------------------------ Filter */
.subsubsub { list-style: none; margin: 0 0 22px; padding: 0 0 14px; display: flex; gap: 26px; flex-wrap: wrap; font-size: 0; border-bottom: 1px solid var(--line); }
.subsubsub li { font-size: 12px; }
.subsubsub a { display: inline-block; padding: 4px 0; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.subsubsub a:hover { color: var(--ink); }
.subsubsub a.current { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.clear { clear: both; }

/* ------------------------------------------------------------------ Status */
.hnr-chip { display: inline-block; padding: 3px 9px; border: 1px solid var(--line-strong); font-size: 9px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-2); background: #fff; line-height: 1.5; vertical-align: middle; white-space: nowrap; }
.hnr-chip.hnr-running { border-color: var(--ink); color: var(--ink); }
.hnr-chip.hnr-review { border-color: #d9c48a; background: var(--warn-bg); color: var(--warn); }
.hnr-chip.hnr-done { border-color: #b7d1c2; background: var(--ok-bg); color: var(--ok); }
.hnr-chip.hnr-failed { border-color: #d9a8a2; background: var(--bad-bg); color: var(--bad); }
.hnr-chip.hnr-cancelled { color: var(--muted); }
.hnr-chip.hnr-post-publish { background: var(--ink); color: #fff; border-color: var(--ink); }
.hnr-chip.hnr-post-pending { border-color: #d9c48a; background: var(--warn-bg); color: var(--warn); }
.hnr-chip.hnr-chip-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.spinner { display: inline-block; width: 14px; height: 14px; border: 1px solid var(--line-strong); border-top-color: var(--ink); border-radius: 50%; vertical-align: middle; }
.spinner.is-active { animation: hnr-spin 0.9s linear infinite; }
@keyframes hnr-spin { to { transform: rotate(360deg); } }
.hnr-thumb { max-width: 100%; height: auto; display: block; margin-bottom: 12px; }

/* ------------------------------------------------------------------ Editor */
.hnr-title-input { width: 100%; font-size: 28px !important; font-weight: 300; letter-spacing: -0.025em; line-height: 1.2; padding: 16px 18px !important; min-height: 66px; }
.hnr-editor .wp-editor-wrap { background: #fff; border: 1px solid var(--line-strong); }
.hnr-editor .wp-editor-tabs { padding: 6px 6px 0; }
.hnr-editor .wp-editor-area { width: 100%; border: 0; font-size: 15px; line-height: 1.7; background: #fff; min-height: 420px; }
.hnr-editor .quicktags-toolbar { background: var(--surface); border-bottom: 1px solid var(--line); padding: 6px; }
.hnr-editor .quicktags-toolbar input.ed_button { font: inherit; font-size: 11px; min-height: 30px; padding: 0 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 0; margin: 2px; }
.hnr-editor .quicktags-toolbar input.ed_button:hover { background: var(--ink); color: #fff; }
.hnr-editor .wp-switch-editor { font: inherit; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--line); border-bottom: 0; background: var(--surface); color: var(--muted); border-radius: 0; padding: 6px 12px; margin: 0 4px 0 0; }
.hnr-editor .html-active .switch-html, .hnr-editor .tmce-active .switch-tmce { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.hnr-editor .mce-toolbar-grp, .hnr-editor .mce-panel, .hnr-editor .mce-tinymce { border-color: var(--line) !important; background: #fff !important; border-radius: 0 !important; box-shadow: none !important; }
.hnr-editor .mce-toolbar-grp { background: var(--surface) !important; }
.hnr-editor .mce-btn { border-radius: 0 !important; }
.hnr-editor .wp-editor-container { border: 0 !important; }

/* ------------------------------------------------------------------ Anmeldung */
.hnr-public .sheet { max-width: 560px; margin-top: clamp(28px, 8vh, 96px); }
.hnr-public .topline { justify-content: center; }
.login-panel { padding: clamp(36px, 6vw, 60px) clamp(24px, 6vw, 56px) clamp(30px, 5vw, 44px); border: 0; margin: 0; }
.login-panel h1 { margin-bottom: 18px; font-size: clamp(30px, 5vw, 44px); }
.login-panel .muted { margin: 0 0 30px; font-size: 15px; line-height: 1.7; }
.login-panel .form .button-primary { justify-self: start; min-height: 54px; padding: 0 28px; margin-top: 4px; }
.login-links { font-size: 12px; margin: 28px 0 0; }
.login-links a { color: var(--muted); }
.login-links a:hover { color: var(--ink); }
.hnr-public .footer { justify-content: center; text-align: center; }

@media (max-width: 1100px) {
	.hnr-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.sheet { margin: 0; border-left: 0; border-right: 0; box-shadow: none; }
	.topline { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 20px; font-size: 9px; }
	.userbar { justify-content: flex-start; gap: 14px; }
	.master-nav { padding: 0 20px; gap: 20px; }
	.hnr-main-area { padding: 28px 20px 40px; }
	.hnr-titlebar { margin-bottom: 24px; padding-bottom: 20px; }
	.hnr-row, .hnr-fields { grid-template-columns: 1fr; }
	.hnr-field-wide { grid-column: auto; }
	.panel, .hnr-card { padding: 20px; }
	.widefat { display: block; overflow-x: auto; }
	.button, .page-title-action { white-space: normal; }
	.hnr-actions .button, .hnr-actions form, .hnr-actions .button-primary { width: 100%; }
	.hnr-actions form .button { width: 100%; }
	.footer { padding: 16px 20px; }
	input[type=text], input[type=email], input[type=password], input[type=number], select, textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	body.hnr-portal * { transition: none !important; animation: none !important; }
}

/* Kunst-&-Kultur-Ausgabe: Wortmarke mit Farbquadrat, Termin-Karte im Beitragseditor */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { display: inline-block; width: 8px; height: 8px; background: #b3261e; }
.hnr-termin-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hnr-termin-dates label { margin: 0; }
