/* ReelMaker Web – Mobile-first: große Bedienelemente, gut lesbar, Markenfarbe Pink. Keine fremden Schriften. */
:root {
  --pink: #D6246E;
  --pink-dunkel: #A81B56;
  --text: #1a1a1a;
  --grau: #666;
  --linie: #e5e5e5;
  --flaeche: #fff;
  --hintergrund: #faf6f8;
  --fehler: #b00020;
  --rund: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font: 18px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--hintergrund);
}

.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  padding-top: max(0.75rem, env(safe-area-inset-top));
  background: var(--pink);
  color: #fff;
}
.kopf a { color: #fff; text-decoration: none; }
.marke { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.02em; }
.kopf-link { padding: 0.5rem 0; }

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: 1rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

h1 { font-size: 1.6rem; line-height: 1.2; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.25rem; margin: 0 0 0.75rem; }

.karte {
  background: var(--flaeche);
  border-radius: var(--rund);
  padding: 1rem;
  margin: 0 0 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

form { display: grid; gap: 1rem; }
label { display: grid; gap: 0.35rem; font-weight: 600; }
small { font-weight: 400; color: var(--grau); }

input, textarea {
  font: inherit;
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--linie);
  border-radius: 10px;
  background: #fff;
  min-height: 3.25rem;
}
input:focus, textarea:focus { outline: none; border-color: var(--pink); }
textarea { resize: vertical; font-size: 1rem; }

/* Große Knöpfe, mindestens 52 px hoch – gut mit dem Daumen zu treffen. */
.knopf {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5rem;
  margin: 0.5rem 0;
  padding: 0.75rem 1rem;
  border: 2px solid var(--pink);
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.knopf:active { background: var(--pink-dunkel); border-color: var(--pink-dunkel); }
.knopf:disabled, .knopf[aria-disabled="true"] { opacity: 0.5; cursor: default; }
.knopf.zweitrangig { background: #fff; color: var(--pink); }
.knopf:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }

.links { text-align: center; margin: 1rem 0; }
.links a, a { color: var(--pink-dunkel); }

.meldung {
  margin: 0.5rem 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #fdecef;
  color: var(--fehler);
}
.meldung.ok { background: #eaf6ec; color: #1e6b2d; }
.hinweis { color: var(--grau); font-size: 0.95rem; }

progress {
  width: 100%;
  height: 1rem;
  accent-color: var(--pink);
}

.liste { list-style: none; margin: 0; padding: 0; }
.liste li { border-top: 1px solid var(--linie); }
.liste li:first-child { border-top: 0; }
.liste a, .liste .zeile {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.25rem;
  min-height: 3.5rem;
  color: var(--text);
  text-decoration: none;
}
.liste .status { color: var(--grau); text-align: right; }
.liste .status.fertig { color: #1e6b2d; font-weight: 700; }
.liste .status.fehler { color: var(--fehler); }
.liste .fehlertext { display: block; padding: 0 0.25rem 0.9rem; color: var(--fehler); font-size: 0.95rem; }

video {
  display: block;
  width: 100%;
  max-height: 70vh;
  margin: 0 auto 0.5rem;
  border-radius: var(--rund);
  background: #000;
}

[hidden] { display: none !important; }
