/* StradaUno — eine Seite, zwei Sprachen. Keine fremden Schriften, keine
   Skripte: die Datenschutzerklaerung sagt das zu, und das soll sie auch
   weiter koennen. Systemschriften sehen auf jedem Geraet zu Hause aus. */

:root{
  --bg:#0a0a0d;
  --glanz:#1b1b2a;          /* Schimmer hinter dem Namen */
  --text:#f5f5f7;
  --text-leise:#a8a8b4;
  --text-still:#6e6e7c;
  --linie:rgba(255,255,255,0.10);
  --linie-hell:rgba(255,255,255,0.22);
  --knopf:#f5f5f7;
  --knopf-text:#0a0a0d;
}

*{box-sizing:border-box;margin:0;padding:0}

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

body{
  min-height:100dvh;
  background:var(--bg);
  /* Zwei sehr weiche Lichtkegel. Kein Bild, nur Farbverlauf -- nichts
     nachzuladen, und auf dunklen Displays nimmt es dem Schwarz die Härte. */
  background-image:
    radial-gradient(60rem 40rem at 50% -10%, var(--glanz) 0%, transparent 60%),
    radial-gradient(40rem 30rem at 85% 110%, #16161f 0%, transparent 55%);
  background-repeat:no-repeat;
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.65;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:clamp(28px,7vh,72px) 24px 32px;
}

/* ── Startseite ─────────────────────────────────────────────────────── */

main{
  flex:1;
  width:100%;
  max-width:600px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

h1{
  font-size:clamp(40px,11vw,68px);
  font-weight:700;
  letter-spacing:-0.035em;
  line-height:1.05;
}

.claim{
  margin-top:14px;
  font-size:clamp(11px,2.6vw,13px);
  font-weight:500;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--text-still);
}

/* Feiner Strich als Absatz statt eines groesseren Lochs. */
.trenner{
  width:56px;
  height:1px;
  margin:34px 0;
  background:linear-gradient(90deg,transparent,var(--linie-hell),transparent);
}

.text{
  font-size:clamp(17px,2.6vw,19px);
  color:var(--text-leise);
  max-width:34ch;          /* Zeilenlaenge, die sich noch gut liest */
  text-wrap:balance;
}

.knopf{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:38px;
  min-height:52px;
  padding:0 26px;
  border-radius:999px;
  background:var(--knopf);
  color:var(--knopf-text);
  font-size:16px;
  font-weight:600;
  letter-spacing:-0.01em;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
  transition:transform .15s ease, box-shadow .2s ease, opacity .15s ease;
  box-shadow:0 1px 2px rgba(0,0,0,.4);
}
.knopf svg{display:block;flex-shrink:0}
.knopf:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(0,0,0,.45)}
.knopf:active{transform:translateY(0);opacity:.9}

.adresse{
  margin-top:18px;
  font-size:14px;
  color:var(--text-still);
}
.adresse a{color:var(--text-leise);text-decoration:none;border-bottom:1px solid var(--linie);padding-bottom:1px}
.adresse a:hover{color:var(--text);border-color:var(--linie-hell)}

/* ── Fusszeile ──────────────────────────────────────────────────────── */

footer{
  width:100%;
  max-width:600px;
  margin-top:56px;
  padding-top:24px;
  border-top:1px solid var(--linie);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:13px;
  color:var(--text-still);
}
footer nav a{color:var(--text-still);text-decoration:none}
footer nav a:hover{color:var(--text-leise)}
footer .punkt{opacity:.45;margin:0 6px}

/* Sprachumschalter: die aktive Sprache ist Text, die andere ein Link.
   Beide Ziele sind fest -- /de und /it schalten nie automatisch um. */
.sprachen{display:inline-flex;align-items:center;gap:2px;
  border:1px solid var(--linie);border-radius:999px;padding:3px}
.sprachen a,.sprachen b{
  display:inline-flex;align-items:center;
  min-height:30px;padding:0 13px;border-radius:999px;
  font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;
  text-decoration:none;transition:background .15s ease,color .15s ease}
.sprachen a{color:var(--text-still)}
.sprachen a:hover{color:var(--text-leise);background:rgba(255,255,255,.05)}
.sprachen b{color:var(--text);background:rgba(255,255,255,.10)}

/* ── Rechtstexte und 404 ────────────────────────────────────────────── */

main.doc{
  max-width:640px;
  justify-content:flex-start;
  text-align:left;
  font-size:15px;
  color:var(--text-leise);
}
main.doc h1{font-size:clamp(28px,6vw,34px);letter-spacing:-0.02em;margin-bottom:26px}
main.doc h2{font-size:16px;font-weight:600;color:var(--text);margin:30px 0 8px;letter-spacing:-0.01em}
main.doc p{margin-bottom:12px}
main.doc a{color:var(--text)}
main.doc .zurueck{margin-top:44px}
main.doc .zurueck a{color:var(--text-still);text-decoration:none}
main.doc .zurueck a:hover{color:var(--text-leise)}

@media (prefers-reduced-motion:reduce){
  *{transition:none !important}
}
