/* Burcu Peric – Event & Experience Management. Ein Stylesheet für alle Seiten. */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Farben und Maße – Farbwelt nur hier ändern */
:root {
  --ivory: #f4f0e9;
  --paper: #fbf9f5;
  --sand: #e4dbcd;
  --ink: #1c1a18;
  --ink-soft: #5c5751;
  --line: #d9d1c5;
  --night: #1d1b19;
  --night-soft: #2a2724;
  --night-line: #3b3733;
  --on-night: #f1ece4;
  --on-night-soft: #b3aca2;
  --accent: #8a5d36;
  --accent-light: #c9a27a;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(80px, 11vw, 144px);
  --header-h: 72px;
}

/* Grundlagen */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.section-head h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
}
.section-head p {
  max-width: 34rem;
  color: var(--ink-soft);
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    gap: 64px;
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 500 0.9375rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.button .arrow {
  transition: transform 0.25s ease;
}
.button:hover .arrow {
  transform: translateX(4px);
}
.button.is-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.is-ghost:hover {
  border-color: var(--ink);
  background: transparent;
}
.button.is-light {
  background: var(--on-night);
  border-color: var(--on-night);
  color: var(--night);
}
.button.is-light:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Kopfbereich */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.625rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav .button {
  min-height: 44px;
  padding: 10px 20px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px var(--gutter) 32px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.75rem;
    color: var(--ink);
  }
  .no-js .nav-toggle {
    display: none;
  }
  .no-js .nav {
    display: none;
  }
}

/* Hero */
.hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px);
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(3.25rem, 9vw, 7rem);
  line-height: 0.95;
  margin-bottom: 32px;
}
.hero-lead {
  max-width: 32rem;
  margin-bottom: 40px;
  font-size: 1.125rem;
  color: var(--ink-soft);
}
.portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #ebe4d9 0%, var(--sand) 100%);
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero .portrait {
  aspect-ratio: 4 / 5;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}
.portrait-tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 10px 16px;
  background: var(--paper);
  font-size: 0.8125rem;
  line-height: 1.3;
}
.portrait-tag strong {
  display: block;
  font-weight: 600;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
  }
}
@media (max-width: 899px) {
  .hero .portrait {
    justify-self: stretch;
    max-width: none;
    aspect-ratio: 5 / 4;
  }
  .hero .portrait img {
    object-fit: cover;
    object-position: center 20%;
  }
}

/* Logos */
.logos {
  padding-block: 40px;
  border-block: 1px solid var(--line);
}
.logos-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}
.logos-label {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.logo-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-list img {
  height: var(--h, 32px);
  width: auto;
  filter: brightness(0);
  opacity: 0.72;
}
.logo-list img.is-badge {
  filter: grayscale(1) contrast(1.15);
  opacity: 0.8;
}
@media (min-width: 900px) {
  .logos-inner {
    grid-template-columns: 180px 1fr;
    gap: 48px;
  }
}
@media (max-width: 599px) {
  .logo-list {
    justify-content: flex-start;
  }
  .logo-list img {
    height: calc(var(--h, 32px) * 0.8);
  }
}

/* Über mich */
.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.about .portrait {
  aspect-ratio: 4 / 5;
}
.about h2 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  line-height: 1;
  margin-bottom: 32px;
}
.about-text {
  max-width: 36rem;
  color: var(--ink-soft);
}
.about-text strong {
  color: var(--ink);
  font-weight: 500;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.facts div {
  margin: 0;
}
.facts dt {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 8px;
}
.facts dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(64px, 8vw, 120px);
  }
}
@media (max-width: 899px) {
  .about .portrait {
    max-width: 420px;
  }
}
@media (max-width: 479px) {
  .facts {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .facts div {
    display: flex;
    align-items: baseline;
    gap: 16px;
  }
  .facts dt {
    min-width: 72px;
    margin: 0;
  }
}

/* Dunkle Abschnitte */
.is-dark {
  background: var(--night);
  color: var(--on-night);
}
.is-dark .eyebrow,
.is-dark .section-head p {
  color: var(--on-night-soft);
}
.is-dark h2 em,
.is-dark h3 em {
  color: var(--accent-light);
}

/* Leistungen */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--night-line);
  border: 1px solid var(--night-line);
}
.service {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--night);
  transition: background-color 0.3s ease;
}
.service:hover {
  background: var(--night-soft);
}
.service-num {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--accent-light);
}
.service h3 {
  margin-top: auto;
  font-size: 1.875rem;
  line-height: 1.1;
}
.service p {
  font-size: 0.9375rem;
  color: var(--on-night-soft);
}
.service.is-cta {
  justify-content: space-between;
  background: var(--night-soft);
}
.service.is-cta h3 {
  margin-top: 0;
  font-size: 2.125rem;
}
@media (max-width: 639px) {
  .service {
    min-height: 0;
    gap: 12px;
  }
  .service h3 {
    margin-top: 8px;
  }
  .service.is-cta {
    gap: 24px;
  }
}

