/* Freigabe-Portal – UNS-CI (Brand-Assets/UNS-GmbH/BRANDGUIDE.md)
   Hellgrün #A9C946, Dunkelgrün #56B150, Grün für Schrift/Knöpfe #3d7f39,
   Text #3d3c3c, Linien #D1D1D1, Hintergrund Weiß. Schrift Karla, sonst Systemschrift. */
:root {
  --hellgruen: #a9c946;
  --dunkelgruen: #56b150;
  --gruen-text: #3d7f39;
  --text: #3d3c3c;
  --linie: #d1d1d1;
  --flaeche: #f6f8f1;
  --weiss: #ffffff;
  --fehler: #b3261e;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Karla, "Karla Variable", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--weiss);
}

a { color: var(--gruen-text); }

.kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: .75rem 1rem;
  border-bottom: 4px solid var(--hellgruen);
}

.marke {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.marke small { font-weight: 400; font-size: .85rem; }
.punkt {
  width: .8rem; height: .8rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--hellgruen), var(--dunkelgruen));
  align-self: center;
}

.konto { display: flex; align-items: center; gap: .75rem; }
.konto form { margin: 0; }

.inhalt { max-width: 960px; margin: 0 auto; padding: 1rem; }

.fuss {
  max-width: 960px; margin: 2rem auto 1rem; padding: 0 1rem;
  font-size: .85rem; color: #6b6a6a;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.25rem; margin-top: 2rem; }

.karte {
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 1rem 0;
  background: var(--weiss);
}
.karte.fehler { border-left: 6px solid var(--fehler); }

.beitrag { border-left: 6px solid var(--hellgruen); }

video, audio, img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 6px; background: #000; }
audio { background: transparent; }

.caption { white-space: pre-wrap; background: var(--flaeche); padding: .75rem; border-radius: 6px; }

.status {
  display: inline-block; padding: .1rem .6rem; border-radius: 999px;
  font-size: .85rem; font-weight: 700; background: var(--flaeche); border: 1px solid var(--linie);
}
.status.veroeffentlicht { background: var(--hellgruen); border-color: var(--dunkelgruen); }
.status.fehlgeschlagen { background: #fde8e6; border-color: var(--fehler); color: var(--fehler); }

.verlauf { list-style: none; padding: 0; margin: .5rem 0; }
.verlauf li { padding: .4rem 0; border-bottom: 1px solid var(--linie); }
.verlauf .wann { color: #6b6a6a; font-size: .85rem; }

form { margin: .75rem 0; }
label { display: block; font-weight: 700; margin-bottom: .25rem; }
input[type=text], input[type=email], input[type=password], input[type=datetime-local], textarea, select {
  width: 100%; padding: .6rem; font: inherit; color: inherit;
  border: 1px solid var(--linie); border-radius: 6px;
}
textarea { min-height: 5rem; }
input:focus, textarea:focus, select:focus, button:focus { outline: 3px solid var(--hellgruen); outline-offset: 1px; }

.knopf, button {
  display: inline-block; padding: .6rem 1rem; font: inherit; font-weight: 700;
  color: var(--weiss); background: var(--gruen-text);
  border: 0; border-radius: 6px; cursor: pointer; min-height: 44px;
}
.knopf.leise { background: transparent; color: var(--gruen-text); border: 1px solid var(--gruen-text); }
.knopf.warnung { background: var(--fehler); }

.meldung { padding: .75rem; border-radius: 6px; background: var(--flaeche); border-left: 4px solid var(--dunkelgruen); }
.meldung.fehler { border-left-color: var(--fehler); }

.liste { list-style: none; padding: 0; }
.liste li { padding: .75rem 0; border-bottom: 1px solid var(--linie); }

@media (min-width: 720px) {
  .zweispaltig { display: grid; grid-template-columns: 3fr 2fr; gap: 1rem; }
}
