@import "./tokens.css";

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  max-width: 100%;
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus-ring);
  outline-offset: var(--focus-ring-offset);
}

:focus:not(:focus-visible) {
  outline: none;
}

button,
[role="button"],
.menu-btn,
.portfolio-showcase__arrow {
  touch-action: manipulation;
}

.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;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--p-text-body);
  line-height: var(--p-leading-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

#main {
  overflow-x: hidden;
  max-width: 100%;
}

main section[id],
.site-foot__cta {
  scroll-margin-top: var(--scroll-anchor-offset);
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
    line-height: 1.55;
  }
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  z-index: 1000;
  border-radius: 6px;
  box-shadow: var(--p-shadow-md);
  border: 1px solid var(--line);
}

.shell {
  width: var(--shell);
  max-width: 100%;
  margin-inline: auto;
}

.shell--wide {
  width: var(--shell-wide);
  max-width: 100%;
}

/* —— Seitenrhythmus: gleiche horizontale Kante wie Hero —— */
.about-block__shell,
.haltung-block__shell,
.evolution-block__shell,
.principles-block__shell,
.ecosystem-block__shell,
.continuum-band__shell,
.marquee__shell,
.portfolio-showcase__shell,
.press-brands__shell,
.site-foot .shell {
  padding-inline: var(--page-pad-x);
  box-sizing: border-box;
}

/* Kickers wie Header-Navigation (klein, Caps, Tracking) */
.about-block .kicker,
.haltung-block .kicker,
.evolution-block .kicker,
.principles-block .kicker,
.ecosystem-block .kicker,
.continuum-band .kicker,
.press-brands .kicker,
.portfolio-showcase .kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

.about-block__intro {
  text-align: left;
}

/* —— Intro (Erstladung): Marke ausblenden → Vogel langsam → Headline einblenden (~5 s) —— */
html.intro-splash-active,
html.intro-splash-active body {
  background: var(--hero-cinematic-bg);
}

html.intro-splash-active body {
  overflow-x: hidden;
  overflow-y: auto;
}

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  margin: 0;
  padding: var(--page-pad-x);
  background: radial-gradient(120% 90% at 18% 0%, var(--hero-cinematic-bg-elevated) 0%, var(--hero-cinematic-bg) 55%);
  color: var(--hero-cinematic-fg);
  animation: intro-splash-fade-out var(--intro-sequence-total) cubic-bezier(0.45, 0, 0.2, 1) forwards;
  will-change: opacity;
  pointer-events: none;
}

.intro-splash__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.intro-splash__brand {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.65rem, 5vw + 0.75rem, 3.1rem);
  letter-spacing: 0.02em;
}

.intro-splash__logo {
  width: clamp(56px, 12vw, 72px);
  height: auto;
  border-radius: 14px;
  box-shadow: var(--p-shadow-sm);
}

.intro-splash__tagline {
  margin: 0;
  font-size: var(--p-text-meta);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-cinematic-fg-faded);
}

@keyframes intro-splash-fade-out {
  0%,
  12% {
    opacity: 1;
    visibility: visible;
  }

  40% {
    opacity: 0;
  }

  41%,
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

html.intro-splash-active .hero--cinematic .hero__title--cinema {
  opacity: 0;
  transform: translate3d(0, 0.35em, 0);
}

html.intro-splash-done .hero--cinematic .hero__title--cinema {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--p-motion-ease-out),
    transform 0.7s var(--p-motion-ease-out);
}

