/* Radio Lichtblick – Hörer-Reporter (reporter.html). Farben, Schriften, Kopf, Fuß, Karten und Eingabefelder kommen aus
   radio.css und seite.css (Erscheinungsbild: ci/Radio-Lichtblick-CI.md); hier steht nur, was die Reporter-Seite zusätzlich
   braucht. Gebaut zuerst fürs Handy: große Knöpfe, mit einem Daumen bedienbar, auch im Dunkeln gut lesbar. */

.reporter {
  width: 100%; max-width: 620px; margin: 0 auto; flex: 1;
  padding: clamp(18px, 4vw, 36px) clamp(16px, 4vw, 28px) 8px;
}
.reporter h1 {
  font-family: var(--kopf); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance;
  font-size: clamp(30px, 7vw, 42px); margin-bottom: 14px; overflow-wrap: anywhere;
}
.reporter h1:focus { outline: none; }
.reporter h2 { font-family: var(--kopf); font-weight: 700; font-size: 19px; letter-spacing: -.005em; margin: 0 0 10px; }
.ansicht { display: grid; gap: 16px; align-content: start; }
.ansicht > .vorzeile, .ansicht > h1 { margin-bottom: 0; }
.ansicht > .vorzeile { margin-top: 6px; }
.rep-text { font-size: 17px; line-height: 1.6; color: var(--wolkenweiss); }
.rep-text.klein { font-size: 15px; color: var(--nebel); }

/* „Nicht während der Fahrt bedienen.“ – steht immer ganz oben */
.rep-warnung {
  display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(16px, 4vw, 26px); padding: 12px 16px; border-radius: 18px;
  border: 1.5px solid var(--morgenrot); background: rgba(255, 107, 74, .13); color: var(--wolkenweiss);
  font-size: 15px; line-height: 1.4;
}
.rep-warnung svg { width: 30px; height: 30px; flex: none; color: var(--morgenrot); }
.rep-warnung strong { display: block; font-family: var(--kopf); font-weight: 700; font-size: 18px; letter-spacing: -.005em; }

/* Karten und Listen */
.rep-karte { padding: 18px 20px; }
.rep-karte p { font-size: 16px; line-height: 1.6; }
.rep-karte .klein { font-size: 13.5px; margin-top: 10px; }
.rep-wege { display: grid; gap: 10px; }
.rep-wege li { padding: 14px 18px; border-radius: 18px; background: var(--flaeche); border: 1px solid var(--rand); }
.rep-wege strong { display: block; font-family: var(--kopf); font-weight: 700; font-size: 18px; }
.rep-wege span { color: var(--nebel); font-size: 15.5px; }
.rep-schritte { counter-reset: schritt; display: grid; gap: 10px; }
.rep-schritte li { counter-increment: schritt; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; }
.rep-schritte li::before {
  content: counter(schritt); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--kopf); font-weight: 700; font-size: 15px; color: var(--lichtgelb); border: 1.5px solid rgba(255, 198, 46, .55);
}
.rep-tipps { display: grid; gap: 9px; list-style: disc; padding-left: 20px; }
.rep-tipps li { font-size: 15.5px; line-height: 1.55; }
.rep-tipps strong { color: var(--schein); font-weight: 600; }

/* Knöpfe: groß genug für den Daumen */
.rep-knoepfe { display: grid; gap: 10px; }
.rep-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 14px 24px;
  border-radius: 999px; border: 1.5px solid rgba(255, 248, 234, .28); background: var(--flaeche-stark); color: var(--wolkenweiss);
  font-family: var(--kopf); font-weight: 700; font-size: 18px; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.rep-knopf:hover { border-color: var(--lichtgelb); background: rgba(255, 198, 46, .12); color: var(--wolkenweiss); }
