/* ═══════════════════════════════════════════
   Simon Reif — Portfolio
   Colors: Beige #e9e3cf · Black #1a1a1a · White #fff
   Font: IBM Plex Sans (self-hosted)
   ═══════════════════════════════════════════ */


/* ── Self-hosted IBM Plex Sans (DSGVO-konform) ── */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/IBMPlexSans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/IBMPlexSans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/IBMPlexMono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/IBMPlexMono-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html, body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

h1, h2, h3 {
  font-weight: 400;
}


/* ═══════════════════════════════════════════
   LEFT PANEL — Fixed sidebar + landscape image
   ═══════════════════════════════════════════ */

.left-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 42vw;
  height: 100vh;
  display: flex;
  z-index: 10;
}

.left-bar {
  width: 3rem;
  flex-shrink: 0;
  background: #e9e3cf;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-block: 2.5rem;
  border-right: 1px solid rgba(26, 26, 26, 0.06);
}

.left-name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #1a1a1a;
}

.left-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.left-studio {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.4;
  transition: opacity 0.2s;
  border: 1px solid transparent;
  border-radius: 2em;
  padding: 1em 0.4em;
  margin: -1em -0.4em;
}

.left-studio:hover {
  opacity: 1;
}

.left-image {
  flex: 1;
  background: #2a2f2a;
  overflow: hidden;
}

.left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}


/* ═══════════════════════════════════════════
   RIGHT PANEL — Scrollable content
   ═══════════════════════════════════════════ */

.right-panel {
  margin-left: 42vw;
  width: 58vw;
  min-height: 100vh;
  background: #f7f5f0;
  font-size: 1.075rem;
}

.right-panel header,
.right-panel main,
.right-panel footer {
  padding-inline: clamp(2.5rem, 5vw, 5rem);
}


/* ── Header ── */

header {
  padding-block: 2rem;
  display: flex;
  justify-content: flex-end;
}

.right-panel header {
  position: sticky;
  top: 0;
  z-index: 20;
}

header nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.4rem;
  margin: -0.4rem;
  border-radius: 2em;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