@media (prefers-reduced-motion: reduce) {
  html.intro-splash-active body {
    overflow: auto;
  }

  .intro-splash {
    display: none !important;
    animation: none !important;
  }

  .hero--cinematic .hero__title--cinema {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* —— Header —— */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: var(--p-space-4) 0;
  --site-head-solid: 0;
  --site-head-scrim: 0;
  color: color-mix(in srgb, rgba(255, 255, 255, 0.92) calc((1 - var(--site-head-solid)) * 100%), var(--ink) calc(var(--site-head-solid) * 100%));
  background: rgba(
    255,
    255,
    255,
    calc(var(--site-header-surface-max-alpha, 0.94) * var(--site-head-scrim, var(--site-head-solid)))
  );
  border-bottom: 1px solid
    color-mix(
      in srgb,
      transparent calc((1 - var(--site-head-scrim, var(--site-head-solid))) * 100%),
      var(--line) calc(var(--site-head-scrim, var(--site-head-solid)) * 100%)
    );
  backdrop-filter: blur(calc(var(--site-header-blur) * var(--site-head-scrim, var(--site-head-solid))));
  -webkit-backdrop-filter: blur(calc(var(--site-header-blur) * var(--site-head-scrim, var(--site-head-solid))));
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

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

  .site-head.site-head--hidden {
    transform: none;
    pointer-events: auto;
  }
}

/* Im Hero: dezente Leiste auf Markenblau */
.site-head[data-header-zone="hero"] {
  color: var(--hero-cinematic-fg);
  background: linear-gradient(180deg, rgba(0, 35, 120, 0.42) 0%, rgba(0, 35, 120, 0) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Unterhalb Hero: helle Fläche wie Seitenhintergrund */
.site-head[data-header-zone="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  backdrop-filter: blur(var(--site-header-blur));
  -webkit-backdrop-filter: blur(var(--site-header-blur));
}

.site-head[data-header-zone="hero"] :focus-visible {
  outline-color: var(--hero-cinematic-accent);
}

.site-head[data-header-zone="page"] :focus-visible {
  outline-color: var(--color-focus-ring);
}

.site-head.site-head--hidden {
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}

body.nav-open .site-head.site-head--hidden {
  transform: none;
  pointer-events: auto;
}

.site-head.is-scrolled {
  box-shadow: var(--p-shadow-sm);
}

.site-head__inner {
  width: min(var(--shell-wide), 100%);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-pad-x);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 15px;
  text-decoration: none;
  color: inherit;
}

.site-logo__img {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-logo__text {
  white-space: nowrap;
}

.site-nav {
  display: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 6px;
  column-gap: 18px;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.92;
}

.site-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  height: 2px;
  width: 22px;
  background: currentColor;
  margin-inline: auto;
  border-radius: 2px;
}

.site-nav-mobile {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px 10px;
  padding: 12px 14px 14px;
  width: min(var(--shell-wide), calc(100% - var(--page-pad-x) * 2));
  margin: 8px auto 0;
  border-radius: var(--p-radius-md);
  background: var(--mobile-nav-bg);
  color: var(--mobile-nav-fg);
  border: 1px solid var(--mobile-nav-border);
  box-shadow: var(--p-shadow-md);
  overflow-x: visible;
  overflow-y: visible;
  box-sizing: border-box;
}

.site-nav-mobile.is-open {
  display: flex;
}

.site-nav-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(50% - 10px);
  min-width: min(100%, 9.5rem);
  max-width: calc(50% - 5px);
  min-height: 44px;
  padding: 8px 10px;
  box-sizing: border-box;
  font-size: var(--p-text-meta);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  text-decoration: none;
  border-radius: var(--p-radius-sm);
  hyphens: auto;
  overflow-wrap: anywhere;
}

.site-nav-mobile a:focus-visible {
  outline-offset: 2px;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 880px) {
  .site-nav {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .site-nav-mobile {
    display: none !important;
  }
}

/* Cinematic-Hero-Nav: Typo morpht mit --site-head-solid; Caps enden per Attribut */
.site-head .site-nav a {
  letter-spacing: calc(0.14em * (1 - var(--site-head-solid)));
  font-size: calc(11px + 3px * var(--site-head-solid));
  font-weight: 600;
  opacity: calc(
    var(--site-header-nav-opacity-hero, 0.9) + (var(--site-header-nav-opacity-morph, 0.93) - var(--site-header-nav-opacity-hero, 0.9)) *
      var(--site-head-solid)
  );
  text-transform: uppercase;
}

.site-head[data-head-solid-high] .site-nav a {
  text-transform: none;
  letter-spacing: normal;
  font-size: 14px;
  font-weight: 500;
  opacity: var(--site-header-nav-opacity-solid, 0.94);
}

.site-head[data-head-solid-high] .site-nav a:hover {
  opacity: 1;
}

.site-head:not([data-head-solid-high]) .site-nav a:hover {
  opacity: 1;
}

/* —— Hero: Vollbild-Vision (große Caps, dbX-Blau, ohne Vogel) —— */
.hero--cinematic {
  box-sizing: border-box;
  min-height: 100dvh;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--touch-target-min) + var(--p-space-4)) var(--page-pad-x) var(--p-space-8);
  background: linear-gradient(
    165deg,
    var(--hero-cinematic-bg-elevated) 0%,
    var(--hero-cinematic-bg) 38%,
    var(--hero-cinematic-bg-deep) 100%
  );
  color: var(--hero-cinematic-fg);
  overflow: hidden;
}

.hero__cinematic-shell {
  width: min(var(--shell-wide), 100%);
  margin-inline: auto;
}

.hero__headline-wrap {
  min-width: 0;
}

.hero__title--cinema {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 5.2vw + 1.15rem, 4.85rem);
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--hero-cinematic-fg-line);
  max-width: 18ch;
  text-wrap: balance;
}

.hero__title--cinema .hero__line {
  display: block;
}

.hero__title--cinema .hero__line--muted {
  color: var(--hero-cinematic-fg-muted);
}

.hero__title--cinema .hero__line--faded {
  color: var(--hero-cinematic-fg-faded);
  font-size: 0.42em;
  letter-spacing: 0.14em;
  margin-top: 0.35em;
  font-weight: 700;
}

@media (min-width: 900px) {
  .hero__title--cinema {
    max-width: 20ch;
  }
}

@media (max-width: 899px) {
  .hero--cinematic {
    justify-content: flex-start;
    padding-top: calc(var(--touch-target-min) + clamp(28px, 10dvh, 72px));
  }

  .hero__headline-wrap {
    margin-inline: auto;
    text-align: center;
  }

  .hero__title--cinema {
    max-width: min(20ch, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .hero__title--cinema {
    font-size: clamp(1.75rem, 8.5vw + 0.65rem, 2.65rem);
  }

  .hero__title--cinema .hero__line--faded {
    font-size: 0.48em;
    letter-spacing: 0.1em;
  }
}

/* —— Marquee —— */
.marquee {
  border-block: 1px solid color-mix(in srgb, var(--color-brand-primary) 10%, var(--line));
  background: color-mix(in srgb, var(--p-color-brand-soft) 28%, var(--paper));
  color: var(--ink);
  overflow: hidden;
  box-sizing: border-box;
}

.marquee__shell {
  overflow: hidden;
}

.marquee__track {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(2rem, 6vw, 5rem);
  width: max-content;
  padding-block: 22px;
  animation: marquee 40s linear infinite;
}

.marquee__item {
  margin: 0;
  font-size: clamp(1rem, 1.2vw + 0.85rem, 1.35rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    white-space: normal;
    justify-content: flex-start;
    text-align: left;
  }

  .marquee__item {
    white-space: normal;
  }
}

.kicker {
  margin: 0 0 var(--p-space-4);
  font-size: var(--p-text-kicker);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

.kicker--on-dark {
  color: var(--muted-on-dark);
}

.display {
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw + 1.1rem, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: min(22ch, 100%);
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}

.display__break::before {
  content: " ";
}

.display--tight {
  max-width: min(22ch, 100%);
}

/* —— Über uns (Backup-Inhalt) —— */
.about-block {
  padding: var(--space-section-y) 0;
  background: var(--paper);
}

.about-block__intro {
  margin-bottom: var(--p-space-8);
}

.about-block__title.display {
  margin-bottom: var(--p-space-4);
  max-width: min(22ch, 100%);
}

.about-block__grid {
  display: grid;
  gap: var(--p-space-8);
  align-items: start;
}

@media (min-width: 960px) {
  .about-block__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.92fr) minmax(280px, 1fr);
    gap: var(--p-space-10);
    align-items: start;
  }

  .about-block__figure {
    align-self: center;
    justify-self: center;
    max-width: min(100%, 420px);
  }
}

.about-block__identity {
  min-width: 0;
}

.about-block__lead {
  margin: 0 0 var(--p-space-4);
  font-size: var(--p-text-body-lg);
  line-height: var(--p-leading-body);
  color: var(--color-fg-muted-2);
  overflow-wrap: break-word;
  hyphens: auto;
}

.about-block__text p {
  margin: 0 0 var(--p-space-4);
  color: var(--color-fg-muted-2);
  line-height: var(--p-leading-body);
  overflow-wrap: break-word;
  hyphens: auto;
}

.about-block__figure {
  margin: 0 auto;
  width: 100%;
  max-width: min(100%, 320px);
  border-radius: var(--radius-surface);
  overflow: hidden;
  background: var(--color-bg-muted);
  box-shadow: var(--p-shadow-sm);
}

.about-block__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 682 / 1024;
  object-fit: cover;
}

