/* Fabs Portfolio – gemeinsame Styles für alle Seiten */
  /* Barlow (SIL Open Font License), lokal eingebunden: Fließtext */
  @font-face { font-family: "Barlow"; src: url("../fonts/barlow-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
  @font-face { font-family: "Barlow"; src: url("../fonts/barlow-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
  @font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
  /* Klavika: Überschriften, Navigation, kleine Beschriftungen */
  @font-face { font-family: "Klavika"; src: url("../fonts/klavika-light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
  @font-face { font-family: "Klavika"; src: url("../fonts/klavika-light-italic.otf") format("opentype"); font-weight: 300; font-style: italic; font-display: swap; }
  @font-face { font-family: "Klavika"; src: url("../fonts/klavika-medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
  @font-face { font-family: "Klavika"; src: url("../fonts/klavika-medium-italic.otf") format("opentype"); font-weight: 500; font-style: italic; font-display: swap; }
  @font-face { font-family: "Klavika"; src: url("../fonts/klavika-bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
  @font-face { font-family: "Klavika"; src: url("../fonts/klavika-bold-italic.otf") format("opentype"); font-weight: 700; font-style: italic; font-display: swap; }

  @property --px { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
  @property --hs { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
  @property --veil { syntax: '<number>'; inherits: true; initial-value: 0.76; }
  @property --py { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

  :root {
    --ink: #383260;   /* getöntes Dunkelviolett statt Schwarz, für Text auf hellen Flächen */
    --edge: 0 1px 1px rgb(20 10 50 / 0.42), 0 0 3px rgb(20 10 50 / 0.18), 0 3px 14px rgb(20 10 50 / 0.22);   /* Schattenkante für weiße Schrift auf der Folie */
    --ink-old: #16171b; --paper: #ffffff; --red: #e0004d;
    --blue: #1493d6; --yellow: #ffe23c;   /* Akzente wie auf dem Flaschen-Etikett */
    --display: "Klavika", "Arial Black", Impact, sans-serif;
    /* Papierstruktur für alle weißen Bänder: feines Relief, als SVG erzeugt */
    --paper-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='p' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' seed='4' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='1.6' diffuseConstant='1'%3E%3CfeDistantLight azimuth='225' elevation='60'/%3E%3C/feDiffuseLighting%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0.34' intercept='0.646'/%3E%3CfeFuncG type='linear' slope='0.34' intercept='0.611'/%3E%3CfeFuncB type='linear' slope='0.34' intercept='0.536'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23p)'/%3E%3C/svg%3E");
    --ease: cubic-bezier(.2, .8, .2, 1);
    --spring: cubic-bezier(.3, 1.5, .5, 1);
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  ::selection { background: var(--yellow); color: var(--ink); }
  html, body { margin: 0; min-height: 100%; }
  body {
    font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300; font-size: 1.1rem; color: var(--ink);
    overflow-x: hidden;
    /* Fallback, falls WebGL nicht verfügbar ist */
    background: linear-gradient(120deg, #f3e9f4, #e6eefb 30%, #e4f6ef 55%, #fbf5e2 78%, #f8e6ea);
  }
  #holo { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
  a { color: inherit; }
  /* Text direkt auf der Folie: weiß mit weicher Schattenkante */
  nav, .kicker, .lead, .intro, .scroll-hint, footer { color: #fff; text-shadow: var(--edge); }
  .lead, .intro { font-weight: 400; }
  .kicker { width: fit-content; }
  footer { width: fit-content; margin: 0 auto; }
  .kicker, .num, .cap .no, .cap .turn, .back h4, .back .foot, .scroll-hint, footer { font-family: var(--display); }
  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 6vw; }

  /* ---- Navigation ------------------------------------------------------ */
  nav {
    display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.9rem 0;
    font-family: var(--display); font-weight: 500; font-size: 1.08rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1;
  }
  nav .links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; row-gap: 0.8rem; }
  nav .links > * { padding: 0.1em 1.7em; }
  nav .links > * + * { border-left: 1px solid rgb(255 255 255 / 0.4); }   /* so transparent wie die nicht gewählte Sprache */   /* vertikaler Trennstrich */
  nav .links > :last-child { padding-right: 0; }
  nav .links a { text-decoration: none; }
  nav .links a span {
    padding-bottom: 0.35em;
    background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
    transition: background-size 0.4s var(--ease);
  }
  nav .links a:hover span { background-size: 100% 1px; }
  /* Logo: weiß und zurückhaltend, doppelte Texthöhe der Navigation */
  nav .logo { display: block; flex: none; height: 2em; opacity: 0.95; transition: opacity 0.3s, transform 0.5s var(--spring); }
  nav .logo img { height: 100%; width: auto; display: block; filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgb(0 0 0 / 0.28)) drop-shadow(0 2px 8px rgb(0 0 0 / 0.14)); }
  nav .logo:hover { transform: rotate(-6deg) scale(1.08); }
  .logo-mark { display: block; width: 100%; height: auto; }
  .lang { display: flex; align-items: center; gap: 0.55em; }
  .lang button {
    font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
    background: none; border: 0; padding: 0; cursor: pointer; opacity: 0.4; transition: opacity 0.2s;
  }
  .lang button:hover { opacity: 0.8; }
  .lang button[aria-pressed="true"] { opacity: 1; font-weight: 700; }
  .lang button + button::before { content: "/"; margin-right: 0.55em; font-weight: 300; opacity: 0.5; }

  /* ---- Störer: vollbreites weißes Band, Schrift ausgestanzt -------------
     Schwarz + mix-blend-mode: screen => Schwarz wird durchsichtig,
     Weiß bleibt Weiß. Die Folie scheint durch die Buchstaben. */
  /* ---- Störer: vollbreites Papierband, Schrift wirklich ausgestanzt -------
     Das Papier ist ein deckendes SVG (cremefarben, mit Struktur), die Buchstaben sind per Maske
     herausgeschnitten. Der HTML-Text bleibt unsichtbar stehen: für Layout, Screenreader und Suche.
     Aufgebaut wird das SVG in buildPaper() im Script. */
  .band {
    position: relative; color: transparent;
    -webkit-backdrop-filter: saturate(2.3) brightness(0.9);
    backdrop-filter: saturate(2.3) brightness(0.9); /* Folie in den Buchstaben kräftiger */
    /* linke Textkante bündig mit dem restlichen Inhalt (.wrap: max. 1240px, 6vw Innenabstand) */
    --edge-x: max(6vw, calc((100vw - 1240px) / 2 + 6vw));
    padding: 0.14em var(--edge-x) 0.14em; margin: 0;   /* die Höhe der Schrift im Band wird pro Text berechnet, siehe buildPaper() */   /* optisch auf die Versalhöhe gemittelt, nicht auf Unterlängen */
    font-family: var(--display); font-weight: 700;
    font-size: clamp(2.6rem, 9.5vw, 9.5rem);
    line-height: 0.95; letter-spacing: -0.015em;
    text-transform: uppercase; white-space: nowrap;
  }
  .paper {
    position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
    /* Schatten des Papiers: fällt unter das Band und in die ausgestanzten Buchstaben */
    filter: drop-shadow(1.5px 2.5px 2.5px rgb(30 20 60 / 0.33));
  }
  .paper text { font-family: var(--display); font-weight: 700; }
  .band > span { display: inline-block; margin-left: -0.055em; }   /* gleicht den Leerraum links im Buchstaben aus */
  .band.small { font-size: clamp(2.4rem, 8vw, 8rem); }
  .band.tilt { rotate: -1.5deg; scale: 1.03; }

  /* ---- Hero ------------------------------------------------------------ */
  .hero { min-height: 84vh; display: flex; flex-direction: column; justify-content: center; gap: 2.2rem; padding-top: 4vh; }
  .hero .wrap { width: 100%; }
  .kicker { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin: 0; }
  .lead { font-size: clamp(1.2rem, 1.9vw, 1.65rem); line-height: 1.4; max-width: 26em; margin: 0; }
  .hero-lead { position: relative; }
  /* Button im Hero: weiße Umrahmung, beim Hover läuft eine Holo-Füllung von selbst durch */
  .scroll-hint {
    position: relative; display: inline-flex; align-items: center; gap: 0.9em; margin-top: 2.2rem; overflow: hidden; isolation: isolate;
    padding: 0.95em 1.6em 0.9em; border: 1.5px solid #fff; border-radius: 99px;
    font-size: 0.86rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; text-decoration: none;
    box-shadow: 0 1px 2px rgb(20 10 50 / 0.25), 0 4px 16px rgb(20 10 50 / 0.14), inset 0 1px 2px rgb(20 10 50 / 0.18);
    transition: scale 0.4s var(--spring), box-shadow 0.4s;
  }
  .scroll-hint::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.45s var(--ease);
    background: linear-gradient(100deg, #ff6fc4, #ffb45e, #f4e75a, #6ff0a8, #5fc2ff, #b98bff, #ff6fc4) 0 0 / 200% 100%;
    animation: holo-run 3.2s linear infinite, holo-hue 7s ease-in-out infinite alternate;
  }
  .scroll-hint:hover, .scroll-hint:focus-visible { scale: 1.05; box-shadow: 0 2px 4px rgb(20 10 50 / 0.25), 0 10px 30px rgb(20 10 50 / 0.22); }
  .scroll-hint:hover::before, .scroll-hint:focus-visible::before { opacity: 1; }
  .scroll-hint i { font-style: normal; font-size: 1.2em; line-height: 1; transition: translate 0.4s var(--spring); }
  .scroll-hint:hover i { translate: 0 3px; }
  @keyframes holo-run { to { background-position: 200% 0; } }
  @keyframes holo-hue { from { filter: hue-rotate(-25deg) saturate(1.1); } to { filter: hue-rotate(35deg) saturate(1.3); } }
  @keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(100%); opacity: 0; } }

  /* Runder Sticker: Logo und Umschrift ausgestanzt (gleicher Trick wie die Bänder) */
  .seal {
    position: absolute; right: 6vw; top: 0; width: clamp(150px, 18vw, 250px); aspect-ratio: 1;
    border-radius: 50%; rotate: 9deg;
    -webkit-backdrop-filter: saturate(2.3) brightness(0.9); backdrop-filter: saturate(2.3) brightness(0.9);
  }
  .seal svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(1px 2px 2px rgb(30 20 60 / 0.33)); }
  .seal .spin { transform-box: view-box; transform-origin: 50% 50%; animation: spin 28s linear infinite; }
  .seal text { font-family: var(--display); font-weight: 700; font-size: 10.4px; letter-spacing: 0.21em; text-transform: uppercase; }
  @keyframes spin { to { transform: rotate(360deg); } }

  section { padding: 8vh 0; }
  .after-band { padding-top: 3.5rem; }
  .intro { max-width: 30em; margin: 0 0 2.6rem; font-size: clamp(1.2rem, 1.9vw, 1.65rem); line-height: 1.4; }   /* gleiche Größe wie der Einleitungssatz im Hero */

  /* ---- Kundenband: läuft durch, Namen ausgestanzt ------------------------ */
  .ticker {
    position: relative; color: transparent; overflow: hidden; white-space: nowrap; rotate: 1deg; scale: 1.03;
    -webkit-backdrop-filter: saturate(2.3) brightness(0.85); backdrop-filter: saturate(2.3) brightness(0.85);
    font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, 2.2vw, 1.7rem); padding: 0.75em 0 0.65em;
  }
  /* die HTML-Zeile dient nur noch zum Ausmessen, gezeichnet wird im SVG */
  .ticker .track { position: relative; display: inline-flex; visibility: hidden; }
  .ticker .track > span { padding: 0 1.1em; display: inline-flex; align-items: center; }
  .ticker .track img { height: 1.7em; width: auto; margin-right: 0.6em; display: block; }
  .ticker .track i { font-style: normal; margin-left: 2.2em; font-size: 0.7em; }
  .ticker .run { animation: ticker var(--dur, 48s) linear infinite; }
  .ticker:hover .run { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(calc(var(--half) * -1)); } }
  .ticker-label { text-align: center; margin: 0 auto 1.4rem; }

  /* ---- Sticker: Sammelkarte mit weißem Stanzrand, kippt zur Maus, dreht sich um */
  .stickers { display: grid; gap: 2.8rem 2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .sticker {
    --rx: 0deg; --ry: 0deg; --rot: 0deg; --flip: 0deg;
    position: relative; aspect-ratio: 63 / 88; /* Magic-Karte: 63 x 88 mm */
    rotate: var(--rot); transition: rotate 0.45s var(--ease), translate 0.45s var(--ease);
    background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .sticker:nth-child(3n+1) { --rot: -2.2deg; }
  .sticker:nth-child(3n+2) { --rot: 1.4deg; }
  .sticker:nth-child(3n)   { --rot: -0.8deg; }
  .sticker.active { rotate: 0deg; translate: 0 -6px; z-index: 2; }
  .sticker:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 12px; }
  .sticker .inner {
    position: absolute; inset: 0; transform-style: preserve-3d;
    transform: perspective(1100px) rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip)));
    transition: transform 0.7s var(--ease);
  }
  .sticker.active .inner { transition: transform 0.12s linear; }
  .sticker.flipping .inner { transition: transform 0.7s var(--spring); }
  .sticker.flipped { --flip: 180deg; }
  .side {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    background: var(--paper); padding: 3.4% 3.4% 0;
    border-radius: 4.76% / 3.41%; /* 3 mm Eckradius einer Magic-Karte */
    box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 12px 26px -10px rgba(40,30,80,.38);
    transition: box-shadow 0.45s;
  }
  .sticker.active .side { box-shadow: 0 2px 0 rgba(0,0,0,.06), 0 34px 54px -18px rgba(40,30,80,.5); }
  .back { transform: rotateY(180deg); padding: 3.4%; }
  .face { position: relative; border-radius: 6px; overflow: hidden; flex: 1; min-height: 0; background: #ddd; }
  .face img { width: 100%; height: 100%; object-fit: cover; display: block; }
  /* Holo-Glanz über dem Motiv: folgt der Maus nur, solange sie auf der Karte ist */
  .holo-fx {
    position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background:
      radial-gradient(circle at var(--mx, var(--px)) var(--my, var(--py)), rgba(255,255,255,.7), rgba(255,255,255,0) 50%),
      linear-gradient(115deg,
        rgba(255,90,190,0) 0%, rgba(255,90,190,.85) 16%, rgba(255,225,90,.85) 32%,
        rgba(90,255,180,.85) 50%, rgba(90,170,255,.85) 68%, rgba(190,110,255,.85) 84%, rgba(255,90,190,0) 100%);
    background-size: 100% 100%, 260% 260%;
    background-position: 0 0, var(--mx, var(--px)) var(--my, var(--py));
    mix-blend-mode: overlay; opacity: 0.5; transition: opacity 0.3s;
    animation: drift 19s ease-in-out infinite alternate; /* leichte Ruhebewegung */
  }
  .sticker.active .holo-fx { opacity: 1; }
  .cap { padding: 0.8rem 0.45rem 0.85rem; display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 0.6rem; align-items: baseline; }
  .cap h3 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin: 0; text-transform: uppercase; }
  .cap .no { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--blue); font-weight: 700; }
  .cap .type { grid-column: 1 / -1; margin: 0; font-size: 0.92rem; opacity: 0.7; font-weight: 300; }
  .cap .turn { grid-column: 1 / -1; margin: 0.55rem 0 0; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
  .cap .turn::before { content: "↻ "; }

  /* Rückseite */
  .back .frame { position: relative; flex: 1; border-radius: 6px; overflow: hidden; padding: 1.3rem 1.2rem 1.1rem; display: flex; flex-direction: column;
    background: linear-gradient(135deg, #fde3f1, #e3ecff 35%, #dffbee 65%, #fff6d9); }
  .back .frame > * { position: relative; }
  .back .frame .holo-fx { position: absolute; opacity: 0.55; mix-blend-mode: soft-light; }
  .back h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; margin: 0 0 0.5rem; }
  .back p { margin: 0; font-size: 1rem; line-height: 1.4; font-weight: 400; }
  .back h4 { margin: 1.1rem 0 0.3rem; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
  .back ul { margin: 0; padding: 0; list-style: none; font-size: 0.95rem; line-height: 1.5; }
  .back ul li::before { content: "✦ "; font-size: 0.7em; vertical-align: 0.15em; }
  .back .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
  .back .foot img { width: 44px; filter: brightness(0); opacity: 0.85; }

  /* ---- Etiketten: kleine Text-Sticker ----------------------------------- */
  .labels { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .label { position: relative; background: var(--paper); border-radius: 12px; padding: 1.5rem 1.5rem 1.6rem; box-shadow: 0 8px 20px -10px rgba(40,30,80,.3);
    rotate: var(--rot, 0deg); transition: rotate 0.4s var(--spring), translate 0.4s var(--spring); }
  .label:nth-child(odd) { --rot: -1deg; }
  .label:nth-child(even) { --rot: 0.8deg; }
  .labels .label:hover { rotate: 0deg; translate: 0 -5px; }
  .label h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; margin: 0 0 0.6rem; }
  .label p { margin: 0; line-height: 1.5; font-weight: 300; font-size: 1.1rem; }
  .label .num { display: block; font-size: 0.7rem; letter-spacing: 0.16em; font-weight: 700; color: var(--blue); margin-bottom: 0.9rem; }
  .foil .num { color: inherit; opacity: 0.6; }

  /* Perlmutt-Folie für alle Etiketten.
     Die Etiketten malen keine eigenen Farben mehr, sondern zeigen die echte Hintergrundfolie
     (den Shader) durch einen weißen Schleier. Damit haben sie exakt dieselbe Detailtiefe.
     --h0   verschiebt das Farbspektrum pro Etikett (wie der Schriftzug auf der Flasche)
     --hs   zusätzliche Verschiebung unter der Maus (per JS), lässt die Farben durchs Etikett laufen
     --veil Deckkraft des weißen Schleiers: hoch = fast weiß, niedrig = mehr Folie */
  .foil    { --h0: 0deg; }
  .foil.rg { --h0: 70deg; }
  .foil.ob { --h0: 150deg; }
  .foil.vy { --h0: 220deg; }
  .foil.mg { --h0: 290deg; }
  .foil {
    --veil: 0.76; --hs: 0deg; --live: 0;
    color: var(--ink); overflow: hidden; isolation: isolate;
    background: rgb(255 255 255 / var(--veil));
    -webkit-backdrop-filter: hue-rotate(calc(var(--h0) + var(--hs))) saturate(1.45) contrast(1.05);
    backdrop-filter: hue-rotate(calc(var(--h0) + var(--hs))) saturate(1.45) contrast(1.05);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
      0 8px 20px -10px rgba(40,30,80,.35),
      inset 0 1.5px 0 rgba(255,255,255,.95),      /* Lichtkante oben */
      inset 1.5px 0 0 rgba(255,255,255,.6),       /* Lichtkante links */
      inset 0 -1px 0 rgba(60, 40, 120, .12);
    transition: --veil 0.5s var(--ease), --hs 0.7s var(--ease), rotate 0.4s var(--spring), translate 0.4s var(--spring), scale 0.4s var(--spring);
  }
  .foil.live { --veil: 0.52; --live: 0.5; transition: --veil 0.35s var(--ease), --hs 0.15s linear, rotate 0.4s var(--spring), translate 0.4s var(--spring), scale 0.4s var(--spring); }
  /* Lichtreflex am Zeiger, nur unter der Maus sichtbar */
  .foil::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
    background: radial-gradient(circle at var(--px) var(--py), rgb(255 255 255 / var(--live)), rgb(255 255 255 / 0) 48%);
  }
  .foil > * { position: relative; z-index: 1; }
  .foil p, .foil ul { font-weight: 400; }
  .foil .num { color: inherit; opacity: 0.6; }

  .about { display: grid; gap: 1.6rem; grid-template-columns: 2fr 1fr; align-items: start; }
  .about .label p + p { margin-top: 0.8rem; }
  .about ul { margin: 0; padding: 0; list-style: none; line-height: 1.75; }
  .about ul li::before { content: "✦ "; font-size: 0.7em; vertical-align: 0.15em; }

  .contact { text-align: center; }
  .contact .intro { margin-left: auto; margin-right: auto; }
  .mail {
    position: relative; display: inline-block; text-decoration: none;
    font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 3vw, 2rem);
    padding: 0.9rem 1.7rem; border-radius: 99px; rotate: -1.5deg;
    transition: rotate 0.4s var(--spring), scale 0.4s var(--spring);
  }
  .mail:hover { rotate: 1.5deg; scale: 1.06; }
  .mail.live { --live: 0.3; --veil: 0.6; }

  /* ---- Kontaktformular auf einem Perlmutt-Etikett ------------------------ */
  /* Die Linie unter jedem Feld ist ein echter Schlitz im Etikett: Das Formular bekommt per JS (cutSlits)
     eine Maske, durch die die Folie ungefiltert zu sehen ist. Weil eine Maske auch den Schatten
     abschneidet, liegt der Schatten auf einem eigenen Element dahinter (.form-wrap::before). */
  .form-wrap { position: relative; max-width: 680px; margin: 0 auto; rotate: -0.6deg; }
  .form-wrap::before { content: ""; position: absolute; inset: 0; border-radius: 12px; box-shadow: 0 8px 20px -10px rgb(40 30 80 / 0.35); }
  .contact-form.label { --rot: 0deg; text-align: left; padding: 2rem 2rem 1.8rem; display: grid; gap: 1.5rem; }
  .contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .contact-form label { display: grid; gap: 0.45rem; padding-bottom: 4px;
    background: linear-gradient(rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.95)) left bottom / 100% 1px no-repeat; }   /* Lichtkante unter dem Schlitz */
  .contact-form label span { font-family: var(--display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
  .contact-form input, .contact-form textarea {
    font: inherit; font-weight: 400; color: var(--ink); width: 100%;
    background: rgb(255 255 255 / 0.55); border: 0; border-radius: 6px 6px 0 0;
    padding: 0.7rem 0.8rem; outline: none; resize: vertical; transition: border-color 0.2s, background 0.2s;
  }
  .contact-form input:focus, .contact-form textarea:focus { background: rgb(255 255 255 / 0.9); }
  .contact-form .actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
  .form-note { margin: 0; font-size: 0.95rem; font-weight: 400; }
  .form-note.error { color: #b3123f; }
  .form-privacy { margin: -0.4rem 0 0; font-size: 0.9rem; line-height: 1.45; font-weight: 400; opacity: 0.85; }
  .form-privacy a { text-underline-offset: 0.2em; }
  [hidden] { display: none !important; }
  .send[disabled] { opacity: 0.5; cursor: progress; }
  /* Honeypot: für Menschen unsichtbar, Bots füllen es aus */
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .send {
    position: relative; overflow: hidden; isolation: isolate; flex: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.9em; padding: 0.95em 1.6em 0.9em;
    background: none; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 99px;
    font-family: var(--display); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.2em; text-transform: uppercase;
    transition: scale 0.4s var(--spring), color 0.3s, border-color 0.3s;
  }
  .send::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.45s var(--ease);
    background: linear-gradient(100deg, #ff6fc4, #ffb45e, #f4e75a, #6ff0a8, #5fc2ff, #b98bff, #ff6fc4) 0 0 / 200% 100%;
    animation: holo-run 3.2s linear infinite, holo-hue 7s ease-in-out infinite alternate;
  }
  .send:hover, .send:focus-visible { scale: 1.05; color: #fff; border-color: #fff; text-shadow: var(--edge); }
  .send:hover::before, .send:focus-visible::before { opacity: 1; }
  .send i { font-style: normal; font-size: 1.2em; line-height: 1; transition: translate 0.4s var(--spring); }
  .send:hover i { translate: 4px 0; }
  @media (max-width: 640px) { .contact-form .row { grid-template-columns: 1fr; } .contact-form .actions { flex-direction: column; align-items: flex-start; } }

  footer { text-align: center; font-size: 0.82rem; padding: 2rem 0 3rem; font-weight: 700; }
  footer .logo-mark { width: 64px; margin: 0 auto 1rem; filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgb(0 0 0 / 0.28)) drop-shadow(0 2px 8px rgb(0 0 0 / 0.14)); }
  /* Farbkontrollstreifen wie am Rand eines Druckbogens */
  .colorbar { display: flex; justify-content: center; gap: 4px; margin: 1.4rem 0 0; }
  .colorbar i { width: 16px; height: 16px; border-radius: 2px; }

  /* ---- Einblend-Animationen (nur mit JS aktiv) --------------------------- */
  .js .band, .js .ticker { clip-path: inset(-40px 100% -40px 0); transition: clip-path 1s var(--ease); }
  .js .band.in, .js .ticker.in { clip-path: inset(-40px 0 -40px 0); }
  .js .fade { opacity: 0; translate: 0 22px; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); transition-delay: var(--d, 0s); }
  .js .fade.in { opacity: 1; translate: 0 0; }
  /* Sticker werden "aufgeklebt" */
  .js .slap { opacity: 0; }
  .js .slap.in { opacity: 1; animation: slap 0.7s var(--spring) backwards; animation-delay: var(--d, 0s); }
  @keyframes slap {
    from { opacity: 0; scale: 1.35; rotate: calc(var(--rot, 0deg) - 10deg); translate: 0 -30px; }
    60%  { opacity: 1; }
    to   { opacity: 1; scale: 1; rotate: var(--rot, 0deg); translate: 0 0; }
  }
  .js .slap.in.done { animation: none; }
  .js .seal { scale: 0; transition: scale 0.9s var(--spring) 0.7s; }
  .js .seal.in { scale: 1; }

  @media (max-width: 800px) {
    .about { grid-template-columns: 1fr; }
    .seal { position: static; margin: 0 0 1.6rem auto; }
    nav .links a { display: none; }
    nav .links > * + * { border-left: 0; }
    .hero { min-height: 0; padding: 6vh 0 10vh; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .band, .js .ticker { clip-path: none; }
    .js .fade, .js .slap { opacity: 1; translate: none; }
    .js .seal { scale: 1; }
  }

  /* ---- Sprachblöcke für statische Texte (z. B. Impressum) ------------------ */
  html[lang="de"] [data-l="en"], html[lang="en"] [data-l="de"] { display: none; }

  /* ---- Textseiten (Impressum) ---------------------------------------------- */
  .page-head { padding: 6vh 0 0; }
  .legal { max-width: 820px; padding: 2.4rem 2.4rem 2.2rem; }
  .label.legal { --rot: 0deg; }
  .legal h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.04em; margin: 2rem 0 0.5rem; }
  .legal h2:first-child { margin-top: 0; }
  .legal p { margin: 0 0 0.8rem; line-height: 1.55; font-weight: 400; }
  .legal a { text-underline-offset: 0.2em; }
  .legal .small { font-size: 0.92rem; opacity: 0.8; }
  footer nav.foot { display: flex; justify-content: center; gap: 1.6em; padding: 0; margin: 0 0 1rem; font-size: 0.82rem; letter-spacing: 0.14em; }
  footer nav.foot a { text-decoration: none; padding-bottom: 0.3em; background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat; transition: background-size 0.4s var(--ease); }
  footer nav.foot a:hover { background-size: 100% 1px; }
  footer nav.foot a[aria-current="page"] { opacity: 0.6; }