header.is-stuck nav {
  background: rgba(247, 245, 240, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 6px 24px rgba(26, 26, 26, 0.09);
}

@media (prefers-reduced-motion: reduce) {
  header nav {
    transition: none;
  }
}

.header-cta-mail {
  display: inline-flex;
  align-items: center;
}

.lang-switch {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-switch a {
  text-decoration: none;
}

.lang-active {
  font-weight: 500;
}

.lang-sep {
  opacity: 0.3;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1a1a;
  background: #ebe8e1;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 2em;
  padding: 0.7em 1.3em;
  transition: background 0.2s;
}

.header-cta:hover {
  background: #e2ded4;
}

.header-cta--book {
  color: #fff;
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.header-cta--book:hover {
  background: #000;
}

.header-cta--icon {
  padding: 0.55em;
  justify-content: center;
  aspect-ratio: 1;
}

.header-cta--icon .icon-mail {
  display: block;
}


/* ── Contact modal (glass lightbox) ── */

.contact-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(36rem, 92vw);
  max-height: 92vh;
  padding: 0;
  border: none;
  background: transparent;
  color: #1a1a1a;
  overflow: visible;
}

.contact-modal::backdrop {
  background: rgba(26, 26, 26, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contact-modal-inner {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 1.5rem;
  background: rgba(247, 245, 240, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.24);
}

.contact-modal[open] .contact-modal-inner {
  animation: contactPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal[open]::backdrop {
  animation: contactFade 0.28s ease;
}

@keyframes contactPop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes contactFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.contact-modal-close {
  position: absolute;
  top: calc(clamp(1.75rem, 4vw, 2.75rem) - 0.2rem);
  right: clamp(1.75rem, 4vw, 2.75rem);
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s;
}

.contact-modal-close:hover {
  background: rgba(255, 255, 255, 0.9);
}

.contact-modal-title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.contact-modal-sub {
  font-size: 0.95rem;
  opacity: 0.65;
  margin-bottom: 1.5rem;
}

.contact-field {
  display: block;
  margin-bottom: 1rem;
}

.contact-field > span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.4rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s, background 0.15s;
}

.contact-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #1a1a1a;
  background: rgba(255, 255, 255, 0.85);
}

.contact-consent {
  margin: 0.25rem 0 1rem;
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.6;
}

.contact-consent a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-submit {
  width: 100%;
  margin-top: 0.5rem;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 2em;
  padding: 0.9em 1.3em;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-submit:hover {
  background: #000;
}

.contact-submit:disabled {
  opacity: 0.55;
  cursor: default;
}

.contact-status {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.contact-status.is-success {
  color: #2a6b3a;
}

.contact-status.is-error {
  color: #a3341f;
}

/* ── Success state (full-panel) ── */

.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 20rem;
  justify-content: center;
  padding: 1rem 0;
}

.contact-modal-inner.is-sent .contact-modal-title,
.contact-modal-inner.is-sent .contact-modal-sub,
.contact-modal-inner.is-sent .contact-form {
  display: none;
}

.contact-modal-inner.is-sent .contact-success {
  display: flex;
  animation: contactPop 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  background: #9a9c86;
  border-radius: 50%;
}

.contact-success-title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.contact-success-text {
  font-size: 0.95rem;
  opacity: 0.65;
  max-width: 22rem;
  margin-bottom: 2rem;
}

.contact-success-close {
  width: auto;
  margin-top: 0;
  padding-inline: 2.5em;
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal-inner.is-sent .contact-success {
    animation: none;
  }
}

.contact-modal-sub a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (prefers-reduced-motion: reduce) {
  .header-cta--icon,
  .contact-modal-close,
  .contact-submit,
  .contact-field input,
  .contact-field textarea {
    transition: none;
  }

  .contact-modal[open] .contact-modal-inner,
  .contact-modal[open]::backdrop {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-cta {
    transition: none;
  }
}


/* ── Hero ── */

.hero {
  padding-block: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 4rem);
}

.hero-tagline {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.4;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.625rem, 2.8vw, 2.375rem);
  font-weight: 300;
  line-height: 1.35;
  max-width: 22em;
  letter-spacing: -0.01em;
}

.hero h1 strong {
  font-weight: 600;
}

.hero-actions {
  display: none;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 2em;
  padding: 0.6em 1.4em;
  transition: background 0.2s, color 0.2s;
}

.hero-cta::after {
  content: "↓";
  font-size: 0.95em;
  transition: transform 0.2s;
}

.hero-cta:hover {
  background: #1a1a1a;
  color: #fff;
}

.hero-cta:hover::after {
  transform: translateY(3px);
}

#kunden,
#leistungen {
  scroll-margin-top: 2rem;
}

/* ── Section label ── */

.section-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.4;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}


/* ── About ── */

.about {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-portrait img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
}

.about-text {
  max-width: 36em;
}

.about-text p {
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  line-height: 1.8;
}

.about-text p + p {
  margin-top: 1.25rem;
}

.about-more {
  margin-top: 1.5rem;
}

.about-nda {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  opacity: 0.7;
}

.about-nda a {
  text-decoration: underline;
}

.about-linkedin {
  margin-top: 1.5rem;
}

.about-linkedin a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.about-linkedin a::after {
  content: "↗";
  font-size: 0.95em;
}

.about-linkedin a:hover {
  opacity: 0.6;
}

.about-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  width: fit-content;
  cursor: pointer;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5em 1.15em;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 2em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.about-more > summary:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.about-more > summary::-webkit-details-marker {
  display: none;
}

.about-more > summary::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  margin-top: -0.18em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin-top 0.25s ease;
}

.about-more[open] > summary::after {
  margin-top: 0.12em;
  transform: rotate(225deg);
}

