/* ==========================================================================
   Adelheit – Vermittlung
   Ein Klappenschrank als Visitenkarte. Keine externen Ressourcen.
   ========================================================================== */

:root {
  --ink: #0c0907;
  --ink-2: #150d08;
  --walnut-1: #4a2e1c;
  --walnut-2: #2b1a10;
  --walnut-3: #1a0f09;
  --panel: #0f1511;
  --brass-1: #f6e2a6;
  --brass-2: #d0a554;
  --brass-3: #8a6428;
  --brass-4: #4f3814;
  --enamel: #f1e8cf;
  --enamel-ink: #1d1710;
  --amber: #ffb43a;
  --amber-hot: #fff0bd;
  --paper: #f2e8d0;
  --paper-ink: #1f1810;
  --paper-mute: #6b5b43;
  --oxblood: #8e1f2c;

  --f-display: "Bodoni 72", "Didot", "Bodoni MT", "Playfair Display", "Hoefler Text", Georgia, serif;
  --f-text: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --f-plate: "Gill Sans", "Gill Sans MT", "Optima", Calibri, "Trebuchet MS", sans-serif;
  --f-type: "American Typewriter", "Courier Prime", "Courier New", Courier, monospace;

  --wood: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='420'%3E%3Cfilter id='w' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005 0.2' numOctaves='4' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.03 0 0 0 0 0.012 0 0 0 0 0 1.7 0 0 0 -0.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 -0.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  background: var(--ink);
  color: var(--enamel);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  font-family: var(--f-text);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg, canvas { display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Hero: der Raum
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 55% at 50% 38%, rgba(255, 170, 70, .16), transparent 70%),
    radial-gradient(120% 90% at 50% 120%, #000, transparent 60%),
    linear-gradient(#120b07, #0a0605 70%);
}
.hero::before { /* Tapete: feine Streifen */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255, 220, 160, .035) 0 2px, transparent 2px 46px);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
          mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.hero::after { /* Vignette */
  content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none;
  background: radial-gradient(90% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, .65));
}

#dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.site-head {
  position: absolute; z-index: 40; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 3vw, 40px);
  font-family: var(--f-plate); letter-spacing: .14em; text-transform: uppercase; font-size: 12px;
}
.site-head a, .site-head button { text-decoration: none; opacity: .78; transition: opacity .2s; }
.site-head a:hover, .site-head button:hover { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px 3px rgba(255, 170, 40, .6);
  animation: breathe 3.2s ease-in-out infinite;
}
.head-actions { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.snd {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 0;
  padding: 6px 0; cursor: pointer; text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  font-family: var(--f-plate);
}
.snd svg { width: 18px; height: 18px; }
.snd .snd-off { display: none; }
.snd[aria-pressed="false"] .snd-on { display: none; }
.snd[aria-pressed="false"] .snd-off { display: block; }

.cue {
  position: absolute; z-index: 40; bottom: 14px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-plate); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; opacity: .7; display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
}
.cue:hover { opacity: 1; }
.cue span { display: block; animation: nudge 2.4s ease-in-out infinite; }

@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ==========================================================================
   Die Bühne (feste Konstruktionsmaße, per JS skaliert)
   ========================================================================== */