/* Kundenstimmen */
.quotes {
  display: grid;
  gap: 32px;
}
.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(32px, 4vw, 56px);
  background: var(--paper);
  border: 1px solid var(--line);
}
.quote blockquote {
  margin: 0 0 40px;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.3;
}
.quote blockquote::before {
  content: "“";
  display: block;
  height: 0.55em;
  margin-bottom: 12px;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
}
.quote figcaption {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
}
.quote figcaption span {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (min-width: 900px) {
  .quotes {
    grid-template-columns: 1.45fr 1fr;
  }
  .quote.is-short blockquote {
    font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  }
}

/* Case Studies */
.cases {
  background: var(--paper);
}
.case-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.case {
  display: grid;
  gap: 32px;
  padding-block: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.case-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-num {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--accent);
}
.case h3 {
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  line-height: 1.08;
}
.case-client {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--ink-soft);
}
.case-body {
  display: grid;
  gap: 28px;
}
.case-step h4 {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.case-step p {
  font-size: 1rem;
}
.case-result {
  padding: 24px 28px;
  background: var(--ivory);
  border-left: 2px solid var(--accent);
}
.case-result h4 {
  color: var(--accent);
}
.case-result p {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  line-height: 1.25;
}
@media (min-width: 900px) {
  .case {
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 6vw, 96px);
  }
  .case-meta {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
}

/* Ablauf */
.process {
  background: var(--sand);
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 40px;
  border-top: 1px solid var(--ink);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -1px;
  left: 0;
  padding-top: 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.step::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.step h3 {
  margin-bottom: 12px;
  font-size: 1.875rem;
  line-height: 1.1;
}
.step p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
@media (max-width: 999px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 1px solid var(--ink);
    margin-left: 4px;
  }
  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
    padding: 0 0 40px 28px;
    border-top: 0;
  }
  .step:last-child {
    padding-bottom: 0;
  }
  .step::before {
    position: static;
    padding-top: 10px;
    grid-row: span 2;
  }
  .step::after {
    top: 14px;
    left: -5px;
  }
}

/* Kontakt */
.contact-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
.contact h2 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.92;
  margin-bottom: 32px;
}
.contact-lead {
  max-width: 30rem;
  margin-bottom: 40px;
  font-size: 1.125rem;
  color: var(--on-night-soft);
}
.contact-card {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--night-soft);
  border: 1px solid var(--night-line);
}
.contact-person {
  display: flex;
  align-items: center;
  gap: 20px;
}
.avatar {
  flex: none;
  width: 88px;
  height: 88px;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--sand);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.9);
  transform-origin: center 22%;
}
.contact-person strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.1;
}
.contact-person span {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--on-night-soft);
}
.contact-lines {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-top: 1px solid var(--night-line);
  font-size: 0.9375rem;
}
.contact-lines span {
  color: var(--on-night-soft);
}
.contact-lines a {
  text-decoration: none;
  text-align: right;
  overflow-wrap: anywhere;
}
.contact-lines a:hover {
  color: var(--accent-light);
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 96px;
  }
}

/* Fußbereich */
.footer {
  padding-block: 32px;
  background: var(--night);
  color: var(--on-night-soft);
  border-top: 1px solid var(--night-line);
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.footer ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: var(--on-night);
}

