/* ascheinsel.de — Teaser. Eine Schrift (Public Sans), kein JavaScript. */
@font-face {
  font-family: "Public Sans";
  src: url("PublicSans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --asche: #0e0c0b;
  --asche-2: #171412;
  --asche-3: #221d1a;
  --linie: #3a302a;
  --text: #efe7df;
  --text-leise: #b3a69b;
  --glut: #ff6b2c;
  --glut-hell: #ffb067;
  --gold: #e3b562;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--asche);
  color: var(--text);
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--glut-hell); }
a:hover { color: var(--text); }
.breite { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Kopf / Titelbild ---------- */
.titel {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--asche) url("titel.jpg") center 35% / cover no-repeat;
}
.titel::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,12,11,.92) 0%, rgba(14,12,11,.55) 45%, rgba(14,12,11,.1) 75%),
    linear-gradient(0deg, var(--asche) 0%, rgba(14,12,11,0) 40%);
}
.titel .breite { position: relative; z-index: 2; width: 100%; padding-bottom: 72px; }
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--glut-hell);
  border: 1px solid rgba(255,107,44,.45);
  background: rgba(255,107,44,.08);
  padding: 6px 12px; border-radius: 999px;
}
h1 {
  margin: 20px 0 8px;
  font-size: clamp(48px, 10vw, 112px);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: .95;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff3e6 0%, var(--glut-hell) 55%, var(--glut) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255,107,44,.25);
}
.lead { max-width: 560px; font-size: clamp(18px, 2.2vw, 21px); color: var(--text); margin: 0 0 28px; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text-leise);
}
.status::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--glut); box-shadow: 0 0 0 4px rgba(255,107,44,.2);
  animation: puls 2.4s ease-in-out infinite;
}

/* Glutfunken, reines CSS */
.funken { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.funken i {
  position: absolute; bottom: -10px;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--glut-hell); box-shadow: 0 0 6px 2px rgba(255,140,60,.7);
  opacity: 0;
  animation: steigen 9s linear infinite;
}
.funken i:nth-child(1)  { left: 8%;  animation-delay: 0s;   animation-duration: 10s; }
.funken i:nth-child(2)  { left: 17%; animation-delay: 2.5s; animation-duration: 8s; }
.funken i:nth-child(3)  { left: 29%; animation-delay: 5s;   animation-duration: 11s; }
.funken i:nth-child(4)  { left: 41%; animation-delay: 1.2s; animation-duration: 9s; }
.funken i:nth-child(5)  { left: 53%; animation-delay: 3.8s; animation-duration: 12s; }
.funken i:nth-child(6)  { left: 62%; animation-delay: 6.5s; animation-duration: 8.5s; }
.funken i:nth-child(7)  { left: 71%; animation-delay: .6s;  animation-duration: 10.5s; }
.funken i:nth-child(8)  { left: 80%; animation-delay: 4.4s; animation-duration: 9.5s; }
.funken i:nth-child(9)  { left: 88%; animation-delay: 7.2s; animation-duration: 11.5s; }
.funken i:nth-child(10) { left: 95%; animation-delay: 2s;   animation-duration: 8s; }
@keyframes steigen {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: .9; }
  60%  { transform: translate(-30px, -55vh); opacity: .6; }
  100% { transform: translate(20px, -95vh); opacity: 0; }
}
@keyframes puls { 50% { box-shadow: 0 0 0 8px rgba(255,107,44,.05); } }
@media (prefers-reduced-motion: reduce) {
  .funken { display: none; }
  .status::before { animation: none; }
}

/* ---------- Abschnitte ---------- */
section { padding: 88px 0; }
h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: .01em;
}
.unterzeile { color: var(--text-leise); max-width: 620px; margin: 0 0 40px; }
.marke { color: var(--glut-hell); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }

.karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.karte {
  position: relative;
  background: linear-gradient(180deg, var(--asche-3), var(--asche-2));
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 26px 22px 24px;
}
.karte::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--glut), transparent);
}
.symbol {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,107,44,.1); border: 1px solid rgba(255,107,44,.35);
  margin-bottom: 18px;
}
.symbol svg { width: 22px; height: 22px; stroke: var(--glut-hell); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.karte h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.karte p { margin: 0; color: var(--text-leise); font-size: 15.5px; }

/* Fortschritt */
.weg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.weg li { position: relative; padding: 28px 14px 0 0; }
.weg li::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--linie);
}
.weg li::after {
  content: ""; position: absolute; top: 2px; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--asche); border: 2px solid var(--linie);
}
.weg li.jetzt::before { background: linear-gradient(90deg, var(--glut) 0%, var(--linie) 60%); }
.weg li.jetzt::after { background: var(--glut); border-color: var(--glut); box-shadow: 0 0 0 5px rgba(255,107,44,.2); }
.weg b { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); font-weight: 600; }
.weg li.jetzt b { color: var(--glut-hell); }
.weg span { display: block; font-size: 16px; font-weight: 600; margin-top: 2px; }

