/* ════════════════════════════════════════════════════════
   PLANSBYSTUDIO — STYLESHEET v2.0
   Ultra-Bold B&W Redesign  |  2026-06-13
   ════════════════════════════════════════════════════════ */


/* ── FONTS (self-hosted, DSGVO-konform) ──────────────── */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-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: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-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: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/inter-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: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/inter-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;
}


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

/* Globaler Fokus-Indikator (WCAG 2.4.7) */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

/* Skip-Navigation (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: #fff;
  color: #000;
  font-family: var(--f-body, sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* Screen-Reader-Only (WCAG 1.3.1) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  background: #000;
  color: #fff;
  font-family: var(--f-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
input, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { font-weight: 400; }


/* ── DESIGN TOKENS ───────────────────────────────────── */
:root {
  /* Farben – reines Schwarz/Weiß */
  --black:      #000000;
  --off-black:  #0c0c0c;
  --dark-gray:  #111111;
  --white:      #ffffff;
  --off-white:  #f5f5f5;
  --muted:      rgba(255, 255, 255, 0.62);    /* auf Schwarz – min. 4.5:1 WCAG AA */
  --muted-dark: rgba(0, 0, 0, 0.62);          /* auf Weiß    – min. 4.5:1 WCAG AA */
  --rule:       rgba(255, 255, 255, 0.1);
  --rule-dark:  rgba(0, 0, 0, 0.1);

  /* Typografie */
  --f-display: 'Anton', 'Impact', sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --nav-h:     72px;
  --container: 1360px;
  --gutter:    48px;
  --section-v: 120px;

  /* Transitions */
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --dur:    0.3s;
}


/* ── LAYOUT HELPERS ──────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-v); }

.section-light {
  background: var(--white);
  color: var(--black);
}

.section-dark {
  background: var(--off-black);
  color: var(--white);
}


/* ── TYPOGRAPHY PRIMITIVES ───────────────────────────── */