/* Unterseiten (Impressum, Datenschutz, 404) */
.page {
  padding-block: clamp(48px, 8vw, 112px) var(--section);
}
.page h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: 1;
  margin-bottom: 40px;
}
.prose {
  max-width: 44rem;
}
.prose h2 {
  margin: 48px 0 16px;
  font-size: 1.75rem;
}
.note {
  padding: 20px 24px;
  background: var(--paper);
  border-left: 2px solid var(--accent);
}

/* Einblenden beim Scrollen – ohne JavaScript bleibt alles sichtbar */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--delay, 0) * 1ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------------------------
   Variante 2 „Rosa“ (nur Vergleich, html.theme-rosa): Beige bleibt,
   Burcus CI-Rosa (#f7d7da aus dem Entwurf) ersetzt Braun und Dunkel.
   ------------------------------------------------------------------ */
.theme-rosa {
  --pink: #f7d7da;
  --pink-soft: #fbe9ea;
  --pink-deep: #efc2c7;
  --pink-line: #e9b5bb;
  /* Rosa als Schriftfarbe: kräftiger als die Fläche, damit es auf Beige lesbar bleibt */
  --accent: #c76f7e;
  --accent-light: #b25a69;
}
.theme-rosa .portrait,
.theme-rosa .avatar {
  background: var(--pink);
}

/* Buttons hell statt dunkel */
.theme-rosa .button {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--ink);
}
.theme-rosa .button:hover {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
}
.theme-rosa .button.is-ghost {
  background: transparent;
  border-color: var(--line);
}
.theme-rosa .button.is-ghost:hover {
  background: transparent;
  border-color: var(--ink);
}
.theme-rosa .button.is-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.theme-rosa .button.is-light:hover {
  background: var(--ivory);
  border-color: var(--ivory);
}

