* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0e0f14;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 24px;
}

h1 {
  margin-bottom: 0;
}

.subtitle {
  margin-top: 4px;
  color: #aaa;
}

.panel {
  margin-top: 32px;
}

textarea {
  width: 100%;
  min-height: 200px;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  outline: none;
}

label {
  display: block;
  margin-bottom: 8px;
}

input[type="range"] {
  width: 100%;
}

.buttons {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  opacity: 0.9;
}

.reader {
  margin-top: 32px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.word {
  font-size: 48px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
}

.left,
.right {
  color: #ccc;
}

.orp {
  color: #ff3b3b;
  font-weight: 800;
}

/* ORP / Spritz Pivot – exakt rot wie im Original */
.spritz-pivot,
.br-red {
  color: #ff0000 !important;
  font-weight: 800;
}

/* Speedreader Output polish (additiv) */
.spritz-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:220px;
  padding:24px;
  border-radius:18px;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
}

.spritz-line{
  display:flex;
  align-items:baseline;
  justify-content:center;
  font-size: clamp(44px, 8vw, 74px);
  font-weight: 650;
  letter-spacing: .02em;
  line-height: 1.15;
}

.spritz-left,.spritz-right{ color: rgba(255,255,255,.78); }
.spritz-pivot{ color:#ff0000 !important; font-weight:900; margin: 0 .03em; }

.spritz-hud{ display:flex; gap:10px; margin-top:10px; }
.spritz-sub{ margin-top:10px; min-height:1.2em; opacity:.75; }


/* =========================================================
   Modern Top Area + Speedreader Polish (ADD-ON, safe)
    ========================================================= */

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.nav-modern .navlink{
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-modern .navlink:hover{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

.pill-cta{
  border-color: rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(35,213,171,.16));
}

.hero-modern{ padding-top: 34px; }

.kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.70);
  font-size: .92rem;
  margin-bottom: 12px;
}

.hero-title{
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-lead{ max-width: 60ch; }
.hero-actions-modern .btn{ min-width: 120px; }

.hero-card-modern{
  position: relative;
  overflow: hidden;
}

.hero-card-modern::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(600px 280px at 20% 10%, rgba(124,92,255,.24), transparent 60%),
              radial-gradient(520px 260px at 80% 20%, rgba(35,213,171,.18), transparent 55%);
  filter: blur(10px);
  opacity: .9;
  pointer-events:none;
}

.hero-card-modern > *{ position: relative; }
.hero-spritz{ min-height: 160px; margin-top: 10px; }
.hero-note{ margin-top: 12px; }

@media (max-width: 980px){
  .nav-modern{ display:none; }
}

/* Output polish */
.spritz-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:220px;
  padding:24px;
  border-radius:18px;
  background: radial-gradient(120% 120% at 50% 40%, rgba(255,255,255,0.04), rgba(0,0,0,0.35));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 20px 40px rgba(0,0,0,0.35);
}

.spritz-line{
  display:flex;
  align-items:baseline;
  justify-content:center;
  font-size: clamp(44px, 8vw, 74px);
  font-weight: 650;
  letter-spacing: .02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.spritz-left,.spritz-right{ color: rgba(255,255,255,.78); }

.spritz-pivot,
.br-red{
  color: #ff0000 !important;
  font-weight: 900;
  margin: 0 .03em;
}

.spritz-hud{ display:flex; gap:10px; margin-top:10px; }
.spritz-sub{ margin-top:10px; min-height:1.2em; opacity:.75; }