/* ============================================================
   pseih.de — Coming Soon
   Farbwelt: neutrales Grau, Hover in Blau,
   Verlauf Blau -> Lila fuer Akzente.
   ============================================================ */
:root{
  --bg:#0b0a12;
  --tx:#f2f2f3;
  --dim:#b6b7bd;
  --faint:#83848c;
  --teal:#2ee6c5;
  --blue:#4d8dff;
  --purple:#a259ff;
  --grad:linear-gradient(100deg,var(--blue),var(--purple));
  /* Dreistufig — nur fuer die Schlagwortzeile */
  --grad-3:linear-gradient(100deg,var(--teal) 0%,var(--blue) 50%,var(--purple) 100%);
  --sans:"Inter","Segoe UI Variable Display","Segoe UI",system-ui,-apple-system,sans-serif;

  /* Logoschrift — siehe Hinweis in public/assets/css/base.css:
     Raleway ist frei lizenziert, die Dateien fehlen aber noch. */
  --logo-font:"Raleway","Segoe UI",system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}

html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--tx);
  font-family:var(--sans);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;

  /* Inhalt vertikal: Mitte fuer die Buehne, Fusszeile unten */
  min-height:100svh;
  display:flex;
  flex-direction:column;
}

/* ============================================================
   Hintergrund
   Drei getrennte Ebenen, damit der Weichzeichner nur den Rand
   trifft und die Bildmitte scharf bleibt.
   ============================================================ */
/* translateZ hebt die Gruppe auf eine eigene Compositor-Ebene.
   Ohne das rastert Chromium den weichgezeichneten Hintergrund beim
   Scrollen der langen Rechtstexte wiederholt neu. */
.bg{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
  background:var(--bg);
  transform:translateZ(0);
  backface-visibility:hidden;
}
.bg>div{position:absolute;inset:0}

/* Unscharfe Vollflaeche. Der Ueberstand per scale verhindert,
   dass der Blur an den Kanten ausfranst. */
.bg-blur{
  background:url("shock.jpg") center/cover no-repeat;
  filter:blur(26px) saturate(115%);
  transform:scale(1.12);
}