/* Logo-Band auf Rosa, Beschriftung präsenter */
.theme-rosa .logos {
  background: var(--pink);
  border-color: var(--pink);
}
.theme-rosa .logos-label {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.theme-rosa .logo-list img {
  opacity: 0.85;
}

/* Ehemals dunkle Abschnitte (Leistungen, Kontakt) in Rosa */
.theme-rosa .is-dark {
  background: var(--pink);
  color: var(--ink);
}
.theme-rosa .is-dark .eyebrow,
.theme-rosa .is-dark .section-head p,
.theme-rosa .contact-lead {
  color: var(--ink-soft);
}
.theme-rosa .services-grid {
  background: var(--pink-line);
  border-color: var(--pink-line);
}
.theme-rosa .service {
  background: var(--pink);
}
.theme-rosa .service:hover {
  background: var(--pink-soft);
}
.theme-rosa .service p {
  color: var(--ink-soft);
}
.theme-rosa .service.is-cta {
  background: var(--paper);
}
.theme-rosa .contact-card {
  background: var(--paper);
  border-color: var(--paper);
}
.theme-rosa .contact-person span,
.theme-rosa .contact-lines span {
  color: var(--ink-soft);
}
.theme-rosa .contact-lines li {
  border-top-color: var(--line);
}
.theme-rosa .footer {
  background: var(--ivory);
  color: var(--ink-soft);
  border-top-color: var(--line);
}
.theme-rosa .footer a:hover {
  color: var(--ink);
}

/* Ergebnis-Kästen in den Projekten */
.theme-rosa .case-result {
  background: var(--pink-soft);
}
.theme-rosa .service.is-cta .button.is-light {
  background: var(--pink);
  border-color: var(--pink);
}
.theme-rosa .service.is-cta .button.is-light:hover {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
}

/* ------------------------------------------------------------------
   Variante 3 „Rosé“ (html.theme-rosa.theme-rose): alle Farben aus der
   Familie des CI-Rosas – Blush-Weiß statt Beige, Pflaume statt Grau/Schwarz.
   ------------------------------------------------------------------ */
.theme-rosa.theme-rose {
  --ivory: #fcf6f5;
  --paper: #fffbfa;
  --sand: #f9e6e7;
  --ink: #2e1a20;
  --ink-soft: #6f5a60;
  --line: #ecd5d8;
  --pink-soft: #fdeff0;
  --pink-deep: #f0c4c9;
  --pink-line: #ebbfc5;
  --accent: #b5566a;
  --accent-light: #a04a5d;
  --plum: #3d1f29;
  --plum-soft: #4b2733;
  --plum-line: #5e3643;
  --on-plum: #fbeff0;
  --on-plum-soft: #d9bcc2;
}
.theme-rose .quote,
.theme-rose .case-result {
  background: var(--paper);
}
.theme-rose .cases {
  background: var(--paper);
}
.theme-rose .case-result {
  background: var(--pink-soft);
}

/* Kontakt als ruhiger, dunkler Abschluss in Pflaume mit Rosa */
.theme-rose .contact.is-dark {
  background: var(--plum);
  color: var(--on-plum);
}
.theme-rose .contact .eyebrow,
.theme-rose .contact-lead {
  color: var(--on-plum-soft);
}
.theme-rose .contact h2 em {
  color: var(--pink);
}
.theme-rose .contact .button.is-light {
  background: var(--pink);
  border-color: var(--pink);
}
.theme-rose .contact .button.is-light:hover {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
}
.theme-rose .contact-card {
  background: var(--plum-soft);
  border-color: var(--plum-line);
}
.theme-rose .contact-person span,
.theme-rose .contact-lines span {
  color: var(--on-plum-soft);
}
.theme-rose .contact-lines li {
  border-top-color: var(--plum-line);
}
.theme-rose .contact-lines a:hover {
  color: var(--pink);
}
.theme-rose .footer {
  background: var(--plum);
  color: var(--on-plum-soft);
  border-top-color: var(--plum-line);
}
.theme-rose .footer a:hover {
  color: var(--on-plum);
}

/* Variante 3, Runde 2: Pflaume öfter (Logo-Band, Leistungen), Rosa nur noch als Akzent */
.theme-rosa.theme-rose {
  --sand: #fdf2f2;
}
.theme-rose .logos {
  background: var(--plum);
  border-color: var(--plum);
}
.theme-rose .logos-label {
  color: var(--pink);
}
.theme-rose .logo-list img {
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
.theme-rose .logo-list img.is-badge {
  filter: grayscale(1) brightness(1.6) contrast(1.1);
  opacity: 0.88;
}

.theme-rose #leistungen.is-dark {
  background: var(--plum);
  color: var(--on-plum);
}
.theme-rose #leistungen .eyebrow,
.theme-rose #leistungen .section-head p {
  color: var(--on-plum-soft);
}
.theme-rose #leistungen h2 em,
.theme-rose #leistungen h3 em,
.theme-rose .service-num {
  color: var(--pink);
}
.theme-rose .services-grid {
  background: var(--plum-line);
  border-color: var(--plum-line);
}
.theme-rose .service {
  background: var(--plum);
}
.theme-rose .service:hover {
  background: var(--plum-soft);
}
.theme-rose .service p {
  color: var(--on-plum-soft);
}
.theme-rose .service.is-cta {
  background: var(--plum-soft);
}

/* Kleine Akzente in Altrosa */
.theme-rose .eyebrow::before {
  background: var(--accent);
}
.theme-rose .is-dark .eyebrow::before,
.theme-rose .contact .eyebrow::before {
  background: var(--pink);
}
.theme-rose .step::after {
  background: var(--accent);
}
.theme-rose .tags li {
  border-color: var(--pink-line);
}
.theme-rose .case-list {
  border-top-color: var(--plum);
}
.theme-rose .step {
  border-top-color: var(--plum);
}
@media (max-width: 999px) {
  .theme-rose .steps {
    border-left-color: var(--plum);
  }
}