.about-block__name {
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 var(--p-space-1);
}

.about-block__role {
  margin: 0 0 var(--p-space-3);
  font-size: 14px;
  color: var(--muted);
}

.about-block__bio {
  margin: var(--p-space-4) 0 0;
  font-size: 15px;
  line-height: var(--p-leading-body);
  color: var(--color-fg-muted-2);
}

.text-link--with-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--p-space-2);
}

.text-link__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* —— Portfolio showcase (editorial carousel) —— */
.portfolio-showcase {
  padding: var(--space-section-y) 0;
  background: linear-gradient(180deg, var(--section-tint-brand) 0%, var(--paper) 38%, var(--paper) 100%);
  color: var(--ink);
}

.portfolio-showcase__shell {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .portfolio-showcase__shell {
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    column-gap: clamp(24px, 4vw, 56px);
    row-gap: var(--p-space-5);
    align-items: start;
    justify-items: stretch;
  }

  .portfolio-showcase__stage {
    justify-self: stretch;
    width: 100%;
  }

  .portfolio-showcase.is-expanded .portfolio-showcase__shell {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }
}

.portfolio-showcase__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.portfolio-showcase__intro .kicker {
  margin-bottom: var(--p-space-3);
  width: 100%;
  text-align: left;
  color: var(--color-brand-primary);
}

.portfolio-showcase__intro .portfolio-showcase__title {
  margin-inline: 0;
  text-align: left;
}

.portfolio-showcase__intro .portfolio-showcase__lead {
  text-align: left;
}

.portfolio-showcase__title {
  max-width: min(22ch, 100%);
  margin-bottom: var(--p-space-3);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.85rem, 2.8vw + 1rem, 3.15rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}

@media (min-width: 900px) {
  .portfolio-showcase__title {
    max-width: min(24ch, 100%);
  }
}

.portfolio-showcase__lead {
  margin: 0 0 var(--p-space-5);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.125rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: var(--color-fg-muted);
  max-width: min(52ch, 100%);
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  .portfolio-showcase__lead {
    font-size: clamp(1.05rem, 0.3vw + 0.95rem, 1.2rem);
    line-height: 1.52;
  }
}

@media (min-width: 900px) {
  .portfolio-showcase__intro .btn--dark {
    width: auto;
    align-self: flex-start;
  }
}

.portfolio-showcase__title-stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Nach „Alle 9 ansehen“: zentrierte Raster-Kopfzeile wie zuvor */
.portfolio-showcase.is-expanded .portfolio-showcase__intro {
  align-items: center;
  text-align: center;
}

.portfolio-showcase.is-expanded .portfolio-showcase__title-stack {
  width: 100%;
  align-items: center;
  text-align: center;
}

.portfolio-showcase.is-expanded .portfolio-showcase__intro .kicker {
  text-align: center;
  margin-inline: auto;
}

.portfolio-showcase.is-expanded .portfolio-showcase__intro .portfolio-showcase__title {
  margin-inline: auto;
  text-align: center;
  max-width: 26ch;
}

.portfolio-showcase.is-expanded .portfolio-showcase__intro .portfolio-showcase__lead {
  text-align: center;
}

@media (min-width: 900px) {
  .portfolio-showcase.is-expanded .portfolio-showcase__intro .btn--dark {
    align-self: center;
  }
}

.portfolio-showcase.is-expanded .portfolio-showcase__intro > .btn[data-portfolio-view-all] {
  display: none;
}

.portfolio-showcase__stage {
  min-width: 0;
  perspective: 1280px;
  perspective-origin: 50% 42%;
  background: transparent;
}

.portfolio-showcase__stage-pivot {
  min-width: 0;
  transform-style: preserve-3d;
  background: transparent;
}

.portfolio-showcase__expanded-toolbar {
  display: none;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--p-space-4) var(--p-space-5);
  width: 100%;
  max-width: min(100%, 1040px);
  margin-inline: auto;
  margin-bottom: var(--p-space-5);
}

.portfolio-showcase.is-expanded .portfolio-showcase__expanded-toolbar {
  display: flex;
}

.portfolio-showcase__expanded-left {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  min-width: 0;
}

.portfolio-showcase__grid-heading {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 1vw + 1rem, 1.75rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.portfolio-showcase__carousel-toggle {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--color-fg-muted);
  white-space: nowrap;
  transition: color var(--p-duration-micro) ease;
}

.portfolio-showcase__carousel-toggle:hover {
  color: var(--ink);
}

.portfolio-showcase__carousel-toggle:focus-visible {
  border-radius: var(--p-radius-sm);
}

@media (max-width: 520px) {
  .portfolio-showcase.is-expanded .portfolio-showcase__expanded-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .portfolio-showcase.is-expanded .portfolio-showcase__filters {
    justify-content: flex-start;
  }
}