/* Scharfe Mitte, weich in die unscharfe Flaeche ausgeblendet. */
.bg-sharp{
  background:url("shock.jpg") center/cover no-repeat;
  -webkit-mask-image:radial-gradient(ellipse 58% 60% at 50% 46%,#000 32%,rgba(0,0,0,.55) 58%,transparent 82%);
          mask-image:radial-gradient(ellipse 58% 60% at 50% 46%,#000 32%,rgba(0,0,0,.55) 58%,transparent 82%);
}

/* Abdunklung + Vignette, damit der Text ueberall sicher lesbar bleibt. */
.bg-scrim{
  background:
    radial-gradient(ellipse 52% 48% at 50% 45%,rgba(11,10,18,.10),rgba(11,10,18,.46) 64%,rgba(11,10,18,.78) 100%),
    linear-gradient(180deg,rgba(11,10,18,.52),rgba(11,10,18,.06) 42%,rgba(11,10,18,.66));
}

/* ============================================================
   Buehne
   ============================================================ */
.stage{
  position:relative;
  z-index:1;
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:64px 24px 24px;
}

.mark{
  width:52px;height:52px;
  display:grid;place-items:center;
  border-radius:14px;
  background:var(--grad);
  color:#fff;
  font-family:var(--logo-font);
  font-weight:800;
  font-size:1.6rem;
  line-height:1;
  letter-spacing:-.01em;
  margin-bottom:38px;
  box-shadow:0 0 0 1px rgba(255,255,255,.10),0 16px 46px -14px rgba(122,120,255,.85);
}

.title{
  margin:0;
  font-size:clamp(2.9rem,11vw,8rem);
  font-weight:800;
  letter-spacing:-.045em;
  line-height:1.02;

  /* Drei Lagen: harte Kante fuer die Plastizitaet, mittlerer Wurf
     fuer den eigentlichen Schlagschatten, weiter Schein zum
     Abheben vom Bild. */
  text-shadow:
    0 2px 1px rgba(0,0,0,.55),
    0 8px 18px rgba(0,0,0,.65),
    0 18px 52px rgba(0,0,0,.75);
}

/* Die Punkte tragen den Verlauf und pulsieren nacheinander. */
.dots i{
  font-style:normal;
  background:var(--grad);
  -webkit-background-clip:text;
          background-clip:text;
  color:transparent;
  animation:pulse 1.8s ease-in-out infinite;

  /* Der geerbte text-shadow wuerde bei transparenter Fuellung
     durch die Glyphen sichtbar. Deshalb hier abschalten und den
     Schatten auf die gerasterte Form legen. */
  text-shadow:none;
  filter:
    drop-shadow(0 2px 1px rgba(0,0,0,.55))
    drop-shadow(0 8px 16px rgba(0,0,0,.6));
}
.dots i:nth-child(2){animation-delay:.22s}
.dots i:nth-child(3){animation-delay:.44s}
@keyframes pulse{0%,70%,100%{opacity:.32}35%{opacity:1}}

/* Die drei Schlagworte tragen die Aussage — etwas kraeftiger
   und weiter gesperrt als der Satz darunter. */
.keywords{
  margin:24px 0 0;
  font-size:clamp(1.08rem,2.8vw,1.42rem);
  font-weight:700;
  letter-spacing:.02em;

  background:var(--grad-3);
  -webkit-background-clip:text;
          background-clip:text;
  color:transparent;

  /* text-shadow scheidet aus: bei transparentem Text wuerde der
     Schatten durch die Glyphen hindurch sichtbar. drop-shadow
     wirkt stattdessen auf die gerasterte Form. */
  filter:drop-shadow(0 2px 14px rgba(0,0,0,.9));
}

.sub{
  margin:9px 0 0;
  max-width:46ch;
  font-size:clamp(.94rem,2.2vw,1.06rem);
  color:var(--dim);
  text-shadow:0 2px 18px rgba(0,0,0,.8);
}

/* ============================================================
   Social-Icons unter dem Satz
   ============================================================ */
.social{
  display:flex;
  align-items:center;
  justify-content:center;
  /* Die 34-px-Flaechen bringen bereits Luft mit — der Abstand
     bleibt deshalb klein, sonst stehen die Icons zu weit. */
  gap:4px;
  margin-top:22px;
}
.social a{
  display:grid;
  place-items:center;
  width:34px;height:34px;
  color:var(--dim);
  border-radius:50%;
  transition:color .18s,transform .18s;
  /* Der Schatten haelt die Icons ueber dem Bild ablesbar. */
  filter:drop-shadow(0 2px 10px rgba(0,0,0,.85));
}
.social a:hover{color:var(--blue);transform:translateY(-2px)}
.social svg{width:21px;height:21px;display:block}

/* ============================================================
   Fusszeile
   ============================================================ */
.foot{
  position:relative;
  z-index:1;
  padding:0 24px 34px;
  text-align:center;
  font-size:.9rem;
}
.foot nav{display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap}
.foot a{
  color:var(--dim);
  text-decoration:none;
  padding:4px 2px;
  border-bottom:1px solid transparent;
  transition:color .18s,border-color .18s;
}
.foot a:hover{color:var(--blue);border-bottom-color:var(--blue)}
.foot .sep{color:var(--faint)}
/* Gleiche Schrift wie die Links darueber. */
.copy{
  margin:12px 0 0;
  font-family:var(--sans);
  font-size:.82rem;
  letter-spacing:0;
  color:var(--faint);
}

/* Nur fuer Screenreader sichtbar. */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}

:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:6px}

/* ============================================================
   Unterseiten (Kontakt, Impressum)
   Hier steht Fliesstext im Vordergrund, deshalb liegt der
   Hintergrund deutlich weiter hinten als auf der Startseite.
   ============================================================ */
