/* index: style block 1 */
@font-face {
      font-family: "Sans";
      src: url("./fonts/sans.otf") format("opentype");
      font-weight: 400 500;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "Mono";
      src: url("./fonts/mono.ttf") format("truetype");
      font-weight: 400 500;
      font-style: normal;
      font-display: swap;
    }

    :root {
      /* Farben: --bg ist die Hintergrundfarbe, --fg ist die Textfarbe. */
      --bg: #080808;
      --fg: #ffffff;

      /* Schriften: --sans fuer grosse Titel, --mono fuer Navigation und kleine Texte. */
      --sans: "Sans", sans-serif;
      --mono: "Mono", "Courier New", monospace;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--bg);
      color: var(--fg);
      font-family: var(--mono);
      font-size: 10px;
      line-height: 1.4;
      scrollbar-gutter: stable;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* Seite: maximale Breite und Abstand oben wegen fixer Navigation. */
    .page {
      max-width: 1400px;
      margin: 0 auto;
      padding: 110px 20px 20px;
    }

    /* Navigation: Position, Abstand zwischen Links und Hintergrund. */
    .top-nav {
      position: fixed;
      top: 0;
      left: 50%;
      z-index: 1000;
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 48px;
      width: 100vw;
      max-width: none;
      padding: 44px 28px 32px;
      /* Header-Hintergrund: die letzten Werte steuern Transparenz. */
      background: rgba(8, 8, 8, .8);
      box-shadow: 0 .5px 0 rgba(255, 255, 255, .035), 0 12px 32px rgba(0, 0, 0, .48);
      transform: translateX(-50%);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }

    .top-nav::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 100vw;
      height: 1px;
      background: rgba(255, 255, 255, .18);
      transform: translateX(-50%) scaleY(.5);
      transform-origin: bottom;
    }

    /* Navigationstext: Groesse, Strichstaerke und Zeilenhoehe. */
    .nav-item {
      display: flex;
      flex: 0 0 auto;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      text-align: left;
    }

    .nav-title {
      color: #fff;
      font-family: var(--mono);
      font-size: 15px;
      font-weight: 400;
      line-height: .9;
      letter-spacing: .02em;
      text-align: left;
    }

    /* Logo: margin-top und margin-bottom steuern die Hoehe/Abstaende im Hero. */
    .hero-logo {
      width: 100%;
      margin-top: 8px;
      margin-bottom: 48px;
      overflow: hidden;
    }

    .hero-logo img {
      display: block;
      width: 100%;
      height: auto;
      animation: logoReveal 1.3s cubic-bezier(.22, 1, .36, 1) forwards;
    }

    /* Meta-Zeile unter dem Logo: Spalten, Textgroesse und Abstand zum About-Block. */
    .hero-meta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      align-items: start;
      margin-top: -10px;
      margin-bottom: 72px;
    }

    .hero-meta {
      color: #ffffff;
      font-family: var(--mono);
      font-size: 10px;
      font-weight: 400;
      line-height: 1.3;
      text-transform: uppercase;
    }

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

    .hero-meta-right {
      text-align: right;
    }

    /* About-Start: negativer margin-top zieht den Block naeher an die Meta-Zeile. */
    .about-editorial {
      margin-top: -32px;
      margin-bottom: -2rem;
    }

    /* About-Hero: linke Textspalte, rechte Bildspalte und Abstand dazwischen. */
    .about-hero-grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 60px;
      align-items: start;
      margin-bottom: 4rem;
    }

    .hero-kicker,
    .editorial-label,
    .purpose-label {
      margin-bottom: 22px;
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 400;
      text-transform: uppercase;
      opacity: .7;
    }

    /* Grosser About-Titel: clamp(min, responsive, max) bestimmt die Schriftgroesse. */
    .editorial-headline {
      max-width: 900px;
      font-family: var(--sans);
      font-size: clamp(52px, 6vw, 72px);
      line-height: 1;
      letter-spacing: 0;
    }

    /* Profilbild: width/max-width/height und border-radius bestimmen Format und Rundung. */
    .editorial-image {
      display: block;
      width: 100%;
      max-width: 480px;
      height: 560px;
      margin-left: auto;
      object-fit: cover;
      border-radius: 20px;
      filter: none;
    }

    .editorial-divider {
      height: 1px;
      margin: 4rem 0;
      background: #fff;
      transform: scaleX(.8);
      transform-origin: center center;
      transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
    }

    .editorial-divider.in-view {
      transform: scaleX(1);
    }

    /* Listenbereiche: grid-template-columns und gap steuern die Spalten. */
    .editorial-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .editorial-grid > div:first-child {
      margin-bottom: 0;
    }

    .editorial-item {
      display: grid;
      grid-template-columns: 70px 1fr;
      align-items: baseline;
      margin-bottom: 2px;
    }

    .editorial-item span,
    .editorial-item p {
      display: flex;
      align-items: baseline;
      line-height: 1.1;
    }

    .editorial-item span {
      font-family: var(--mono);
      font-size: 18px;
    }

    .editorial-item p {
      font-family: var(--sans);
      font-size: 22px;
    }

    .purpose-copy {
      max-width: 1100px;
      font-family: var(--sans);
      font-size: clamp(40px, 5vw, 63px);
      line-height: 1;
      letter-spacing: 0;
    }

    /* Footer: padding-top, margin-top und Track-Schriftgroesse steuern die Luft unten. */
    .contact-footer {
      margin-top: 1rem;
      padding-top: 1.5rem;
      padding-bottom: 0;
      overflow: hidden;
      background: var(--bg);
    }

    .marquee {
      overflow: hidden;
      white-space: nowrap;
    }

    .track {
      font-family: var(--sans);
      font-size: clamp(3rem, 8vw, 7rem);
      font-weight: 400;
      line-height: 1;
      letter-spacing: 0;
      will-change: transform;
    }

    .marquee-top {
      color: #ffffff;
    }

    .marquee-bottom {
      color: rgba(180, 180, 180, .997);
    }

    .footer-center {
      display: flex;
      justify-content: center;
      margin: 1.5rem 0;
    }

    /* Kontaktbutton: padding veraendert Groesse, border-radius die Pillenform. */
    .contact-btn {
      position: relative;
      z-index: 5;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 1rem 3rem;
      border: 1px solid #ffffff;
      border-radius: 999px;
      background: transparent;
      color: #ffffff;
      font-family: var(--mono);
      font-size: 12px;
      line-height: 1;
      text-transform: uppercase;
      transition: background .25s ease, color .25s ease, transform .25s ease;
    }

    .contact-btn:hover {
      background: #ffffff;
      color: #080808;
      transform: translateY(-2px);
    }

    .contact-btn:active {
      transform: translateY(0) scale(.98);
    }

    .contact-btn:focus-visible {
      outline: 2px solid #ffffff;
      outline-offset: 4px;
    }

    .footer-meta {
      display: flex;
      justify-content: space-between;
      width: 100%;
      max-width: 1400px;
      margin: 1rem auto 0;
      padding: 0 20px;
      color: #ffffff;
      font-size: 10px;
      font-weight: 400;
      text-transform: uppercase;
    }

    .footer-meta > div:last-child {
      text-align: right;
    }

    /* Logo-Reveal: translateY bestimmt, wie weit das Logo beim Laden hochfaehrt. */
    @keyframes logoReveal {
      from {
        transform: translateY(120%);
      }

      to {
        transform: translateY(0);
      }
    }

    @media (min-width: 769px) {
      .top-nav {
        padding-right: calc((100vw - 1400px) / 2 + 28px);
        padding-left: calc((100vw - 1400px) / 2 + 28px);
      }

      .contact-footer {
        padding-top: 4.8rem;
      }

      .contact-footer .track {
        font-size: clamp(4.4rem, 12.1vw, 10.9rem);
        line-height: .9;
      }
    }

    /* Tablet-Regeln: hier werden Spalten und Bildhoehe fuer kleinere Screens angepasst. */
    @media (max-width: 900px) {
      .about-hero-grid {
        grid-template-columns: 1.2fr .8fr;
        gap: 40px;
      }

      .editorial-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
      }

      .editorial-headline {
        font-size: clamp(36px, 6vw, 72px);
      }

      .editorial-image {
        height: 420px;
      }
    }

    /* Mobile-Regeln: Navigation, Logo, About und Footer fuer Handy-Groessen. */
    @media (max-width: 768px) {
      .page {
        max-width: 1400px;
        margin: 0 auto;
        padding: 110px 20px 20px;
      }

      .top-nav {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 38px 20px 28px;
      }

      .nav-item:first-child {
        justify-self: start;
        text-align: left;
        align-items: flex-start;
      }

      .nav-item:nth-child(2) {
        justify-self: center;
        text-align: center;
        align-items: center;
      }

      .nav-item:nth-child(3) {
        justify-self: end;
        text-align: right;
        align-items: flex-end;
      }

      .hero-logo {
        margin-top: -10px;
        margin-bottom: 32px;
      }

      .hero-meta-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
        margin-top: -6px;
        margin-bottom: 56px;
      }

      .hero-meta {
        font-size: 8px;
      }

      .about-editorial {
        margin-top: -26px;
        margin-bottom: -1rem;
      }

      .about-hero-grid {
        display: block;
        margin-bottom: 3rem;
      }

      .hero-kicker {
        margin-bottom: 14px;
        font-size: 10px;
      }

      .editorial-headline {
        max-width: 100%;
        margin-bottom: 28px;
        font-size: 29.5px;
        line-height: 1;
        letter-spacing: 0;
      }

      .editorial-image {
        width: 100%;
        max-width: 100%;
        height: 420px;
        object-fit: cover;
        object-position: center 40%;
        border-radius: 18px;
      }

      .editorial-divider {
        margin: 2.2rem 0;
      }

      .editorial-grid {
        display: block;
      }

      .editorial-grid > div:first-child {
        margin-bottom: 2.5rem;
      }

      .editorial-label,
      .purpose-label {
        margin-bottom: 18px;
        font-size: 10px;
        opacity: .65;
      }

      .editorial-item {
        grid-template-columns: 48px 1fr;
        margin-bottom: 6px;
      }

      .editorial-item span {
        font-size: 14px;
      }

      .editorial-item p {
        font-size: 14px;
        line-height: 1.15;
      }

      .purpose-copy {
        max-width: 100%;
        font-size: 25px;
        line-height: 1;
        letter-spacing: 0;
      }

      .contact-footer {
        padding-top: 1.5rem;
      }

      .footer-center {
        position: relative;
        z-index: 5;
        margin: 1.5rem 0;
      }

      .track {
        font-size: clamp(3rem, 8vw, 7rem);
        line-height: 1;
      }
    }

/* Shared navigation lock */
.top-nav .nav-title {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  line-height: .9;
  letter-spacing: .02em;
}

@media (max-width: 768px) {
  .top-nav .nav-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
  }
}