.portfolio-showcase__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--p-space-2);
  justify-content: flex-end;
  flex: 1;
  min-width: min(100%, 260px);
}

.portfolio-showcase__filter {
  appearance: none;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--p-text-meta);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: var(--touch-target-min);
  padding: 0.65em 1.1em;
  border-radius: var(--p-radius-pill);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, var(--p-color-sand-2));
  color: var(--color-fg-muted);
  background: var(--paper);
  transition:
    background var(--p-duration-micro) ease,
    border-color var(--p-duration-micro) ease,
    color var(--p-duration-micro) ease;
}

.portfolio-showcase__filter:hover {
  border-color: color-mix(in srgb, var(--ink) 24%, transparent);
  color: var(--ink);
}

.portfolio-showcase__filter[aria-pressed="true"],
.portfolio-showcase__filter.is-active {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--color-brand-primary) 45%, var(--p-color-sand-2));
  background: color-mix(in srgb, var(--color-brand-primary) 12%, var(--paper));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-brand-primary) 22%, transparent);
}

.portfolio-showcase__rail {
  --portfolio-card-gap: clamp(14px, 2vw, 22px);
  width: 100%;
  margin-inline-start: 0;
  display: flex;
  gap: var(--portfolio-card-gap);
  overflow-x: hidden;
  scroll-behavior: auto;
  padding: 6px 0 0;
  padding-inline-end: clamp(20px, 5vw, 96px);
  box-sizing: border-box;
  outline: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
}

/* Mobil & Tablet schmal: kein horizontales Karussell — alle Beteiligungen als Kartenliste */
@media (max-width: 899px) {
  .portfolio-showcase:not(.is-expanded) .portfolio-showcase__rail {
    flex-direction: column;
    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline-end: 0;
    padding-block: 4px 8px;
    gap: var(--p-space-4);
    touch-action: manipulation;
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-showcase__controls {
    display: none;
  }
}

.portfolio-showcase__rail::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Kein zusätzlicher Kasten / Doppelring um die Karussell-Fläche (Fokus nur auf Steuerung sichtbar machen). */
.portfolio-showcase__rail:focus-visible {
  outline: none;
}

.portfolio-card {
  position: relative;
  box-sizing: border-box;
  aspect-ratio: 3 / 6;
  min-height: 0;
  min-width: 0;
  border-radius: var(--p-radius-lg);
  overflow: visible;
  color: #fff;
  perspective: 1100px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.1));
  transition: filter var(--p-duration-panel) var(--ease);
}

/* Desktop-Karussell: zwei gleich breite Spalten; Peek ≈ halbe Karte rechts (wie Live) */
@media (min-width: 900px) {
  .portfolio-showcase:not(.is-expanded) {
    padding-bottom: var(--p-space-10);
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-showcase__stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-showcase__stage-pivot {
    flex: 0 0 auto;
    min-width: 0;
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-showcase__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - var(--portfolio-card-gap)) / 2);
    align-items: stretch;
    padding: 0;
    padding-inline-end: calc((100% - var(--portfolio-card-gap)) / 4 + var(--portfolio-card-gap));
    background: transparent;
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-card {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 6;
    min-width: 0;
    max-width: none;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.07));
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-card.is-flipped {
    min-height: 400px;
    height: auto;
    max-height: none;
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-card:not(.is-flipped):hover {
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.1));
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-showcase__controls {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: var(--p-space-4);
    margin-top: var(--p-space-4);
    padding-top: 0;
    flex-shrink: 0;
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-showcase__status {
    order: 0;
    margin: 0;
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-showcase__arrows {
    order: 1;
  }
}

.portfolio-card:not(.is-flipped):hover {
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.14));
}

.portfolio-card.is-flipped {
  z-index: 3;
}

@media (min-width: 900px) {
  .portfolio-showcase:not(.is-expanded) .portfolio-card.is-flipped {
    min-height: 400px;
  }

  .portfolio-card.is-flipped .portfolio-card__summary {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow-y: auto;
    text-align: left;
  }
}

.portfolio-card__flip {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  border-radius: inherit;
  transition: transform var(--portfolio-flip-duration) var(--portfolio-flip-ease);
}

.portfolio-card.is-flipped .portfolio-card__flip {
  transform: rotateY(180deg);
}

.portfolio-card__face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.portfolio-card__face--back {
  transform: rotateY(180deg);
  background: #161616;
  background: color-mix(in srgb, var(--card) 32%, #0c0c0c);
  color: rgba(255, 255, 255, 0.94);
}

/* Vorderseite darf im gedrehten Zustand keine Klicks abfangen (WebKit/Safari trotz backface-visibility). */
.portfolio-card:not(.is-flipped) .portfolio-card__face--back {
  pointer-events: none;
}

.portfolio-card.is-flipped .portfolio-card__face--front {
  pointer-events: none;
}

.portfolio-card__front-btn {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  cursor: pointer;
  color: inherit;
  text-align: left;
  border-radius: inherit;
}

.portfolio-card__front-btn:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 3px;
}

.portfolio-card__face--front {
  position: relative;
}

.portfolio-card__front-site {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--p-radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 11, 41, 0.1);
  box-shadow: var(--p-shadow-sm);
  transition:
    background var(--p-duration-micro) ease,
    color var(--p-duration-micro) ease;
}

.portfolio-card__front-site:hover {
  color: var(--color-brand-primary);
  background: #fff;
}

.portfolio-card.is-flipped .portfolio-card__front-site {
  pointer-events: none;
  opacity: 0;
}

.portfolio-card__back-inner {
  position: relative;
  isolation: isolate;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--p-space-2);
  padding: 10px 12px 12px;
  min-height: 0;
}