.stage {
  --W: 1100px; --H: 640px; --k: 1; --cy: 50%;
  position: absolute; left: 50%; top: var(--cy);
  width: var(--W); height: var(--H);
  margin: calc(var(--H) / -2) 0 0 calc(var(--W) / -2);
  transform: scale(var(--k)); transform-origin: 50% 50%;
  user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.stage > * { position: absolute; }

/* Rahmen aus Nussholz ---------------------------------------------------- */
.board {
  inset: 0; border-radius: 26px; z-index: 0;
  background:
    var(--wood),
    linear-gradient(100deg, rgba(255, 190, 120, .10), transparent 30%, rgba(0, 0, 0, .25) 100%),
    linear-gradient(180deg, var(--walnut-1), var(--walnut-2) 55%, var(--walnut-3));
  background-size: 700px 420px, auto, auto;
  box-shadow:
    0 50px 90px -20px rgba(0, 0, 0, .85),
    0 20px 40px rgba(0, 0, 0, .6),
    0 0 0 1px rgba(0, 0, 0, .8),
    inset 0 2px 0 rgba(255, 220, 170, .16),
    inset 0 -4px 0 rgba(0, 0, 0, .55),
    inset 0 0 40px rgba(0, 0, 0, .35);
}
.panel {
  position: absolute; inset: 22px; border-radius: 12px;
  background:
    var(--grain-dark),
    radial-gradient(80% 70% at 50% 25%, #1b2620, var(--panel) 70%);
  background-size: 220px 220px, auto;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .9),
    inset 0 0 0 3px rgba(212, 168, 86, .13),
    inset 0 18px 50px rgba(0, 0, 0, .65),
    0 1px 0 rgba(255, 225, 170, .22),
    0 0 0 3px #120a06;
}
.panel > i, .nameplate > i {
  position: absolute; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f7e6b4, #b88d3e 55%, #5c4018);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .8), inset 0 -1px 1px rgba(0, 0, 0, .35);
}
.panel > i::after, .nameplate > i::after {
  content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1.5px; margin-top: -.75px;
  background: rgba(40, 24, 4, .8); transform: rotate(var(--r, 30deg));
}
.panel > i:nth-child(1) { left: 12px; top: 12px; --r: 20deg; }
.panel > i:nth-child(2) { right: 12px; top: 12px; --r: 70deg; }
.panel > i:nth-child(3) { left: 12px; bottom: 12px; --r: 110deg; }
.panel > i:nth-child(4) { right: 12px; bottom: 12px; --r: 160deg; }

/* Namensschild ------------------------------------------------------------ */
.nameplate {
  left: 360px; top: 36px; width: 380px; height: 102px; z-index: 2;
  border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    var(--grain),
    linear-gradient(172deg, #f3dc9a 0%, #d3a954 28%, #b98a39 52%, #e3c47a 74%, #a87b30 100%);
  background-size: 220px 220px, auto;
  background-blend-mode: soft-light, normal;
  box-shadow:
    0 0 0 1px #3a2809,
    0 0 0 3px #7a5a22,
    0 0 0 4px #1d1305,
    0 10px 22px rgba(0, 0, 0, .7),
    inset 0 1px 0 rgba(255, 250, 220, .9),
    inset 0 -2px 4px rgba(70, 40, 4, .5);
  color: #2e1f08;
  text-align: center;
}
.nameplate > i:nth-child(1) { left: 9px; top: 9px; --r: 25deg; }
.nameplate > i:nth-child(2) { right: 9px; top: 9px; --r: 80deg; }
.nameplate > i:nth-child(3) { left: 9px; bottom: 9px; --r: 140deg; }
.nameplate > i:nth-child(4) { right: 9px; bottom: 9px; --r: 55deg; }
.nameplate h1 {
  margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 52px; line-height: 1;
  letter-spacing: .24em; padding-left: .24em; text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 244, 205, .85), 0 -1px 0 rgba(40, 24, 0, .35);
}
.nameplate p {
  margin: 9px 0 0; font-family: var(--f-plate); font-size: 11px; letter-spacing: .34em; padding-left: .34em;
  text-transform: uppercase; font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 244, 205, .7);
}
.nameplate p::before, .nameplate p::after { content: "◆"; font-size: 6px; vertical-align: 2px; margin: 0 .9em; opacity: .7; }