/* Riesige Display-Schrift (Anton) */
.display {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 10vw, 10rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* Section-Headings */
.section-heading {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
}
.section-heading--dark { color: var(--black); }

/* Abschnittsnummern */
.section-num {
  display: block;
  font-family: var(--f-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.section-num--dark { color: var(--muted-dark); }

/* Label */
.label {
  font-family: var(--f-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* ── BUTTONS ─────────────────────────────────────────── */

/* Outline-Button: weißer Rahmen auf schwarzem BG */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border: 1px solid #fff;
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  cursor: pointer;
}
.btn-outline:hover { background: #fff; color: #000; }
.btn-outline svg { flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.btn-outline:hover svg { transform: translateX(4px); }

/* Ghost-Button: nur Text, Underline */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 3px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn-ghost:hover { color: #fff; border-color: #fff; }

/* Dark-Button: schwarzer Rahmen auf weißem BG */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border: 1px solid #000;
  color: #000;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn-dark:hover { background: #000; color: #fff; }


/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom-color: var(--rule);
}

.nav-logo { flex-shrink: 0; line-height: 0; }
.nav-logo .logo-pc     { height: 24px; width: auto; }
.nav-logo .logo-mobile { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: var(--f-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: #fff;
  transition: width var(--dur) var(--ease);
}
.nav-link:hover,
.nav-link.active { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding: 5px 10px;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--rule);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lang-toggle:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
}
.burger span {
  display: block;
  height: 1px;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.2s;
  transform-origin: center;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════════════════════
   MOBILES MENÜ
══════════════════════════════════════════════════════ */
#mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: #040404;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px var(--gutter) 56px;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
#mobileMenu::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 65%);
  pointer-events: none;
}
#mobileMenu.open { opacity: 1; pointer-events: all; }

.mobile-link {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 11vw, 5rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.015em;
  transition: color 0.22s var(--ease), opacity 0.22s var(--ease);
  display: block;
  padding-block: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
  position: relative;
}
#mobileMenu nav ul li:last-child .mobile-link {
  border-bottom: none;
}
.mobile-link::before {
  content: attr(data-num);
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.22);
  vertical-align: middle;
  margin-right: 14px;
  margin-bottom: 2px;
}
.mobile-link:hover  { color: rgba(255,255,255,0.5); }
.mobile-link:active { color: rgba(255,255,255,0.35); }

#mobileMenu .lang-toggle {
  margin-top: 36px;
  color: var(--muted);
}

.mobile-menu-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.mobile-menu-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  transition: color 0.22s var(--ease);
}
.mobile-menu-social-link:hover { color: rgba(255,255,255,0.85); }
.mobile-menu-social-link svg { width: 17px; height: 17px; }

.mobile-menu-legal {
  display: flex;
  gap: 18px;
}

.mobile-menu-legal-link {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.22s var(--ease);
}
.mobile-menu-legal-link:hover { color: rgba(255,255,255,0.6); }

body.menu-open { overflow: hidden; }
body.menu-open .nav-mobile-cta { opacity: 0; pointer-events: none; }


@property --gb-ring-opacity {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

/* ══════════════════════════════════════════════════════
   HERO — Fullscreen Textanimation
══════════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-inline: var(--gutter);
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-label {
  display: block;
  margin-bottom: 22px;
  overflow: hidden;
}
.hero-label .reveal-inner {
  font-family: var(--f-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

/* Reveal-Mechanismus: jede Zeile versteckt sich hinter ihrem Container */
.reveal-wrap {
  display: block;
  overflow: hidden;
}
.reveal-inner {
  display: block;
  transform: translateY(110%);
}
.no-js .reveal-inner { transform: none; }

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 3.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
  margin-bottom: 28px;
  will-change: transform;
}
.hero-title .reveal-wrap { margin-bottom: 0.03em; padding-bottom: 0.15em; }

.hero-sub {
  margin-bottom: 40px;
  overflow: hidden;
  max-width: 620px;
}
.hero-sub .reveal-inner {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  display: block;
}

@media (min-width: 769px) {
  .hero-content {
    max-width: 1080px;
  }

  .scroll-indicator { display: none; }

  .hero-label {
    margin-bottom: 26px;
  }

  .hero-label .reveal-inner {
    font-size: 0.8125rem;
  }

  .hero-title {
    font-size: clamp(4.25rem, 5.8vw, 6rem);
    line-height: 0.98;
    margin-bottom: 36px;
  }

  .hero-sub {
    max-width: 820px;
    margin-bottom: 46px;
  }

  .hero-sub .reveal-inner {
    font-size: 1.125rem;
    line-height: 1.72;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-glow-wrap {
  position: relative;
  display: inline-flex;
  padding: 1.5px;
  border-radius: 9999px;
  --gb-ring-opacity: 0;
  background:
    linear-gradient(
      rgba(255, 255, 255, var(--gb-ring-opacity)),
      rgba(255, 255, 255, var(--gb-ring-opacity))
    ),
    radial-gradient(
      circle 40px at var(--gb-x, -10%) var(--gb-y, 50%),
      rgba(255, 255, 255, 0.95)  0%,
      rgba(255, 255, 255, 0.50) 35%,
      rgba(255, 255, 255, 0.08) 60%,
      transparent 80%
    );
  transition: --gb-ring-opacity 0.4s ease, transform 0.12s ease-out;
}
.btn-glow-wrap:hover { --gb-ring-opacity: 0.6; }
.btn-glow-wrap:active { transform: scale(0.97); }

/* Touch-Geräte: sichtbare Outline statt unsichtbarem Glow */
@media (hover: none) {
  .btn-glow-wrap {
    background: rgba(255, 255, 255, 0.2);
  }
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 52px;
  border-radius: 9999px;
  background: #0a0a0a;
  border: none;
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-mobile-cta {
  display: none;
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity 0.3s var(--ease);
}
.nav-mobile-cta:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

/* Scroll-Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
.scroll-indicator:hover { color: rgba(255, 255, 255, 0.9); }
.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, currentColor);
  animation: scrollLine 2.4s ease-in-out infinite;
}
.scroll-indicator__chevron {
  width: 16px;
  height: 9px;
  animation: scrollChev 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  45%  { opacity: 1; transform: scaleY(1); }
  85%  { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; }
}
@keyframes scrollChev {
  0%, 50% { opacity: 0; transform: translateY(-3px); }
  75%     { opacity: 0.85; transform: translateY(2px); }
  100%    { opacity: 0; transform: translateY(4px); }
}


/* ══════════════════════════════════════════════════════
   ABOUT — Weiße Sektion
══════════════════════════════════════════════════════ */
#about.section-light {
  padding-block: var(--section-v);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.48fr);
  gap: clamp(64px, 8vw, 132px);
  align-items: center;
}

.about-intro {
  animation: aboutHeadlineFloat 8.5s ease-in-out infinite;
  transform-origin: 40% 50%;
  will-change: transform;
}

.about-intro .section-heading-large {
  font-family: var(--f-display);
  font-size: clamp(2.85rem, 5.45vw, 5.95rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #000;
  margin-top: 8px;
}

.about-proofline {
  max-width: 540px;
  margin: clamp(18px, 2vw, 28px) 0 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.82;
  letter-spacing: 0;
  color: var(--muted-dark);
  text-wrap: pretty;
}

.testimonial-marquee {
  position: relative;
  width: min(58vw, 920px);
  margin-left: auto;
  overflow: hidden;
  padding-block: 30px;
  mask-image: linear-gradient(to right, transparent 0, #000 13%, #000 87%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 13%, #000 87%, transparent 100%);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.testimonial-marquee.is-dragging {
  cursor: grabbing;
}

.testimonial-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.testimonial-group {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  padding-right: 14px;
}

.testimonial-card {
  position: relative;
  display: flex;
  width: clamp(250px, 21vw, 330px);
  min-height: 174px;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: clamp(15px, 1.25vw, 18px);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(244,244,244,0.88)),
    #f6f6f6;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.28s var(--ease),
    border-color 0.42s var(--ease),
    background 0.42s var(--ease);
  overflow: hidden;
  will-change: transform;
}

.testimonial-card:hover {
  transform: translate3d(0, -2px, 0) scale(1.008);
  border-color: rgba(0,0,0,0.22);
  background:
    linear-gradient(135deg, rgba(255,255,255,1), rgba(240,240,240,0.96)),
    #f7f7f7;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.56) 42%, transparent 68%);
  opacity: 0;
  transform: translateX(-55%);
  pointer-events: none;
}

.testimonial-card.is-sheen::before {
  animation: testimonialSheen 1.2s var(--ease) forwards;
}

.testimonial-card blockquote {
  position: relative;
  margin: 0;
  font-size: clamp(0.82rem, 0.82vw, 0.92rem);
  font-weight: 400;
  line-height: 1.45;
  color: #151515;
  text-wrap: pretty;
}

.testimonial-stars {
  position: relative;
  display: flex;
  color: #f6b800;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.testimonial-card figcaption {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.testimonial-avatar {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  background: #050505;
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.testimonial-avatar--image {
  object-fit: cover;
  padding: 0;
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
  font-family: var(--f-body);
}

.testimonial-card strong {
  font-size: 0.86rem;
  line-height: 1.2;
  color: #050505;
}

.testimonial-card small {
  margin-top: 2px;
  font-size: 0.68rem;
  line-height: 1.25;
  color: rgba(0,0,0,0.55);
}

@keyframes aboutHeadlineFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.15deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(0.25deg); }
}

@keyframes testimonialSheen {
  0% {
    opacity: 0;
    transform: translateX(-55%);
  }
  24%, 58% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(58%);
  }
}
/* ══════════════════════════════════════════════════════
   SERVICES — Schwarze Sektion, Editorial-Liste
══════════════════════════════════════════════════════ */
.services-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 72px;
}

.services-list {
  border-top: 1px solid var(--rule);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-block: 56px;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background var(--dur) var(--ease);
}
.service-row:hover { background: rgba(255,255,255,0.02); }

.service-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-num {
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.service-name {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.93;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.service-right {
  padding-top: 4px;
}

.service-desc {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
}


/* ══════════════════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════════════════ */
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.portfolio-header .section-num { margin-bottom: 0; }

.portfolio-filter {
  display: flex;
  align-items: center;
  gap: 2px;
}
.filter-btn {
  padding: 8px 18px;
  min-height: 44px;
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.filter-btn:hover { color: #fff; }
.filter-btn.active { color: #fff; border-color: rgba(255,255,255,0.25); pointer-events: none; }

/* Masonry Columns — natürliche Bildverhältnisse, null Lücken */
.portfolio-grid {
  columns: 3;
  column-gap: 3px;
}

.portfolio-item {
  break-inside: avoid;
  display: block;
  margin-bottom: 3px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

/* Querformat-Items: volle Breite über alle 3 Spalten */
.portfolio-item--wide {
  column-span: all;
  margin-bottom: 3px;
}

.portfolio-img {
  width: 100%;
  overflow: hidden;
  transition: transform 0.7s var(--ease);
}
.portfolio-img img {
  width: 100%;
  height: auto; /* Originales Seitenverhältnis */
  display: block;
}
.portfolio-item:hover .portfolio-img { transform: scale(1.04); }

/* Info (unten, immer sichtbar, hover blendet auf) */
.portfolio-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.portfolio-item:hover .portfolio-info {
  opacity: 1;
  transform: translateY(0);
}

.pi-cat {
  font-family: var(--f-body);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.pi-title {
  font-family: var(--f-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}


/* ══════════════════════════════════════════════════════
   TEAM — Dunkle Sektion, 3-Spalten-Layout
══════════════════════════════════════════════════════ */
#team {
  position: relative;
  isolation: isolate;
  background: #000000;
}
#team.section {
  padding-bottom: 92px;
}
#team::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.085) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 50% 44%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 44%, #000 0%, transparent 70%);
}

.team-header { margin-bottom: 72px; }

.team-trio {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 64px;
}

.team-profiles { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; }

.team-pcard {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 28px 24px;
  will-change: transform;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.team-pcard:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }

.tpc-avatar {
  width: 68px; height: 68px;
  border-radius: 50%; overflow: hidden;
  margin-bottom: 18px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.12);
}
.tpc-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.tpc-name {
  font-family: var(--f-display);
  font-size: 1.125rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 5px;
}

.tpc-role {
  font-family: var(--f-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 14px;
}

.tpc-bio {
  font-size: 0.875rem;
  line-height: 1.78;
  color: rgba(255,255,255,0.62);
  margin-bottom: 20px;
}

.tpc-ig {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.05em; color: rgba(255,255,255,0.62);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  padding: 6px 13px 6px 10px;
  min-height: 44px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tpc-ig svg { width: 14px; height: 14px; flex-shrink: 0; }
.tpc-ig:hover { color: #fff; border-color: rgba(255,255,255,0.38); background: rgba(255,255,255,0.07); }

.team-combined {
  border-radius: 16px;
  overflow: hidden;
  will-change: transform;
  background: linear-gradient(90deg, #111 25%, #1c1c1c 50%, #111 75%);
  background-size: 200% 100%;
  animation: shimmer-sweep 1.7s ease-in-out infinite;
}
.team-combined img { width: 100%; height: auto; display: block; object-fit: cover; position: relative; }

.team-quote-col { display: flex; align-items: flex-start; padding-top: 44px; }
.team-quote-text {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.75vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.90);
  margin: 0;
  text-transform: uppercase;
}


/* ══════════════════════════════════════════════════════
   CONTACT — Schwarze Sektion
══════════════════════════════════════════════════════ */
#contact.section {
  padding-top: 78px;
}

.contact-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  column-gap: clamp(36px, 5vw, 84px);
  align-items: end;
  margin-bottom: 80px;
}

.contact-top .section-num,
.contact-heading-wrap {
  grid-column: 1;
}

.contact-heading {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 10vw, 10rem);
  line-height: 0.93;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 8px;
}

.contact-visual {
  --contact-float-x: -26px;
  --contact-float-rot: 3deg;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: start;
  align-self: start;
  width: min(30vw, 400px);
  aspect-ratio: 2 / 3;
  margin: -38px 0 -10px;
  border-radius: 18px;
  overflow: hidden;
  transform: translate3d(var(--contact-float-x), 0, 0) rotate(var(--contact-float-rot));
  transform-origin: center bottom;
  border: 1px solid rgba(255,255,255,0.12);
  background: #080808;
  animation: contactVisualFloat 9.5s ease-in-out infinite;
}

.contact-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  filter: saturate(1.05) contrast(1.05);
}

@keyframes contactVisualFloat {
  0%, 100% {
    transform: translate3d(var(--contact-float-x), 0, 0) rotate(var(--contact-float-rot));
  }
  50% {
    transform: translate3d(calc(var(--contact-float-x) - 3px), -8px, 0) rotate(calc(var(--contact-float-rot) - 0.8deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-visual {
    animation: none;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 48px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: 20px;
  border-bottom: 1px solid var(--rule);
  transition: opacity var(--dur) var(--ease);
}
.contact-link:hover { opacity: 0.7; }

.cl-label {
  font-family: var(--f-body);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.cl-value {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: #fff;
  align-self: flex-start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-family: var(--f-body);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group--check label { text-transform: none; letter-spacing: 0; font-size: 0.8125rem; }

.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid var(--rule);
  color: #fff;
  padding: 13px 16px;
  font-size: 0.9375rem;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  border-radius: 10px;
  resize: vertical;
  transition: border-color var(--dur) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(255,255,255,0.45); }
.form-group textarea { min-height: 120px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.15); }

/* DSGVO Checkbox */
.form-group--check .check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.form-group--check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  flex: 0 0 16px;
  border: 1px solid var(--rule);
  background: transparent;
  padding: 0;
  margin-top: 2px;
  -webkit-appearance: checkbox;
  appearance: auto;
  accent-color: #fff;
  cursor: pointer;
}
.form-group--check input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(255,255,255,0.72);
  outline-offset: 3px;
}
.check-text {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}
.check-text a { color: #fff; border-bottom: 1px solid var(--rule); }
.check-text a:hover { border-color: #fff; }

.form-submit {
  align-self: flex-start;
  margin-top: 8px;
  border-radius: 999px;
}

.form-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

.form-feedback {
  font-size: 0.875rem;
  color: #fff;
  min-height: 1.25em;
}


/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
#footer {
  background: var(--off-black);
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  padding-bottom: 52px;
  position: relative;
  z-index: 95; /* Über dem viewport-blur (z-index 90) */
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo .logo-pc     { height: 18px; width: auto; }
.footer-logo .logo-mobile { display: none; }

.footer-copy {
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.8125rem;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.footer-links a:hover { color: #fff; }

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-social-link svg {
  display: block;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════
   PLATZHALTER — Grautöne (B&W)
══════════════════════════════════════════════════════ */
/* Auf schwarzem Hintergrund */
.ph-1 { background: #181818; }
.ph-2 { background: #141414; }
.ph-3 { background: #1e1e1e; }
.ph-4 { background: #121212; }
.ph-5 { background: #161616; }
.ph-6 { background: #1a1a1a; }
/* Portraits (auf weißem BG) */
.ph-portrait-1 { background: #d0d0d0; }
.ph-portrait-2 { background: #c8c8c8; }


/* ══════════════════════════════════════════════════════
   IMPRESSUM / DATENSCHUTZ — Unterseiten
══════════════════════════════════════════════════════ */
.legal-page {
  background: #000;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 96px;
  color: #fff;
}
.legal-page .container { max-width: 760px; }

.legal-page h1 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 56px;
}

.legal-page h2 {
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-page p,
.legal-page li {
  font-size: 0.9375rem;
  line-height: 1.82;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.legal-page a { color: #fff; border-bottom: 1px solid var(--rule); transition: border-color var(--dur); }
.legal-page a:hover { border-color: #fff; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 64px;
  transition: color var(--dur) var(--ease);
  border-bottom: none !important;
}
.legal-back:hover { color: #fff; }
.legal-back svg { width: 16px; height: 16px; }


/* ══════════════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 1024px
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --gutter: 36px; --section-v: 96px; }

  #team.section {
    padding-bottom: 78px;
  }

  #contact.section {
    padding-top: 68px;
  }

  .about-grid    { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .about-intro .section-heading-large {
    max-width: 860px;
    font-size: clamp(2.9rem, 9vw, 5.5rem);
  }
  .about-proofline {
    max-width: 540px;
    font-size: 1.02rem;
  }
  .testimonial-marquee {
    width: 100%;
    margin-left: 0;
  }
  .contact-top {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
    column-gap: 32px;
  }
  .contact-visual {
    --contact-float-x: -16px;
    width: min(33vw, 330px);
  }
  .contact-grid  { grid-template-columns: 1fr; gap: 56px; }

  .portfolio-item--wide { column-span: all; }
  .portfolio-grid { columns: 2; }

  .service-row { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
  .service-name { font-size: clamp(2.25rem, 6vw, 4rem); }

  .hero-float { width: min(11vw, 130px); }
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE — MOBIL  ≤ 768px
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --gutter: 20px; --section-v: 72px; }

  /* Nav */
  #nav {
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 22px 10px;
    background: rgba(5, 5, 5, 0.50);
    backdrop-filter: blur(28px) saturate(1.15);
    -webkit-backdrop-filter: blur(28px) saturate(1.15);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
  }
  #nav.scrolled {
    background: rgba(5, 5, 5, 0.65);
    border-bottom: 1px solid var(--rule);
    backdrop-filter: blur(28px) saturate(1.15);
    -webkit-backdrop-filter: blur(28px) saturate(1.15);
  }
  .nav-links { display: none; }
  .burger    { display: flex; }
  .nav-logo .logo-pc     { display: none; }
  .nav-logo .logo-mobile { display: block; height: 36px; width: auto; }
  .nav-mobile-cta { display: inline-flex; }

  /* Hero Floats auf Mobile größer */
  .hero-float { width: min(28vw, 190px); }

  /* Hero */
  .hero-content::before {
    content: '';
    position: absolute;
    inset: -80px -40px;
    background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.52) 0%, transparent 68%);
    pointer-events: none;
    z-index: -1;
  }
  .hero-title { font-size: clamp(2rem, 7.5vw, 3.25rem); margin-bottom: 16px; }
  .hero-sub { max-width: 100%; }
  .hero-sub .reveal-inner { font-size: 0.875rem; }
  .scroll-indicator { margin-top: 4px; }

  /* About / Testimonials */
  .about-grid { gap: 36px; }
  .about-intro .section-heading-large {
    font-size: clamp(2.45rem, 11.5vw, 4rem);
    line-height: 0.9;
    overflow-wrap: anywhere;
  }
  .about-proofline {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.72;
  }
  .about-body {
    margin-inline: calc(-1 * var(--gutter));
    width: calc(100% + var(--gutter) * 2);
    overflow: hidden;
  }
  .testimonial-marquee {
    width: 100%;
    margin-left: 0;
    padding-block: 24px 32px;
    padding-inline: var(--gutter);
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: clip;
    overflow-y: visible;
  }
  .testimonial-track,
  .testimonial-group {
    gap: 10px;
  }
  .testimonial-group {
    padding-right: 10px;
  }
  .testimonial-card {
    width: clamp(230px, 72vw, 292px);
    min-height: 0;
    gap: 14px;
    padding: 15px;
  }
  .testimonial-card blockquote {
    font-size: 0.86rem;
    line-height: 1.47;
  }

  /* Services */
  .service-name { font-size: clamp(2rem, 10vw, 3.5rem); }
  .service-row { padding-block: 36px; }

  /* Portfolio */
  .portfolio-grid { columns: 2; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  /* Overlay immer sichtbar auf Touch */
  .portfolio-info { opacity: 1; transform: translateY(0); }

  /* Team */
  .team-trio { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 48px; }
  .team-combined { order: 1; position: relative; z-index: 1; max-width: unset; margin-inline: 8px; border-radius: 14px; transform: rotate(-0.6deg); transform-origin: center bottom; }
  .team-combined img { height: auto; }
  .team-profiles { order: 2; padding-top: 0; gap: 0; }
  .team-pcard { background: rgba(6,6,6,0.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: rgba(255,255,255,0.13); }
  .team-pcard:nth-child(1) { position: relative; z-index: 2; margin-top: -32px; margin-right: 10%; transform: rotate(-1.5deg); transform-origin: bottom right; }
  .team-pcard:nth-child(2) { position: relative; z-index: 3; margin-top: -14px; margin-left: 10%; transform: rotate(1.1deg); transform-origin: top left; }
  .team-quote-col { order: 3; padding-top: 36px; padding-inline: 16px; justify-content: center; }
  .team-quote-text { font-size: clamp(1.75rem, 6.5vw, 2.6rem); text-align: center; }

  /* Contact */
  #team.section {
    padding-bottom: 28px;
  }

  #contact.section {
    padding-top: 34px;
  }

  .form-row { grid-template-columns: 1fr; }
  .form-submit { align-self: center; width: 100%; justify-content: center; }
  .contact-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(126px, 34vw, 152px);
    column-gap: 4px;
    row-gap: 16px;
    align-items: end;
    margin-bottom: 28px;
  }
  .contact-top .section-num {
    grid-column: 1 / -1;
  }
  .contact-heading-wrap {
    grid-column: 1;
  }
  .contact-heading {
    font-size: clamp(2rem, 9.4vw, 3rem);
    line-height: 0.94;
  }
  .contact-visual {
    --contact-float-x: -22px;
    --contact-float-rot: 3deg;
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    width: clamp(126px, 34vw, 152px);
    margin: -10px 0 4px;
    border-radius: 13px;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-desc { font-size: 0.9375rem; line-height: 1.65; margin-bottom: 24px; }
  .contact-links {
    flex-direction: row;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 0;
  }
  .contact-link {
    flex: 1;
    min-width: 0;
    align-items: center;
    text-align: center;
    padding-block: 14px;
    padding-inline: 6px;
    border-bottom: none;
    border-right: 1px solid var(--rule);
  }
  .contact-link:last-child { border-right: none; }
  .contact-link .cl-mob-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
  }
  .contact-link .cl-mob-icon svg { width: 22px; height: 22px; color: #fff; }
  .contact-link .cl-value { display: none; }
  .contact-link .cl-icon { display: none; }
  br.mob-br { display: initial; }

  /* Footer */
  #footer {
    padding-top: 28px;
    padding-bottom: 48px;
  }
  .footer-inner { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-logo .logo-pc     { display: none; }
  .footer-logo .logo-mobile { display: block; height: 28px; }
}


/* Team Mobile Floating Animation */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .team-pcard:nth-child(1) { animation: mob-float-1 5.5s ease-in-out infinite; }
  .team-pcard:nth-child(2) { animation: mob-float-2 6.8s ease-in-out infinite 0.7s; }
}
@keyframes mob-float-1 {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50%       { transform: rotate(-1.1deg) translateY(-7px); }
}
@keyframes mob-float-2 {
  0%, 100% { transform: rotate(1.1deg) translateY(0); }
  50%       { transform: rotate(1.4deg) translateY(6px); }
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE — KLEIN  ≤ 480px
══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .portfolio-grid { columns: 1; }
  .hero-actions .reveal-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}


/* ══════════════════════════════════════════════════════
   MOBILE HOME HERO — Open collage rhythm
   Bildgeführte erste Ansicht: ruhige Nav-Zone,
   breite Frames, große Headline, klare CTA.
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 82px; }

  html {
    background: #fff;
  }

  #nav {
    width: 100%;
    max-width: 100vw;
    height: var(--nav-h);
    align-items: center;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 22px 10px;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
  }

  .nav-logo .logo-mobile {
    height: 24px;
    margin-top: 0;
  }

  .nav-right {
    gap: 12px;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
  }

  #nav > .nav-right > .lang-toggle {
    display: none;
  }

  .nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 16px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.94);
    color: #0b0b0b;
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1;
    border: none;
  }

  .burger {
    width: 28px;
    height: 20px;
    gap: 0;
    justify-content: space-between;
  }

  .burger span {
    height: 1.5px;
    background: rgba(255, 255, 255, 0.88);
    transition: transform 0.38s var(--ease), opacity 0.25s, width 0.32s var(--ease), margin-left 0.32s var(--ease);
    transform-origin: center;
  }

  .burger span:nth-child(1) {
    width: 100%;
  }

  .burger span:nth-child(2) {
    width: 100%;
    margin-left: 0;
  }

  .burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9.25px) rotate(45deg);
  }

  .burger[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-9.25px) rotate(-45deg);
    width: 100%;
    margin-left: 0;
  }

  #hero {
    height: auto;
    min-height: max(760px, 100dvh);
    min-height: max(760px, 100lvh);
    align-items: flex-start;
    padding-top: calc(var(--nav-h) + 116px);
    padding-bottom: 150px;
    isolation: isolate;
    background: #050505;
  }

  .hero-video {
    opacity: 0.08;
    filter: saturate(0.85) contrast(1.08);
  }

  .hero-overlay {
    background:
      linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.72) 21%, rgba(0,0,0,0.24) 42%, rgba(0,0,0,0.76) 72%, #000 100%),
      radial-gradient(ellipse at 50% 46%, rgba(255,255,255,0.06), transparent 58%);
  }

  .hero-floats {
    z-index: 3;
    overflow: hidden;
  }

  .hero-float {
    width: auto;
    opacity: 0.88;
    transform: none;
  }

  .hero-float__inner {
    border-radius: 14px;
    box-shadow: 0 26px 70px rgba(0,0,0,0.72);
    animation: heroFloatIdle 7s ease-in-out infinite var(--fd-delay, 0s);
  }

  .hero-float__inner img {
    filter: brightness(0.76) contrast(1.04) saturate(1.02);
  }

  .hero-float--1 {
    top: 158px;
    left: -62px;
    width: 195px;
  }

  .hero-float--1 .hero-float__inner { aspect-ratio: 1.35 / 1; }

  .hero-float--2 {
    top: 140px;
    right: -84px;
    width: 176px;
  }

  .hero-float--2 .hero-float__inner { aspect-ratio: 0.82 / 1; }

  .hero-float--7 {
    top: 132px;
    left: calc(50% - min(49vw, 210px) / 2);
    width: min(49vw, 210px);
  }

  .hero-float--7 .hero-float__inner { aspect-ratio: 1.62 / 1; }

  .hero-float--8 {
    top: 318px;
    left: -24px;
    width: 168px;
  }

  .hero-float--8 .hero-float__inner { aspect-ratio: 1.24 / 1; }

  .hero-float--3 {
    top: 314px;
    right: -32px;
    width: 158px;
  }

  .hero-float--3 .hero-float__inner { aspect-ratio: 0.9 / 1.18; }

  .hero-float--6 {
    top: 548px;
    left: -34px;
    width: 205px;
  }

  .hero-float--6 .hero-float__inner { aspect-ratio: 1.55 / 1; }

  .hero-float--9 {
    top: 572px;
    right: -36px;
    width: 160px;
  }

  .hero-float--9 .hero-float__inner { aspect-ratio: 1 / 1.16; }

  .hero-float--5 {
    top: 674px;
    left: 46%;
    width: 160px;
  }

  .hero-float--5 .hero-float__inner { aspect-ratio: 1.15 / 1; }

  .hero-float--4 {
    top: 776px;
    right: 7px;
    width: 185px;
  }

  .hero-float--4 .hero-float__inner { aspect-ratio: 1.42 / 1; }

  .hero-content {
    max-width: none;
    padding-inline: 16px;
    z-index: 10;
    text-align: center;
  }

  .hero-content::before {
    inset: -115px -18px -84px;
    background:
      radial-gradient(ellipse at 50% 36%, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.58) 35%, rgba(0,0,0,0) 70%),
      linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.48) 42%, rgba(0,0,0,0) 100%);
  }

  .hero-label {
    display: block;
    margin-bottom: 13px;
  }

  .hero-label .reveal-inner {
    font-size: 0.58rem;
    line-height: 1.3;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.56);
  }

  .hero-title {
    width: min(100%, 370px);
    margin: 0 auto 20px;
    font-size: clamp(2.36rem, 10.45vw, 3.05rem);
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .hero-title .reveal-wrap {
    margin-bottom: 0;
  }

  .hero-sub {
    max-width: 330px;
    margin: 0 auto 28px;
  }

  .hero-sub .reveal-inner {
    font-size: clamp(0.9rem, 3.55vw, 1.02rem);
    line-height: 1.5;
    color: rgba(255,255,255,0.64);
    font-weight: 400;
  }

  .hero-actions {
    width: 100%;
  }

  .btn-glow-wrap {
    width: min(100%, 238px);
    position: relative;
    overflow: hidden;
    background: none;
    filter: none !important;
    isolation: isolate;
    box-shadow: 0 0 22px rgba(255,255,255,0.14), 0 0 48px rgba(255,255,255,0.07);
  }

  .btn-glow-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
      linear-gradient(
        rgba(255, 255, 255, var(--gb-ring-opacity)),
        rgba(255, 255, 255, var(--gb-ring-opacity))
      ),
      radial-gradient(
        circle 40px at var(--gb-x, -10%) var(--gb-y, 50%),
        rgba(255, 255, 255, 0.95)  0%,
        rgba(255, 255, 255, 0.50) 35%,
        rgba(255, 255, 255, 0.08) 60%,
        transparent 80%
      );
  }

  .btn-hero-cta {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 50px;
    padding-inline: 22px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .btn-hero-cta::after {
    content: none;
  }

  #about.section-light {
    padding-block: var(--section-v);
  }
}

@media (max-width: 390px) {
  #hero {
    padding-top: calc(var(--nav-h) + 108px);
  }

  .hero-title {
    font-size: clamp(2.22rem, 10.25vw, 2.82rem);
  }

  .hero-sub {
    max-width: 305px;
  }

  .hero-float--1 { left: -76px; width: 188px; }
  .hero-float--2 { right: -94px; width: 170px; }
  .hero-float--7 { width: min(52vw, 200px); }
  .hero-float--8 { left: -34px; }
  .hero-float--3 { right: -44px; }
}


/* ══════════════════════════════════════════════════════
   HERO VIDEO + OVERLAY
══════════════════════════════════════════════════════ */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.15) 45%,
    rgba(0,0,0,0.72) 100%
  );
  z-index: 1;
}

/* ══════════════════════════════════════════════════════
   HERO FLOATS — Schwebende Foto-Karten
══════════════════════════════════════════════════════ */
.hero-floats {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-float {
  position: absolute;
  width: min(var(--hero-float-vw, 17vw), var(--hero-float-max, 232px));
  will-change: transform;
}

.hero-float__inner {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow:
    0 18px 42px rgba(0,0,0,0.48),
    0 5px 16px rgba(0,0,0,0.32),
    0 0 0 1px rgba(255,255,255,0.06);
  animation: heroFloatIdle var(--fd, 4.2s) ease-in-out infinite var(--fd-delay, 0s);
}
.hero-float__inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Organisch verteilt — Oben: 4, Mitte: 2, Unten: 3 */
.hero-float--1 { top: 4%;     left: 4%;   --hero-float-vw: 16.4vw; --hero-float-max: 224px; }
.hero-float--7 { top: 9%;     left: 21%;  --hero-float-vw: 17.9vw; --hero-float-max: 244px; }
.hero-float--8 { top: 5%;     right: 17%; --hero-float-vw: 15.8vw; --hero-float-max: 216px; }
.hero-float--2 { top: 6%;     right: 4%;  --hero-float-vw: 17.2vw; --hero-float-max: 236px; }
.hero-float--6 { top: 38%;    left: 3%;   --hero-float-vw: 17.6vw; --hero-float-max: 240px; }
.hero-float--3 { top: 33%;    right: 3%;  --hero-float-vw: 16.1vw; --hero-float-max: 220px; }
.hero-float--5 { bottom: 7%;  left: 5%;   --hero-float-vw: 16.8vw; --hero-float-max: 230px; }
.hero-float--9 { bottom: 19%; right: 21%; --hero-float-vw: 15.4vw; --hero-float-max: 210px; }
.hero-float--4 { bottom: 7%;  right: 5%;  --hero-float-vw: 17.4vw; --hero-float-max: 238px; }

@keyframes heroFloatIdle {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
.hero-float--1 .hero-float__inner { --fd: 4.2s; --fd-delay:  0.0s; }
.hero-float--2 .hero-float__inner { --fd: 3.7s; --fd-delay: -1.4s; }
.hero-float--3 .hero-float__inner { --fd: 4.8s; --fd-delay: -0.7s; }
.hero-float--4 .hero-float__inner { --fd: 3.5s; --fd-delay: -2.1s; }
.hero-float--5 .hero-float__inner { --fd: 4.5s; --fd-delay: -0.3s; }
.hero-float--6 .hero-float__inner { --fd: 4.0s; --fd-delay: -1.8s; }
.hero-float--7 .hero-float__inner { --fd: 4.3s; --fd-delay: -0.9s; }
.hero-float--8 .hero-float__inner { --fd: 3.6s; --fd-delay: -1.6s; }
.hero-float--9 .hero-float__inner { --fd: 4.7s; --fd-delay: -0.5s; }

@media (prefers-reduced-motion: reduce) {
  .hero-float__inner { animation: none; }
}

/* Mobile hero restore: keep this after the base hero media rules so it wins. */
@media (max-width: 768px) {
  .hero-video {
    opacity: 0.08;
    filter: saturate(0.85) contrast(1.08);
  }

  .hero-overlay {
    background:
      linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.72) 21%, rgba(0,0,0,0.24) 42%, rgba(0,0,0,0.76) 72%, #000 100%),
      radial-gradient(ellipse at 50% 46%, rgba(255,255,255,0.06), transparent 58%);
  }

  .hero-floats {
    z-index: 3;
    overflow: hidden;
  }

  .hero-float {
    width: auto;
    opacity: 0.88;
    transform: none;
  }

  .hero-float__inner {
    border-radius: 14px;
    box-shadow: 0 26px 70px rgba(0,0,0,0.72);
    animation: heroFloatIdle 7s ease-in-out infinite var(--fd-delay, 0s);
  }

  .hero-float__inner img {
    filter: brightness(0.76) contrast(1.04) saturate(1.02);
  }

  .hero-float--1 { top: 158px; left: -62px; width: 195px; }
  .hero-float--1 .hero-float__inner { aspect-ratio: 1.35 / 1; }

  .hero-float--2 { top: 140px; right: -84px; width: 176px; }
  .hero-float--2 .hero-float__inner { aspect-ratio: 0.82 / 1; }

  .hero-float--7 {
    top: 132px;
    left: calc(50% - min(49vw, 210px) / 2);
    width: min(49vw, 210px);
  }
  .hero-float--7 .hero-float__inner { aspect-ratio: 1.62 / 1; }

  .hero-float--8 { top: 318px; left: -24px; width: 168px; }
  .hero-float--8 .hero-float__inner { aspect-ratio: 1.24 / 1; }

  .hero-float--3 { top: 314px; right: -32px; width: 158px; }
  .hero-float--3 .hero-float__inner { aspect-ratio: 0.9 / 1.18; }

  .hero-float--6 { top: 548px; left: -34px; width: 205px; }
  .hero-float--6 .hero-float__inner { aspect-ratio: 1.55 / 1; }

  .hero-float--9 { top: 572px; right: -36px; width: 160px; }
  .hero-float--9 .hero-float__inner { aspect-ratio: 1 / 1.16; }

  .hero-float--5 { top: 674px; left: 46%; width: 160px; }
  .hero-float--5 .hero-float__inner { aspect-ratio: 1.15 / 1; }

  .hero-float--4 { top: 776px; right: 7px; width: 185px; }
  .hero-float--4 .hero-float__inner { aspect-ratio: 1.42 / 1; }
}

@media (max-width: 390px) {
  .hero-float--1 { left: -76px; width: 188px; }
  .hero-float--2 { right: -94px; width: 170px; }
  .hero-float--7 { width: min(52vw, 200px); }
  .hero-float--8 { left: -34px; }
  .hero-float--3 { right: -44px; }
}


/* ══════════════════════════════════════════════════════
   TICKER / MARQUEE STRIP
══════════════════════════════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  background: #000;
  border-top:    1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-block: 18px;
  user-select: none;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker-track span {
  font-family: var(--f-display);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.ticker-sep {
  color: rgba(255,255,255,0.25) !important;
  font-family: var(--f-body) !important;
  font-size: 0.6rem !important;
  letter-spacing: 0 !important;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}


/* ══════════════════════════════════════════════════════
   VIEWPORT PROGRESSIVE BLUR — Fest am unteren Rand
   Auf Mobile ausgeblendet (iOS Safari-Kompatibilität).
══════════════════════════════════════════════════════ */
.viewport-blur {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  pointer-events: none;
  z-index: 90;
}

@media (max-width: 768px) {
  .viewport-blur { display: none; }
}

.viewport-blur > div {
  position: absolute;
  inset: 0;
}

/* Schicht 1 – Sanftester Blur, höchste Reichweite */
.viewport-blur > div:nth-child(1) {
  backdrop-filter:          blur(2px);
  -webkit-backdrop-filter:  blur(2px);
  mask-image:         linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

/* Schicht 2 */
.viewport-blur > div:nth-child(2) {
  backdrop-filter:          blur(6px);
  -webkit-backdrop-filter:  blur(6px);
  mask-image:         linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%);
}

/* Schicht 3 */
.viewport-blur > div:nth-child(3) {
  backdrop-filter:          blur(12px);
  -webkit-backdrop-filter:  blur(12px);
  mask-image:         linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 55%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 55%);
}

/* Schicht 4 */
.viewport-blur > div:nth-child(4) {
  backdrop-filter:          blur(20px);
  -webkit-backdrop-filter:  blur(20px);
  mask-image:         linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 35%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 35%);
}

/* Schicht 5 – Stärkster Blur, nur ganz unten */
.viewport-blur > div:nth-child(5) {
  backdrop-filter:          blur(32px);
  -webkit-backdrop-filter:  blur(32px);
  mask-image:         linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 18%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 18%);
}

/* Irideszenter Farbschimmer */
.viewport-blur::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    transparent        52%,
    rgba(255, 100,   0, 0.55) 62%,
    rgba(  0, 140, 255, 0.55) 74%,
    rgba(160,   0, 255, 0.45) 84%,
    transparent        96%
  );
  mask-image:         linear-gradient(to top, #000 0%, transparent 22%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 22%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Spekularlicht — simuliert Glaskante */
.viewport-blur::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent                   0%,
    rgba(160, 210, 255, 0.65)    18%,
    rgba(255, 255, 255, 0.90)    50%,
    rgba(255, 200, 150, 0.65)    82%,
    transparent                  100%
  );
  pointer-events: none;
}


/* ══════════════════════════════════════════════════════
   CHARACTER HOVER EFFEKT — rc-span
   Jeder Buchstabe dreht sich 3D bei Cursor-Nähe
══════════════════════════════════════════════════════ */
.rc-word {
  display: inline-block;
  white-space: nowrap; /* Kein Umbruch innerhalb eines Wortes */
}

.rc-span {
  display: inline-block;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
}


/* ══════════════════════════════════════════════════════
   CUSTOM CURSOR (nur Hover-fähige Geräte)
══════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════
   REFERENZEN — Kundenprojekte
══════════════════════════════════════════════════════ */
.refs-header {
  margin-bottom: 72px;
}

.ref-project {
  margin-bottom: 0;
}

.ref-project-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.ref-project-name {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.ref-project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ref-project-tags span {
  font-family: var(--f-body);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Asymmetrisches Grid: Weit + Portrait */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 3px;
}

.ref-img {
  overflow: hidden;
  position: relative;
}

.ref-img--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

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

.ref-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease);
  will-change: transform;
}

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

@media (max-width: 768px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-img--wide {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }
  .ref-project-meta {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .ref-grid { grid-template-columns: 1fr; }
  .ref-img--wide { grid-column: span 1; aspect-ratio: 16/9; }
  .ref-img--portrait { aspect-ratio: 4/3; }
}


/* ══════════════════════════════════════════════════════
   MANIFESTO — Gepinnter Word-Reveal
══════════════════════════════════════════════════════ */
#manifesto {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
}

.manifest-inner {
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}

.manifest-text {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 8.5vw, 9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  display: block;
}

.manifest-text .mw {
  display: inline-block;
  will-change: transform, opacity;
}
html[lang="en"] .manifest-text--de { display: none; }
html[lang="de"] .manifest-text--en { display: none; }

.manifest-sub {
  display: block;
  margin-top: 40px;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  will-change: transform, opacity;
}


/* ══════════════════════════════════════════════════════
   PROCESS — Wie wir arbeiten
══════════════════════════════════════════════════════ */
.process-header {
  margin-bottom: 72px;
}

.process-steps {
  border-top: 1px solid var(--rule-dark);
}

.process-step {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 64px;
  padding-block: 72px;
  border-bottom: 1px solid var(--rule-dark);
  align-items: start;
  will-change: transform, opacity;
}

.ps-number {
  font-family: var(--f-display);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 1;
  color: rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
  user-select: none;
}

.ps-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.93;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 24px;
}

.ps-desc {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: var(--muted-dark);
  max-width: 540px;
}


/* ══════════════════════════════════════════════════════
   HORIZONTAL SCROLL REEL
══════════════════════════════════════════════════════ */
#hscroll {
  background: #000;
}

.hscroll-pin {
  will-change: transform;
}

.hscroll-header-bar {
  padding-block: 48px 32px;
}

.hscroll-header-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hscroll-eyebrow {
  font-family: var(--f-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hscroll-hint {
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
}

.hscroll-track-wrap {
  overflow: hidden;
  padding-bottom: 64px;
}

.hscroll-track {
  display: flex;
  gap: 18px;
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
}

.hscroll-item {
  width: clamp(260px, 26vw, 420px);
  flex-shrink: 0;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition: transform 0.42s var(--ease);
  will-change: transform;
}

@keyframes shimmer-sweep {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.hsi-bg {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(90deg, #111 25%, #1c1c1c 50%, #111 75%);
  background-size: 200% 100%;
  animation: shimmer-sweep 1.7s ease-in-out infinite;
  transition: transform 0.65s var(--ease);
  overflow: hidden;
}
.hsi-bg img,
.hsi-bg video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  position: relative;
}

.hscroll-item:hover .hsi-bg { transform: scale(1.04); }

.hsi-meta {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hsi-cat {
  font-family: var(--f-body);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hsi-title {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.hsi-title svg {
  display: inline-block;
  vertical-align: middle;
  width: 0.65em;
  height: 0.65em;
  margin-left: 5px;
  margin-top: -0.1em;
  opacity: 0.55;
  transition: opacity 0.2s var(--ease);
}
.hscroll-item:hover .hsi-title svg { opacity: 1; }

/* Mobile: horizontales Scrollen nativ */
@media (max-width: 768px) {
  .hscroll-track-wrap {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hscroll-track-wrap::-webkit-scrollbar { display: none; }
  .hscroll-track {
    gap: 10px;
    padding-inline: var(--gutter);
  }
  .hscroll-item { width: 72vw; }
  .hscroll-hint { display: none; }
}

/* Process responsive */
@media (max-width: 1024px) {
  .process-step { grid-template-columns: 120px 1fr; gap: 40px; padding-block: 56px; }
}

@media (max-width: 768px) {
  .process-step { grid-template-columns: 1fr; gap: 12px; padding-block: 40px; }
  .ps-number { font-size: 3.5rem; }
  .manifest-text { font-size: clamp(2rem, 10vw, 4rem); }
}


@media (hover: hover) and (pointer: fine) {
  body.custom-cursor-enabled { cursor: none; }
  body.custom-cursor-enabled a,
  body.custom-cursor-enabled button,
  body.custom-cursor-enabled [role="button"] { cursor: none; }

  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.3s ease;
    will-change: transform;
    mix-blend-mode: difference;
  }

  .cursor-circle {
    position: fixed;
    top: 0; left: 0;
    width: 38px;
    height: 38px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition:
      width 0.35s var(--ease),
      height 0.35s var(--ease),
      border-radius 0.35s var(--ease),
      opacity 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease;
    will-change: transform;
    mix-blend-mode: difference;
  }

  /* Hover-Zustand: Cursor vergrößert sich */
  .cursor-circle.is-hovered {
    width: 64px;
    height: 64px;
  }

  .cursor-dot.is-hovered {
    width: 3px;
    height: 3px;
    opacity: 0.5;
  }

  .cursor-circle.is-work-outline {
    width: var(--cursor-outline-w, 64px);
    height: var(--cursor-outline-h, 64px);
    border-radius: var(--cursor-outline-r, 10px);
    border-color: rgba(255,255,255,0.82);
    box-shadow:
      0 0 0 1px rgba(0,0,0,0.38),
      0 0 28px rgba(255,255,255,0.18);
    mix-blend-mode: normal;
    animation: workCursorPulse 1.65s ease-in-out infinite;
  }

  .cursor-dot.is-work-outline {
    opacity: 0;
  }

  .cursor-circle.is-social-outline {
    width: var(--cursor-outline-w, 64px);
    height: var(--cursor-outline-h, 34px);
    border-radius: 999px;
    border-color: rgba(255,255,255,0.78);
    box-shadow:
      0 0 0 1px rgba(0,0,0,0.32),
      0 0 20px rgba(255,255,255,0.16);
    mix-blend-mode: normal;
    animation: socialCursorPulse 1.55s ease-in-out infinite;
    transform: translate(-50%, -50%) rotate(var(--cursor-rotate, 0deg));
  }

  .cursor-dot.is-social-outline {
    opacity: 0;
  }

  @keyframes workCursorPulse {
    0%, 100% {
      border-color: rgba(255,255,255,0.74);
      box-shadow:
        0 0 0 1px rgba(0,0,0,0.38),
        0 0 20px rgba(255,255,255,0.12);
    }
    50% {
      border-color: rgba(255,255,255,1);
      box-shadow:
        0 0 0 1px rgba(0,0,0,0.48),
        0 0 34px rgba(255,255,255,0.30);
    }
  }

  @keyframes socialCursorPulse {
    0%, 100% {
      border-color: rgba(255,255,255,0.68);
      box-shadow:
        0 0 0 1px rgba(0,0,0,0.30),
        0 0 14px rgba(255,255,255,0.10);
    }
    50% {
      border-color: rgba(255,255,255,0.96);
      box-shadow:
        0 0 0 1px rgba(0,0,0,0.42),
        0 0 24px rgba(255,255,255,0.24);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-intro,
  .testimonial-card.is-sheen::before {
    animation: none;
  }
}


/* ══════════════════════════════════════════════════════
   FRAMER-STYLE TEXT MAGNIFIER
   Zeichen werden in Cursor-Nähe breiter, konturierter und dichter.
══════════════════════════════════════════════════════ */

.mag-host {
  position: relative;
  cursor: default;
}

.contact-heading-wrap {
  margin-top: 8px;
}

.mag-line {
  white-space: pre-wrap;
}

.mag-word {
  display: inline-block;
  white-space: nowrap;
}

.mag-char {
  display: inline-block;
  color: currentColor;
  white-space: pre;
  transform: scale3d(1, 1, 1);
  transform-origin: 50% 58%;
  -webkit-text-stroke-color: currentColor;
  -webkit-text-stroke-width: 0;
  paint-order: stroke fill;
  will-change: transform, -webkit-text-stroke-width;
  transition:
    transform 0.22s var(--ease),
    -webkit-text-stroke-width 0.22s var(--ease);
}

.mag-host.is-magnifying .mag-char {
  transition: none;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .mag-char {
    transform: none !important;
    -webkit-text-stroke-width: 0 !important;
  }
}


/* ══════════════════════════════════════════════════════
   ABOUT — fehlende Wrapper
══════════════════════════════════════════════════════ */
.about-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* ══════════════════════════════════════════════════════
   PROCESS — fehlender Wrapper
══════════════════════════════════════════════════════ */
.ps-content {
  display: flex;
  flex-direction: column;
}


/* ══════════════════════════════════════════════════════
   CONTACT — fehlende Elemente
══════════════════════════════════════════════════════ */
.contact-info {
  display: flex;
  flex-direction: column;
}

.cl-mob-icon {
  display: none; /* Nur auf Mobile sichtbar */
}
.cl-mob-icon svg { display: block; }

.cl-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  opacity: 0.6;
}

/* Form Inputs (t-input Variante) */
.t-input-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.t-input {
  background: transparent;
  border: 1px solid var(--rule);
  color: #fff;
  padding: 13px 16px;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  border-radius: 10px;
  resize: vertical;
  transition: border-color var(--dur) var(--ease);
}
.t-input:focus { border-color: rgba(255,255,255,0.45); }
.t-input::placeholder { color: rgba(255,255,255,0.15); }
textarea.t-input { min-height: 120px; }

.t-error-msg {
  font-size: 0.6875rem;
  font-family: var(--f-body);
  color: rgba(255,100,80,0.9);
  letter-spacing: 0.04em;
  min-height: 1em;
  display: none;
}
.t-error-msg.is-visible { display: block; }
.t-input-wrap.is-error .t-input { border-color: rgba(255,80,60,0.7); }
@keyframes fieldShake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
.t-input.is-shaking { animation: fieldShake 0.4s ease; }

/* mob-br: Zeilenumbruch nur auf Mobile */
br.mob-br { display: none; }


/* ══════════════════════════════════════════════════════
   404 FEHLERSEITE
══════════════════════════════════════════════════════ */
.pbs-error-page {
  min-height: 100dvh;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.pbs-error-hero {
  position: relative;
  min-height: 100dvh;
  padding-block: calc(var(--nav-h) + 48px) 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pbs-error-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}

.pbs-error-bg::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to bottom, transparent, #000);
}

.pbs-error-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 64% 42%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 64% 42%, #000 0%, transparent 68%);
}

.pbs-error-route {
  position: absolute;
  height: 1px;
  width: min(54vw, 760px);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.46), transparent);
  transform-origin: center;
  opacity: 0.36;
}

.pbs-error-route--one {
  top: 34%;
  right: -8vw;
  transform: rotate(-18deg);
}

.pbs-error-route--two {
  right: 8vw;
  bottom: 28%;
  transform: rotate(24deg);
}

.pbs-error-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
  width: 100%;
}

.pbs-error-copy {
  max-width: 780px;
}

.pbs-error-code {
  font-family: var(--f-display);
  font-size: clamp(8.5rem, 23vw, 20rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0;
  transform: translateY(34px);
}

.pbs-error-copy h1 {
  margin-top: clamp(18px, 2.4vw, 30px);
  max-width: 720px;
  font-family: var(--f-display);
  font-size: clamp(2.55rem, 5.3vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: #fff;
  opacity: 0;
  transform: translateY(28px);
}

.pbs-error-text {
  max-width: 620px;
  margin-top: 28px;
  font-size: clamp(0.98rem, 1.2vw, 1.125rem);
  line-height: 1.78;
  color: rgba(255,255,255,0.64);
  opacity: 0;
  transform: translateY(22px);
}

.pbs-error-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  opacity: 0;
  transform: translateY(18px);
}

.pbs-error-btn,
.pbs-error-nav-link {
  transition:
    transform 160ms var(--ease),
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.pbs-error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.pbs-error-btn--primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.pbs-error-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.pbs-error-btn--primary:hover {
  background: transparent;
  color: #fff;
}

.pbs-error-btn:active,
.pbs-error-nav-link:active {
  transform: scale(0.97);
}

.pbs-error-visual {
  position: relative;
  min-height: clamp(420px, 52vw, 680px);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
}

.pbs-error-frame {
  position: absolute;
  overflow: hidden;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.62);
  will-change: transform;
}

.pbs-error-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.pbs-error-frame--one {
  top: 2%;
  right: 3%;
  width: min(38vw, 420px);
  aspect-ratio: 4 / 3;
  transform: rotate(4deg);
}

.pbs-error-frame--two {
  top: 28%;
  left: 1%;
  width: min(26vw, 280px);
  aspect-ratio: 3 / 4;
  transform: rotate(-8deg);
}

.pbs-error-frame--three {
  right: 14%;
  bottom: 6%;
  width: min(24vw, 260px);
  aspect-ratio: 2 / 3;
  transform: rotate(9deg);
}

.pbs-error-frame--four {
  right: 0;
  bottom: 30%;
  width: min(18vw, 190px);
  aspect-ratio: 1 / 1;
  transform: rotate(-3deg);
  opacity: 0.82;
}

.pbs-error-page.is-visible .pbs-error-code,
.pbs-error-page.is-visible .pbs-error-copy h1,
.pbs-error-page.is-visible .pbs-error-text,
.pbs-error-page.is-visible .pbs-error-actions,
.pbs-error-page.is-visible .pbs-error-visual {
  opacity: 1;
  transform: none;
  transition:
    opacity 800ms var(--ease),
    transform 900ms var(--ease);
}

.pbs-error-page.is-visible .pbs-error-copy h1 { transition-delay: 80ms; }
.pbs-error-page.is-visible .pbs-error-text { transition-delay: 160ms; }
.pbs-error-page.is-visible .pbs-error-actions { transition-delay: 230ms; }
.pbs-error-page.is-visible .pbs-error-visual { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  .pbs-error-code,
  .pbs-error-copy h1,
  .pbs-error-text,
  .pbs-error-actions,
  .pbs-error-visual {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 1120px) {
  .pbs-error-layout {
    grid-template-columns: 1fr;
  }

  .pbs-error-copy {
    max-width: 860px;
  }

  .pbs-error-visual {
    min-height: 430px;
    max-width: 720px;
  }

  .pbs-error-frame--one { width: min(64vw, 420px); }
  .pbs-error-frame--two { width: min(38vw, 260px); }
  .pbs-error-frame--three { width: min(34vw, 230px); }
  .pbs-error-frame--four { width: min(25vw, 170px); }
}

@media (max-width: 820px) {
  .pbs-error-hero {
    padding-block: calc(var(--nav-h) + 32px) 96px;
  }

  .pbs-error-code {
    font-size: clamp(7rem, 34vw, 12rem);
  }

  .pbs-error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pbs-error-btn {
    width: 100%;
  }

  .pbs-error-visual {
    min-height: 410px;
    margin-bottom: 34px;
  }
}

@media (max-width: 560px) {
  .pbs-error-visual {
    min-height: 390px;
    margin-bottom: 46px;
  }

  .pbs-error-frame--one {
    right: 0;
    width: 78vw;
  }

  .pbs-error-frame--two {
    top: 35%;
    width: 42vw;
  }

  .pbs-error-frame--three {
    right: 8%;
    width: 38vw;
  }

  .pbs-error-frame--four {
    display: none;
  }
}


/* ── COOKIE CONSENT BANNER ───────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-banner.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__text {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  flex: 1;
  min-width: 200px;
}

.cookie-banner__link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 10px 22px;
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.1s linear, color 0.1s linear, border-color 0.1s linear;
}

.cookie-banner__btn--deny {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}
.cookie-banner__btn--deny:hover {
  border-color: #fff;
}

.cookie-banner__btn--accept {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}
.cookie-banner__btn--accept:hover {
  opacity: 0.85;
}

@media (max-width: 600px) {
  #cookie-banner {
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}
