/* =========================================================
   Seiten „Bericht anfragen“ und „Bericht ergänzen“
   Bewusst neutral (hell, ohne Kopfzeile), weil Besucher aus den
   Portal-Artikeln kommen. Formular wird von TemForms übernommen
   (data-tem-capture) – die Feldnamen müssen unverändert bleiben.
   ========================================================= */

body.page-bericht {
  --bg: #f4f5f6;
  --card: #ffffff;
  --line: #e3e6e9;
  --line-2: #d3d8dc;
  --text: #15191c;
  --text-2: #3f474e;
  --muted: #6b747c;
  --ink: #15191c;
  --accent: #2c9c63;
  background: var(--bg);
  color: var(--text);
}

.bericht { padding: 64px 0 72px; }
.bericht__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }

/* ---------- linke Spalte ---------- */
.bericht__copy { position: sticky; top: 40px; }
.bericht__logo { display: block; width: fit-content; margin-bottom: 40px; }
.bericht__logo img { height: 34px; width: auto; filter: brightness(0); opacity: .9; } /* Logo schwarz statt grün */
.page-bericht .kicker { display: block; color: var(--muted); font-size: 12px; letter-spacing: .14em; margin-bottom: 14px; }
.page-bericht .kicker::before { display: none; }
.bericht__copy h1 { font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 16px; color: var(--text); }
.bericht__lead { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 46ch; margin-bottom: 28px; }

.report { margin-bottom: 28px; padding: 16px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--ink); max-width: 460px; }
.report[hidden], .report [hidden] { display: none !important; }
.report__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.report__portal { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--text); }
.report__portal svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--muted); }
.report__title { margin-top: 4px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text); }
.report__id { margin-top: 4px; font-size: 13px; color: var(--muted); }
.report__id span { color: var(--text-2); font-weight: 600; }
.report__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.report__link svg { width: 14px; height: 14px; }

.bericht__list { display: grid; gap: 10px; }
.bericht__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.bericht__list li svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }

/* ---------- Formular-Karte ---------- */
.fcard { padding: 30px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .12); }

.ff { margin-bottom: 16px; }
.ff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.ff-grid .ff { margin-bottom: 0; }
.ff-label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.ff-label i { font-style: normal; font-weight: 400; color: var(--muted); }
.ff-input, .ff-textarea {
  display: block; width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #fff; color: var(--text); font: inherit; font-size: 15px; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.ff-input::placeholder, .ff-textarea::placeholder { color: #9aa2a9; }
.ff-input:hover, .ff-textarea:hover { border-color: #b9c0c6; }
.ff-input:focus, .ff-textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 25, 28, .1); }
.ff-textarea { min-height: 104px; resize: vertical; }
.ff-hint { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* Auswahl als Chips */
.ff-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbox { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.chipbox input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chipbox__box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #b9c0c6; background: #fff; display: grid; place-items: center; flex: 0 0 auto; transition: background .15s, border-color .15s; }
.chipbox__box svg { width: 11px; height: 11px; color: #fff; opacity: 0; transition: opacity .15s; }
.chipbox:hover { border-color: #b9c0c6; color: var(--text); }
.chipbox:has(input:checked) { border-color: var(--ink); background: #f4f5f6; color: var(--text); }
.chipbox input:checked + .chipbox__box { background: var(--ink); border-color: var(--ink); }
.chipbox input:checked + .chipbox__box svg { opacity: 1; }
.chipbox input:focus-visible + .chipbox__box { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Bild hochladen */
.drop { position: relative; display: block; border: 1.5px dashed #c6ccd1; border-radius: 12px; background: #fafbfb; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-over { border-color: var(--ink); background: #f4f5f6; }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 25, 28, .1); }
.drop__idle { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.drop__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; background: #eceff1; color: var(--text-2); }
.drop__ic svg { width: 19px; height: 19px; }
.drop__title { display: block; font-size: 14.5px; font-weight: 500; color: var(--text); }
.drop__title b { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.drop__hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.drop__file { display: flex; align-items: center; gap: 14px; padding: 10px 12px; }
.drop__file[hidden], .drop__idle[hidden] { display: none; }
.drop__thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: #eceff1; }
.drop__meta { flex: 1; min-width: 0; }
.drop__name { display: block; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop__size { display: block; font-size: 12.5px; color: var(--muted); }
.drop__remove { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.drop__remove:hover { color: var(--text); border-color: #b9c0c6; }
.drop__error { margin-top: 6px; font-size: 13px; color: #b42318; }

/* Datenschutz */
.ff-consent { position: relative; display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 6px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.ff-consent input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.ff-consent .chipbox__box { width: 19px; height: 19px; margin-top: 1px; }
.ff-consent input:checked + .chipbox__box { background: var(--ink); border-color: var(--ink); }
.ff-consent input:checked + .chipbox__box svg { opacity: 1; }
.ff-consent input:focus-visible + .chipbox__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.ff-consent input[aria-invalid="true"] + .chipbox__box { border-color: #b42318; }
.ff-privacy { display: inline-block; margin: 0 0 20px 30px; font-size: 13.5px; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.page-bericht .ff-submit { width: 100%; padding: 15px 24px; border-radius: 10px; font-size: 15.5px; background: var(--ink); color: #fff; box-shadow: none; }
.page-bericht .ff-submit:hover { background: #2b3237; transform: none; box-shadow: none; }
.ff-submit:disabled { opacity: .7; cursor: wait; }
.fcard__note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* Fehlermeldungen von TemForms */
.fcard [aria-invalid="true"] { border-color: #b42318 !important; }
.fcard .tem-capture-fail, .fcard [data-tem-fail] { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fef3f2; border: 1px solid #fecdca; color: #b42318; font-size: 14px; }

/* Danke */
.fdone { display: none; padding: 30px 12px 18px; text-align: center; }
.fdone__ic { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #e8f5ee; color: var(--accent); }
.fdone__ic svg { width: 28px; height: 28px; }
.fdone h2 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 6px; color: var(--text); }
.fdone p { color: var(--text-2); max-width: 36ch; margin: 0 auto; }

/* ---------- schlichte Fußzeile ---------- */
.bfoot { border-top: 1px solid var(--line); padding: 22px 0 28px; font-size: 13px; color: var(--muted); }
.bfoot .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.bfoot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.bfoot a, .bfoot button { color: var(--muted); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.bfoot a:hover, .bfoot button:hover { color: var(--text); }

/* ---------- Handy und Tablet ---------- */
@media (max-width: 960px) {
  .bericht { padding: 40px 0 56px; }
  .bericht__grid { grid-template-columns: 1fr; gap: 32px; }
  .bericht__copy { position: static; }
  .bericht__logo { margin-bottom: 28px; }
}
@media (max-width: 640px) {
  .bericht { padding: 28px 0 44px; }
  .bericht__logo img { height: 30px; }
  .bericht__lead { font-size: 16px; margin-bottom: 22px; }
  .report { margin-bottom: 22px; }
  .fcard { padding: 22px 18px; border-radius: 14px; }
  .ff-grid { grid-template-columns: 1fr; gap: 16px; }
  .drop__idle { padding: 12px 14px; }
}