.portfolio-card__flip-back {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -4px 0 0 -6px;
  padding: 0;
  border: none;
  border-radius: var(--p-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.portfolio-card__flip-back:hover {
  background: rgba(255, 255, 255, 0.2);
}

.portfolio-card__summary {
  flex: 1 1 auto;
  margin: 0;
  min-height: 0;
  overflow-y: auto;
  font-family: var(--font-sans);
  font-size: clamp(10.5px, 2.4vw, 12.5px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.portfolio-card__site-link {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target-min);
  margin-top: auto;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12.5px;
  text-decoration: none;
  text-align: center;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease, color 0.2s ease;
  pointer-events: auto;
  touch-action: manipulation;
  transform: translateZ(0);
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.35);
}

.portfolio-card__site-link:hover {
  background: color-mix(in srgb, #fff 90%, var(--card));
}

@media (min-width: 900px) {
  .portfolio-card__inner {
    padding: 18px 16px 22px;
    gap: 8px;
  }

  .portfolio-card__name {
    font-size: clamp(1.15rem, 0.65vw + 0.9rem, 1.65rem);
  }

  .portfolio-card__meta {
    font-size: 11px;
  }

  .portfolio-card__tagline {
    font-size: clamp(0.8rem, 0.35vw + 0.72rem, 0.95rem);
  }

  .portfolio-card__summary {
    font-size: clamp(0.8rem, 0.35vw + 0.72rem, 0.95rem);
  }
}

.portfolio-card__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.2), transparent 52%),
    linear-gradient(155deg, var(--card), #121212);
  border-radius: inherit;
}

.portfolio-card__inner {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 12px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.portfolio-card__meta {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  max-width: 100%;
}

.portfolio-card__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.35rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  word-break: break-word;
}

/* Einheitliche Kurzinfo unter dem Markennamen (Vorderseite) */
.portfolio-card__tagline {
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  hyphens: auto;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.6vw + 0.55rem, 0.875rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.portfolio-showcase__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--p-space-3);
  margin-top: var(--p-space-3);
}

.portfolio-showcase__status {
  order: 1;
  font-size: 13px;
  color: var(--muted);
  min-height: 1.2em;
}

.portfolio-showcase__arrows {
  order: 2;
  display: flex;
  gap: 10px;
}

.portfolio-showcase__arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
  transition: background 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.portfolio-showcase__arrow:hover:not(:disabled) {
  border-color: rgba(10, 10, 10, 0.35);
  background: #f7f5f0;
}

.portfolio-showcase__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.portfolio-showcase.is-expanded .portfolio-showcase__rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px);
  overflow: visible;
  scroll-snap-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: min(100%, 960px);
  margin-inline: auto;
  touch-action: manipulation;
}

