/* Schleier Holdings. One placeholder screen: mark, wordmark, one link.
   Layout "Mitte" with the light, chosen by the owner on 2026-11-20 (README: "Zweite Gestaltungsrunde"). */
@font-face{font-family:"PP Mori";src:url(/assets/fonts/PPMori-SemiBold.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Neue Montreal";src:url(/assets/fonts/NeueMontreal-Regular.woff2) format("woff2");font-weight:400;font-display:swap}   /* draft layout "Schrift" only */

:root{
  --bg:#0B0B0C; --ink:#EDEAE4; --mute:#8F8B84; --acc:#A6A6A2; --low:#5A5A58; --line:rgba(237,234,228,.12);
  --pool:rgba(237,234,228,.07);          /* the light on the surface */
  --pad:clamp(20px,4vw,56px);
  --label:"PP Mori",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --sans:"Neue Montreal",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:dark;
}
html[data-tone="hell"]{--bg:#F2F0EB;--ink:#161616;--mute:#77746E;--acc:#8E8C87;--low:#BDBAB3;--line:rgba(22,22,22,.18);--pool:rgba(255,255,255,.75);color-scheme:light}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:600 14px/1.4 var(--label);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  min-height:100vh;min-height:100svh;display:flex;flex-direction:column;overflow-x:hidden}
a{color:inherit}
::selection{background:var(--acc);color:var(--bg)}
.skip{position:absolute;left:8px;top:8px;transform:translateY(-300%);background:var(--ink);color:var(--bg);padding:8px 12px;border-radius:6px;z-index:10}
.skip:focus{transform:none}
:focus-visible{outline:2px solid var(--acc);outline-offset:4px;border-radius:4px}

/* the mark: S in the ink colour, bar and H in grey */
.lg-ink{fill:var(--ink)} .lg-acc{fill:var(--acc)} .lg-low{fill:var(--low)}
svg.tm{display:block}

/* One screen. build.py writes which layout shows (html[data-lay]); live there is only one. */
main{flex:1;display:flex}
.L{flex:1;flex-direction:column;position:relative}
.grain{overflow:hidden;overflow:clip}      /* clip, not hidden: the screen must not become a box that can be scrolled (focus, text selection) */
.grain::before{content:"";position:absolute;inset:0;z-index:3;background:url(img/grain.png);background-size:120px 120px;opacity:.85;pointer-events:none}   /* on top: it also dithers the light */
.grain>*{position:relative;z-index:1}
.wm{font:600 12.5px/1 var(--label);letter-spacing:.32em;text-transform:uppercase;margin:0;white-space:nowrap}
.tl{display:inline-flex;align-items:center;gap:10px;font:600 14px/1 var(--label);letter-spacing:.01em;text-decoration:none;color:var(--ink);
  padding:0 0 9px;border-bottom:1px solid var(--line);transition:border-color .25s}
.tl .ar{display:inline-block;transition:transform .25s}
@media (hover:hover){.tl:hover{border-color:var(--ink)}.tl:hover .ar{transform:translateX(4px)}}
.yr{font:600 11px/1 var(--label);letter-spacing:.22em;color:var(--mute);white-space:nowrap}

/* Mitte: mark, wordmark and link on the centre line, a hairline frame around the screen */
.L-mitte{align-items:center;justify-content:center;padding:var(--pad)}
.L-mitte::after{content:"";position:absolute;inset:clamp(12px,1.5vw,22px);border:1px solid var(--line);pointer-events:none}
.L-mitte main{align-items:center;justify-content:center}
.L-mitte .c{display:flex;flex-direction:column;align-items:center;padding-bottom:3vh}
.L-mitte svg.tm{width:clamp(150px,16vw,240px);height:auto}
.L-mitte .home{display:block}
.L-mitte .wm{margin:clamp(28px,2.8vw,42px) 0 0;padding-left:.32em;font-size:13.5px}
.L-mitte .rule{width:1px;height:clamp(36px,6.5vh,68px);background:var(--line);margin:clamp(22px,3.4vh,34px) 0}
.L-mitte>.yr{position:absolute;left:0;right:0;bottom:clamp(30px,3.6vw,50px);text-align:center;padding-left:.22em}
.L-404{display:flex!important}             /* the 404 page always shows, whatever layout the draft is switched to */

/* Movement (html[data-fx]): ruhig = none, rauschen = the grain lives, licht = a soft light on the surface, beides.
   assets/site.js moves the light: --x/--y on <html> in px, --lx/--ly on [data-lit] in their own coordinates.
   It follows the mouse; without one (phones, idle) it drifts slowly. */
html[data-fx="rauschen"] .grain::before,html[data-fx="beides"] .grain::before{inset:-64px;animation:grain .96s steps(1) infinite}
@keyframes grain{0%{transform:translate(0,0)}12.5%{transform:translate(-37px,23px)}25%{transform:translate(19px,-41px)}37.5%{transform:translate(-53px,-17px)}
  50%{transform:translate(31px,47px)}62.5%{transform:translate(-11px,-59px)}75%{transform:translate(43px,13px)}87.5%{transform:translate(-29px,37px)}}
.lamp,.fr{display:none}
html[data-fx="licht"] .lamp,html[data-fx="beides"] .lamp{display:block;position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(circle 54vmax at var(--x,50%) var(--y,30%),var(--pool) 0,transparent 68%)}
/* the hairline frame catches the light (a gradient as border image) */
html[data-fx="licht"] .fr,html[data-fx="beides"] .fr{display:block;position:absolute;inset:clamp(12px,1.5vw,22px);z-index:1;opacity:.72;pointer-events:none;border:1px solid transparent;
  border-image:radial-gradient(circle 36vmax at var(--lx,50%) var(--ly,0%),var(--ink) 0,var(--ink) 18%,transparent 88%) 1}

/* Entrance, once per load */
@keyframes rise{from{opacity:0;transform:translateY(10px)}}
@keyframes track{from{opacity:0;letter-spacing:.56em}}
@keyframes grow{from{transform:scaleY(0)}}
@keyframes fade{from{opacity:0}}
.L-mitte svg.tm{animation:rise 1.1s cubic-bezier(.2,.7,.2,1) .1s both}
.L-mitte .wm{animation:track 1.3s cubic-bezier(.2,.7,.2,1) .35s both}
.L-mitte .rule{transform-origin:top;animation:grow .7s ease .9s both}
.L-mitte .tl{animation:rise .8s ease 1.15s both}
.L-mitte::after{animation:fade 1.6s ease .2s both}
.L-mitte>.yr{animation:fade 1s ease 1.3s both}

/* ------------------------------------------------------------------------------------------------------------------
   Draft only from here: the second layout "Schrift" and the switcher. */
/* Schrift: the name set as wide as the screen along the bottom edge (6.8 and 3.5 are its widths in em at this tracking) */
.L-schrift{padding:clamp(22px,3vw,40px) var(--pad) 0}
.L-schrift main{align-items:flex-end}
.rw{display:flex;justify-content:space-between;align-items:center;gap:24px}
.L-schrift .brand svg.tm{height:22px;width:auto}
.s-name{font:400 calc((100vw - 2*var(--pad))/6.8)/.8 var(--sans);letter-spacing:-.04em;white-space:nowrap;margin:0 0 .19em -.045em}
.s-name .g{color:var(--mute)}
/* the grey word turns bright where the light falls. The padding (taken back by the margin) lets the fill reach the g's descender */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  html[data-fx="licht"] .s-name .g,html[data-fx="beides"] .s-name .g{padding:.14em .1em .32em 0;margin:-.14em -.1em -.32em 0;
    background:radial-gradient(circle 26vmax at var(--lx,50%) var(--ly,50%),var(--ink) 0,var(--mute) 72%);-webkit-background-clip:text;background-clip:text;
    color:transparent;-webkit-text-fill-color:transparent}
}
@keyframes up{from{opacity:0;transform:translateY(.16em)}}
.s-name span{display:inline-block;animation:up 1.2s cubic-bezier(.2,.7,.2,1) .1s both}
.s-name .g{animation-delay:.24s}
.L-schrift .rw{animation:fade 1s ease .6s both}
@media (max-width:820px){
  .s-name{font-size:calc((100vw - 2*var(--pad))/3.5);white-space:normal;line-height:.86;margin-bottom:.16em}
  .s-name span{display:block}
}

/* switcher for layout, tone and movement. It lies over the page and changes nothing in it; "x" closes it until the next load, ?bar=0 hides it */
.draftbar{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:20;display:flex;align-items:center;gap:14px;
  background:rgba(20,20,22,.94);backdrop-filter:blur(8px);border:1px solid rgba(237,234,228,.14);border-radius:10px;padding:8px 10px 8px 12px;
  font:600 12px/1 var(--label);color:#8F8B84;white-space:nowrap}
.draftbar .g{display:flex;align-items:center;gap:6px}
.draftbar button{font:inherit;color:#EDEAE4;background:transparent;border:1px solid rgba(237,234,228,.16);border-radius:6px;min-width:28px;height:28px;padding:0 9px;cursor:pointer}
.draftbar button[aria-pressed="true"]{border-color:#EDEAE4;background:#EDEAE4;color:#0B0B0C}
.draftbar button[data-close]{border-color:transparent;color:#8F8B84;padding:0 4px}
html.no-bar .draftbar,.draftbar[hidden]{display:none}
@media (max-width:720px){.draftbar{bottom:8px;gap:6px 10px;padding:6px 8px;flex-wrap:wrap;justify-content:center;width:calc(100% - 16px);max-width:400px}.draftbar>span:first-child{display:none}}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