/* Betriebslampen (reine Dekoration) -------------------------------------- */
.flaps { display: grid; gap: 4px; z-index: 2; }
.flaps--l { left: 62px; top: 44px; grid-template-columns: repeat(8, 30px); }
.flaps--r { left: 770px; top: 44px; grid-template-columns: repeat(8, 30px); }
.flap {
  position: relative; width: 30px; height: 30px; border-radius: 4px;
  background: linear-gradient(#070908, #121915);
  box-shadow: inset 0 1px 3px #000, 0 1px 0 rgba(255, 230, 180, .12);
  font: 600 7.5px/30px var(--f-plate); letter-spacing: .06em; text-align: center; color: rgba(240, 224, 180, .22);
}
.flap::before {
  content: ""; position: absolute; left: 50%; top: 5px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: #2a1a08; box-shadow: inset 0 -1px 1px #000;
  transition: background .35s, box-shadow .35s;
}
.flap::after { content: attr(data-n); position: absolute; left: 0; right: 0; top: 11px; line-height: 16px; }
.flap.on::before { background: radial-gradient(circle at 40% 35%, #fff3c8, var(--amber) 55%, #b96a09); box-shadow: 0 0 10px 2px rgba(255, 170, 40, .65); }
.flap.on { color: rgba(255, 224, 150, .75); }

/* Zettel: Adelheit spricht ---------------------------------------------- */
.zettel {
  left: 230px; top: 158px; width: 640px; height: 64px; z-index: 2;
  display: flex; align-items: center; padding: 0 28px;
  background:
    var(--grain),
    linear-gradient(180deg, #f6edd3, #e8dcba);
  background-size: 220px 220px, auto;
  background-blend-mode: multiply, normal;
  color: #26190c;
  transform: rotate(-.35deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .5) inset, 0 0 0 1px rgba(0, 0, 0, .25);
  font-family: var(--f-type); font-size: 18px; line-height: 1.3; letter-spacing: -.01em;
}
.zettel::before { /* Perforation links */
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 6px;
  background: radial-gradient(circle, #1a130a 2px, transparent 2.5px) 0 0 / 6px 12px repeat-y;
  opacity: .55;
}
.zettel p { margin: 0; width: 100%; min-height: 2.6em; display: flex; align-items: center; }
.zettel p span::after {
  content: ""; display: inline-block; width: .55em; height: 1.05em; margin-left: 3px; vertical-align: -.17em;
  background: #26190c; animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* Klinken ------------------------------------------------------------------ */
.jack {
  --jw: 160px;
  top: 252px; width: var(--jw); height: 192px; z-index: auto;
  appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0; margin: 0;
  cursor: pointer; text-align: center; outline: none;
}
.jack[data-id="sie"]       { left: 70px;  cursor: default; }
.jack[data-id="bytewerk"]  { left: 295px; }
.jack[data-id="creativbox"]{ left: 485px; }
.jack[data-id="mybyte"]    { left: 675px; }
.jack[data-id="auskunft"]  { left: 865px; }

.jack > span { position: absolute; display: block; }

.jack__plate {
  left: 50%; top: 0; width: 148px; height: 46px; margin-left: -74px;
  display: flex !important; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #faf2dc, #e6dab9);
  color: var(--enamel-ink);
  border-radius: 3px;
  box-shadow:
    0 0 0 2px #7d5d26, 0 0 0 3px #1c1306,
    0 4px 8px rgba(0, 0, 0, .55),
    inset 0 0 0 1px rgba(0, 0, 0, .25),
    inset 0 -3px 4px rgba(120, 90, 30, .25);
  transition: box-shadow .25s, transform .25s;
}
.jack__plate b {
  font: 700 16px/1.05 var(--f-plate); letter-spacing: .04em; white-space: nowrap;
}
.jack__plate .p { display: none; }
.jack__plate small {
  margin-top: 3px; font: 600 8.5px/1 var(--f-plate); letter-spacing: .2em; text-transform: uppercase; color: #6c5a3a;
}
.jack__lamp {
  left: 50%; top: 58px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6b4514, #2a1707 70%);
  box-shadow: 0 0 0 3px #8a6428, 0 0 0 4px #1b1206, inset 0 -2px 3px rgba(0, 0, 0, .6);
  transition: background .25s, box-shadow .25s;
}
.jack.is-lit .jack__lamp, .jack.is-target .jack__lamp {
  background: radial-gradient(circle at 36% 30%, var(--amber-hot), var(--amber) 45%, #c76f08 100%);
  box-shadow: 0 0 0 3px #8a6428, 0 0 0 4px #1b1206, 0 0 18px 7px rgba(255, 170, 40, .6), 0 0 70px 24px rgba(255, 150, 30, .22);
}
.jack.is-target .jack__lamp { filter: saturate(.8) brightness(.9); }
.jack.is-call .jack__lamp { animation: callfl 1.6s ease-in-out infinite; }
@keyframes callfl { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(.55); } }

.jack__slot {
  left: 50%; top: 92px; width: 38px; height: 100px; margin-left: -19px;
  background: linear-gradient(90deg, #000, #0b0d0c 30%, #050605 70%, #000);
  border-radius: 7px 7px 3px 3px;
  box-shadow: 0 0 0 2px #6e5020, 0 0 0 3px #150e04, inset 0 8px 14px #000;
  z-index: 1;
}
.jack__slot::after { /* Messingring am Mund */
  content: ""; position: absolute; left: -7px; right: -7px; bottom: -3px; height: 9px; border-radius: 4px;
  background: linear-gradient(180deg, #f1d68c, #b98a39 55%, #6e4f1b);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.jack__hood {
  left: 50%; top: 86px; width: 54px; height: 76px; margin-left: -27px;
  z-index: 6;
  border-radius: 10px 10px 5px 5px;
  background:
    var(--grain),
    linear-gradient(90deg, #7d5b22 0%, #e8c978 22%, #fbe9ae 38%, #c99a45 62%, #8c6528 85%, #5d4116 100%);
  background-size: 220px 220px, auto;
  background-blend-mode: soft-light, normal;
  box-shadow:
    0 8px 10px -2px rgba(0, 0, 0, .75),
    0 0 0 1px #2a1c06,
    inset 0 1px 0 rgba(255, 255, 255, .65);
}
.jack__hood::before { /* Schraube */
  content: ""; position: absolute; left: 50%; top: 9px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1c2, #a77c33 60%, #4a3210);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .6);
}

.jack:hover .jack__plate, .jack:focus-visible .jack__plate, .jack.is-target .jack__plate {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 2px #c79a45, 0 0 0 3px #1c1306,
    0 6px 14px rgba(0, 0, 0, .6), 0 0 26px rgba(255, 190, 80, .35),
    inset 0 0 0 1px rgba(0, 0, 0, .25);
}
.jack[data-id="sie"]:hover .jack__plate { transform: none; }
.jack:focus-visible .jack__plate { outline: 3px solid var(--amber); outline-offset: 5px; }

.divider {
  left: 262px; top: 250px; width: 2px; height: 194px; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8) 15%, rgba(0, 0, 0, .8) 85%, transparent);
  box-shadow: 1px 0 0 rgba(255, 225, 170, .12);
}

.divider--3 { left: 850px; }

/* Stöpselbrett ------------------------------------------------------------ */
.shelf {
  left: 22px; top: 562px; width: 1056px; height: 56px; z-index: 1;
  border-radius: 0 0 12px 12px;
  background:
    var(--wood),
    linear-gradient(180deg, #5a3a22, #3a2415 40%, #24150c);
  background-size: 700px 420px, auto;
  box-shadow:
    inset 0 3px 0 #c79c4b,
    inset 0 4px 0 #3d2b0c,
    inset 0 -2px 0 rgba(0, 0, 0, .6),
    0 -8px 14px rgba(0, 0, 0, .55);
  font-family: var(--f-plate); font-size: 10px; letter-spacing: .5em; text-transform: uppercase; color: rgba(255, 225, 160, .32);
  display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 70px 7px 0;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .8);
}
.hole {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, #000 52%, #c79c4b 54%, #8a6428 68%, #3d2b0c 72%);
  box-shadow: 0 1px 0 rgba(255, 230, 170, .35), inset 0 2px 5px #000;
}
.hole--rear  { left: 272px; top: 592px; }
.hole--front { left: 560px; top: 592px; }

/* Die beweglichen Teile ---------------------------------------------------- */
#cords { left: 0; top: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }

.plug-hit {
  left: 0; top: 0; width: 64px; height: 150px; z-index: 9;
  transform-origin: 32px 140px; touch-action: none; cursor: grab;
  border-radius: 14px;
  will-change: transform;
}
.plug-hit:active { cursor: grabbing; }
.plug-hit.is-drag { cursor: grabbing; }
.plug-hit::after { /* Hinweis-Ring */
  content: ""; position: absolute; left: -4px; right: -4px; top: 12px; bottom: 30px; border-radius: 22px;
  border: 2px solid rgba(255, 200, 100, .0); opacity: 0;
}
.plug-hit.is-hint::after { animation: ring 2.4s ease-in-out infinite; }
@keyframes ring {
  0% { opacity: 0; transform: scale(.88); border-color: rgba(255, 200, 100, .0); }
  35% { opacity: 1; border-color: rgba(255, 210, 120, .9); }
  100% { opacity: 0; transform: scale(1.22); border-color: rgba(255, 200, 100, 0); }
}
.plug-hit:focus { outline: none; }

.hint {
  left: 604px; top: 488px; z-index: 8; pointer-events: none;
  font-family: var(--f-plate); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: #2e1f08; padding: 7px 12px 6px 14px; border-radius: 3px;
  background: linear-gradient(172deg, #f3dc9a, #c79a45);
  box-shadow: 0 0 0 1px #3a2809, 0 5px 10px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 250, 220, .8);
  white-space: nowrap; transition: opacity .4s, transform .4s;
  animation: tag 2.6s ease-in-out infinite;
}
.hint::before { content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; background: #dcb765; transform: rotate(45deg); box-shadow: -1px 1px 0 rgba(58, 40, 9, .8); }
.hint.is-gone { opacity: 0; transform: translateX(10px); animation: none; }
@keyframes tag { 0%, 100% { translate: 0 0; } 50% { translate: 5px 0; } }

/* Zustände ----------------------------------------------------------------- */
.veil {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); opacity: 0; pointer-events: none;
  transition: opacity .45s ease;
}
html.is-leaving .veil { opacity: 1; pointer-events: auto; }

.nojs-note { display: none; }
.no-js .nojs-note {
  display: block; position: absolute; z-index: 50; left: 50%; bottom: 60px; transform: translateX(-50%);
  background: var(--enamel); color: var(--enamel-ink); padding: 12px 18px; border-radius: 4px; font-family: var(--f-plate);
}

/* ==========================================================================
   Hochformat: Smartphone
   ========================================================================== */

/* Zwei Zeilen: oben die drei Websites, darunter außen "Ihr Anschluss" und "Auskunft".
   Die Anschlüsse der unteren Zeile sitzen an den Rändern, damit gesteckte Stöpsel
   der oberen Zeile (Spalten bei x = 100 / 220 / 340) frei hängen können. */
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .stage { --W: 440px; --H: 856px; }
  .panel { inset: 18px; }
  .nameplate { left: 60px; top: 26px; width: 320px; height: 84px; }
  .nameplate h1 { font-size: 38px; }
  .nameplate p { font-size: 9px; letter-spacing: .26em; margin-top: 6px; }
  .flaps--l { left: 35px; top: 124px; grid-template-columns: repeat(5, 30px); grid-template-rows: 30px; }
  .flaps--r { left: 241px; top: 124px; grid-template-columns: repeat(5, 30px); grid-template-rows: 30px; }
  .flaps--l .flap:nth-child(n+6), .flaps--r .flap:nth-child(n+6) { display: none; }
  .zettel { left: 24px; top: 166px; width: 392px; height: 84px; font-size: 17px; padding: 0 22px 0 30px; }

  .jack { --jw: 120px; top: 268px; }
  .jack[data-id="bytewerk"]   { left: 40px; }
  .jack[data-id="creativbox"] { left: 160px; }
  .jack[data-id="mybyte"]     { left: 280px; }
  .jack[data-id="sie"]        { --jw: 60px; left: 24px;  top: 464px; }
  .jack[data-id="auskunft"]   { --jw: 60px; left: 356px; top: 464px; }

  .jack__plate { width: 112px; height: 44px; margin-left: -56px; top: 0; }
  .jack__plate b { font-size: 14px; letter-spacing: 0; }
  .jack__plate small { font-size: 7px; letter-spacing: .1em; }
  .jack[data-id="sie"] .jack__plate { width: 52px; margin-left: -26px; }
  .jack[data-id="auskunft"] .jack__plate { width: 64px; margin-left: -32px; }
  .jack[data-id="sie"] .jack__plate b, .jack[data-id="auskunft"] .jack__plate b { font-size: 12.5px; }
  .jack[data-id="sie"] .jack__plate small, .jack[data-id="auskunft"] .jack__plate small { font-size: 6px; letter-spacing: .08em; }
  .jack__plate .l { display: none; }
  .jack__plate .p { display: inline; }
  .divider { display: none; }

  .shelf { left: 18px; top: 782px; width: 404px; height: 56px; font-size: 0; }
  .hole--rear { left: 134px; top: 812px; }
  .hole--front { left: 240px; top: 812px; }
  .hint { left: 268px; top: 700px; }
}

/* ==========================================================================
   Verzeichnis
   ========================================================================== */

.dir {
  position: relative;
  padding: clamp(56px, 9vw, 130px) clamp(12px, 3vw, 40px) clamp(40px, 6vw, 80px);
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(255, 170, 70, .12), transparent 70%),
    linear-gradient(var(--ink), var(--ink-2));
}

.page {
  position: relative; max-width: 980px; margin: 0 auto;
  padding: clamp(30px, 6vw, 84px) clamp(22px, 6vw, 88px) clamp(34px, 6vw, 80px);
  color: var(--paper-ink);
  background:
    var(--grain),
    radial-gradient(120% 100% at 50% 0%, #f8f0da, var(--paper) 55%, #e6d9b8);
  background-size: 220px 220px, auto;
  background-blend-mode: multiply, normal;
  border-radius: 3px;
  box-shadow: 0 50px 90px -30px #000, 0 20px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .5);
}
.page::before { /* Doppelrahmen wie im Telefonbuch */
  content: ""; position: absolute; inset: clamp(10px, 2vw, 22px); pointer-events: none;
  border: 1px solid rgba(60, 40, 12, .65);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px rgba(60, 40, 12, .4);
}

.page > * { position: relative; }

.eyebrow {
  margin: 0; text-align: center;
  font-family: var(--f-plate); font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--paper-mute);
  padding-left: .4em;
}
.page h2 {
  margin: 12px 0 0; text-align: center; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(32px, 6.4vw, 66px); line-height: 1.02; letter-spacing: .02em; text-transform: uppercase;
}
.lede {
  max-width: 34em; margin: 22px auto 0; text-align: center; font-size: clamp(16px, 2vw, 19px); color: #3a2e1e;
}
.ornament {
  display: flex; align-items: center; gap: 14px; margin: 34px auto; max-width: 420px; color: var(--paper-mute);
}
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .5; }
.ornament span { font-size: 14px; letter-spacing: .6em; padding-left: .6em; }

.entries { list-style: none; margin: 0; padding: 0; }
.entry {
  position: relative; padding: clamp(24px, 4vw, 44px) 0;
  border-top: 1px solid rgba(60, 40, 12, .35);
  display: grid; grid-template-columns: clamp(54px, 9vw, 110px) 1fr; gap: 0 clamp(14px, 3vw, 36px);
}
.entry:first-child { border-top: 0; }
.entry .entry__no {
  grid-row: 1 / span 3; max-width: none;
  font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(60px, 10vw, 120px); line-height: .8;
  color: rgba(142, 31, 44, .8); margin: 0; letter-spacing: -.04em;
}
.entry__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.entry h4 {
  margin: 0; font-family: var(--f-display); font-size: clamp(26px, 4vw, 40px); line-height: 1.1; font-weight: 700;
}
.entry__lead {
  flex: 1; min-width: 40px; border-bottom: 2px dotted rgba(60, 40, 12, .55); transform: translateY(-5px);
}
.entry__num {
  font-family: var(--f-plate); font-weight: 700; font-size: clamp(16px, 2.2vw, 22px); letter-spacing: .04em;
  text-decoration: none; border-bottom: 2px solid var(--oxblood); padding-bottom: 1px; color: var(--paper-ink);
  transition: color .2s, border-color .2s;
}
.entry__num:hover, .entry__num:focus-visible { color: var(--oxblood); }
.entry p { margin: 12px 0 0; font-size: clamp(16px, 1.9vw, 18.5px); color: #2c2214; max-width: 38em; }
.entry__tags {
  margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px;
}
.entry__tags li {
  font-family: var(--f-plate); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid rgba(60, 40, 12, .5); padding: 4px 9px 3px; color: #4a3b26;
}
.btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px;
  font-family: var(--f-plate); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  padding: 13px 22px 12px; text-decoration: none; color: var(--enamel); background: #20150b;
  border-radius: 2px; box-shadow: 0 3px 0 #000, 0 8px 16px rgba(0, 0, 0, .3);
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover, .btn:focus-visible { background: var(--oxblood); transform: translateY(-1px); box-shadow: 0 4px 0 #000, 0 12px 20px rgba(0, 0, 0, .3); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #000; }
.btn svg { width: 16px; height: 16px; }

.about { display: grid; gap: 28px 56px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .about { grid-template-columns: 1.35fr 1fr; } }
.about h3 { margin: 0 0 12px; font-family: var(--f-display); font-size: clamp(26px, 3.6vw, 36px); line-height: 1.1; }
.about p { margin: 0 0 14px; font-size: clamp(16px, 1.9vw, 18px); color: #2c2214; }
.about em { color: var(--oxblood); }
.facts { margin: 0; padding: 0; list-style: none; font-family: var(--f-plate); font-size: 14px; letter-spacing: .02em; }
.facts li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px dotted rgba(60, 40, 12, .55); }
.facts li:first-child { border-top: 1px dotted rgba(60, 40, 12, .55); }
.facts span:first-child { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--paper-mute); padding-top: 2px; }
.facts span:last-child { text-align: right; font-weight: 600; }

.signoff {
  margin: 38px 0 0; text-align: center; font-family: var(--f-display); font-style: italic; font-size: clamp(20px, 3vw, 28px); color: #3a2e1e;
}
.signoff small { display: block; margin-top: 4px; font: 600 11px var(--f-plate); letter-spacing: .3em; text-transform: uppercase; font-style: normal; color: var(--paper-mute); }

/* Fuß ---------------------------------------------------------------------- */
.foot {
  background: var(--ink-2);
  padding: 30px clamp(16px, 4vw, 40px) 44px; text-align: center;
  font-family: var(--f-plate); font-size: 12px; letter-spacing: .12em; color: rgba(241, 232, 207, .6);
}
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .2em; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--amber); }
.foot p { margin: 0; line-height: 1.8; }

/* ==========================================================================
   Rechtsseiten
   ========================================================================== */

.legal-wrap { padding: clamp(70px, 10vw, 120px) clamp(12px, 3vw, 40px) 60px; background: linear-gradient(var(--ink), var(--ink-2)); min-height: 100vh; }
.legal-wrap .page { max-width: 780px; }
.legal-wrap h1 { margin: 6px 0 0; font-family: var(--f-display); font-size: clamp(34px, 6vw, 54px); line-height: 1.05; text-transform: uppercase; text-align: center; }
.legal-wrap h2 { font-size: clamp(20px, 2.6vw, 26px); text-align: left; text-transform: none; margin: 34px 0 6px; letter-spacing: 0; }
.legal-wrap p, .legal-wrap li { font-size: 17px; color: #2c2214; }
.legal-wrap ul { padding-left: 1.2em; }
.legal-wrap a { color: var(--oxblood); }
.legal-back { position: absolute; top: 16px; left: clamp(16px, 3vw, 40px); font-family: var(--f-plate); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--enamel); opacity: .8; z-index: 2; }
.legal-back:hover { opacity: 1; }

/* ==========================================================================
   Weniger Bewegung
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .brand i, .cue span, .hint, .plug-hit.is-hint::after, .jack.is-call .jack__lamp, .zettel p span::after { animation: none !important; }
  .veil { transition-duration: .01s; }
}