@media (min-width: 640px) {
  .portfolio-showcase.is-expanded .portfolio-showcase__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .portfolio-showcase.is-expanded .portfolio-showcase__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.portfolio-showcase.is-expanded .portfolio-card.is-filter-hidden {
  display: none !important;
}

.portfolio-showcase.is-expanded .portfolio-card {
  flex: none;
  width: auto;
  min-width: 0;
  aspect-ratio: 3 / 6;
  min-height: clamp(82px, 18vw, 168px);
}

.portfolio-showcase.is-expanded .portfolio-card:not(.is-flipped):hover {
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
}

.portfolio-showcase.is-expanded .portfolio-showcase__arrows {
  display: none;
}

.portfolio-showcase.is-expanded .portfolio-showcase__controls {
  align-items: center;
  width: 100%;
  max-width: min(100%, 1040px);
  margin-inline: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .portfolio-showcase.is-expanded .portfolio-showcase__stage-pivot {
    animation: portfolio-stage-reveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes portfolio-stage-reveal {
  from {
    transform: rotateY(-72deg) scale(0.94);
    filter: brightness(0.9);
  }

  to {
    transform: rotateY(0deg) scale(1);
    filter: brightness(1);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--p-space-2);
  min-height: var(--touch-target-min);
  padding: var(--button-padding-y) var(--button-padding-x);
  border-radius: var(--radius-control);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  background: var(--color-bg-inverse);
  color: var(--color-fg-on-inverse);
  border: 1px solid var(--color-bg-inverse);
  transition: background var(--duration-interaction) var(--motion-ease),
    color var(--duration-interaction) var(--motion-ease), border-color var(--duration-interaction) var(--motion-ease);
}

.btn:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

button.btn {
  font: inherit;
  cursor: pointer;
}

.btn--dark {
  background: var(--button-primary-bg);
  color: var(--button-primary-fg);
  border-color: var(--button-primary-bg);
}

.btn--dark:hover {
  background: var(--button-primary-bg-hover);
  border-color: var(--button-primary-bg-hover);
  color: var(--button-primary-fg);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10, 10, 10, 0.28);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: rgba(10, 10, 10, 0.04);
}

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

  .portfolio-card__flip {
    transition: none;
  }

  .portfolio-showcase.is-expanded .portfolio-showcase__stage-pivot {
    animation: none;
  }
}

/* —— Schmale Viewports: zentrierte Typo, flachere Portfolio-Karten, kein seitliches Scrollen —— */
@media (max-width: 899px) {
  main > section:not(.hero--cinematic) {
    text-align: center;
  }

  main > section:not(.hero--cinematic) p,
  main > section:not(.hero--cinematic) .kicker,
  main > section:not(.hero--cinematic) .text-link {
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .marquee__track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: var(--page-pad-x);
    box-sizing: border-box;
    gap: var(--p-space-3) var(--p-space-5);
  }

  .marquee__item {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    flex: 0 1 auto;
  }

  .about-block__intro {
    text-align: center;
  }

  .about-block__title.display {
    margin-inline: auto;
  }

  .about-block__grid {
    text-align: center;
    justify-items: center;
  }

  .about-block__text {
    max-width: 40rem;
  }

  .about-block__identity {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .haltung-block__columns {
    text-align: center;
  }

  .haltung-block__col p {
    margin-inline: auto;
    max-width: 40rem;
  }

  .portfolio-showcase__intro {
    align-items: center;
    text-align: center;
  }

  .portfolio-showcase__intro .kicker,
  .portfolio-showcase__intro .portfolio-showcase__title,
  .portfolio-showcase__intro .portfolio-showcase__lead {
    text-align: center;
  }

  .portfolio-showcase__title-stack {
    align-items: center;
  }

  .portfolio-showcase__lead {
    margin-inline: auto;
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-showcase__intro .btn--dark {
    align-self: center;
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-showcase__intro > .btn[data-portfolio-view-all] {
    display: none;
  }

  .portfolio-showcase:not(.is-expanded) .portfolio-card {
    aspect-ratio: 8 / 5;
    max-height: 236px;
    width: 100%;
    max-width: 100%;
  }

  .portfolio-card__front-btn {
    text-align: center;
    align-items: center;
    padding: var(--p-space-4) var(--p-space-5);
  }

  .portfolio-card__inner {
    align-items: center;
    text-align: center;
    gap: 0.35em;
    padding: 10px 12px 14px;
    margin-top: auto;
  }

  .portfolio-card__meta {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .portfolio-card__name {
    font-size: clamp(1rem, 2.8vw + 0.72rem, 1.28rem);
    line-height: 1.12;
  }

  .portfolio-card__tagline {
    font-size: clamp(0.8rem, 1.8vw + 0.62rem, 0.9rem);
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .portfolio-card__face--back .portfolio-card__back-inner {
    padding: var(--p-space-4) var(--p-space-5);
    gap: var(--p-space-3);
  }

  .portfolio-card__summary {
    font-size: clamp(0.8rem, 1.5vw + 0.65rem, 0.9rem);
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .portfolio-card__site-link {
    font-size: 0.8rem;
    padding: 0.45em 0.85em;
    min-height: 40px;
  }

  .portfolio-card__flip-back {
    width: 40px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    font-size: 17px;
  }

  .portfolio-card__site-link,
  .portfolio-card__flip-back {
    cursor: pointer;
  }

  /* Aufgedrehte Karte: mehr Höhe, lesbarer Fließtext, scrollbar statt abgeschnitten */
  .portfolio-showcase:not(.is-expanded) .portfolio-card.is-flipped {
    aspect-ratio: auto;
    max-height: none;
    min-height: clamp(360px, 76vh, 600px);
  }

  .portfolio-card.is-flipped .portfolio-card__back-inner {
    padding: var(--p-space-5) var(--p-space-5) var(--p-space-4);
    gap: var(--p-space-4);
    align-items: center;
    text-align: center;
  }

  .portfolio-card.is-flipped .portfolio-card__summary {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
    font-size: clamp(0.92rem, 2.4vw + 0.72rem, 1.05rem);
    line-height: 1.48;
    max-width: 100%;
    width: 100%;
    padding-inline: 2px;
    box-sizing: border-box;
  }

  .portfolio-card.is-flipped .portfolio-card__site-link {
    font-size: 0.9rem;
    min-height: 44px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }

  .press-brands__shell {
    text-align: center;
  }

  .press-brands__title.display {
    margin-inline: auto;
  }

  .press-brands__lead {
    margin-inline: auto;
  }

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

  .portfolio-showcase__shell {
    overflow-x: hidden;
  }
}

/* —— Haltung und Werte (vor Über uns; Typo wie About / Portfolio-Intro) —— */
.haltung-block {
  padding: var(--space-section-y) 0;
  background: var(--paper);
  color: var(--ink);
}

.haltung-block__intro {
  text-align: center;
  margin-bottom: var(--p-space-10);
  max-width: min(52rem, 100%);
  margin-inline: auto;
}

.haltung-block__intro .kicker {
  margin-bottom: var(--p-space-3);
}

.haltung-block__intro .display {
  margin-inline: auto;
  text-align: center;
}

.haltung-block__lead {
  margin: var(--p-space-5) auto 0;
  max-width: min(52ch, 100%);
  font-size: var(--p-text-body-lg);
  line-height: var(--p-leading-body);
  color: var(--color-fg-muted-2);
  text-align: center;
}

.haltung-block__columns {
  display: grid;
  gap: var(--p-space-8) clamp(var(--p-space-8), 5vw, var(--p-space-12));
  max-width: min(56rem, 100%);
  margin: 0 auto;
}

@media (min-width: 720px) {
  .haltung-block__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.haltung-block__col p {
  margin: 0;
  color: var(--color-fg-muted-2);
  line-height: var(--p-leading-body);
  overflow-wrap: break-word;
  hyphens: auto;
}

.haltung-block__action {
  margin: clamp(var(--p-space-10), 8vw, var(--p-space-12)) 0 0;
  text-align: center;
}

.haltung-block__cta {
  min-width: min(100%, 18rem);
}

@media (max-width: 520px) {
  .haltung-block__cta {
    width: 100%;
    max-width: 22rem;
  }
}

/* —— Bekannt aus (Presse-Karten-Grid) —— */
.press-brands {
  padding: var(--space-section-y) 0;
  background: var(--paper);
  color: var(--ink);
}

.press-brands__shell {
  display: block;
}

.press-brands__intro {
  max-width: min(52rem, 100%);
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.press-brands__title.display {
  margin-bottom: var(--p-space-4);
}

.press-brands__lead {
  margin: 0;
  max-width: min(52ch, 100%);
  font-size: var(--p-text-body-lg);
  line-height: var(--p-leading-body);
  color: var(--color-fg-muted-2);
}

.press-brands__press-mail {
  margin-left: 0.35rem;
}

.press-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
}

.press-grid > li {
  margin: 0;
  min-width: 0;
}

.press-grid__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--p-space-3);
  min-height: 100%;
  padding: clamp(0.85rem, 2vw, 1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: var(--paper);
  box-shadow: var(--p-shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition:
    border-color var(--p-duration-micro) ease,
    background var(--p-duration-micro) ease,
    box-shadow var(--p-duration-micro) ease,
    transform var(--p-duration-micro) ease;
}

.press-grid__card:hover {
  border-color: color-mix(in srgb, var(--color-brand-primary) 35%, var(--line));
  background: color-mix(in srgb, var(--color-brand-primary) 4%, var(--paper));
  box-shadow: var(--p-shadow-md);
  transform: translateY(-2px);
}

.press-grid__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.35rem 0.5rem;
  border-radius: calc(var(--radius-surface) - 2px);
  background: var(--color-bg-muted);
  overflow: hidden;
}

.press-grid__logo-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 2.25rem;
  object-fit: contain;
  object-position: center;
}

.press-grid__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.press-grid__outlet {
  font-size: var(--p-text-meta);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.press-grid__headline {
  font-size: clamp(0.8rem, 0.2vw + 0.76rem, 0.875rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-fg-muted-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.press-grid__card:hover .press-grid__outlet {
  color: var(--color-brand-primary);
}

.press-brands__broadcast {
  margin: clamp(1.5rem, 4vw, 2rem) 0 0;
  max-width: min(48ch, 100%);
  font-size: var(--p-text-meta);
  line-height: 1.55;
  color: var(--color-fg-muted-2);
}

.press-brands__broadcast-strong {
  font-weight: 600;
  color: var(--ink);
}

.text-link {
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  color: inherit;
}

.text-link:hover {
  opacity: 0.75;
}

/* —— Footer (Kontakt-CTA + Leiste) —— */
.site-foot {
  margin: 0;
  padding: 0;
  background: var(--deck-bg-footer);
  color: var(--deck-fg);
  border-top: 1px solid var(--deck-border);
}

.site-foot__cta {
  text-align: center;
  padding-block: clamp(56px, 10vw, 100px) clamp(40px, 7vw, 72px);
}

.site-foot__cta-kicker {
  margin: 0 0 var(--p-space-4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deck-accent);
}

.site-foot__cta-title {
  margin: 0 auto var(--p-space-5);
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 2.8vw + 1rem, 3.05rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--deck-fg);
}

.site-foot__cta-text {
  margin: 0 auto var(--p-space-6);
  max-width: 42ch;
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 0.35vw + 0.9rem, 1.08rem);
  line-height: 1.55;
  color: var(--deck-fg-muted);
}

.site-foot__cta-mail {
  margin: 0;
  font-family: var(--font-sans);
}

.site-foot__cta-mail a {
  color: var(--deck-accent);
  text-decoration: none;
  font-size: clamp(1rem, 0.3vw + 0.92rem, 1.12rem);
  font-weight: 500;
  border-bottom: 1px solid var(--deck-border-strong);
  transition: color var(--duration-interaction) var(--motion-ease),
    border-color var(--duration-interaction) var(--motion-ease);
}

.site-foot__cta-mail a:hover {
  color: var(--deck-fg);
  border-bottom-color: var(--deck-fg);
}

.site-foot__bar {
  border-top: 1px solid var(--deck-border);
  padding-block: var(--p-space-8) clamp(var(--p-space-10), 6vw, var(--p-space-12));
}

.site-foot__bar-inner {
  display: flex;
  flex-direction: column;
  gap: var(--p-space-8);
  align-items: stretch;
}

@media (min-width: 720px) {
  .site-foot__bar-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--p-space-10);
  }
}

.site-foot__bar-left {
  display: flex;
  flex-direction: column;
  gap: var(--p-space-3);
  align-items: flex-start;
}

.site-foot__wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 15px;
  color: var(--deck-fg);
}

.site-foot__wordmark:hover {
  color: var(--deck-accent);
}

.site-foot__wordmark-img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.site-foot__wordmark-text {
  white-space: nowrap;
}

.site-foot__legal {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  margin: 0;
  max-width: 36rem;
  font-size: 11px;
  line-height: 1.4;
  color: var(--deck-fg-muted);
}

.site-foot__legal-line {
  display: block;
}

.site-foot__address {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  line-height: 1.35;
}

.site-foot__address-line {
  display: block;
}

.site-foot__bar-right {
  display: flex;
  flex-direction: column;
  gap: var(--p-space-4);
  align-items: flex-start;
}

.site-foot__tagline {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: clamp(0.95rem, 0.35vw + 0.88rem, 1.08rem);
  line-height: 1.45;
  color: var(--deck-fg-muted);
}

.site-foot__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(6.75rem, 1fr));
  gap: 6px 20px;
  width: min(100%, 17.5rem);
  margin-inline: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-foot__nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target-min);
  padding: 8px 6px;
  box-sizing: border-box;
  white-space: nowrap;
  text-align: center;
  line-height: 1.25;
  text-decoration: none;
  color: var(--deck-fg-muted);
  border-radius: var(--p-radius-sm);
  transition: color var(--duration-interaction) var(--motion-ease);
}

.site-foot__nav a:last-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.site-foot__nav a:hover {
  color: var(--deck-accent);
}

@media (min-width: 720px) {
  .site-foot__bar-right {
    align-items: flex-end;
    text-align: right;
  }

  .site-foot__nav {
    grid-template-columns: repeat(3, auto);
    gap: 8px 24px;
    width: auto;
    margin-inline: 0;
    justify-items: end;
    font-size: 11px;
  }

  .site-foot__nav a {
    justify-content: flex-end;
    padding: 4px 0;
    min-height: auto;
  }

  .site-foot__nav a:last-child {
    grid-column: auto;
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .site-foot__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 22px;
    max-width: 36rem;
  }

  .site-foot__nav a {
    flex: 0 0 auto;
    padding: 4px 0;
  }
}

/* Schmale Viewports: Footer-Leiste zentriert (nach Basis-Styles, damit nichts überschreibt) */
@media (max-width: 719px) {
  .site-foot__bar-inner {
    align-items: center;
    text-align: center;
  }

  .site-foot__bar-left {
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .site-foot__bar-right {
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .site-foot__legal {
    align-items: center;
    text-align: center;
    margin-inline: auto;
  }

  .site-foot__tagline {
    margin-inline: auto;
  }

  .site-foot__nav {
    justify-items: center;
    letter-spacing: 0.05em;
  }

  .site-foot__nav a {
    justify-content: center;
  }

  .site-foot__nav a:last-child {
    justify-self: center;
  }
}

.site-foot :focus-visible {
  outline-color: var(--deck-accent);
}

/* —— Impressum / Rechtstexte —— */
body.page--legal {
  background: var(--paper);
  color: var(--ink);
}

body.page--legal #main {
  padding-top: calc(var(--touch-target-min) + var(--p-space-8));
  padding-bottom: var(--p-space-12);
}

.legal-doc {
  max-width: min(42rem, 100%);
  margin: 0 auto;
  padding-inline: var(--page-pad-x);
  font-size: clamp(0.95rem, 0.25vw + 0.88rem, 1.02rem);
  line-height: 1.6;
  color: var(--color-fg-muted-2);
}

.legal-doc__title {
  margin: 0 0 var(--p-space-4);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 2vw + 1.1rem, 2.35rem);
  line-height: 1.12;
  color: var(--ink);
}

.legal-doc__kicker {
  margin: 0 0 var(--p-space-5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

.legal-doc__h2 {
  margin: var(--p-space-10) 0 var(--p-space-3);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.legal-doc p {
  margin: 0 0 var(--p-space-5);
}

.legal-doc a {
  color: var(--color-brand-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc__footer-links {
  margin-top: var(--p-space-12);
  font-size: 0.95rem;
}

.site-foot--legal-sub .site-foot__bar {
  border-top: 1px solid var(--line);
}

/* —— Dachmarke: Vision-Erweiterung —— */
.haltung-block__quote {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.25rem);
  border-left: 3px solid var(--color-brand-primary);
  background: var(--color-bg-muted);
  border-radius: 0 var(--radius-surface) var(--radius-surface) 0;
}

.haltung-block__quote p {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif, "Newsreader", Georgia, serif);
  font-size: clamp(1.05rem, 1.5vw + 0.85rem, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}

.haltung-block__quote footer {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.haltung-block__col-title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

/* —— Evolution (6 Phasen) —— */
.evolution-block {
  padding: var(--space-section-y) 0;
  background: var(--color-bg-muted);
  border-block: 1px solid var(--line);
}

.evolution-block__intro {
  max-width: min(52rem, 100%);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.evolution-block__lead {
  margin: 0;
  font-size: var(--p-text-body-lg);
  line-height: var(--p-leading-body);
  color: var(--color-fg-muted-2);
  max-width: min(48ch, 100%);
}

.evolution-block__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
}

@media (min-width: 720px) {
  .evolution-block__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .evolution-block__timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.evolution-block__step {
  margin: 0;
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  box-shadow: var(--p-shadow-sm);
}

@media (prefers-reduced-motion: no-preference) {
  .evolution-block__step {
    animation: portfolio-stage-reveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}

.evolution-block__phase {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

.evolution-block__step-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.evolution-block__step-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-fg-muted-2);
}

/* —— Das Verbindende (6 Werte) —— */
.principles-block {
  padding: var(--space-section-y) 0;
  background: var(--paper);
}

.principles-block__intro {
  max-width: min(52rem, 100%);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.principles-block__lead {
  margin: 0;
  font-size: var(--p-text-body-lg);
  line-height: var(--p-leading-body);
  color: var(--color-fg-muted-2);
  max-width: min(48ch, 100%);
}

.principles-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
}

@media (min-width: 640px) {
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .principles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.principles-grid__card {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: var(--color-bg-muted);
}

.principles-grid__num {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-brand-primary);
}

.principles-grid__name {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.principles-grid__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-fg-muted-2);
}

/* —— Ökosystem (3 Welten) —— */
.ecosystem-block {
  padding: var(--space-section-y) 0;
  background: var(--color-bg-muted);
  border-block: 1px solid var(--line);
}

.ecosystem-block__intro {
  max-width: min(52rem, 100%);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.ecosystem-block__lead {
  margin: 0;
  font-size: var(--p-text-body-lg);
  line-height: var(--p-leading-body);
  color: var(--color-fg-muted-2);
  max-width: min(48ch, 100%);
}

.ecosystem-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

@media (min-width: 900px) {
  .ecosystem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ecosystem-grid__pillar {
  margin: 0;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  box-shadow: var(--p-shadow-sm);
}

.ecosystem-grid__icon {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
  color: var(--color-brand-primary);
}

.ecosystem-grid__name {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.ecosystem-grid__text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-fg-muted-2);
}

.ecosystem-grid__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.ecosystem-grid__list li {
  padding: 0.2rem 0;
  border-top: 1px solid var(--line);
}

.ecosystem-grid__list li:first-child {
  border-top: none;
  padding-top: 0;
}

.ecosystem-block__synergy {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  max-width: min(62ch, 100%);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-fg-muted-2);
}

/* —— Kontinuum (Prävention → Pflege) —— */
.continuum-band {
  padding: var(--space-section-y) 0;
  background: var(--color-bg-muted);
  border-block: 1px solid var(--line);
  color: var(--ink);
}

.continuum-band__intro {
  max-width: min(52rem, 100%);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.continuum-band__lead {
  margin: 0;
  font-size: var(--p-text-body-lg);
  line-height: var(--p-leading-body);
  color: var(--color-fg-muted-2);
  max-width: min(48ch, 100%);
}

.continuum-band__grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

@media (min-width: 768px) {
  .continuum-band__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.continuum-band__stage {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: var(--paper);
  box-shadow: var(--p-shadow-sm);
}

.continuum-band__stage-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

.continuum-band__stage-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-fg-muted-2);
}

.continuum-band__core {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  max-width: min(58ch, 100%);
  font-family: var(--font-serif-body);
  font-size: clamp(1.05rem, 1.5vw + 0.85rem, 1.3rem);
  line-height: 1.55;
  font-style: italic;
  color: var(--color-fg-muted-2);
}

@media (max-width: 900px) {
  .portfolio-showcase__filter {
    font-size: 0.8125rem;
    padding-inline: 0.85rem;
  }
}
