    /* === Fonts (lokal gehostet, kein Google-Fonts-Abruf) === */
    @font-face {
      font-family: 'Syne';
      font-style: normal;
      font-weight: 400;
      font-display: swap;
      src: url('/fonts/syne-latin-400-normal.woff2') format('woff2');
    }

    @font-face {
      font-family: 'Syne';
      font-style: normal;
      font-weight: 500;
      font-display: swap;
      src: url('/fonts/syne-latin-500-normal.woff2') format('woff2');
    }

    @font-face {
      font-family: 'Syne';
      font-style: normal;
      font-weight: 600;
      font-display: swap;
      src: url('/fonts/syne-latin-600-normal.woff2') format('woff2');
    }

    @font-face {
      font-family: 'Syne';
      font-style: normal;
      font-weight: 700;
      font-display: swap;
      src: url('/fonts/syne-latin-700-normal.woff2') format('woff2');
    }

    @font-face {
      font-family: 'Syne';
      font-style: normal;
      font-weight: 800;
      font-display: swap;
      src: url('/fonts/syne-latin-800-normal.woff2') format('woff2');
    }

    @font-face {
      font-family: 'Fira Code';
      font-style: normal;
      font-weight: 400;
      font-display: swap;
      src: url('/fonts/fira-code-latin-400-normal.woff2') format('woff2');
    }

    @font-face {
      font-family: 'Fira Code';
      font-style: normal;
      font-weight: 500;
      font-display: swap;
      src: url('/fonts/fira-code-latin-500-normal.woff2') format('woff2');
    }

    :root {
      --bg: #000000;
      --bg-card: #0a0a0a;
      --bg-elevated: #111111;
      --gold: #C8963E;
      --gold-hover: #D4A854;
      --gold-glow: rgba(200, 150, 62, .3);
      --gold-subtle: rgba(200, 150, 62, .08);
      --pace: #c45060;
      --pace-subtle: rgba(196, 80, 96, .08);
      --text-primary: #e8e8ed;
      --text-secondary: #e1dbcd;
      --text-muted: #948b78;
      --border: rgba(255, 255, 255, .07);
      --border-active: rgba(200, 150, 62, .3);
      --radius: 8px;
      --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-body: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-mono: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
    }

    body {
      background: var(--bg);
      color: var(--text-primary);
      font-family: var(--font-body);
      line-height: 1.65;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
    }

    ::-moz-selection {
      background: var(--pace);
      color: #fff;
    }

    ::selection {
      background: var(--pace);
      color: #fff;
    }

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

    .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* Background canvas (crimson & gold) */
    #c {
      display: block;
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      z-index: 0;
    }

    /* ---------- Under Construction Banner / Text Box ---------- */
    .construction-banner {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 10000;
      background: rgba(10, 10, 12, 0.85);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(220, 38, 38, 0.35);
      padding: 0.6rem 1rem;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    .construction-box {
      background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #991b1b 100%);
      color: #ffffff;
      font-family: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
      font-weight: 700;
      font-size: 0.85rem;
      letter-spacing: 0.05em;
      padding: 0.45rem 1.25rem;
      border-radius: 6px;
      border: 1px solid rgba(254, 202, 202, 0.35);
      box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      text-align: center;
    }

    .construction-box .construction-icon {
      font-size: 1rem;
      line-height: 1;
    }

    /* ---------- HERO (Showcase2-Design) ---------- */
    #hero {
      position: relative;
      overflow: hidden;
      padding-top: 7rem;
      padding-bottom: 6rem;
    }

    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background-image: linear-gradient(rgba(255, 255, 255, .012) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .012) 1px, transparent 1px);
      background-size: 80px 80px;
      -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
      mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
    }

    #hero::after {
      content: '';
      position: absolute;
      top: -20%;
      right: -10%;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      z-index: 1;
      background: radial-gradient(circle, rgba(200, 150, 62, .06) 0%, transparent 70%);
      pointer-events: none;
    }

    #hero .container {
      position: relative;
      z-index: 2;
    }

    .hero-content {
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
      align-items: center;
      width: 100%;
      max-width: 700px;
    }

    .hero-text .hero-tagline {
      font-family: var(--font-body);
      font-size: .65rem;
      letter-spacing: .22em;
      color: #fff;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }

    .hero-text h1 {
      font-family: var(--font-body);
      font-size: clamp(2.8rem, 6vw, 4.2rem);
      font-weight: 800;
      line-height: 1.06;
      color: #fff;
      margin-bottom: 2rem;
    }

    .hero-text h1 .gold {
      color: var(--gold);
    }

    .hero-tagline-serif {
      font-family: var(--font-body);
      font-style: normal;
      font-size: clamp(2rem, 5vw, 3rem);
      line-height: 1.25;
      color: var(--text-secondary);
      margin-bottom: 1.2rem;
      font-weight: 700;
    }

    /* Sub-Zeile mit Decrypt-Prinzip */
    .hero-sub {
      font-size: 1.15rem;
      color: var(--text-secondary);
      margin-bottom: 2.5rem;
      line-height: 1.5;
      min-height: 5.2rem;
      display: block;
    }

    .decrypt-line {
      font-family: var(--font-body);
      color: var(--gold);
      cursor: pointer;
      transition: color .2s;
      white-space: pre-line;
      display: block;
      min-height: 5.2rem;
    }

    .decrypt-line:hover {
      color: var(--gold-hover);
    }

    .decrypt-hint {
      display: block;
      font-family: var(--font-body);
      font-size: .62rem;
      color: var(--text-muted);
      margin-top: .5rem;
      letter-spacing: .05em;
    }

    /* Buttons (Showcase2) */
    .btn {
      display: inline-block;
      padding: .8rem 2rem;
      font-size: .85rem;
      font-weight: 600;
      border-radius: 4px;
      transition: all .3s ease;
      cursor: pointer;
      border: none;
      font-family: var(--font-body);
    }

    .btn-primary {
      background: var(--gold);
      color: #0a0b10;
    }

    .btn-primary:hover {
      background: var(--gold-hover);
      box-shadow: 0 0 30px var(--gold-glow);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      color: var(--gold);
      border: 1px solid rgba(200, 150, 62, .35);
    }

    .btn-outline:hover {
      background: var(--gold-subtle);
      border-color: var(--gold);
      box-shadow: 0 0 20px var(--gold-glow);
    }

    .hero-cta-row {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 0;
    }

    /* Photo (Showcase2) */
    .hero-photo {
      position: relative;
      justify-self: center;
    }

    .hero-photo-inner {
      width: 280px;
      height: 380px;
      border-radius: 6px;
      overflow: hidden;
      position: relative;
      border: 1px solid var(--border);
      box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
      background: #0a0a0a;
    }

    .hero-photo-inner img {
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
      object-fit: cover;
    }

    .hero-photo-accent {
      position: absolute;
      top: -8px;
      right: -8px;
      width: 80px;
      height: 80px;
      border-top: 2px solid var(--gold);
      border-right: 2px solid var(--gold);
      opacity: .5;
      border-radius: 0 6px 0 0;
    }

    .hero-photo-accent2 {
      position: absolute;
      bottom: -8px;
      left: -8px;
      width: 50px;
      height: 50px;
      border-bottom: 1px solid var(--pace);
      border-left: 1px solid var(--pace);
      opacity: .3;
      border-radius: 0 0 0 4px;
    }

    /* Rand-Fragmente (die "dinger" die du behalten willst) */
    .hero-fragments {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 2;
      font-family: var(--font-mono);
      font-size: .62rem;
      color: var(--text-muted);
    }

    .frag {
      position: absolute;
      pointer-events: auto;
      cursor: crosshair;
      letter-spacing: .04em;
      white-space: nowrap;
      transition: color .3s, text-shadow .3s;
    }

    .frag:hover {
      color: var(--gold);
      text-shadow: 0 0 12px var(--gold-glow);
    }

    .frag.f1 {
      top: 12%;
      right: 5%;
    }

    .frag.f2 {
      top: 28%;
      right: 9%;
    }

    .frag.f3 {
      bottom: 26%;
      right: 6%;
    }

    .frag.f4 {
      bottom: 12%;
      right: 10%;
    }

    @media(max-width:820px) {
      .hero-fragments {
        display: none;
      }
      .hero-sub,
      .decrypt-line {
        min-height: 6.2rem;
      }
    }

    @media(max-width:600px) {
      .hero-sub,
      .decrypt-line {
        min-height: 7.6rem;
        margin-bottom: 2rem;
      }
    }

    @media(max-width:420px) {
      .hero-sub,
      .decrypt-line {
        min-height: 9.4rem;
      }
    }

    /* Name-Glitch (Showcase2) */
    .hero-name-glitch {
      position: relative;
      display: inline-block;
    }

    .scroll-hint {
      position: absolute;
      bottom: 1.5rem;
      left: 50%;
      transform: translateX(-50%);
      font-family: var(--font-mono);
      font-size: .6rem;
      letter-spacing: .3em;
      color: var(--text-muted);
      text-transform: uppercase;
      animation: sp 2.5s ease-in-out infinite;
      z-index: 2;
    }

    @keyframes sp {

      0%,
      100% {
        opacity: .25;
      }

      50% {
        opacity: .7;
      }
    }

    /* Custom cursor — bleibt immer sichtbar */
    .cursor-dot,
    .cursor-ring {
      position: fixed;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 9999;
      border-radius: 50%;
      transform: translate(-50%, -50%);
    }

    .cursor-dot {
      width: 6px;
      height: 6px;
      background: var(--gold);
      box-shadow: 0 0 10px var(--gold-glow);
    }

    .cursor-ring {
      width: 32px;
      height: 32px;
      border: 1px solid rgba(200, 150, 62, .5);
      transition: width .2s, height .2s, border-color .2s, background .2s;
    }

    .cursor-ring.hover {
      width: 50px;
      height: 50px;
      border-color: var(--gold);
      background: var(--gold-subtle);
    }

    @media(hover:none) {

      .cursor-dot,
      .cursor-ring {
        display: none;
      }
    }

    @media(max-width:900px) {
      #hero {
        padding-top: 5rem;
        padding-bottom: 4rem;
      }

      .hero-content {
        text-align: center;
      }

      .hero-text-body {
        margin: 0 auto;
      }

      .hero-cta-row {
        justify-content: center;
      }

      .hero-name-glitch {
        justify-content: center !important;
      }
    }

    /* ---------- Section-Helpers ---------- */
    .section-pad {
      padding: 6rem 0;
      position: relative;
      z-index: 2;
    }

    .section-label {
      font-family: var(--font-body);
      font-size: .65rem;
      letter-spacing: .25em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: .75rem;
      text-align: left;
    }

    .section-rule {
      width: 60px;
      height: 1px;
      background: linear-gradient(90deg, var(--gold), transparent);
      margin: 1.5rem 0 2rem;
    }

    /* ---------- Glitch Heading (aus showcase) ---------- */
    .glitch-heading {
      font-family: var(--font-heading);
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 700;
      color: #fff;
      position: relative;
      display: inline-block;
    }

    .glitch-heading::before,
    .glitch-heading::after {
      content: attr(data-text);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--bg);
      opacity: 0;
    }

    .glitch-heading.glitch-active::before {
      opacity: 1;
      left: 2px;
      text-shadow: -1px 0 rgba(196, 80, 96, .4);
      animation: glitch-before 3s infinite steps(2);
    }

    .glitch-heading.glitch-active::after {
      opacity: 1;
      left: -2px;
      text-shadow: 1px 0 rgba(200, 150, 62, .4);
      animation: glitch-after 2.7s infinite steps(2);
    }

    @keyframes glitch-before {
      0% {
        clip-path: inset(80% 0 0% 0);
      }

      5% {
        clip-path: inset(15% 0 65% 0);
      }

      10% {
        clip-path: inset(80% 0 0% 0);
      }

      55% {
        clip-path: inset(80% 0 0% 0);
      }

      60% {
        clip-path: inset(72% 0 8% 0);
      }

      65% {
        clip-path: inset(80% 0 0% 0);
      }

      100% {
        clip-path: inset(80% 0 0% 0);
      }
    }

    @keyframes glitch-after {
      0% {
        clip-path: inset(80% 0 0% 0);
      }

      15% {
        clip-path: inset(45% 0 35% 0);
      }

      20% {
        clip-path: inset(80% 0 0% 0);
      }

      80% {
        clip-path: inset(80% 0 0% 0);
      }

      85% {
        clip-path: inset(8% 0 75% 0);
      }

      90% {
        clip-path: inset(80% 0 0% 0);
      }

      100% {
        clip-path: inset(80% 0 0% 0);
      }
    }

    /* ---------- About-Layout ---------- */
    /* Zwei Zeilen: oben Name und Rolle (nur linke Spalte), unten Bild und
       Profil-Kasten. Dadurch beginnen Bild und Kasten auf derselben Höhe, ohne
       dass irgendwo die Höhe der Namenszeile als fester Wert hinterlegt werden
       muss - die richtet sich bei Schrift- oder Textänderungen selbst aus.
       row-gap bleibt 0, sonst klaffte eine Lücke zwischen Name und Bild. */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      grid-template-rows: auto 1fr;
      column-gap: 3rem;
      row-gap: 0;
      align-items: stretch;
      margin-top: 2rem;
      margin-bottom: 4rem;
    }

    .about-heading {
      grid-column: 1;
      grid-row: 1;
    }

    .about-imgwrap {
      grid-column: 1;
      grid-row: 2;
    }

    .about-right {
      grid-column: 2;
      grid-row: 2;
    }

    /* Name und Rolle stehen ueber dem Bild, nicht darunter: so endet die linke
       Spalte mit der Bildunterkante und bildet mit dem Biografie-Button rechts
       eine gemeinsame Abschlusslinie. Der Rahmen nimmt per flex:1 die Resthoehe. */
    .about-imgwrap {
      position: relative;
      overflow: visible;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .about-imgframe {
      border: 1px solid var(--border);
      border-radius: 6px;
      overflow: hidden;
      position: relative;
      background: #0a0a0a;
      flex: 1;
      min-height: 0;
    }

    .about-imgframe img {
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
      object-fit: cover;
      display: block;
    }

    .about-corner-tl {
      position: absolute;
      top: 0;
      left: 0;
      width: 20px;
      height: 20px;
      border-top: 1px solid var(--gold);
      border-left: 1px solid var(--gold);
      opacity: .6;
    }

    .about-corner-br {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 20px;
      height: 20px;
      border-bottom: 1px solid var(--gold);
      border-right: 1px solid var(--gold);
      opacity: .6;
    }

    .about-name {
      font-family: var(--font-heading);
      font-size: 1.3rem;
      color: var(--gold);
      white-space: nowrap;
      line-height: 1.2;
    }

    .about-role {
      font-family: var(--font-mono);
      font-size: .65rem;
      letter-spacing: .1em;
      color: var(--text-muted);
      white-space: nowrap;
      margin-bottom: .85rem;
    }

    .about-profile {
      background: var(--bg-card);
      border-left: 2px solid var(--gold);
      padding: 1.25rem 1.5rem;
      border-radius: 0 4px 4px 0;
    }

    .about-profile-label {
      font-family: var(--font-mono);
      font-size: .6rem;
      letter-spacing: .2em;
      color: var(--gold);
      margin-bottom: .5rem;
    }

    .about-profile p.body {
      color: var(--text-secondary);
      line-height: 1.7;
      font-size: .95rem;
    }

    .about-right {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      gap: 1.5rem;
    }

    @media(max-width:820px) {
      /* Einspaltig stehen die drei Blöcke untereinander. row-gap bleibt 0,
         damit Name und Bild zusammenbleiben; der Abstand zum Profil-Kasten
         kommt über dessen margin-top. */
      .about-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        margin-bottom: 0;
        column-gap: 0;
        row-gap: 0;
      }

      .about-heading {
        grid-column: 1;
        grid-row: 1;
      }

      .about-imgwrap {
        grid-column: 1;
        grid-row: 2;
        height: auto;
        margin-bottom: 0;
      }

      .about-right {
        grid-column: 1;
        grid-row: 3;
        height: auto;
        margin-top: 3rem;
        padding-top: 0;
      }

      .about-imgframe {
        min-height: 350px;
      }
    }

    /* ---------- Referenzen-Karussell ---------- */
    .ref-carousel {
      position: relative;
      overflow: hidden;
      margin: 0 -0.5rem;
    }

    /* Intro-Absatz rechts buendig zum Karussell. Das Karussell ragt per
       margin:0 -0.5rem aus dem Container heraus; der Absatz zieht nur dann
       nach, wenn der Container ausgereizt ist (ab 1148px = 1100 + 2x24 Padding).
       Darunter wuerde der Ueberhang gegen Label und Ueberschrift verspringen. */
    @media (min-width: 1148px) {
      .ref-intro {
        margin-right: -0.5rem;
      }
    }

    .ref-track {
      display: flex;
      transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    }

    .ref-slide {
      flex: 0 0 calc(100% / 3);
      padding: 0 .5rem;
      box-sizing: border-box;
    }

    .ref-card {
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.75rem;
      border-left: 3px solid var(--gold);
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 0.6rem;
      transition: border-color .3s, box-shadow .3s;
    }

    .ref-card:hover {
      border-left-color: var(--gold-hover);
      box-shadow: 0 6px 24px rgba(0, 0, 0, .3);
    }

    .ref-card.ref-card-img {
      padding: 0;
      overflow: hidden;
      position: relative;
      border-left: none;
      border-right: 3px solid var(--gold);
      transition: border-color .3s, box-shadow .3s;
    }

    .ref-card.ref-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .5s ease;
    }

    .ref-card.ref-card-img:hover img {
      transform: scale(1.03);
    }

    .ref-card.ref-card-img:hover {
      border-right-color: var(--gold-hover);
      box-shadow: 0 6px 24px rgba(0, 0, 0, .3);
    }

    .ref-card h3 {
      font-family: var(--font-heading);
      font-size: 1.15rem;
      font-weight: 600;
      color: #fff;
      margin: 0;
      line-height: 1.4;
    }

    .ref-card .ref-sub {
      color: var(--text-secondary);
      font-size: .85rem;
      line-height: 1.6;
      margin: 0;
    }

    .ref-card .ref-meta {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      font-family: var(--font-mono);
      font-size: .7rem;
      color: var(--text-muted);
      letter-spacing: .04em;
      margin-top: 0.4rem;
    }

    .ref-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
    }

    .ref-arrow {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      color: var(--gold);
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all .2s;
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none;
    }

    .ref-arrow:hover {
      border-color: var(--gold);
      background: var(--gold-subtle);
    }

    .ref-arrow:disabled {
      opacity: .3;
      cursor: default;
    }

    .ref-dots {
      display: flex;
      gap: .5rem;
    }

    .ref-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--border);
      border: none;
      cursor: pointer;
      transition: all .2s;
      padding: 0;
    }

    .ref-dot.active {
      background: var(--gold);
      box-shadow: 0 0 8px var(--gold-glow);
    }

    @media(max-width:900px) {
      .ref-slide {
        flex: 0 0 50%;
      }
    }

    @media(max-width:600px) {
      .ref-slide {
        flex: 0 0 100%;
      }
    }

    /* Name puzzle: letter highlighting on card hover */
    .nl {
      font-family: var(--font-heading);
      transition: all .3s ease;
      display: inline-block;
    }

    .nl-impuls.active {
      color: var(--gold);
      text-shadow: 0 0 20px var(--gold-glow);
      font-weight: 800;
    }

    .nl-pace.active {
      opacity: 1;
      color: var(--gold);
      text-shadow: 0 0 20px var(--gold-glow);
      font-weight: 800;
    }

    .nl-space.active {
      opacity: 1;
      color: var(--gold);
      text-shadow: 0 0 20px var(--gold-glow);
      font-weight: 800;
    }

    /* Contact form responsive columns */
    .contact-cols {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: stretch;
    }

    @media(max-width:700px) {
      .contact-cols {
        grid-template-columns: 1fr;
      }
    }

    /* Portfolio + Warum: 3-spaltig oder direkt untereinander */
    .portfolio-grid {
      display: grid;
      gap: 2rem;
      grid-template-columns: repeat(3, 1fr);
    }

    .warum-grid {
      display: grid;
      gap: 2.5rem;
      grid-template-columns: repeat(3, 1fr);
    }

    @media(max-width:900px) {

      .portfolio-grid,
      .warum-grid {
        grid-template-columns: 1fr;
      }
    }

    /* PACE fly-in animation */
    .nl-pace {
      opacity: 0;
      transform: translateX(60px);
    }

    .nl-pace.fly {
      animation: paceFlyIn .55s cubic-bezier(.16, 1, .3, 1) forwards, pacePulse 1.1s ease-out;
    }

    @keyframes paceFlyIn {
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes pacePulse {
      0% {
        color: #fff;
        text-shadow: 0 0 0 rgba(196, 80, 96, 0);
      }

      25% {
        color: #c45060;
        text-shadow: 0 0 36px rgba(196, 80, 96, 1), 0 0 70px rgba(196, 80, 96, .6);
        font-weight: 800;
      }

      100% {
        color: #fff;
        text-shadow: 0 0 0 rgba(196, 80, 96, 0);
        font-weight: 400;
      }
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    span[role="alert"] {
      display: block;
      color: var(--pace);
      font-size: 0.85rem;
      margin-top: 0.4rem;
      font-family: var(--font-body);
    }

    /* ---------- Sprachumschalter DE/EN (statisch, link-basiert) ----------
       Ersetzt den frueher von i18n.js injizierten Schalter. Zwei Links, die
       zwischen der deutschen und der englischen Fassung derselben Seite
       wechseln. Position wird von scripts/index.js unter das Baustellen-Banner
       geschoben (setzeSprachschalterAbstand). */
    .lang-switch {
      position: fixed;
      top: 14px;
      right: 16px;
      z-index: 10000;
      display: flex;
      align-items: center;
      gap: .1rem;
      font-family: var(--font-body, sans-serif);
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .08em;
      background: rgba(10, 10, 10, .72);
      -webkit-backdrop-filter: blur(6px);
      backdrop-filter: blur(6px);
      border: 1px solid var(--border, rgba(255, 255, 255, .07));
      border-radius: 999px;
      padding: .3rem .5rem;
    }

    .lang-switch a {
      text-decoration: none;
      display: inline-block;
      padding: .15rem .45rem;
      border-radius: 999px;
      color: var(--text-muted, #948b78);
      letter-spacing: inherit;
      transition: color .2s, background .2s;
    }

    .lang-switch a:hover {
      color: var(--gold, #C8963E);
    }

    .lang-switch a.active {
      color: #000;
      background: var(--gold, #C8963E);
    }

    .lang-switch span {
      color: var(--border, rgba(255, 255, 255, .2));
    }

    @media (max-width: 700px) {
      .lang-switch {
        top: 10px;
        right: 10px;
        font-size: .68rem;
      }
    }