body.legal .bg-scrim{
  background:
    radial-gradient(ellipse 60% 55% at 50% 40%,rgba(11,10,18,.62),rgba(11,10,18,.80) 62%,rgba(11,10,18,.92) 100%),
    linear-gradient(180deg,rgba(11,10,18,.70),rgba(11,10,18,.62) 45%,rgba(11,10,18,.88));
}
body.legal .bg-blur{filter:blur(40px) saturate(105%)}

.page{
  position:relative;
  z-index:1;
  flex:1;
  width:100%;
  max-width:660px;
  margin:0 auto;
  padding:56px 24px 40px;
}
.back{
  display:inline-block;
  margin-bottom:34px;
  font-size:.9rem;
  color:var(--dim);
  text-decoration:none;
  transition:color .18s;
}
.back:hover{color:var(--blue)}

.page h1{
  margin:0 0 26px;
  font-size:clamp(2.1rem,6vw,3rem);
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1.08;
}
.page h2{
  margin:38px 0 10px;
  font-size:.76rem;
  font-family:var(--sans);
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--faint);
}
.page p{margin:0 0 6px;color:var(--dim)}
.page a{color:var(--tx);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.22);transition:color .18s,border-color .18s}
.page a:hover{color:var(--blue);border-bottom-color:var(--blue)}
.ext{font-size:.78em;margin-left:3px;vertical-align:.12em;color:var(--faint)}
.page a:hover .ext{color:var(--blue)}

.note{
  border-left:2px solid var(--purple);
  background:rgba(255,255,255,.04);
  border-radius:0 8px 8px 0;
  padding:14px 18px;
  margin:0 0 8px;
  font-size:.92rem;
}
.note strong{color:var(--tx)}
.hint{font-size:.84rem;color:var(--faint)}

.foot.inline{margin-top:52px;padding:22px 0 0;border-top:1px solid rgba(255,255,255,.09);text-align:left}
.foot.inline nav{justify-content:flex-start}

/* ============================================================
   Langes Rechtsdokument (Datenschutzerklaerung)
   Eigene Ueberschriftenskala: die knappe Versalzeile von
   .page h2 traegt eine vierstufige Gliederung nicht.
   ============================================================ */
.legal-doc{margin-top:34px}
.legal-doc h2{
  margin:44px 0 14px;
  font-family:var(--sans);
  font-size:1.32rem;
  font-weight:800;
  letter-spacing:-.03em;
  text-transform:none;
  color:var(--tx);
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.legal-doc h2:first-child{margin-top:0}
.legal-doc h3{
  margin:30px 0 8px;
  font-size:1.02rem;
  font-weight:700;
  letter-spacing:-.01em;
  color:var(--tx);
}
.legal-doc h4{
  margin:20px 0 6px;
  font-size:.93rem;
  font-weight:600;
  color:var(--dim);
}
.legal-doc p{margin:0 0 13px;font-size:.93rem;line-height:1.75;color:var(--dim)}
.legal-doc strong{color:var(--tx);font-weight:600}
.legal-doc ul{margin:0 0 15px;padding-left:20px;color:var(--dim);font-size:.93rem}
.legal-doc li{margin-bottom:6px}
.legal-doc li::marker{color:var(--faint)}

/* Lange URLs im Fliesstext duerfen die Spalte nicht sprengen. */
.legal-doc a{overflow-wrap:anywhere}

/* ============================================================
   Kleine Viewports
   ============================================================ */
@media (max-width:600px){
  /* Weniger Blur, sonst wirkt das Motiv auf schmalen Screens matschig. */
  .bg-blur{filter:blur(18px) saturate(115%)}
  .bg-sharp{
    -webkit-mask-image:radial-gradient(ellipse 78% 46% at 50% 44%,#000 30%,rgba(0,0,0,.55) 58%,transparent 84%);
            mask-image:radial-gradient(ellipse 78% 46% at 50% 44%,#000 30%,rgba(0,0,0,.55) 58%,transparent 84%);
  }
  .mark{width:44px;height:44px;font-size:1.25rem;margin-bottom:28px}
  .stage{padding:48px 20px 16px}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .dots i{opacity:1}
}
