@import url('fonts/fonts.css');
/* Grain – Teaser. Übernommen aus landingpage/teaser/teaser.css (nur die Szene), dazu Anmeldung, Sprachwahl und Links.
   Farben und Schriften wie die Landingpage, keine neuen Farben. */
:root{--bg:#0a0a0a;--muted:#a1a1a1;--text:#f5f5f5;--accent:#d2ff00;color-scheme:dark}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;background:var(--bg);color:var(--text)}
/* html schneidet für das Fenster ab, body für sich selbst: so wächst auf dem Handy die Seite nicht mit der überstehenden Bühne. */
html{overflow-x:hidden}
body{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;font-family:Inter,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
p,h1{margin:0;font-family:-apple-system,BlinkMacSystemFont,Inter,sans-serif}
.t-mono{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.14em;color:var(--muted)}
main{flex:1;display:flex;flex-direction:column}
a{color:inherit;text-underline-offset:3px}
a:focus-visible,button:focus-visible,input[type=checkbox]:focus-visible{outline:2px solid var(--text);outline-offset:3px}

/* Formular */
.t-form{text-align:left}
.t-form label.t-mono{display:block;margin-bottom:10px}
.t-row{display:flex;gap:14px;align-items:stretch}
.t-row input{flex:1;min-width:0;height:52px;padding:0;border:0;border-bottom:1px solid #5a5a5a;border-radius:0;background:none;color:var(--text);font:inherit;font-size:17px}
.t-row input::placeholder{color:#8a8a8a}
.t-row input:focus{outline:none;border-bottom-color:var(--accent)}
.t-row input[aria-invalid]{border-bottom-color:var(--text)}
.t-row button{display:inline-flex;align-items:center;gap:12px;height:52px;padding:0 18px;border:0;border-radius:3px;background:var(--accent);color:#0a0a0a;font:inherit;font-size:15px;font-weight:500;white-space:nowrap;cursor:pointer}
.t-row button[aria-disabled]{opacity:.6;cursor:progress}
.t-row button svg{width:18px;height:18px}
.t-msg{font-size:13px;color:var(--text);min-height:0}
.t-msg:not(:empty){margin-top:8px}
.t-consent{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-size:13px;line-height:1.45;color:var(--muted);cursor:pointer}
.t-consent input{flex:none;width:16px;height:16px;margin:1px 0 0;accent-color:var(--accent)}
.t-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.t-nojs{margin-top:10px;font-size:13px;color:var(--muted)}
.js .t-nojs{display:none}
html:not(.js) .t-row button{display:none}
.t-done{outline:none}
.t-done p{font-size:15px;line-height:1.5;color:var(--muted);max-width:30em}
.t-done .t-done-title{font-size:20px;font-weight:500;color:var(--text);margin-bottom:6px}
.t-again{margin-top:14px;padding:0;border:0;background:none;color:var(--text);font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.t-note{font-size:13px;color:var(--muted)}
.t-note:not(:empty){margin-top:14px}
.t-note[data-kind=error]{color:var(--text)}

/* Szene: die gerenderte Bühne füllt den ganzen Bildschirm, das Objekt steht rechts.
   Links unten, wie der Titel auf einem Filmplakat: ein Satz und die Anmeldung. Oben die Wortmarke, unten eine Fußzeile.
   Der Bildrand blendet weich in den Seitengrund aus, ein Korn liegt über Bild und Seite gemeinsam. */
.t-szene{--w:max(136vw,196vh);--ox:66vw;--oy:47vh;--pad:clamp(22px,6vw,96px);background:#030303;position:relative;overflow:hidden;min-height:100vh;min-height:100svh}
.t-szene .t-scene{position:absolute;left:var(--ox);top:var(--oy);width:var(--w);aspect-ratio:16/9;transform:translate(-50%,-49%);z-index:0;pointer-events:none;
  -webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 62%,transparent 100%)}
.t-szene .t-scene img{position:absolute;inset:0;width:100%;height:100%;display:block}
.t-szene .t-open{opacity:0}
.t-szene:has(#teaser[data-state=done]) .t-open{opacity:1}
.t-szene .t-top,.t-szene main,.t-szene .t-foot{position:relative;z-index:1}
.t-szene .t-top{display:flex;justify-content:space-between;align-items:baseline;padding:clamp(20px,3.4vh,34px) var(--pad) 0}
.t-szene .t-word{font-size:22px;font-weight:500;letter-spacing:-.02em}
.t-right{display:flex;gap:22px;align-items:baseline}
.lang a{text-decoration:none;opacity:.6}
.lang a:hover{opacity:1}
.lang [aria-current]{color:var(--text)}
.t-szene main{align-items:flex-start;justify-content:flex-end;text-align:left;padding:0 var(--pad) clamp(28px,7vh,84px);max-width:calc(var(--ox) - 14vw)}
.t-szene h1{margin:0;font-size:clamp(54px,6.6vw,118px);line-height:.9;font-weight:500;letter-spacing:-.065em}
.t-szene .t-form{width:min(100%,460px);margin-top:clamp(26px,5.5vh,56px)}
.t-szene .t-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0 var(--pad) clamp(16px,2.6vh,26px);align-items:center}
.t-links{display:flex;gap:18px}
.t-links a{text-decoration:none;opacity:.8}
.t-links a:hover{opacity:1}
.t-grain{position:fixed;inset:0;z-index:3;pointer-events:none;opacity:.16;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
@media (prefers-reduced-motion:no-preference){
  .t-szene .t-open{transition:opacity 1.1s ease}
  .t-szene h1,.t-szene .t-form{animation:t-rise .9s cubic-bezier(.2,.7,.2,1) both}
  .t-szene .t-form{animation-delay:.18s}
  .t-szene .t-scene{animation:t-in 1.6s ease both}
}
@keyframes t-rise{from{opacity:0;transform:translateY(18px)}}
@keyframes t-in{from{opacity:0}}
/* Schmal: Objekt oben in der Mitte, Text darunter, linksbündig */
@media (max-width:860px){
  .t-szene{--w:max(235vw,118vh);--ox:50vw;--oy:31vh}
  .t-szene main{max-width:none;padding-bottom:22px}
  .t-szene h1{font-size:clamp(46px,13.5vw,84px)}
  .t-szene .t-form{margin-top:22px}
  .t-szene .t-foot{font-size:10px;row-gap:8px}
}
@media (max-width:520px){
  .t-row{flex-direction:column;gap:12px}
  .t-row button{justify-content:space-between}
}
/* Bewegter Ausschnitt um das Tuch: liegt passgenau über dem Standbild, Rand weich ausgeblendet */
.t-szene .t-move{position:absolute;left:38%;top:27%;width:38%;height:61%;opacity:0;background-repeat:no-repeat;
  -webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 70%,transparent 100%);mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 70%,transparent 100%)}
.t-szene .t-move.t-on{opacity:1}
.t-szene:has(#teaser[data-state=done]) .t-move{opacity:0}
@media (prefers-reduced-motion:no-preference){.t-szene .t-move{transition:opacity .6s ease}}
