/* Gemeinsame Basis fuer Einreichen, Admin und Testseite - mobile first, Look aus der Wortwand */
:root {
  --bg: #F7F7F2;
  --ink: #111111;
  --muted: #5E5E58;
  --line: #D8D8D0;
  --card: #FFFFFF;
  --accent: #E6FF2E;
  --danger: #B3261E;
  --ok: #1E6B35;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Inter Tight', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.4; }
a { color: var(--ink); }
a:hover { color: #444440; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: 34px; font-weight: 900; }
h2 { font-size: 22px; font-weight: 900; }
h3 { font-size: 17px; font-weight: 900; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Riesige 26 im Hintergrund */
.bg26 { position: fixed; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; overflow: hidden; }
.bg26 span { font-weight: 900; font-size: min(150vw, 130vh); line-height: 0.8; letter-spacing: -0.07em; color: #ECECE4; user-select: none; }
.dark .bg26 span { color: #1F1F1D; }

.wrap { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 20px 16px 48px; }

/* Bedienelemente: gross genug fuer Daumen */
button, .btn { font: inherit; font-weight: 900; font-size: 16px; min-height: 48px; padding: 0 18px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 0; }
button:hover, .btn:hover { background: #EFEFE8; color: var(--ink); }
button.primary, .btn.primary { background: var(--accent); }
button.primary:hover, .btn.primary:hover { background: #D8F01F; }
button.dark, .btn.dark { background: var(--ink); color: var(--bg); }
button.danger { color: var(--danger); border-color: var(--danger); }
button.ghost { border-color: transparent; background: transparent; }
button:disabled { opacity: 0.45; cursor: default; }
button.small, .btn.small { min-height: 44px; font-size: 14px; padding: 0 12px; }
button:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #3B6CFF; outline-offset: 2px; }

label { display: block; font-weight: 900; font-size: 14px; letter-spacing: 0.02em; margin-bottom: 6px; }
input, textarea, select { font: inherit; font-size: 17px; width: 100%; padding: 12px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 0; }
textarea { resize: vertical; min-height: 96px; line-height: 1.35; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field { margin-bottom: 16px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1 1 160px; }
.stack { display: flex; flex-direction: column; gap: 12px; }

.card { background: var(--card); border: 2px solid var(--ink); padding: 16px; }
.chip { display: inline-block; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: 0.04em; padding: 3px 8px; }
.chip.grey { background: #E4E4DC; }
.chip.dark { background: var(--ink); color: var(--bg); }
.msg { padding: 12px 14px; border: 2px solid var(--ink); font-weight: 600; }
.msg.ok { background: #E3F3E6; border-color: var(--ok); color: var(--ok); }
.msg.err { background: #FBE9E7; border-color: var(--danger); color: var(--danger); }

.stage-box { width: 100%; }
.stage-box .stage-wrap { margin: 0 auto; }