/* Abschluss */
.ruf {
  text-align: center;
  background: radial-gradient(ellipse at center top, rgba(255,107,44,.16), transparent 60%), var(--asche-2);
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
}
.ruf p { color: var(--text-leise); max-width: 560px; margin: 0 auto; }

/* Fuss */
footer { padding: 32px 0 40px; color: var(--text-leise); font-size: 14px; }
footer .breite { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--text-leise); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Textseiten (Impressum, Datenschutz) */
.textseite { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.textseite .zurueck { font-size: 15px; text-decoration: none; }
.textseite h1 { font-size: clamp(34px, 6vw, 48px); letter-spacing: .02em; text-transform: none; margin-top: 24px; }
.textseite h2 { font-size: 22px; margin-top: 36px; }
.textseite p, .textseite li { color: var(--text-leise); }
.textseite strong { color: var(--text); }

/* ---------- schmal ---------- */
@media (max-width: 900px) {
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weg { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .titel { background-image: url("titel-klein.jpg"); background-position: 62% center; min-height: 88vh; }
  .titel::after {
    background: linear-gradient(0deg, var(--asche) 0%, rgba(14,12,11,.75) 45%, rgba(14,12,11,.25) 100%);
  }
  .titel .breite { padding-bottom: 48px; }
  section { padding: 64px 0; }
  .karten { grid-template-columns: 1fr; }
  .weg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Kopfleiste ---------- */
.kopf { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
.kopf .breite { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .16em; font-size: 15px; }
.logo img { width: 44px; height: 44px; }
.kopf nav { display: flex; gap: 22px; font-size: 15px; }
.kopf nav a { color: var(--text-leise); text-decoration: none; }
.kopf nav a:hover { color: var(--text); }

/* ---------- Bild + Text ---------- */
.zeigen { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.zeigen.umgedreht { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.zeigen.umgedreht .bild { order: 2; }
.bild {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--linie);
  box-shadow: 0 30px 80px -30px rgba(255,107,44,.35), 0 10px 30px rgba(0,0,0,.5);
  background: var(--asche-2);
}
.bild img { display: block; width: 100%; height: auto; }
.zeigen ul { margin: 18px 0 0; padding: 0; list-style: none; }
.zeigen li { position: relative; padding-left: 22px; margin: 8px 0; color: var(--text-leise); }
.zeigen li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--glut); }
.dunkler { background: var(--asche-2); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }

/* Abschluss mit Himmelstor-Bild */
.ruf.tor {
  position: relative; overflow: hidden; padding: 140px 0;
  background: var(--asche) url("himmelstor.jpg") center 30% / cover no-repeat;
}
.ruf.tor::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--asche) 0%, rgba(14,12,11,.55) 35%, rgba(14,12,11,.55) 65%, var(--asche) 100%); }
.ruf.tor .breite { position: relative; }
.ruf.tor p { color: var(--text); }

@media (max-width: 900px) {
  .zeigen, .zeigen.umgedreht { grid-template-columns: 1fr; gap: 28px; }
  .zeigen.umgedreht .bild { order: 0; }
}
@media (max-width: 560px) {
  .kopf nav { display: none; }
  .ruf.tor { padding: 96px 0; }
}

/* ---------- Formular (Registrierung) ---------- */
.formular { display: grid; gap: 16px; max-width: 420px; margin-top: 28px; }
.formular label { display: grid; gap: 6px; font-size: 15px; color: var(--text); font-weight: 600; }
.formular input {
  font: inherit; font-weight: 400; color: var(--text);
  background: var(--asche-2); border: 1px solid var(--linie); border-radius: 10px; padding: 12px 14px;
}
.formular input:focus { outline: 2px solid var(--glut); outline-offset: 1px; border-color: transparent; }
.formular button {
  font: inherit; font-weight: 700; color: #1a0d05; cursor: pointer;
  background: linear-gradient(180deg, var(--glut-hell), var(--glut)); border: 0; border-radius: 10px; padding: 13px 18px;
  box-shadow: 0 10px 30px -10px rgba(255,107,44,.6);
}
.formular button:hover { filter: brightness(1.08); }
.formular .klein { font-size: 13.5px; margin: 0; }
.versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { color: #ffd2b8 !important; background: rgba(255,107,44,.12); border: 1px solid rgba(255,107,44,.45); border-radius: 10px; padding: 12px 14px; }
.knopf {
  display: inline-block; margin-top: 8px; font-weight: 700; text-decoration: none; color: #1a0d05;
  background: linear-gradient(180deg, var(--glut-hell), var(--glut)); border-radius: 10px; padding: 13px 22px;
  box-shadow: 0 10px 30px -10px rgba(255,107,44,.6);
}
.knopf:hover { color: #1a0d05; filter: brightness(1.08); }