/* Eindrücke: schräg gestellte Fotokarten (Variante 3) */
.impressions {
  overflow: hidden;
}
.impressions .section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.impression-list {
  --card: clamp(240px, 24vw, 320px);
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 24px max(var(--gutter), calc((100vw - var(--container)) / 2)) 40px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.impression-list::-webkit-scrollbar {
  display: none;
}
.impression {
  flex: 0 0 var(--card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 18px 22px;
  background: var(--pink, #f7d7da);
  color: var(--ink);
  scroll-snap-align: center;
  transform: rotate(var(--tilt, -2deg));
  transition: transform 0.35s ease;
}
.impression:nth-child(2n) {
  --tilt: 2.5deg;
  margin-top: 28px;
  background: var(--pink-soft, #fdeff0);
}
.impression:nth-child(3n) {
  --tilt: -1.5deg;
  background: var(--accent-light, #a04a5d);
  color: var(--on-plum, #fbeff0);
}
.impression:hover {
  transform: rotate(0deg) translateY(-6px);
}
.impression h3 {
  min-height: 2.2em;
  font-size: 1.75rem;
  line-height: 1.1;
}
.impression img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.theme-rose .impressions.is-dark {
  background: var(--plum);
  color: var(--on-plum);
}
.theme-rose .impressions .eyebrow,
.theme-rose .impressions .section-head p {
  color: var(--on-plum-soft);
}
.theme-rose .impressions h2 em {
  color: var(--pink);
}

/* Vollflächiges Bild mit Leitsatz */
.fullbleed {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(460px, 80vh, 820px);
  overflow: hidden;
  color: #fff;
}
.fullbleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fullbleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(46 26 32 / 0.05) 30%, rgb(46 26 32 / 0.7) 100%);
}
.fullbleed-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 8vw, 96px);
}
.fullbleed .eyebrow {
  color: rgb(255 255 255 / 0.85);
}
.fullbleed .eyebrow::before {
  background: var(--pink, #f7d7da);
}
.fullbleed-claim {
  max-width: 14ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.fullbleed-claim em {
  color: var(--pink, #f7d7da);
}

/* Einstieg mit Leitsatz (Variante 4): nur mit JavaScript, sonst sofort die Seite */
.intro {
  display: none;
}
.js.has-intro .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: var(--pink, #f7d7da);
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 0.9s cubic-bezier(0.7, 0, 0.2, 1),
    visibility 0.9s;
}
.js.has-intro.is-intro-done .intro {
  transform: translateY(-100%);
  visibility: hidden;
}
.js.has-intro:not(.is-intro-done) body {
  overflow: hidden;
}
.intro-inner {
  text-align: center;
}
.intro-claim {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.intro-claim em {
  color: var(--accent);
}
.intro-claim > *,
.intro-sub {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: intro-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.intro-claim > :nth-child(2) {
  animation-delay: 0.15s;
}
.intro-claim > :nth-child(3) {
  animation-delay: 0.3s;
}
.intro-claim > :nth-child(4) {
  animation-delay: 0.6s;
}
.intro-sub {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  animation-delay: 1s;
}
@keyframes intro-in {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js.has-intro .intro {
    display: none;
  }
}

/* Läuft langsam durch (site.js verdoppelt die Karten), Maus drauf = anhalten */
.impression-list.is-marquee {
  width: max-content;
  overflow: visible;
  padding-inline: 0;
  scroll-snap-type: none;
  animation: marquee var(--marquee-duration, 60s) linear infinite;
}
.impression-list.is-marquee:hover {
  animation-play-state: paused;
}
.impression-list.is-marquee .impression {
  scroll-snap-align: none;
}
@keyframes marquee {
  to {
    transform: translateX(calc(-50% - var(--marquee-gap, 0px) / 2));
  }
}

/* ------------------------------------------------------------------
   Variante 5 (html.theme-v5): Hero in Pflaume, „Bühnen“-Porträts statt
   flacher Freisteller, Retro-Elemente (Drehbadge, Schachbrett, Korn).
   ------------------------------------------------------------------ */
.theme-v5 {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Kopfbereich dunkel */
.theme-v5 .header {
  background: color-mix(in srgb, var(--plum) 94%, transparent);
  color: var(--on-plum);
}
.theme-v5 .header.is-scrolled {
  border-bottom-color: var(--plum-line);
}
.theme-v5 .nav-links a {
  color: var(--on-plum-soft);
}
.theme-v5 .nav-links a:hover {
  color: var(--on-plum);
}
.theme-v5 .nav-toggle span {
  background: var(--on-plum);
}
@media (max-width: 860px) {
  .theme-v5 .nav {
    background: var(--plum);
    border-bottom-color: var(--plum-line);
  }
  .theme-v5 .nav-links a {
    color: var(--on-plum);
    border-bottom-color: var(--plum-line);
  }
}

/* Hero */
.v5-hero {
  background: var(--plum);
  color: var(--on-plum);
  padding-bottom: 0;
}
.v5-hero .eyebrow {
  color: var(--on-plum-soft);
}
.theme-v5 .v5-hero .eyebrow::before {
  background: var(--pink);
}
.v5-hero h1 {
  font-size: clamp(3.25rem, 8.4vw, 7.25rem);
}
.v5-hero h1 em {
  color: var(--pink);
}
.v5-hero .hero-lead {
  color: var(--on-plum-soft);
}
.v5-hero .button.is-ghost {
  color: var(--on-plum);
  border-color: var(--plum-line);
}
.v5-hero .button.is-ghost:hover {
  border-color: var(--on-plum);
}
.hero-logos {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: clamp(64px, 8vw, 104px);
  position: relative;
  padding-block: 44px 52px;
}
.hero-logos::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--plum-line);
}
.hero-logos .logos-label {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pink);
}
@media (min-width: 900px) {
  .hero-logos {
    grid-template-columns: 180px 1fr;
    gap: 48px;
  }
}

/* Bühne: Porträt im Bogen, Spotlight auf Samtvorhang, leichtes Filmkorn */
.stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  outline: 1px solid color-mix(in srgb, var(--pink) 55%, transparent);
  outline-offset: 14px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 38%, rgb(255 214 220 / 0.55), transparent 70%),
    repeating-linear-gradient(
      90deg,
      rgb(0 0 0 / 0) 0 22px,
      rgb(0 0 0 / 0.12) 30px,
      rgb(0 0 0 / 0) 40px,
      rgb(255 255 255 / 0.05) 48px,
      rgb(0 0 0 / 0) 56px
    ),
    linear-gradient(180deg, #b5566a 0%, #7d3446 60%, #4b2733 100%);
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--grain);
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.stage img {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 92%;
  object-fit: contain;
  object-position: center bottom;
}
.stage.is-light {
  outline-color: var(--pink-line);
  background:
    radial-gradient(ellipse 60% 55% at 50% 36%, rgb(255 255 255 / 0.7), transparent 70%),
    repeating-linear-gradient(90deg, rgb(0 0 0 / 0) 0 22px, rgb(120 40 60 / 0.07) 30px, rgb(0 0 0 / 0) 40px),
    linear-gradient(180deg, #f7d7da 0%, #eab4bd 70%, #d98e9c 100%);
}
.stage-tag {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 3;
  transform: translateX(-50%);
  padding: 10px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}
.stage-tag strong {
  display: block;
  font-weight: 600;
}
.v5-hero .stage {
  justify-self: end;
}
@media (max-width: 899px) {
  .v5-hero .stage,
  .about .stage {
    justify-self: center;
    max-width: 380px;
  }
}

/* Über mich ohne Zahlenleiste */
.theme-v5 .about-text {
  font-size: 1.125rem;
}

/* Leistungen: Abschlusszeile statt CTA-Kachel */
.services-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 28px clamp(24px, 3vw, 40px);
  border: 1px solid var(--plum-line);
}
.services-cta p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
}
.services-cta em {
  color: var(--pink);
}

/* Kundenstimmen mit Retro-Bild */
.v5-quotes-grid {
  display: grid;
  gap: clamp(56px, 7vw, 96px);
  align-items: center;
}
.section-head.is-compact {
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
.section-head.is-compact h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}
.v5-quotes .quotes {
  grid-template-columns: 1fr;
  gap: 20px;
}
.v5-quotes .quote {
  padding: clamp(24px, 3vw, 36px);
}
.v5-quotes .quote blockquote,
.v5-quotes .quote.is-short blockquote {
  margin-bottom: 24px;
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
}
.v5-quotes .quote blockquote::before {
  font-size: 3rem;
}
@media (min-width: 900px) {
  .v5-quotes-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.retro-photo {
  position: relative;
  margin: 0;
  max-width: 460px;
  padding: 14px 14px 48px;
  background: var(--paper);
  box-shadow: 0 30px 60px -30px rgb(46 26 32 / 0.45);
  transform: rotate(-2.5deg);
}
.retro-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.retro-photo.is-tall {
  justify-self: center;
  transform: rotate(2.5deg);
}
.retro-photo.is-tall img {
  aspect-ratio: 4 / 5;
}
.js .retro-photo[data-reveal].is-visible {
  transform: rotate(-2.5deg);
}
.js .retro-photo.is-tall[data-reveal].is-visible {
  transform: rotate(2.5deg);
}
.spin-badge {
  position: absolute;
  top: -44px;
  right: -44px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: var(--plum);
  animation: spin 18s linear infinite;
}
.spin-badge text {
  fill: var(--pink);
  font: 600 14px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.spin-badge .spin-badge-mid {
  font: 400 64px/1 var(--serif);
  letter-spacing: 0;
}
.v5-contact .spin-badge {
  background: var(--pink);
}
.v5-contact .spin-badge text {
  fill: var(--plum);
}
.v5-contact .spin-badge .spin-badge-mid {
  font-size: 46px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .spin-badge {
    animation: none;
  }
}
@media (max-width: 599px) {
  .spin-badge {
    top: -32px;
    right: -12px;
    width: 104px;
    height: 104px;
  }
}

/* Selected Work: kompakte Projektkarten auf Pflaume, darunter das Fotoband */
.theme-v5 .v5-work.is-dark {
  background: var(--plum);
  color: var(--on-plum);
}
.theme-v5 .v5-work .eyebrow {
  color: var(--on-plum-soft);
}
.theme-v5 .v5-work h2 em {
  color: var(--pink);
}
.work-list {
  display: grid;
  gap: 0 clamp(40px, 6vw, 96px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.work {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 36px 40px;
  border-top: 1px solid var(--plum-line);
}
.work-num {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--pink);
}
.work h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.08;
}
.work-client {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}
.work > p:not(.work-client) {
  margin: 4px 0 0;
  color: var(--on-plum-soft);
}
.theme-v5 .work .tags {
  margin-top: auto;
  padding-top: 12px;
}
.theme-v5 .work .tags li {
  border-color: var(--plum-line);
  color: var(--on-plum-soft);
}
@media (min-width: 900px) {
  .work-list {
    grid-template-columns: 1fr 1fr;
  }
}
.v5-work .impression-list {
  margin-top: clamp(40px, 6vw, 72px);
}

/* Kontakt mit Retro-Telefon und Schachbrett-Kante */
.v5-contact {
  position: relative;
  padding-top: calc(var(--section) + 28px);
}
.checker {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: repeating-conic-gradient(var(--pink) 0 25%, var(--plum) 0 50%) 0 0 / 28px 28px;
}
.v5-contact .contact-person {
  display: block;
  margin-top: 48px;
}
.v5-contact .contact-lines {
  margin-top: 16px;
  max-width: 30rem;
}
.v5-contact .retro-photo {
  background: var(--plum-soft);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6);
}

/* Variante 5, Runde 2: Porträts wieder als ruhige Fläche mit fließender Form statt „Bühne“ */
.soft-portrait {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 200px 200px 28px 28px / 180px 180px 28px 28px;
  background: var(--pink);
}
.soft-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.soft-portrait.is-hero {
  justify-self: end;
  border-radius: 28px 220px 28px 220px;
}
.soft-portrait.is-about {
  border-radius: 220px 28px 220px 28px;
  background: linear-gradient(180deg, var(--pink) 0%, #f3cdd2 100%);
}
.soft-portrait.is-about img {
  top: 6%;
  height: 94%;
}
@media (max-width: 899px) {
  .soft-portrait.is-hero,
  .soft-portrait.is-about {
    justify-self: center;
    max-width: 380px;
  }
}

/* Kundenstimmen: Bild bleibt beim Lesen stehen */
@media (min-width: 900px) {
  .v5-quotes-grid {
    align-items: start;
  }
  .v5-quotes .retro-photo {
    position: sticky;
    top: calc(var(--header-h) + 64px);
    margin-top: 72px;
  }
}

/* Variante 5, Runde 3: Porträts wieder rechteckig auf CI-Rosa, Leistungstitel bündig, Social-Icons */
.v5-portrait {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--pink);
}
.v5-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.v5-portrait.is-hero {
  justify-self: end;
}
.v5-portrait.is-about img {
  top: 4%;
  height: 96%;
}
@media (max-width: 899px) {
  .v5-portrait.is-hero,
  .v5-portrait.is-about {
    justify-self: center;
    max-width: 380px;
  }
}
.theme-v5 .service h3 {
  margin-top: 28px;
}
@media (max-width: 639px) {
  .theme-v5 .service h3 {
    margin-top: 8px;
  }
}
.footer-inner {
  align-items: center;
}
.footer-social {
  gap: 12px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.footer-social a:hover {
  opacity: 1;
}
.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.prose ul {
  padding-left: 1.2em;
}
.prose a {
  color: var(--accent);
}
.prose h2 {
  font-size: 1.5rem;
}
/* Noch fehlende Angaben – vor dem Live-Stellen ersetzen */
mark.todo {
  padding: 0 4px;
  background: #ffe28a;
  color: var(--ink);
}

/* Variante 5, Runde 4: Hero kompakter, damit die Kundenlogos ohne Scrollen sichtbar sind */
@media (min-width: 900px) {
  .v5-hero {
    padding-top: clamp(24px, 4.5vh, 64px);
  }
  .v5-hero h1 {
    font-size: clamp(3.25rem, min(6.6vw, 9.5vh), 6.25rem);
    margin-bottom: 24px;
  }
  .v5-hero .hero-lead {
    margin-bottom: 28px;
  }
  .v5-hero .v5-portrait.is-hero {
    width: auto;
    max-width: none;
    height: clamp(340px, calc(100svh - var(--header-h) - 250px), 600px);
  }
  .v5-hero .hero-logos {
    margin-top: clamp(28px, 4vh, 48px);
    padding-block: 26px 30px;
  }
  .v5-hero .logo-list {
    flex-wrap: nowrap;
    gap: 24px 32px;
  }
}

/* Variante 5, Runde 5: Hero füllt genau den Bildschirm, Logoleiste schließt am unteren Rand ab */
@media (min-width: 900px) {
  .v5-hero {
    display: flex;
    flex-direction: column;
    height: calc(100svh - var(--header-h));
    min-height: 560px;
    padding-top: clamp(20px, 4vh, 56px);
    padding-bottom: 0;
  }
  .v5-hero .hero-grid {
    flex: 1;
    min-height: 0;
  }
  .v5-hero .v5-portrait.is-hero {
    height: 100%;
    max-height: 720px;
    min-height: 0;
  }
  .v5-hero .hero-logos {
    margin-top: clamp(20px, 3.5vh, 44px);
  }
}

/* Runde 6: Hero-Porträt rund 25 % kleiner */
@media (min-width: 900px) {
  .v5-hero .v5-portrait.is-hero {
    height: 76%;
    max-height: 540px;
    align-self: center;
  }
}

/* Handy: Logoleiste im Hero zentriert, 3 Spalten, Logos auf einer Linie */
@media (max-width: 899px) {
  .v5-hero .hero-logos {
    justify-items: center;
    text-align: center;
  }
  .v5-hero .logo-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    gap: 28px 16px;
    width: 100%;
  }
  .v5-hero .logo-list img {
    max-width: 100%;
    object-fit: contain;
  }
}

/* Nichts darf seitlich über den Bildschirm ragen (laufendes Fotoband, Drehbadge).
   clip statt hidden, damit das mitlaufende Bild bei den Kundenstimmen (sticky) weiter funktioniert. */
html,
body {
  overflow-x: clip;
}
.v5-work,
.v5-quotes,
.v5-contact {
  overflow-x: clip;
}