.rep-knopf.haupt {
  border: 0; color: var(--tinte);
  background: radial-gradient(circle at 30% 20%, var(--schein), var(--lichtgelb) 60%, #f5ad17);
  box-shadow: 0 12px 30px -10px rgba(255, 198, 46, .6);
}
.rep-knopf.haupt:hover { background: var(--schein); color: var(--tinte); }
.rep-knopf.gefahr { border-color: var(--morgenrot); background: rgba(255, 107, 74, .16); }
.rep-knopf.gefahr:hover { background: rgba(255, 107, 74, .3); border-color: var(--morgenrot); }
.rep-knopf.leise {
  min-height: 48px; padding: 10px 16px; border: 0; background: none; color: var(--nebel);
  font-family: var(--text); font-weight: 500; font-size: 15.5px; text-decoration: underline; text-underline-offset: 3px;
}
.rep-knopf.leise:hover { color: var(--lichtgelb); background: none; }
.rep-knopf:active { transform: scale(.985); }
.rep-knopf:disabled, .rep-rund:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.rep-knoepfe.rep-ausgang { grid-template-columns: 1fr 1fr; margin-top: 4px; }
.rep-link { padding: 0; border: 0; background: none; color: var(--lichtgelb); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rep-link:hover { color: var(--schein); }

/* Formulare (Felder selbst: .feld aus seite.css) */
.rep-form { display: grid; gap: 16px; padding: clamp(18px, 4vw, 26px); }
.feld textarea {
  width: 100%; min-height: 120px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--rand); background: rgba(8, 16, 41, .55);
  font: inherit; font-size: 16px; line-height: 1.5; color: var(--wolkenweiss); resize: vertical;
}
.feld textarea:focus { outline: none; border-color: var(--lichtgelb); box-shadow: 0 0 0 3px rgba(255, 198, 46, .25); }
.reporter .feld input { min-height: 50px; }
.reporter .feld input[aria-invalid="true"], .reporter .feld textarea[aria-invalid="true"] { border-color: var(--morgenrot); box-shadow: 0 0 0 3px rgba(255, 107, 74, .22); }
.rep-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.rep-wahl .genre-liste { gap: 10px; }
.rep-wahl .genre span { padding: 13px 18px; font-size: 16px; line-height: 1.25; }
.rep-wahl .genre small { display: block; font-family: var(--text); font-weight: 400; font-size: 13px; opacity: .8; }
.rep-wahl .genre input:checked + span small { opacity: .75; }
.rep-wahl.fest .genre { cursor: default; }
.rep-wahl[aria-invalid="true"] .genre span { border-color: var(--morgenrot); }
.rep-haken { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.55; cursor: pointer; }
.rep-haken input { width: 26px; height: 26px; margin: 1px 0 0; accent-color: var(--lichtgelb); cursor: pointer; }
.rep-haken.klein-haken { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: -6px; color: var(--nebel); font-size: 14.5px; }
.rep-haken.klein-haken input { width: 20px; height: 20px; margin: 0; }
.rep-haken input[aria-invalid="true"] { outline: 2px solid var(--morgenrot); outline-offset: 2px; }
.rep-feldfehler { margin-top: -8px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #ffb3a1; }     /* Hinweis direkt unter dem Feld */

/* Meldungen */
.rep-hinweis {
  padding: 12px 16px; border-radius: 16px; border: 1px solid var(--rand); background: var(--flaeche);
  font-size: 15.5px; line-height: 1.5; font-weight: 500; color: var(--wolkenweiss);
}
.rep-hinweis.gut { border-color: rgba(255, 224, 138, .5); background: rgba(255, 198, 46, .1); color: var(--schein); }
.rep-hinweis.schlecht { border-color: rgba(255, 107, 74, .6); background: rgba(255, 107, 74, .12); color: #ffb3a1; }

/* ---------------------------------------------------------------- das Aufnahme-Pult */
.rep-pult { display: grid; gap: 18px; }
.rep-aufnahme { display: grid; justify-items: center; gap: 10px; padding: 8px 0 2px; }
.rep-rund {
  position: relative; width: 128px; height: 128px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; align-content: center; gap: 4px; color: var(--tinte);
  background: radial-gradient(circle at 30% 20%, var(--schein), var(--lichtgelb) 60%, #f5ad17);
  box-shadow: 0 0 0 10px rgba(255, 198, 46, .10), 0 18px 44px -12px rgba(255, 198, 46, .65);
  font-family: var(--kopf); font-weight: 700; font-size: 15px; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.rep-rund svg { width: 46px; height: 46px; fill: currentColor; }
.rep-rund .bild-stopp { display: none; }
.rep-rund:hover { transform: scale(1.03); }
.rep-rund:active { transform: scale(.97); }
.rep-rund.laeuft { color: var(--tinte); background: radial-gradient(circle at 30% 20%, #ff8f73, var(--morgenrot) 65%, #e24a2b); box-shadow: 0 0 0 10px rgba(255, 107, 74, .16), 0 18px 44px -12px rgba(255, 107, 74, .7); animation: rep-puls 1.6s ease-out infinite; }
.rep-rund.laeuft .bild-mikro { display: none; }
.rep-rund.laeuft .bild-stopp { display: block; }
@keyframes rep-puls { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 74, .55), 0 18px 44px -12px rgba(255, 107, 74, .7); } 100% { box-shadow: 0 0 0 22px rgba(255, 107, 74, 0), 0 18px 44px -12px rgba(255, 107, 74, .7); } }
.rep-zeit { font-family: var(--kopf); font-weight: 700; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; margin-top: 6px; }
.rep-zeit-von { font-weight: 500; font-size: 18px; color: var(--nebel); }
.rep-zeit.knapp { color: var(--glut); }
.rep-pegel, .rep-fortschritt { width: 100%; border-radius: 999px; background: rgba(255, 248, 234, .1); overflow: hidden; }
.rep-pegel { height: 12px; max-width: 320px; }
.rep-fortschritt { height: 8px; }
.rep-pegel i, .rep-fortschritt i { display: block; width: 100%; height: 100%; border-radius: 999px; background: var(--sonne); transform: scaleX(0); transform-origin: left center; }
.rep-fortschritt i { transition: transform .2s linear; }
.rep-pegel.zu-laut i { background: var(--morgenrot); }
.rep-stand { min-height: 1.5em; text-align: center; font-size: 15.5px; color: var(--nebel); }

.rep-fertig { display: grid; gap: 14px; padding: 16px; border-radius: 20px; background: rgba(8, 16, 41, .45); border: 1px solid var(--rand); }
.rep-fertig-kopf { font-family: var(--kopf); font-weight: 700; font-size: 18px; }
.rep-fertig-kopf span { font-family: var(--text); font-weight: 400; font-size: 14.5px; color: var(--nebel); margin-left: 6px; font-variant-numeric: tabular-nums; }
.rep-fertig audio { width: 100%; height: 48px; border-radius: 999px; }
.rep-ersatz { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; font-size: 14.5px; color: var(--nebel); text-align: center; }
.rep-datei { position: relative; display: inline-flex; cursor: pointer; }
.rep-datei input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.rep-datei span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--rand); background: var(--flaeche); font-family: var(--kopf); font-weight: 600; font-size: 15px; color: var(--wolkenweiss); }
.rep-datei:hover span { border-color: rgba(255, 198, 46, .5); }
.rep-datei input:focus-visible + span { outline: 3px solid var(--schein); outline-offset: 2px; }
.rep-datei input:disabled + span { opacity: .5; }

/* Deine letzten Beiträge */
.rep-liste { display: grid; }
.rep-liste li { display: grid; grid-template-columns: minmax(min-content, 1fr) auto; gap: 2px 12px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(255, 248, 234, .08); }
.rep-liste li:first-child { border-top: 0; padding-top: 2px; }
.rep-liste strong { font-family: var(--kopf); font-weight: 600; font-size: 16px; }
.rep-liste time { grid-column: 1; font-size: 13.5px; color: var(--nebel); font-variant-numeric: tabular-nums; }
.rep-liste .rep-schild { grid-column: 2; grid-row: 1 / span 2; padding: 6px 12px; border-radius: 999px; font-family: var(--kopf); font-weight: 600; font-size: 13.5px; text-align: center; background: var(--flaeche-stark); border: 1px solid var(--rand); color: var(--wolkenweiss); max-width: 46vw; }
.rep-liste .rep-schild.gut { background: rgba(255, 198, 46, .16); border-color: rgba(255, 198, 46, .5); color: var(--schein); }
.rep-liste .rep-schild.still { color: var(--nebel); }

/* Kopf auf schmalen Bildschirmen: nur Logo und „Live hören“ */
@media (max-width: 420px) {
  .hoeren-link { padding: 8px 13px 8px 9px; font-size: 14px; }
  .rep-knoepfe.rep-ausgang { grid-template-columns: 1fr; gap: 0; }
}
/* Ganz schmale Handys: das Stand-Schild unter Titel und Zeit, damit „Verkehrshinweis“ nicht hineinragt */
@media (max-width: 380px) {
  .rep-liste li { grid-template-columns: minmax(0, 1fr); }
  .rep-liste .rep-schild { grid-column: 1; grid-row: auto; order: 3; justify-self: start; max-width: 100%; margin-top: 6px; }
}
@media (min-width: 560px) {
  .rep-senden { grid-template-columns: 1.3fr 1fr; }
  .rep-senden .rep-fortschritt { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .rep-rund.laeuft { animation: none; }
  .rep-knopf, .rep-rund, .rep-fortschritt i { transition: none; }
}
