@font-face {
  font-family: "SuisseScreen";
  src: url("../fonts/SuisseIntlMono-Regular.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "SuisseScreen";
  src: url("../fonts/SuisseIntl-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "SuisseScreen";
  src: url("../fonts/SuisseIntl-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}

/* Utility Classes */
.font-screen {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.font-screen-bold {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.font-screen-bold-italic {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.text-large,
.text-large-bold {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Global */
body {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #000;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Intro */
.intro-section {
  font-family: "SuisseScreen", sans-serif;
}

.intro-text {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  max-width: 1400px;
  text-align: left;
  color: #000;
}

.intro-text h1 {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 2rem 0;
}

.intro-text p,
.intro-copy,
.intro-copy p {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1.2rem, 1.9vw, 1.85rem);
  line-height: 1.55;
  color: #000;
}

/* Cards */
.project-card-content,
.project-card-description,
.project-card-description p {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #000;
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-card-header h2,
.project-card-header h2.text-large {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  color: #000;
}

.project-card-header span,
.project-card-header span.text-large {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  white-space: nowrap;
  line-height: 1.1;
  color: #000;
}

.project-card-description {
  font-size: 1.05rem;
  line-height: 1.72;
  margin-top: 0;
  max-width: 33rem;
}

.project-card-description p {
  margin: 0 0 1.15rem 0;
}

.project-card-description p:last-child {
  margin-bottom: 0;
}

/* Links */
.hero-link,
.custom-link,
.project-link-text,
.project-link-text a,
.intro-copy a,
.project-card-description a,
.project-sidepanel-copy a,
.imprint-content a,
.imprint-text a,
.footer-links .hero-link {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #000;
  text-decoration-color: #000;
  text-underline-offset: 0.14em;
}

.project-link-text {
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0;
}

.hero-link:hover,
.custom-link:hover,
.project-link-text a:hover,
.imprint-content a:hover,
.imprint-text a:hover,
.footer-links .hero-link:hover {
  filter: blur(2px);
}

/* Sidepanel */
.project-sidepanel-inner,
.project-sidepanel-copy,
.project-sidepanel-copy p {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #000;
}

.project-sidepanel-header h2 {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  color: #000;
}

.project-sidepanel-header span {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  white-space: nowrap;
  color: #000;
}

.project-sidepanel-copy h1,
.project-sidepanel-copy h2,
.project-sidepanel-copy h3,
.project-sidepanel-copy h4 {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  margin: 2rem 0 1rem;
  color: #000;
}

.project-sidepanel-copy p {
  line-height: 1.8;
}

/* Footer */
.footer-links {
  font-family: "SuisseScreen", sans-serif;
}

.footer-links .hero-link {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* Imprint */
.impressum,
.imprint-content-wrapper,
.imprint-content,
.imprint-content p,
.imprint-text,
.imprint-text p {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #000;
}

.intro-title,
.impressum .intro-title {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: #000;
}

.imprint-content strong,
.imprint-text strong {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Buttons */
.project-sidepanel-close,
.smoke-toggle,
.color-toggle {
  font-family: "SuisseScreen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Mobile */
@media (max-width: 768px) {
  .intro-text h1 {
    font-size: clamp(3rem, 13vw, 4.8rem);
    line-height: 0.96;
    margin-bottom: 1.5rem;
  }

  .intro-text p,
  .intro-copy,
  .intro-copy p {
    font-size: 1.1rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .project-card-header h2.text-large {
    font-size: 1.85rem;
    line-height: 1.02;
    max-width: 100%;
  }

  .project-card-description {
    font-size: 1rem;
    line-height: 1.66;
    max-width: 100%;
  }

  .project-link-text,
  .footer-links .hero-link,
  .imprint-text,
  .imprint-content {
    font-size: 0.95rem;
  }

  .intro-title,
  .impressum .intro-title {
    font-size: 2.5rem;
  }
}

/* =========================
   TYPO / SPACING REFINEMENT
   ========================= */

   :root {
    --font-ui: "SuisseScreen", sans-serif;
    --page-pad-x: clamp(1.5rem, 3vw, 4rem);
    --page-pad-y: clamp(1.5rem, 3vw, 4rem);
  
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4rem;
  
    --measure-text: 34rem;
    --measure-text-wide: 42rem;
    --measure-panel: 44rem;
  
    --radius-s: 1rem;
    --radius-m: 1.5rem;
    --radius-l: 2rem;
  
    --border-soft: 1px solid rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  
    --text-color: #000;
    --text-muted: rgba(0, 0, 0, 0.52);
    --tracking-display: -0.048em;
    --tracking-tight: -0.035em;
    --tracking-body: -0.004em;
    --tracking-meta: 0.035em;
    --leading-display: 0.9;
    --leading-body: 1.78;
    --copy-size: clamp(0.94rem, 0.92vw, 1.02rem);
    --copy-size-large: clamp(1.08rem, 1.4vw, 1.42rem);
    --meta-size: 0.72rem;
    --ui-size: 0.8rem;
  }
  
  /* Base */
  html {
    font-size: 16px;
  }
  
  body {
    font-family: var(--font-ui);
    font-weight: 500;
    font-style: normal;
    color: var(--text-color);
    background: #fff;
    line-height: 1.56;
    letter-spacing: var(--tracking-body);
    font-kerning: normal;
    text-wrap: pretty;
  }
  
  /* bessere Default-Abstände */
  p,
  ul,
  ol,
  blockquote {
    margin: 0 0 1rem 0;
  }
  
  p:last-child,
  ul:last-child,
  ol:last-child,
  blockquote:last-child {
    margin-bottom: 0;
  }
  
  /* Links */
  a,
  .hero-link,
  .custom-link,
  .project-link-text a,
  .imprint-content a,
  .imprint-text a,
  .footer-links .hero-link {
    color: var(--text-color);
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0, 0, 0, 0.55);
    text-underline-offset: 0.16em;
    transition: filter 0.25s ease, opacity 0.25s ease;
  }
  
  a:hover,
  .hero-link:hover,
  .custom-link:hover,
  .project-link-text a:hover,
  .imprint-content a:hover,
  .imprint-text a:hover,
  .footer-links .hero-link:hover {
    filter: blur(2px);
  }
  
  /* =========================
     INTRO
     ========================= */
  
  .intro-section {
    padding: var(--page-pad-y) var(--page-pad-x);
    background: #fff;
  }
  
.intro-text {
  max-width: 1440px;
  width: 100%;
  min-height: 34rem;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.language-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.35rem;
  order: -1;
  align-self: flex-end;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  max-width: 100%;
  transition: opacity 0.25s ease;
}

.language-link-button {
  border: 0;
  background: transparent;
  color: var(--text-color);
  padding: 0.7rem 0.55rem;
  min-width: 2.4rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-style: normal;
  font-size: var(--ui-size);
  line-height: 1;
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  min-width: 0;
  transition: filter 0.25s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.language-link-button.is-active {
  background: var(--text-color);
  color: #fff;
}

.language-link-button:hover {
  filter: blur(2px);
}

.intro-copy-stack[hidden] {
  display: none;
}

.intro-copy-stack {
  display: none;
  min-height: 31rem;
}

.intro-text[data-intro-language="de"] .intro-copy-stack[data-lang-panel="de"],
.intro-text[data-intro-language="en"] .intro-copy-stack[data-lang-panel="en"] {
  display: block;
}

.project-lang-block {
  display: none;
}

.project-lang-block.is-active {
  display: block;
}

.project-title-wrap {
  flex: 1 1 auto;
}

.intro-text h1 {
  max-width: 11ch;
  margin: 0 0 1.5rem 0;
    font-family: var(--font-ui);
    font-weight: 700;
    font-style: italic;
    font-size: clamp(3.8rem, 7.8vw, 7rem);
    line-height: var(--leading-display);
    letter-spacing: var(--tracking-display);
    text-wrap: balance;
  }
  
  .intro-copy {
    max-width: var(--measure-text-wide);
  }
  
  .intro-copy,
  .intro-copy p,
  .intro-text p {
    font-family: var(--font-ui);
    font-weight: 500;
    font-style: normal;
    font-size: var(--copy-size-large);
    line-height: 1.6;
    letter-spacing: var(--tracking-body);
    color: var(--text-color);
  }
  
  .intro-copy p + p {
    margin-top: 0.2rem;
  }
  
  .intro-extra-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
  }
  
  /* Hover portrait */
  .hover-image {
    width: min(46vw, 760px);
    border-radius: var(--radius-s);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  }
  
  /* =========================
     PROJECT STACK
     ========================= */
  
  .project-scroller {
    background: #fff;
  }
  
  .project-card {
    padding-top: calc(1.4rem * (var(--card-index, 1) * 1.65));
    padding-right: calc(1.4rem * (var(--card-index, 1) * 1.65));
    padding-left: calc(1.4rem * (var(--card-index, 1) * 1.65));
  }
  
  .project-card-inner {
    padding: clamp(1.25rem, 2vw, 2rem);
    gap: clamp(1.5rem, 2vw, 2.75rem);
    border-radius: var(--radius-l) var(--radius-l) 0 0;
    border: var(--border-soft);
    box-shadow: var(--shadow-soft);
    align-items: stretch;
  }
  
  .project-card-content {
    flex: 0 1 40%;
    min-width: 35%;
    max-width: 41%;
    display: flex;
    flex-direction: column;
  }
  
  .project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .project-card-header h2,
  .project-card-header h2.text-large {
    margin: 0;
    max-width: 9.2ch;
    font-family: var(--font-ui);
    font-weight: 700;
    font-style: normal;
    font-size: clamp(1.78rem, 2.15vw, 2.65rem);
    line-height: 0.98;
    letter-spacing: -0.042em;
    text-wrap: balance;
  }
  
  .project-card-header span,
  .project-card-header span.text-large {
    white-space: nowrap;
    margin-top: 0.25rem;
    font-family: var(--font-ui);
    font-weight: 700;
    font-style: normal;
    font-size: var(--meta-size);
    line-height: 1;
    letter-spacing: var(--tracking-meta);
    color: var(--text-muted);
    opacity: 1;
    font-variant-numeric: tabular-nums;
  }
  
  .project-card-description {
    max-width: var(--measure-text);
    margin-top: 0;
    font-family: var(--font-ui);
    font-weight: 500;
    font-style: normal;
    font-size: var(--copy-size);
    line-height: var(--leading-body);
    letter-spacing: var(--tracking-body);
    text-wrap: pretty;
    color: rgba(0, 0, 0, 0.9);
  }
  
  .project-card-description p + p {
    margin-top: 0.55rem;
  }
  
  .project-link-container {
    margin-top: 1.75rem;
  }
  
  .project-link-text {
    margin: 0;
    font-family: var(--font-ui);
    font-weight: 700;
    font-style: normal;
    font-size: var(--ui-size);
    line-height: 1.5;
    letter-spacing: 0;
  }
  
  /* =========================
     IMAGE SIDE
     ========================= */
  
  .project-card-slider {
    flex: 1 1 auto;
    min-width: 54%;
    border-radius: var(--radius-s);
  }
  
  .slide {
    padding: 0.15rem;
  }
  
  .slide img {
    border-radius: var(--radius-s);
    max-height: min(84vh, 900px);
  }
  
  /* =========================
     SIDE PANEL
     ========================= */
  
  .project-sidepanel {
    background: rgba(255, 255, 255, 0.97);
  }
  
  .project-sidepanel-scroll {
    padding: 5.75rem clamp(1.5rem, 3vw, 3rem) 4rem;
  }
  
  .project-sidepanel-inner {
    max-width: var(--measure-panel);
  }
  
  .project-sidepanel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.6rem;
  }
  
  .project-sidepanel-header h2 {
    margin: 0;
    max-width: 9.5ch;
    font-family: var(--font-ui);
    font-weight: 700;
    font-style: normal;
    font-size: clamp(1.95rem, 2.6vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.042em;
    text-wrap: balance;
  }
  
  .project-sidepanel-header span {
    white-space: nowrap;
    margin-top: 0.25rem;
    font-family: var(--font-ui);
    font-weight: 700;
    font-style: normal;
    font-size: var(--meta-size);
    line-height: 1;
    letter-spacing: var(--tracking-meta);
    color: var(--text-muted);
    opacity: 1;
    font-variant-numeric: tabular-nums;
  }
  
  .project-sidepanel-copy,
  .project-sidepanel-copy p,
  .project-sidepanel-copy li {
    font-family: var(--font-ui);
    font-weight: 500;
    font-style: normal;
    font-size: var(--copy-size);
    line-height: 1.74;
    letter-spacing: var(--tracking-body);
    text-wrap: pretty;
    color: rgba(0, 0, 0, 0.9);
  }
  
  .project-sidepanel-copy h1,
  .project-sidepanel-copy h2,
  .project-sidepanel-copy h3,
  .project-sidepanel-copy h4 {
    margin: 2rem 0 0.65rem;
    font-family: var(--font-ui);
    font-weight: 700;
    font-style: normal;
    font-size: 0.78rem;
    line-height: 1.2;
    letter-spacing: var(--tracking-meta);
    text-transform: uppercase;
    color: var(--text-muted);
  }
  
  .project-sidepanel-copy .project-card-description {
    max-width: none;
    font-size: var(--copy-size);
    line-height: 1.74;
  }
  
  .project-sidepanel-copy .project-link-container {
    margin-top: 1.5rem;
  }
  
  .project-side-video-wrap,
  .youtube-embed,
  .project-sidepanel-video {
    border-radius: var(--radius-s);
  }
  
  /* Close button */
  .project-sidepanel-close {
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.7rem 1rem;
    font-family: var(--font-ui);
    font-weight: 700;
    font-style: normal;
    font-size: var(--ui-size);
    line-height: 1;
    letter-spacing: var(--tracking-meta);
    text-transform: uppercase;
  }
  
  /* =========================
     FOOTER
     ========================= */
  
  .footer-links {
    right: 1.5rem;
    gap: 1.25rem;
    align-items: flex-end;
  }
  
  .footer-links .hero-link {
    padding: 0.95rem 0.85rem;
    font-family: var(--font-ui);
    font-weight: 700;
    font-style: normal;
    font-size: var(--ui-size);
    line-height: 1;
    letter-spacing: var(--tracking-meta);
    text-transform: uppercase;
  }

  /* =========================
     IMPRINT
     ========================= */
  
  .imprint-page {
    padding: var(--page-pad-y) var(--page-pad-x);
    background: #fff;
  }
  
  .impressum,
  .imprint-content-wrapper {
    max-width: 820px;
  }
  
  .impressum .intro-title,
  .intro-title {
    margin-bottom: 1.5rem;
    font-family: var(--font-ui);
    font-weight: 700;
    font-style: normal;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: var(--tracking-display);
  }
  
  .imprint-content,
  .imprint-text,
  .imprint-content p,
  .imprint-text p {
    font-family: var(--font-ui);
    font-weight: 500;
    font-style: normal;
    font-size: var(--copy-size);
    line-height: 1.74;
    letter-spacing: var(--tracking-body);
    text-wrap: pretty;
  }
  
  .imprint-content strong,
  .imprint-text strong {
    font-family: "SuisseScreen", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  /* =========================
     MOBILE
     ========================= */
  
  @media (max-width: 980px) {
    .project-card-inner {
      flex-direction: column;
    }
  
    .project-card-content,
    .project-card-slider {
      min-width: 100%;
      max-width: none;
    }
  
    .project-card-slider {
      height: auto;
      padding-top: 0.5rem;
    }
  
    .project-sidepanel {
      width: 100vw;
    }
  
    .project-sidepanel-scroll {
      padding: 5rem 1.25rem 3rem;
    }

    .language-link-button {
      padding: 0.68rem 0.5rem;
    }
  }
  
  @media (max-width: 768px) {
    .intro-section {
      padding: 2rem 1.25rem;
    }

    .intro-text {
      min-height: auto;
    }

    .language-links {
      flex-direction: row;
      gap: 0.35rem;
      order: 0;
      align-self: auto;
      margin-bottom: 0;
      max-width: 100%;
    }

    .language-link-button {
      writing-mode: horizontal-tb;
      text-orientation: mixed;
      padding: 0.7rem 1rem;
      min-width: 3.1rem;
      font-size: 0.92rem;
    }

    .intro-copy-stack {
      min-height: auto;
    }
  
    .intro-text h1 {
      font-size: clamp(3rem, 13vw, 4.8rem);
      line-height: 0.96;
      margin-bottom: 1.25rem;
    }
  
    .intro-copy,
    .intro-copy p,
    .intro-text p {
      font-size: 1rem;
      line-height: 1.58;
      max-width: 100%;
    }
  
    .project-card {
      padding-top: calc(1rem * (var(--card-index, 1) * 1.2));
      padding-right: calc(1rem * (var(--card-index, 1) * 1.2));
      padding-left: calc(1rem * (var(--card-index, 1) * 1.2));
    }
  
    .project-card-inner {
      padding: 1.1rem;
      gap: 1.25rem;
    }
  
    .project-card-header {
      gap: 0.9rem;
      margin-bottom: 0.85rem;
    }
  
    .project-card-header h2,
    .project-card-header h2.text-large {
      max-width: 100%;
      font-size: 1.72rem;
      line-height: 1;
    }

    .project-card-header span,
    .project-card-header span.text-large,
    .project-sidepanel-header span {
      font-size: 0.68rem;
    }
  
    .project-card-description {
      max-width: 100%;
      font-size: 0.94rem;
      line-height: 1.68;
    }
  
    .project-link-text {
      font-size: 0.78rem;
    }
  
    .footer-links {
      position: relative;
      right: auto;
      top: auto;
      transform: none;
      flex-direction: row;
      justify-content: center;
      padding: 2rem 1rem;
      margin-top: 2rem;
      gap: 0.75rem;
    }
  
    .footer-links .hero-link {
      writing-mode: horizontal-tb;
      text-orientation: mixed;
      padding: 0.7rem 1rem;
      font-size: 0.92rem;
    }

    .imprint-page {
      padding: 2rem 1.25rem;
    }
  
    .imprint-content,
    .imprint-text,
    .imprint-content p,
    .imprint-text p {
      font-size: 0.94rem;
      line-height: 1.68;
    }
  }