.about-more[open] > summary {
  margin-bottom: 1.5rem;
}

.about-more p + p {
  margin-top: 1.25rem;
}

.about-more[open] p {
  animation: aboutReveal 0.35s ease both;
}

@keyframes aboutReveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .about-more > summary::after,
  .about-more[open] p {
    transition: none;
    animation: none;
  }
}

.about-cta {
  margin-top: 1.75rem;
}


/* ── About Detail (v3) ── */

.about-detail {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.about-detail-grid {
  display: grid;
  gap: 2.25rem;
}

.about-detail-grid h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.about-detail-grid p {
  font-size: 0.9375rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 36em;
}


/* ── Services ── */

.services {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.services-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 64rem) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
}

.services-grid h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.services-grid p {
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.6;
}

.services-tags-intro {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: clamp(3rem, 5vw, 4rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  font-size: 0.9375rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.services-tags-group {
}

.services-tags-group details {
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.services-tags-group details:first-child {
  border-top: none;
}

.services-tags-group summary {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.45;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
}

.services-tags-group summary::-webkit-details-marker {
  display: none;
}

.services-tags-group summary::after {
  content: "+";
  float: right;
  font-size: 0.875rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.services-tags-group details[open] summary::after {
  content: "−";
}

.services-tags-group details[open] .services-tags {
  padding-bottom: 1rem;
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-tags li {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  border: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: 2em;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
}

.services-tags li:hover {
  opacity: 1;
  border-color: rgba(26, 26, 26, 0.4);
}

.services-tags a {
  display: block;
  padding: 0.4em 1em;
  color: inherit;
  text-decoration: none;
}


/* ── Work ── */

.work {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.work-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  gap: 1.5rem;
}

.work-list li:first-child {
  border-top: 1px solid rgba(26, 26, 26, 0.06);
}

.work-list li span {
  font-size: 0.9375rem;
  font-weight: 400;
}

.work-list li span:last-child:not(:first-child) {
  opacity: 0.4;
  text-align: right;
  flex-shrink: 0;
}


/* ── Cases ── */

.cases {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.cases-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 48rem) {
  .cases-grid {
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
  }
  .case-item:nth-child(1) { grid-column: span 2; }
  .case-item:nth-child(2) { grid-column: span 3; }
  .case-item:nth-child(4) { grid-column: span 3; }
  .case-item:nth-child(5) { grid-column: span 2; }
  .case-item--wide { grid-column: 1 / -1; }
}

.case-item--wide .case-img {
  aspect-ratio: 2 / 1;
}

.case-item--portrait .case-img {
  aspect-ratio: 3 / 4;
}

.case-item {
  min-width: 0;
}

.case-img {
  overflow: hidden;
  border-radius: 0.5rem;
  background: #e9e3cf;
  aspect-ratio: 3 / 2;
  margin-bottom: 1.1rem;
}

.case-img img,
.case-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-item:hover .case-img img,
.case-item:hover .case-img video {
  transform: scale(1.04);
}

.case-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.5;
  line-height: 1.7;
}

.case-tags span:not(:last-child)::after {
  content: "·";
  margin: 0 0.45em;
}


/* ── Logos ── */

.logos {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3rem, #000 calc(100% - 3rem), transparent);
  mask-image: linear-gradient(to right, transparent, #000 3rem, #000 calc(100% - 3rem), transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: logoMarquee 60s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.logo-marquee-track li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  margin-inline-end: clamp(3rem, 6vw, 5rem);
}

.logo-marquee img {
  width: auto;
  height: auto;
  max-width: 7.5rem;
  max-height: 2.25rem;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%) brightness(0);
}

/* Per-logo size overrides to match visual weight */
.logo-marquee img.logo--telekom { max-width: 2.5rem; }
.logo-marquee img.logo--kinemathek { max-width: 9rem; }
.logo-marquee img.logo--otto { max-width: 4rem; }
.logo-marquee img.logo--steinway { max-width: 9rem; }
.logo-marquee img.logo--ndr { max-width: 3.5rem; }
.logo-marquee img.logo--ibmix { max-width: 10rem; max-height: 5rem; }

@keyframes logoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
  .logo-marquee { overflow-x: auto; }
}


/* ── Contact ── */

.contact {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.contact h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.contact-cta {
  display: inline-flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  background: #ebe8e1;
  color: #1a1a1a;
  padding: 1.1rem 1.6rem;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 0.85rem;
  margin-bottom: 1.5rem;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.contact-cta:hover {
  background: #e2ded4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.1);
}

.contact-cta-label {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.contact-cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.3125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.contact-cta-mail::after {
  content: "→";
  font-size: 0.9em;
  transition: transform 0.2s;
}

.contact-cta:hover .contact-cta-mail::after {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .contact-cta,
  .contact-cta:hover,
  .contact-cta-mail::after,
  .contact-cta:hover .contact-cta-mail::after {
    transition: none;
    transform: none;
  }
}

.contact-location {
  font-size: 0.95rem;
  opacity: 0.6;
}


/* ── Network ── */

.elsewhere {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.elsewhere-list {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.elsewhere-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: 2em;
  padding: 0.4em 1em;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
}

.elsewhere-pill::after {
  content: "↗";
  font-size: 0.9em;
}

.elsewhere-pill:hover {
  opacity: 1;
  border-color: rgba(26, 26, 26, 0.4);
}

.faq {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.faq-group > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  width: fit-content;
  cursor: pointer;
  list-style: none;
}

.faq-group > summary::-webkit-details-marker {
  display: none;
}

.faq-group > summary .section-label {
  margin-bottom: 0;
}

.faq-group > summary::after {
  content: "+";
  font-size: 0.75rem;
  line-height: 1;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.faq-group[open] > summary::after {
  content: "−";
}

.faq-group > summary:hover::after {
  opacity: 0.8;
}

.faq-group[open] .faq-list {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.faq-item {
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.faq-item:first-child {
  border-top: none;
}

.faq-item summary {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.45;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 0.875rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item > p {
  max-width: 44em;
  padding-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.6;
}

.faq-item > p a {
  text-decoration: underline;
}

.network {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.network-text {
  font-size: 0.75rem;
  line-height: 1.8;
  opacity: 0.4;
}

.network-text a {
  text-decoration: underline;
}

.membership-logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.membership-logos img {
  height: 3rem;
  width: auto;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.membership-logos a:hover img {
  opacity: 1;
}


/* ── Footer ── */

footer {
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  padding-block: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  opacity: 0.55;
}

footer a {
  transition: opacity 0.15s;
}

footer a:hover {
  opacity: 1;
}


/* ── Impressum ── */

.impressum-body {
  padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}

.impressum-body p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 36em;
}

.impressum-body h2 {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.4;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

.impressum-body h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}


/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (<768px)
   ═══════════════════════════════════════════ */

@media (max-width: 48rem) {

  .left-panel {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 18rem;
  }

  .left-bar {
    width: 2.5rem;
    padding-block: 1.5rem;
  }

  .left-links {
    display: none;
  }

  .scroll-marker {
    display: none;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .right-panel {
    margin-left: 0;
    width: 100%;
  }

  .right-panel header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 20;
    padding: 1rem 1.25rem;
  }

  .about-inner {
    gap: 1.25rem;
  }

  .about-portrait img {
    width: 6rem;
    height: 6rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .logo-marquee-track li {
    height: 2.5rem;
    margin-inline-end: 2.5rem;
  }

  .logo-marquee img {
    max-height: 1.5rem;
  }

  .logo-marquee img.logo--ibmix {
    max-height: 2.75rem;
  }

  .work-list li {
    gap: 0.75rem;
  }

  .work-list li span {
    font-size: 0.75rem;
  }
}
