/* ==========================================================================
   ConnexMedia – Website Stylesheet
   Markenfarbe: #892DAE (Akzent) | Hintergrund: Weiß
   Markenkit: Playfair Display (Display) + Manrope (Text)
   ========================================================================== */

/* ---------- Lokale Schriftarten (kein Google-Fonts-CDN) ----------
   Dateien liegen in assets/fonts/, Lizenz: SIL Open Font License 1.1
   (siehe assets/fonts/licenses/). Variable Fonts decken jeweils den
   genutzten Gewichtsbereich ab, damit alle Schnitte (400–800 bei Manrope,
   400/500 bei Playfair Display) mit einer Datei bedient werden. */
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-variable.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-variable.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-italic-variable.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f6f2f8;
  --color-surface: #ffffff;
  --color-surface-border: #e6dfe9;
  --color-accent: #892dae;
  --color-accent-light: #722790;
  --color-accent-soft: rgba(137, 45, 174, 0.08);
  --color-gold: #cda86a;
  --color-text: #1c1420;
  --color-text-muted: #5c5566;
  --color-text-faint: #948d9c;
  --font-main: 'Manrope', sans-serif;
  --font-display: 'Playfair Display', serif;
  --max-width: 1180px;
  --radius: 14px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Kept separate from body/html: overflow on those ancestors breaks
   position:fixed containing-block calculations on iOS Safari, which
   pushed the fixed intro overlay and sticky CTA out of place. */
.page-wrapper { overflow-x: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

/* H1 + H2 sind grundsätzlich Playfair Display (Regular) – große, emotionale
   Section-/Hero-Aussagen. H3 + H4 bleiben Manrope SemiBold (Karten-, Team-
   und Footer-Überschriften). .font-display bleibt als Klasse nutzbar, falls
   einzelne H3 ausnahmsweise die Display-Schrift bekommen sollen. */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

/* Bewusst sparsam eingesetzte Display-Schrift (Playfair Display) für
   ausgewählte, emotionale/editoriale Überschriften. Wird als zusätzliche
   Klasse auf einzelne Elemente gesetzt – der Rest der Seite bleibt auf
   Manrope (var(--font-main)). H1/H2 sind bereits per Tag-Regel Playfair. */
.font-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

@media (max-width: 600px) {
  h1 { line-height: 1.12; }
  .font-display {
    line-height: 1.15;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 16px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-top: 16px;
}

.text-muted { color: var(--color-text-muted); }

/* Positionierungssektion auf der Startseite: editoriales Zwei-Spalten-
   Layout, großer Headline-Block links, erklärender Text rechts. */
.section-positioning { padding: 160px 0; }

.positioning-eyebrow { display: block; margin-bottom: 20px; }

.positioning-headline { margin-bottom: 0; }

.positioning-headline .h2-gap-half { margin-top: 0.47em; }

.positioning-text p + p { margin-top: 20px; }

@media (min-width: 1024px) {
  .positioning-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 64px;
    row-gap: 0;
  }
  .positioning-eyebrow {
    grid-column: 1;
    grid-row: 1;
  }
  .positioning-headline {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(3.8rem, 5.2vw, 6.4rem);
    line-height: 0.94;
    letter-spacing: -0.02em;
    max-width: 720px;
  }
  .positioning-text {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .positioning-text p {
    max-width: 440px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text-muted);
  }
}

@media (max-width: 1023px) {
  .positioning-headline {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
    line-height: 1.02;
  }
  .positioning-text {
    margin-top: 32px;
  }
  .positioning-text p {
    color: var(--color-text-muted);
  }
}

@media (max-width: 768px) {
  .section-positioning { padding: 72px 0; }
}

/* Cases-Sektion auf der Startseite: hochwertige Projektübersicht aus
   großen Bild/Text-Splitflächen (kein Card-Raster, keine wechselnde
   Spiegelung) – linksbündiger Kopf, dann zwei zusammenhängende Flächen. */
.home-cases-head {
  max-width: 800px;
  margin-bottom: 52px;
}
.home-cases-head .eyebrow { display: block; margin-bottom: 14px; }
.home-cases-head h2 { margin: 0; }

/* Generischer nowrap-Wrapper: hält ein Schlusswort inkl. Satzzeichen (z. B.
   einen abschließenden Punkt) zusammen, damit das Zeichen nie allein in die
   nächste Zeile umbricht. */
.headline-tail-nowrap { white-space: nowrap; }

.home-case {
  display: flex;
  align-items: stretch;
  max-width: 1220px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.home-case + .home-case { margin-top: 36px; }
.home-case:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

.home-case-media {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}
.home-case-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.home-case:is(:hover, .is-scroll-highlight) .home-case-media img { transform: scale(1.03); }

.home-case-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px;
}
.home-case-harley .home-case-body { background: #f4ecf9; }
.home-case-harley .home-case-media img { object-position: center 18%; }
.home-case-impuls .home-case-body { background: #f8f4ec; }
.home-case-impuls { flex-direction: row-reverse; }

.home-case-body h3 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 2.3vw, 2.15rem);
  line-height: 1.15;
}
.home-case-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 18px;
}
.home-case-tag .case-tag-item { white-space: nowrap; }
.home-case-body > p:not(.home-case-tag) {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 420px;
}
.home-case-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-accent-light);
}
.home-case-arrow { display: inline-block; margin-left: 4px; transition: transform 0.3s ease; }
.home-case:is(:hover, .is-scroll-highlight) .home-case-arrow { transform: translateX(5px); }

@media (min-width: 901px) {
  .home-case { height: clamp(580px, 42vw, 660px); }
}

@media (max-width: 900px) {
  .home-case { flex-direction: column; max-width: none; }
  .home-case-media { flex: 0 0 auto; aspect-ratio: 4/3; }
  .home-case-body { padding: 32px; }
  .home-case + .home-case { margin-top: 32px; }
  .home-case-tag .case-tag-sep { display: none; }
}

/* Einblenden pro Case-Fläche: Bild und Textfläche blenden einmalig mit
   leichtem Versatz ein (IntersectionObserver via .reveal/.is-visible aus
   main.js); die Fläche selbst bleibt ohne eigene Bewegung. */
a.home-case.reveal { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: no-preference) {
  .home-case .home-case-media,
  .home-case .home-case-body {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .home-case .home-case-body { transition-delay: 0.1s; }
  .home-case.is-visible .home-case-media,
  .home-case.is-visible .home-case-body {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Cases-Übersicht (referenzen.html) ----------
   Gleiche gestalterische Grundidee wie die großen Cases auf der Startseite
   (.home-case): große Bild/Text-Splitflächen statt Karten-Raster. Eigene
   Klassen (.referenz-case*), damit die Startseite unangetastet bleibt.
   Beide Cases nutzen hier bewusst dieselbe Bild-links/Text-rechts-Reihenfolge
   (kein Spiegeln wie bei .home-case). */
.referenz-cases { max-width: 1180px; }

.referenz-case {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.referenz-case + .referenz-case { margin-top: 32px; }
.referenz-case:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

.referenz-case-media {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}
.referenz-case-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.referenz-case:is(:hover, .is-scroll-highlight) .referenz-case-media img { transform: scale(1.02); }

.referenz-case-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 64px);
}
.referenz-case-harley .referenz-case-body { background: var(--color-bg-alt); }
.referenz-case-harley .referenz-case-media img { object-position: center 18%; }
.referenz-case-impuls { flex-direction: row-reverse; }
.referenz-case-impuls .referenz-case-body { background: #f8f4ec; }

.referenz-case-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 14px;
}
.referenz-case-body h3 {
  margin-bottom: 4px;
  font-size: clamp(1.7rem, 2.3vw, 2.15rem);
  line-height: 1.15;
  color: var(--color-text);
}
.referenz-case-sub {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 14px;
}
.referenz-case-services {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: 16px;
}
.referenz-case-services .case-tag-item { white-space: nowrap; }
.referenz-case-desc {
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 420px;
}
.referenz-case-link {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-accent);
}
.referenz-case-arrow { display: inline-block; margin-left: 4px; transition: transform 0.3s ease; }
.referenz-case:is(:hover, .is-scroll-highlight) .referenz-case-arrow { transform: translateX(5px); }

@media (min-width: 901px) {
  .referenz-case { height: clamp(480px, 36vw, 580px); }
}

@media (max-width: 900px) {
  .referenz-case { flex-direction: column; }
  .referenz-case-media { flex: 0 0 auto; aspect-ratio: 4/3; }
  .referenz-case-body { padding: 24px; }
  .referenz-case + .referenz-case { margin-top: 28px; }
  .referenz-case-services .case-tag-sep { display: none; }
}

a.referenz-case.reveal { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: no-preference) {
  .referenz-case .referenz-case-media,
  .referenz-case .referenz-case-body {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .referenz-case .referenz-case-body { transition-delay: 0.1s; }
  .referenz-case.is-visible .referenz-case-media,
  .referenz-case.is-visible .referenz-case-body {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .referenz-case-media img,
  .referenz-case-arrow { transition: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:is(:hover, .is-scroll-highlight) { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(137, 45, 175, 0.35);
}

.btn-primary:is(:hover, .is-scroll-highlight) { background: var(--color-accent-light); }

.btn-primary:disabled {
  background: var(--color-text-faint);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn-primary:disabled:hover { background: var(--color-text-faint); transform: none; }

.btn-outline {
  background: transparent;
  border-color: var(--color-surface-border);
  color: var(--color-text);
}

.btn-outline:is(:hover, .is-scroll-highlight) { border-color: var(--color-accent-light); color: var(--color-accent-light); }

/* Variante für Buttons mit Zeilenumbruch (z. B. "Kennenlern-Session" /
   "Buchen" untereinander statt nebeneinander): Text wird zentriert
   gestapelt, restliche .btn-Eigenschaften bleiben unverändert. */
.btn-two-line {
  flex-direction: column;
  gap: 2px;
  text-align: center;
  line-height: 1.3;
  white-space: normal;
}

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-surface-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo img { height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--color-text); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 16px; margin-left: 28px; }

.nav-cta .btn { padding: 10px 22px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    visibility: hidden;
    left: 0; right: 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-surface-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-140%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-links.open { visibility: visible; transform: translateY(0); opacity: 1; }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--color-surface-border); }
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0;
  position: relative;
}

@media (min-width: 901px) {
  .hero {
    min-height: 820px;
    display: flex;
    align-items: center;
    padding: 72px 0;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--color-accent-soft) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

/* Editorialer Boutique-Look nur für den Startseiten-Hero: via ".hero"
   gescopt, damit die geteilten .hero-grid/.hero-visual-Klassen auf
   anderen Seiten (z. B. ueber-uns.html) unverändert bleiben. */
@media (min-width: 901px) {
  .hero .hero-grid {
    max-width: 1280px;
    gap: 80px;
    align-items: end;
  }
  .hero .container { max-width: 1280px; padding: 0 64px; }
}

/* Optischer Ausgleich: das "D" wirkt sonst minimal weiter links als die
   Großbuchstaben in H1/Buttons darunter, daher 2px Innenabstand links.
   Zusätzlich mehr Platz nach unten für ruhigere Lesefolge. */
.hero .eyebrow {
  padding-left: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 28px;
}

@media (min-width: 901px) {
  .hero h1 {
    font-size: clamp(3.6rem, 6vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
    line-height: 1.04;
  }
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }

.hero-trust {
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--color-text-faint);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--color-surface) 0%, #f1e6f6 60%, var(--color-accent) 140%);
  border: 1px solid var(--color-surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Im Startseiten-Hero: kein Card-Rahmen, das freigestellte Bild steht
   groß und ruhig, vertikal zentriert innerhalb der Heroleiste. */
@media (min-width: 901px) {
  .hero .hero-visual {
    aspect-ratio: auto;
    height: 100%;
    background: none;
    border: none;
    border-radius: var(--radius);
    align-self: center;
    justify-content: center;
    align-items: center;
  }
  .hero .hero-visual-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    border-radius: var(--radius);
  }
}

.hero-visual .placeholder-tag {
  color: var(--color-text-faint);
  font-size: 0.85rem;
  border: 1px dashed var(--color-surface-border);
  padding: 8px 16px;
  border-radius: 999px;
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/10; }

  /* Startseiten-Hero: Bild folgt der Vertrauenszeile statt davor zu stehen */
  .hero .hero-visual {
    order: 1;
    aspect-ratio: auto;
    background: none;
    border: none;
    border-radius: var(--radius);
    margin-top: 32px;
  }
  .hero .hero-visual-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: var(--radius);
  }
}

.only-mobile { display: none; }
.only-desktop { display: block; }

@media (max-width: 900px) {
  .only-mobile { display: block; }
  .only-desktop { display: none; }
}

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats-vertical { flex-direction: column; gap: 14px; }
.hero-stats div strong { display: block; font-size: 1.6rem; font-weight: 700; color: var(--color-text); }
.hero-stats div span { font-size: 0.85rem; color: var(--color-text-muted); }

.hero-stats-compact { justify-content: center; gap: 48px; }
.hero-stats-compact div { text-align: center; }
.hero-stats-compact div strong { font-size: 1.3rem; }
.hero-stats-compact div span { font-size: 0.75rem; }

/* ---------- Cards / Grids ---------- */

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.card:is(:hover, .is-scroll-highlight) { border-color: var(--color-accent); transform: translateY(-4px); }

.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

/* Individuell gezeichnete Ziffern (Canva-Export), flächig gefüllt. */
.icon-number-svg {
  width: auto;
  display: block;
  fill: var(--color-accent);
}

.card h3 { margin-bottom: 12px; }
.card p { color: var(--color-text-muted); font-size: 0.96rem; }
.card a.card-link {
  display: inline-block; margin-top: 16px; font-size: 0.9rem; font-weight: 600; color: var(--color-accent-light);
}

/* Leistungen – ruhige Editorial-Übersicht: eine gemeinsame Fläche mit vier
   schmalen, länglichen Spalten statt einzelner Cards. Trennung nur über
   feine Linien, keine Boxen/Schatten/Flieder-Flächen. */
.services-head { max-width: 620px; }
.services-head h2 { max-width: 560px; margin-left: auto; margin-right: auto; }
.services-head p { max-width: 520px; margin-left: auto; margin-right: auto; }

.services-row {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-col {
  display: flex;
  flex-direction: column;
  padding: 32px;
  min-height: 460px;
  border-left: 1px solid var(--color-surface-border);
  transition: background-color var(--transition);
}
.service-col:first-child { border-left: none; }

.service-col .icon-number { margin-bottom: 22px; }
.service-col .icon-number-svg {
  height: 2.5rem;
  opacity: 0.55;
  transition: opacity var(--transition), fill var(--transition);
}
.service-col h3 {
  margin-bottom: 10px;
  transition: color var(--transition);
}
.service-col .service-question {
  color: rgba(137, 45, 174, 0.55);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 10px;
}
.service-col p:last-child {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (hover: hover) {
  .service-col:nth-child(odd):hover { background-color: rgba(137, 45, 175, 0.07); }
  .service-col:nth-child(even):hover { background-color: rgba(205, 168, 106, 0.18); }
  .service-col:hover .icon-number-svg { opacity: 1; }
  .service-col:hover h3 { color: var(--color-accent); }

  /* Nur Punkt 01 (Content Creation) und Punkt 03 (Ads & Kampagnen):
     Ziffer und Überschrift wechseln beim Hover zusätzlich zu Gold. */
  .service-col:nth-child(odd):hover .icon-number-svg { fill: #cda86a; }
  .service-col:nth-child(odd):hover h3 { color: #cda86a; }
}

/* Leicht zeitversetztes Einblenden der vier Spalten (nutzt .reveal-Basis:
   Opacity + Bewegung von unten, ~0.6s, siehe weiter unten). */
.services-row .service-col:nth-child(1) { transition-delay: 0s; }
.services-row .service-col:nth-child(2) { transition-delay: 0.08s; }
.services-row .service-col:nth-child(3) { transition-delay: 0.16s; }
.services-row .service-col:nth-child(4) { transition-delay: 0.24s; }

@media (max-width: 900px) {
  .services-row { grid-template-columns: repeat(2, 1fr); }
  .service-col {
    min-height: 0;
    padding: 28px;
    border-left: 1px solid var(--color-surface-border);
    border-top: 1px solid var(--color-surface-border);
  }
  .service-col:nth-child(odd) { border-left: none; }
  .service-col:nth-child(1), .service-col:nth-child(2) { border-top: none; }
}

@media (max-width: 600px) {
  .services-row { grid-template-columns: 1fr; }
  .service-col {
    border-left: none;
    border-top: 1px solid var(--color-surface-border);
    padding: 28px 0;
  }
  .service-col:first-child { border-top: none; }
  .service-col .icon-number-svg { height: 2.1rem; }
  .service-col h3 { font-size: 1.15rem; }
  .service-col .service-question { font-size: 0.96rem; }
}

/* ---------- Logos / Social proof ---------- */

.logo-strip-wrap {
  padding: 32px 0;
  border-top: 1px solid var(--color-surface-border);
  border-bottom: 1px solid var(--color-surface-border);
}

.logo-strip-label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: 20px;
}

.logo-carousel {
  position: relative;
  height: 76px;
  max-width: 420px;
  margin: 0 auto;
}

.logo-carousel img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(15%);
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1), opacity 1.1s ease;
}

.logo-carousel img.logo-jubilaeum { height: 50px; }

.logo-carousel img.slot-center {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
}
.logo-carousel img.slot-left {
  transform: translate(calc(-50% - 120px), -50%) scale(0.78);
  opacity: 0.4;
  z-index: 1;
}
.logo-carousel img.slot-right {
  transform: translate(calc(-50% + 120px), -50%) scale(0.78);
  opacity: 0.4;
  z-index: 1;
}

/* Dasselbe Kundenlogo-Karussell auf kleinen Desktops, Tablets und Handys.
   Nur die Startseiten-Trust-Bar wird angepasst, andere Logos bleiben unberührt. */
@media (max-width: 900px) {
  .home-trust-logos .logo-carousel {
    --trust-logo-offset: clamp(70px, 24vw, 120px);
    width: 100%;
  }
  .home-trust-logos .logo-carousel img {
    max-width: clamp(90px, 25vw, 150px);
    height: clamp(28px, 7vw, 36px);
  }
  .home-trust-logos .logo-carousel img.logo-jubilaeum {
    height: clamp(38px, 10vw, 50px);
  }
  .home-trust-logos .logo-carousel img.slot-left {
    transform: translate(calc(-50% - var(--trust-logo-offset)), -50%) scale(0.78);
  }
  .home-trust-logos .logo-carousel img.slot-right {
    transform: translate(calc(-50% + var(--trust-logo-offset)), -50%) scale(0.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel img { transition: none; }
}

.section-home-testimonials { padding: 48px 0; }

.section-home-testimonials .logo-strip-label { margin-bottom: 40px; }

.home-testimonial-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: nowrap;
}

/* Jede Karte hat zwei klar getrennte Bereiche: .device-stage (Smartphone,
   fixe Höhe reserviert den vollen Platz inkl. Tiefer-Offset + Hover-Hub,
   damit nichts in die Beschriftung hineinragt) und .testimonial-caption
   (Name/Unternehmen im normalen Fluss, niemals absolut positioniert). */
.home-testimonial-item.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-card .device-stage {
  position: relative;
  width: 100%;
  height: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: visible;
  isolation: isolate;
}

/* Editorial Dreier-Komposition: das mittlere Handy bleibt klarer Fokus
   (~14% größer als die äußeren), die äußeren stehen dezent kleiner, leicht
   nach außen geneigt (-6/+6deg) und ordnen sich mit niedrigerem z-index +
   negativem Versatz leicht hinter dem mittleren Gerät ein, ohne starke
   Überdeckung. Der Tiefer-Offset läuft über margin-top (nicht transform),
   damit die Stage-Höhe den tatsächlich benötigten Platz reserviert und
   nichts in die Caption hineinragt. */
.home-testimonial-phones .device-phone {
  --phone-y: 44px;
  --phone-rot: 0deg;
  --phone-x: 0px;
  position: relative;
  z-index: 0;
  width: 250px;
  margin-top: var(--phone-y);
  opacity: 0.62;
  filter: saturate(0.62) brightness(0.92);
  transform: translateX(var(--phone-x)) rotate(var(--phone-rot));
  transition: transform 0.35s ease-out, margin-top 0.35s ease-out, width 0.35s ease-out, opacity 0.35s ease-out, filter 0.35s ease-out;
}
.home-testimonial-item:first-child .device-phone { --phone-rot: -6deg; --phone-x: 20px; }
.home-testimonial-item:last-child .device-phone { --phone-rot: 6deg; --phone-x: -20px; }

/* Bodenschatten bleibt bei den seitlich geneigten Geräten flach: die
   Geräte-Rotation (--phone-rot) wird hier gegengerechnet, statt den
   Schatten mitzudrehen. */
.home-testimonial-phones .device-phone::after {
  transform: translateX(-50%) rotate(calc(var(--phone-rot, 0deg) * -1));
}

/* Weicher Lichtschein, der nur während aktiver Videowiedergabe hinter dem
   jeweiligen Gerät erscheint (gesteuert über .home-testimonial-item-playing,
   per JS an play/pause/ended gekoppelt) – unabhängig vom reinen Größen-
   /Farb-Zustand .is-active. Liegt hinter dem Smartphone (z-index 0 vs. 1),
   niemals über oder innerhalb des Videos. Keine Farbeffekte am Rahmen selbst.
   .device-stage besitzt eine eigene Stacking-Context (isolation: isolate),
   damit das Smartphone (z-index 0/1) technisch immer über dem Glow
   (z-index -1) liegt, unabhängig von anderen Elementen der Seite. */
.testimonial-card .device-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 238px;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(137, 45, 174, 0.20) 0%, rgba(137, 45, 174, 0.08) 42%, transparent 72%);
  filter: blur(54px);
  opacity: 0;
  transition: opacity 0.4s ease-out;
  z-index: -1;
  pointer-events: none;
}
.home-testimonial-item-playing .device-stage::before { opacity: 1; }

/* Naher, weicher Kontaktschatten statt des breiten diffusen Schattens aus
   der gemeinsamen .device-phone-frame-Basis (Case-Study-Karussells bleiben
   über die Basisregel unverändert, hier nur gezielt überschrieben). Keine
   farbigen Ränder oder Akzente direkt am Rahmen. */
.home-testimonial-phones .device-phone-frame {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4),
    0 6px 10px -10px rgba(28, 16, 36, 0.24);
  transition: box-shadow 0.35s ease-out;
}
.home-testimonial-phones .device-phone-frame video { aspect-ratio: 9/16; }

.home-testimonial-phones .device-phone.is-active {
  --phone-y: 0px;
  --phone-x: 0px;
  width: 288px;
  opacity: 1;
  filter: none;
  z-index: 1;
  margin-top: var(--phone-y);
  transform: translateX(var(--phone-x)) rotate(var(--phone-rot));
}
.home-testimonial-phones .device-phone.is-active .device-phone-frame {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4),
    0 8px 12px -10px rgba(28, 16, 36, 0.28);
}

/* Hover: nur das berührte Gerät hebt sich dezent an, keine Rotation, kein Skalieren */
.home-testimonial-phones .device-phone:is(:hover, .is-scroll-highlight) {
  transform: translateX(var(--phone-x)) translateY(-6px) rotate(var(--phone-rot));
}

.home-testimonial-item-active { position: relative; z-index: 2; }

.device-phone-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.device-phone-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #892dae;
  transition: background-color 0.25s ease, filter 0.25s ease, transform 0.2s ease;
}
.device-phone-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 3px), -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #ffffff;
  transition: border-color 0.25s ease;
}
.device-phone-play:is(:hover, .is-scroll-highlight)::before { filter: brightness(1.12); transform: translate(-50%, -50%) scale(1.08); }

.device-phone-screen.is-playing .device-phone-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Beschriftung steht im normalen Layoutfluss unterhalb der fixen
   .device-stage-Höhe – niemals absolut über dem Smartphone. */
.testimonial-caption {
  margin-top: 24px;
  text-align: center;
  max-width: 200px;
}
.testimonial-caption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1c1420;
}
.testimonial-caption span {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 400;
  color: #1c1420;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .home-testimonial-phones { gap: 16px; }
  .testimonial-card .device-stage { height: 400px; }
  .home-testimonial-phones .device-phone { width: 180px; --phone-y: 32px; }
  .home-testimonial-item:first-child .device-phone { --phone-x: 14px; }
  .home-testimonial-item:last-child .device-phone { --phone-x: -14px; }
  .home-testimonial-phones .device-phone.is-active { width: 207px; }
  .testimonial-card .device-stage::before { top: 172px; width: 310px; height: 310px; }
}

/* Mobil: horizontal scrollbare Karten mit Snap statt umbrechender Reihe */
@media (max-width: 600px) {
  .home-testimonial-phones {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 4px 24px 12px;
    margin: 0 -24px;
    -webkit-overflow-scrolling: touch;
  }
  .home-testimonial-phones::-webkit-scrollbar { display: none; }
  .home-testimonial-item {
    scroll-snap-align: center;
    flex: 0 0 auto;
  }
  .testimonial-card .device-stage { width: 195px; height: 300px; }
  .home-testimonial-phones .device-phone,
  .home-testimonial-item:first-child .device-phone,
  .home-testimonial-item:last-child .device-phone {
    --phone-y: 0px;
    --phone-x: 0px;
    --phone-rot: 0deg;
    width: 158px;
  }
  .home-testimonial-phones .device-phone.is-active { width: 172px; }
  .testimonial-caption { max-width: 170px; }
  .testimonial-card .device-stage::before { top: 142px; width: 240px; height: 240px; }
}

@media (max-width: 480px) {
  .testimonial-caption strong { font-size: 0.85rem; }
  .testimonial-caption span { font-size: 0.72rem; }
}

/* ---------- Testimonials ---------- */

.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius);
  padding: 32px;
}

.testimonial p { font-size: 1.02rem; margin-bottom: 20px; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--color-accent-light);
  overflow: hidden; flex-shrink: 0;
}
.testimonial .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial .author strong { display: block; font-size: 0.92rem; }
.testimonial .author span { font-size: 0.82rem; color: var(--color-text-faint); }

.testimonial-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 280ms ease;
}
@media (hover: hover) {
  .testimonial-link:hover { background-color: #F6F2F8; }
}
.testimonial-link:focus-visible {
  outline: 2px solid #892DAE;
  outline-offset: 4px;
}

#bewertung-jana-roeder, #bewertung-vanessa-sokoli, #schriftliche-bewertungen {
  scroll-margin-top: 120px;
}

#leistungen {
  scroll-margin-top: 100px;
}

.testimonials-more {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Cases-Übersicht: Schriftliche Bewertungen (kompakte Karten + Lesefenster) ---------- */

#schriftliche-bewertungen .testimonial-compact {
  display: flex;
  flex-direction: column;
}
#schriftliche-bewertungen .testimonial-compact p { flex: 1 0 auto; }
#schriftliche-bewertungen .testimonial-compact .author { margin-bottom: 20px; }
#schriftliche-bewertungen .testimonial-readmore {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-surface-border);
  background: transparent;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
#schriftliche-bewertungen .testimonial-readmore:is(:hover, .is-scroll-highlight),
#schriftliche-bewertungen .testimonial-readmore:focus-visible {
  border-color: var(--color-accent-light);
  color: var(--color-accent-light);
}
#schriftliche-bewertungen .testimonial-readmore:focus-visible {
  outline: 2px solid #892DAE;
  outline-offset: 2px;
}

.review-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  border-radius: 20px;
  padding: 0;
  width: min(680px, calc(100% - 48px));
  max-width: 720px;
  max-height: min(80vh, 720px);
  overflow: hidden;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 24px 60px rgba(20, 10, 30, 0.25);
}
.review-dialog::backdrop {
  background: rgba(20, 10, 30, 0.55);
}
.review-dialog-body {
  max-height: inherit;
  overflow-y: auto;
  padding: 48px 36px 36px;
  box-sizing: border-box;
}
.review-dialog-body h3 { margin: 0 0 4px; font-size: 1.3rem; }
.review-dialog-role { color: var(--color-text-faint); font-size: 0.88rem; margin: 0 0 20px; }
.review-dialog-text p { margin-bottom: 16px; line-height: 1.65; }
.review-dialog-text p:last-child { margin-bottom: 0; }
.review-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-surface-border);
  background: #fff;
  color: var(--color-text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-dialog-close:hover { border-color: var(--color-accent-light); color: var(--color-accent-light); }
.review-dialog-close:focus-visible { outline: 2px solid #892DAE; outline-offset: 2px; }

@media (max-width: 600px) {
  .review-dialog { width: calc(100% - 32px); max-height: min(85vh, 640px); }
  .review-dialog-body { padding: 44px 24px 28px; }
}

/* ---------- Startseite: Agentur-Vorstellung + "So arbeiten wir" ----------
   Gemeinsamer Fliederabschnitt: oben kurze Vorstellung (Bild + Text),
   darunter der bestehende Prozessblock. Ersetzt den vormals eigenständigen
   Prozessabschnitt, keine Karten/Umrandungen. */

.home-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 132px;
}
.home-intro-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.home-intro-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-intro-photo .placeholder-tag {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-faint);
  font-size: 0.85rem;
  border: 1px dashed var(--color-surface-border);
  border-radius: var(--radius);
  padding: 24px;
}
.home-intro-text { max-width: 480px; }
.home-intro-action { text-align: center; }
.home-intro-text .eyebrow { display: block; margin-bottom: 12px; }
.home-intro-text h2 { margin-bottom: 20px; font-size: 1.9rem; }
.home-intro-text p { color: var(--color-text-muted); font-size: 1.02rem; margin-bottom: 28px; }
.home-intro-text .btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

@media (max-width: 900px) {
  .home-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 100px; }
  .home-intro-text { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .home-intro-photo.reveal,
  .home-intro-text.reveal { transition: none; }
}

/* ---------- Process steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-left: 8px; }
.step .step-number {
  font-family: var(--font-main);
  font-size: 1.9rem;
  font-weight: 800;
  color: #892dae;
  -webkit-text-stroke: 0;
  margin-bottom: 16px;
  display: block;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(120deg, var(--color-surface) 0%, #efe3f5 100%);
  border: 1px solid var(--color-surface-border);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 200px;
  background: radial-gradient(circle, var(--color-accent-soft) 0%, transparent 75%);
}

.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { color: var(--color-text-muted); max-width: 520px; margin: 0 auto 32px; }
.cta-banner .btn { position: relative; z-index: 1; }

@media (max-width: 600px) { .cta-banner { padding: 48px 24px; } }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-surface-border);
  padding: 64px 0 32px;
  background: var(--color-bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

.footer-brand img { height: 64px; margin-bottom: 16px; }

.footer-contact {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.footer-contact a { color: var(--color-text-muted); transition: color var(--transition); }
.footer-contact a:hover { color: var(--color-accent-light); }

.footer-social { display: flex; gap: 12px; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-surface-border);
  color: var(--color-text-muted);
  transition: color var(--transition), border-color var(--transition);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:is(:hover, .is-scroll-highlight), .social-icon:focus-visible {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.social-icon:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-faint); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--color-text-muted); font-size: 0.92rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--color-accent-light); }

.footer-bottom {
  border-top: 1px solid var(--color-surface-border);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--color-text-faint);
}

/* ---------- Einwilligungsbanner & Datenschutzeinstellungen ---------- */

.consent-banner {
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  border-radius: 20px;
  padding: 0;
  width: min(620px, calc(100% - 48px));
  max-height: min(85vh, 680px);
  overflow: hidden;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 24px 60px rgba(20, 10, 30, 0.25);
}
.consent-banner::backdrop { background: rgba(20, 10, 30, 0.55); }

.consent-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: inherit;
  overflow-y: auto;
  padding: 40px 36px 36px;
  box-sizing: border-box;
}

.consent-banner-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.consent-banner-text a { color: var(--color-accent-light); }

.consent-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.consent-banner-actions .btn { padding: 11px 20px; font-size: 0.88rem; white-space: nowrap; }

@media (max-width: 600px) {
  .consent-banner { width: calc(100% - 32px); max-height: min(85vh, 640px); }
  .consent-banner-inner { padding: 36px 24px 28px; }
  .consent-banner-actions { width: 100%; flex-direction: column; }
  .consent-banner-actions .btn { width: 100%; justify-content: center; }
}

.consent-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  border-radius: 20px;
  padding: 0;
  width: min(620px, calc(100% - 48px));
  max-height: min(85vh, 680px);
  overflow: hidden;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 24px 60px rgba(20, 10, 30, 0.25);
}
.consent-dialog::backdrop { background: rgba(20, 10, 30, 0.55); }

.consent-dialog-body {
  max-height: inherit;
  overflow-y: auto;
  padding: 48px 36px 36px;
  box-sizing: border-box;
}
.consent-dialog-body h3 { margin: 0 0 12px; font-size: 1.3rem; }
.consent-dialog-intro { color: var(--color-text-muted); margin: 0 0 24px; line-height: 1.6; }

.consent-item {
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.consent-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}
.consent-toggle input { width: 18px; height: 18px; accent-color: var(--color-accent); cursor: pointer; }
.consent-item-desc {
  margin: 12px 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.consent-item-desc a { color: var(--color-accent-light); }

.consent-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.consent-dialog-actions .btn { padding: 11px 20px; font-size: 0.88rem; }

@media (max-width: 600px) {
  .consent-dialog { width: calc(100% - 32px); max-height: min(85vh, 640px); }
  .consent-dialog-body { padding: 44px 24px 28px; }
  .consent-dialog-actions { flex-direction: column; }
  .consent-dialog-actions .btn { width: 100%; justify-content: center; }
}

.footer-col .footer-settings-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col .footer-settings-link:hover,
.footer-col .footer-settings-link:focus-visible { color: var(--color-accent-light); }
.footer-col .footer-settings-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--color-surface-border);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero p { color: var(--color-text-muted); max-width: 620px; font-size: 1.05rem; margin-top: 20px; }

/* Lange, zusammengesetzte Wörter in der .accent-mark-Unterstreichung
   (white-space: nowrap) können auf schmalen Viewports breiter als der
   Container werden (z. B. "Social-Media-Präsenz"). Etwas kleinere
   Schriftgröße auf Mobil verhindert horizontales Overflow. */
@media (max-width: 600px) {
  .page-hero h1 { font-size: 2.1rem; }
}

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Verhindert, dass ein Satzzeichen direkt nach einer .accent-mark-Markierung
   (inline-block) in eine neue Zeile umbricht, da Browser an atomaren
   Inline-Boxen eine Umbruchmöglichkeit einfügen können. */
.nowrap-end { white-space: nowrap; }

/* Gold/Champagner-Akzent: markiert wichtige Wörter in Überschriften,
   angelehnt an die handgezeichnete Unterstreichung des Referenzbeispiels. */
.accent-mark { position: relative; display: inline-block; white-space: nowrap; }
.accent-mark::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -0.06em;
  height: 0.32em;
  min-height: 9px;
  background-image: url('../assets/decorative/underline-stroke.svg?v=c');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -1;
}

/* Registrierungszeichen (®) bei "Harley-Davidson": dezent, klein, in der
   Textfarbe des Elternelements, ohne Zeilenumbruch vom vorangehenden Wort. */
.reg-mark {
  font-size: clamp(8px, 0.45em, 1em) !important;
  line-height: 0 !important;
  vertical-align: super !important;
  color: inherit !important;
  white-space: nowrap !important;
}

/* ---------- Impressum-Seite ----------
   Rein informative Rechtsseite: bewusst ohne .reveal/.hero-reveal-Klassen,
   damit alle Angaben sofort und ohne JavaScript/Scroll-Trigger lesbar sind. */

.impressum-hero { padding: 96px 0 64px; }
@media (max-width: 768px) {
  .impressum-hero { padding: 56px 0 40px; }
}

.impressum-h1 {
  position: relative;
  display: block;
  width: fit-content;
  font-size: clamp(2.625rem, 7vw, 5.5rem);
}
.impressum-accent {
  position: absolute;
  left: 2px;
  bottom: -0.16em;
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-gold);
}
@media (max-width: 600px) {
  .impressum-hero .impressum-h1 { font-size: 2.75rem; }
  .impressum-accent { width: 48px; }
}

.impressum-content { max-width: 800px; }

.impressum-section { margin-top: 36px; }
.impressum-section:first-child { margin-top: 0; }

.impressum-heading {
  font-size: 1.7rem;
  color: var(--color-accent-light);
  margin-bottom: 12px;
}

.impressum-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
}

.impressum-content a { color: var(--color-accent); }

.impressum-source {
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--color-text-faint);
}

/* ---------- Datenschutz-Seite (Entwurf) ----------
   Gleiche Grundidee wie die Impressum-Seite: ruhig, linksbündig, ohne
   Karten/Icons, alle Texte sofort sichtbar ohne Scroll-/JS-Abhängigkeit. */

.datenschutz-hero { padding: 96px 0 48px; }
@media (max-width: 768px) {
  .datenschutz-hero { padding: 56px 0 32px; }
}

.datenschutz-h1 {
  position: relative;
  display: block;
  width: fit-content;
  font-size: clamp(2.625rem, 7vw, 5.5rem);
}
.datenschutz-accent {
  position: absolute;
  left: 2px;
  bottom: -0.16em;
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-gold);
}
@media (max-width: 600px) {
  .datenschutz-hero .datenschutz-h1 {
    font-size: clamp(2rem, 8.6vw, 2.75rem);
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
  }
  .datenschutz-accent { width: 48px; }
}

.datenschutz-stand {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--color-text-faint);
}

.datenschutz-notice {
  margin-top: 16px;
  max-width: 680px;
  padding-left: 14px;
  border-left: 3px solid var(--color-gold);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
}

.datenschutz-content { max-width: 800px; }

.datenschutz-section { margin-top: 40px; }

.datenschutz-heading {
  font-size: 1.6rem;
  color: var(--color-accent-light);
  margin-bottom: 12px;
}

.datenschutz-content p,
.datenschutz-content li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}

.datenschutz-content ul { margin: 0 0 16px; padding-left: 22px; }
.datenschutz-content li { margin-bottom: 6px; }

.datenschutz-content a { color: var(--color-accent); }

.datenschutz-check {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--color-gold);
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ---------- Contact page specific ---------- */

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

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.calendly-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 620px;
}

.calendly-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--color-text-faint);
  text-align: center;
}

/* ---------- Booking-Vorschau (Kontaktseite, Querformat-Kalenderkarte) ---------- */

.booking-card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius);
  padding: 40px 44px;
}

.booking-card .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

.booking-static-heading {
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  margin: 0 0 12px;
}

.booking-static-text {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin: 0 0 28px;
}

.booking-cal-cta {
  margin-top: 0;
}

@media (max-width: 480px) {
  .booking-card { padding: 28px 20px; }
}

/* ---------- Calendly: echter Buchungskalender ---------- */

.calendly-alt-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.calendly-alt-link:is(:hover, .is-scroll-highlight) { color: var(--color-accent-light); }

/* Calendly löst das height:100% seines iframes gegen die Höhe dieses
   direkten Elternelements auf. Eine Prozenthöhe braucht dafür eine
   DEFINITE Höhe beim Elternelement – min-height allein reicht nicht,
   weil es keine definite Höhe im Sinne der CSS-Höhenberechnung ist
   (das iframe fällt dann auf die Browser-Standardhöhe von 150px zurück).
   Deshalb hier ein expliziter Startwert (Höhe der ersten/kürzesten Ansicht:
   Monatskalender + Zeitzonen-Auswahl). Sobald Calendly per postMessage die
   tatsächliche Inhaltshöhe meldet ("calendly.page_height"), überschreibt
   main.js diesen Wert per Inline-Style – bei jedem Ansichtswechsel (Datum
   → Uhrzeit → Buchungsformular und zurück) sowohl nach oben als auch nach
   unten. Dieser CSS-Wert ist nur der Startzustand bzw. ein Fallback, falls
   aus irgendeinem Grund kein page_height-Event ankommt. */
.calendly-inline {
  width: 100%;
  height: 630px;
}

/* Während des Ladens/bei Fehlern bleibt das Kalenderfenster im DOM und
   eingebunden (kein display:none), damit Calendlys postMessage-Events
   zuverlässig ankommen – es wird nur visuell auf 0 Höhe zusammengefaltet,
   damit keine übergroße leere Fläche entsteht. */
.calendly-inline.is-collapsed {
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.calendly-loading {
  text-align: center;
  padding: 32px 0;
}
.calendly-status {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin: 0 0 12px;
}
.calendly-loading .calendly-alt-link { margin-top: 0; }

.calendly-error {
  text-align: center;
  padding: 24px 0 8px;
}
.calendly-error .booking-static-text { margin-bottom: 20px; }
.calendly-error-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.calendly-error-actions .btn { min-width: 220px; }
.calendly-error-actions .calendly-alt-link { margin-top: 12px; }

/* Platzhalter, solange Calendly mangels Einwilligung noch nicht geladen
   ist: nutzt bewusst dasselbe Layout wie der Fehlerzustand (zentrierter
   Text + .calendly-error-actions-Button-Reihe), damit kein zusätzliches
   CSS für denselben visuellen Aufbau nötig ist. */
.calendly-consent-placeholder {
  text-align: center;
  padding: 32px 0 8px;
}
.calendly-consent-placeholder .booking-static-text { margin-bottom: 20px; }

/* ---------- Kennenlerncall ---------- */

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-surface-border);
  background: var(--color-surface);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}

.kennenlern-steps { margin-top: 36px; }
.step-row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--color-surface-border);
}
.step-row:last-child { border-bottom: 1px solid var(--color-surface-border); }
.step-row-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-light);
  flex-shrink: 0;
  padding-top: 3px;
}
.step-row h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-row p { font-size: 0.92rem; color: var(--color-text-muted); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--color-text-muted);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--color-surface-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-group textarea { resize: vertical; min-height: 140px; }

#form-status.form-status-success { color: #2e7d32; }
#form-status.form-status-error { color: #c62828; }
#form-status .form-status-link { color: inherit; text-decoration: underline; }

.contact-info-list { margin-top: 32px; }
.contact-info-list li { display: flex; gap: 12px; margin-bottom: 16px; color: var(--color-text-muted); font-size: 0.95rem; }
.contact-info-list strong { color: var(--color-text); display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }

/* ---------- Team (Über uns) ---------- */

.team-card { text-align: center; }
.team-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(160deg, var(--color-accent-soft), var(--color-surface));
  border: 1px solid var(--color-surface-border);
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.4rem; color: var(--color-accent-light);
}
.team-card h3 { margin-bottom: 4px; }
.team-card span { color: var(--color-accent-light); font-size: 0.88rem; font-weight: 600; }
.team-card p { color: var(--color-text-muted); font-size: 0.9rem; margin-top: 10px; }

/* ---------- Values ---------- */

.value-item { display: flex; gap: 20px; align-items: flex-start; }
.value-item .icon {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--color-accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent-light); font-weight: 700;
}
.value-item h3 { margin-bottom: 8px; font-size: 1.1rem; }
.value-item p { color: var(--color-text-muted); font-size: 0.92rem; }

/* ---------- Leistungen detail sections ---------- */

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--color-surface-border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail.reverse { grid-template-columns: 1.1fr 0.9fr; }
.service-detail.reverse .service-visual { order: 2; }

@media (max-width: 900px) {
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail.reverse .service-visual { order: -1; }
}

.service-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--color-surface) 0%, #f1e6f6 100%);
  border: 1px solid var(--color-surface-border);
  display: flex; align-items: center; justify-content: center;
}

.service-list { margin-top: 24px; }
.service-list li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; color: var(--color-text-muted); font-size: 0.95rem;
}
.service-list li::before {
  content: '✓';
  color: var(--color-accent-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Case studies (Referenzen) ---------- */

.case-card { overflow: hidden; padding: 0; }
.case-card .case-media {
  aspect-ratio: 16/10;
  background: linear-gradient(155deg, var(--color-surface) 0%, #f1e6f6 100%);
  border-bottom: 1px solid var(--color-surface-border);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.case-card .case-media img { max-width: 60%; max-height: 60%; object-fit: contain; }
.case-card .case-media.case-media-video { padding: 0; }
.case-card .case-media.case-media-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card .case-body { padding: 28px; }
.case-card .case-tag {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-accent-light); font-weight: 700; margin-bottom: 10px; display: block;
}
.case-card .case-stat {
  display: inline-block; margin-top: 16px; padding: 6px 14px;
  border: 1px solid var(--color-surface-border); border-radius: 999px;
  font-size: 0.82rem; color: var(--color-text-muted);
}

/* ---------- Case study detail pages ---------- */

.case-tags {
  color: var(--color-accent-light);
  font-size: 0.544rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 16px;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: none;
}
.case-tags .case-tag-item { white-space: nowrap; }
@media (max-width: 600px) {
  .case-tags {
    white-space: normal;
    flex-shrink: 1;
    width: 100%;
    max-width: 100%;
  }
  .case-tags .case-tag-sep { display: none; }
}

/* Reihe aus Leistungsblock (.case-tags, unverändert) + dezentem Instagram-
   Profillink. Flex-Wrap sorgt dafür, dass der Link auf schmalen Ansichten
   sauber unter den Leistungsblock rutscht, ohne Überlagerung. */
.case-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 20px;
  row-gap: 8px;
  margin-top: 16px;
}
.case-tags-row .case-tags { margin-top: 0; max-width: none; font-size: 0.544rem; }

/* Harley-Davidson Tuttlingen & Impuls Fitnessclubs: Hero-Bereich (Headline
   mit Kundennamen) in der fliederfarbenen Flächenfarbe hinterlegt, damit die
   Seite zwischen Hero, weißem Mittelteil und Testimonial-Bereich (ebenfalls
   Flieder) abwechselt (nur auf diesen beiden Case-Seiten, auf Wunsch). */
.case-harley .page-hero,
.case-impuls .page-hero {
  background: var(--color-bg-alt);
}

/* Harley-Davidson Tuttlingen & Impuls Fitnessclubs: Case-Titel sowie
   Leistungsblock/Instagram-Link zentriert (nur auf diesen Case-Seiten, auf
   Wunsch). Alles andere auf den Seiten bleibt unverändert. */
.case-harley .page-hero h1.case-hero-mask,
.case-impuls .page-hero h1.case-hero-mask { text-align: center; }
.case-harley .page-hero .case-tags-row,
.case-impuls .page-hero .case-tags-row { justify-content: center; }
.case-harley .page-hero .case-tags,
.case-impuls .page-hero .case-tags { text-align: center; }
.case-harley .page-hero .case-hook,
.case-harley .page-hero .case-hero-sub,
.case-impuls .page-hero .case-hook,
.case-impuls .page-hero .case-hero-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Dezente goldene Trennlinie: grenzt Leistungsblock/Instagram-Link optisch
   vom Claim darunter ab (Harley-Davidson- & Impuls-Case-Seite, rein
   dekorativ). */
.case-harley .case-hero-divider,
.case-impuls .case-hero-divider {
  width: 56px;
  height: 1px;
  margin: 28px auto;
  background: var(--color-gold);
  opacity: 0.45;
}

.case-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 5px 12px;
  margin: -5px -12px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.case-instagram-icon { width: 15px; height: 15px; flex-shrink: 0; }
.case-instagram-link:is(:hover, .is-scroll-highlight),
.case-instagram-link:focus-visible {
  color: var(--color-accent-light);
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
}
.case-instagram-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.case-hook {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  max-width: 640px;
  margin-bottom: 8px;
}

/* Case-Detailseiten: Der Claim sitzt direkt im .page-hero-Container
   (gleiche Breite/Achse wie die Headline) statt in einer eigenen,
   zentrierten Section – hier gegen ".page-hero p" absichern, damit Schrift-
   größe und Farbe des Claims erhalten bleiben. */
body.case-detail .page-hero .case-hook {
  font-size: 1.3rem;
  color: var(--color-text);
  max-width: 640px;
  margin-top: 18px;
}

/* Kurze, sachliche Einordnungszeile direkt unter dem Claim: was es ist
   (Harley-Davidson Community) und was ConnexMedia dafür tut. */
body.case-detail .page-hero .case-hero-sub {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-top: 10px;
}

.case-story { margin-top: 48px; }
.case-story .eyebrow { display: block; margin-bottom: 10px; }
.case-story h2 { font-size: 1.5rem; margin-bottom: 14px; }
.case-story p { color: var(--color-text-muted); font-size: 1.02rem; }

.case-gallery-caption { font-size: 0.88rem; color: var(--color-text-faint); margin-top: 12px; }

/* Alternierende Text/Bild-Reihen innerhalb einer Case Study
   (Text links/Visual rechts, nächste Reihe gespiegelt, usw.) */
.case-story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-top: 96px;
}
.case-story-row:first-child { margin-top: 0; }
.case-story-row .eyebrow { display: block; margin-bottom: 10px; }
.case-story-row h2 { font-size: 1.6rem; margin-bottom: 16px; }
.case-story-row p { color: var(--color-text-muted); font-size: 1.02rem; }
.case-story-row.reverse .case-story-text { order: 2; }
.case-story-row.reverse .case-story-visual { order: 1; }

.case-story-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--color-surface) 0%, #f1e6f6 100%);
  border: 1px solid var(--color-surface-border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.case-story-visual .placeholder-tag {
  color: var(--color-text-faint);
  font-size: 0.85rem;
  border: 1px dashed var(--color-surface-border);
  padding: 8px 16px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .case-story-row { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .case-story-row .case-story-visual { order: -1; }
  /* Smartphone-Karussell: auf Mobil soll der Text zuerst stehen, das
     Gerät erst darunter folgen (Ausnahme von der sonst üblichen
     Bild-zuerst-Reihenfolge). */
  .case-story-row .reveal-device-phone { order: 1; }
}

/* ---------- Case-Study-Detailseiten – gemeinsames editoriales Layout ----------
   Diese Regeln gelten für ALLE Case-Detailseiten (Harley-Davidson, Impuls, künftige
   Cases), sobald body die Klasse "case-detail" trägt. So übernehmen neue Case-Seiten
   automatisch Containerbreiten, Abstände, Geräte-Bühnen und Text-Reveal, ohne dass
   jede Seite eigene Overrides braucht. Rein Harley-spezifische Ausnahmen (z. B.
   .case-laptop-tilt) bleiben bewusst auf body.case-harley beschränkt. */

body.case-detail main .container { max-width: 1240px; }

body.case-detail main section:not(.page-hero) { padding: 64px 0; }
@media (max-width: 700px) {
  body.case-detail main section:not(.page-hero) { padding: 40px 0; }
}

body.case-detail .case-story-row { gap: 48px; align-items: flex-start; }

/* Auf Mobil soll bei JEDER Reihe dieser Seite der Text zuerst erscheinen,
   das Gerät folgt darunter – unabhängig davon, ob .reverse gesetzt ist.
   order:5 liegt garantiert über jedem Text-order-Wert (0 oder 2). */
@media (max-width: 900px) {
  body.case-detail .case-story-row .case-story-visual { order: 5; }
  /* Reel-Smartphone und Tablet: etwas engerer Abstand zum Text auf Mobil
     (~30px) statt der allgemeinen 48px dieser Seite. */
  body.case-detail .case-story-row:has(.reveal-device-phone),
  body.case-detail .case-story-row:has(.reveal-device-ipad) {
    gap: 30px;
  }
}

/* Geräte-Mockups für Case-Study Visuals (Laptop/Handy/iPad) –
   ersetzen die neutrale Placeholder-Box, wenn echtes Social-Media-
   Material gezeigt wird. */
.case-story-visual.case-story-visual-device {
  aspect-ratio: auto;
  background: linear-gradient(155deg, var(--color-surface) 0%, #f1e6f6 100%);
  padding: 32px 24px;
}

.device-laptop { width: 100%; max-width: 440px; }

/* Harley Case Study "Über Motorrad Matthies": echtes Foto statt Laptop-
   Mockup – rundes, randloses Bild ohne Geräte-Rahmen und ohne Flieder-Box. */
.case-story-visual.case-photo-visual {
  aspect-ratio: auto;
  background: none;
  border: none;
  overflow: visible;
}
.case-photo-frame {
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius);
  overflow: hidden;
}
.case-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 15%;
}

/* Impuls Case Study "Ausgangslage": Bildausschnitt höher gesetzt, damit die
   beiden Personen (inkl. Übergabe der Flasche) besser sichtbar sind und
   nicht so viel Hintergrund/Wand oben im Bild dominiert. Nur diese Seite,
   Harley-Davidson-Bild bleibt unverändert. */
.case-impuls .case-photo-frame img {
  object-position: center 45%;
}

/* Harley Case Study: Laptop in "Über Motorrad Matthies" etwas größer und
   dezent in Richtung Text gekippt (Blickrichtung zum Fließtext), statt
   frontal/parallel zu stehen – rein optische Auflockerung, keine Animation. */
body.case-harley .case-laptop-tilt {
  max-width: 500px;
  transform: rotate(-4deg);
  transform-origin: center;
}
body.case-harley .device-laptop-screen img { object-position: center 15%; }
@media (max-width: 900px) {
  body.case-harley .case-laptop-tilt {
    max-width: 440px;
    transform: none;
  }
}
.device-laptop-screen {
  background: #15131a;
  border-radius: 14px 14px 3px 3px;
  padding: 10px 10px 14px;
  box-shadow: 0 24px 48px rgba(32, 16, 40, 0.28);
}
.device-laptop-cam { width: 6px; height: 6px; border-radius: 50%; background: #3a3542; margin: 0 auto 8px; }
.device-laptop-screen img {
  display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover;
  object-position: center 30%; border-radius: 3px;
}
.device-laptop-base {
  height: 13px;
  background: linear-gradient(180deg, #dcd7e0, #b9b2c0);
  border-radius: 0 0 8px 8px;
  position: relative;
}
.device-laptop-base::after {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 64px; height: 5px; background: #9d96a6; border-radius: 0 0 6px 6px;
}

.device-phone-row {
  display: flex; gap: 16px; justify-content: center; align-items: flex-end; flex-wrap: wrap;
}
.device-phone {
  position: relative;
  isolation: isolate;
  width: 118px;
  opacity: 0.8;
  transform: scale(1) translateY(0);
  transform-origin: center bottom;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.device-phone.is-active {
  opacity: 1;
  transform: translateY(-10px) scale(1.339);
  z-index: 2;
}
.device-phone-frame {
  position: relative;
  background: linear-gradient(160deg, #4a4752 0%, #18161d 45%, #050506 100%);
  border-radius: 28px;
  padding: 5px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4),
    0 10px 16px rgba(32, 16, 40, 0.14);
  transition: box-shadow 0.5s ease;
}
.device-phone.is-active .device-phone-frame {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4),
    0 16px 24px rgba(32, 16, 40, 0.2);
}

/* Dezenter Bodenschatten (Variante 02): zwei kombinierte Ellipsen – ein
   enger, dunklerer Kontaktschatten (~75% Gerätebreite) und ein breiterer,
   weich auslaufender Schatten (~120% Gerätebreite) – als eine einzelne,
   nicht-interaktive Pseudo-Ebene direkt unter der tatsächlichen
   Geräteunterkante. Liegt dank isolation:isolate auf .device-phone/
   .device-ipad zuverlässig hinter Rahmen, Screen und Bedienelementen,
   fängt keine Klicks ab und wird nie mitgedreht (Rotation wird bei
   Bedarf per --phone-rot gegengerechnet, siehe weiter unten). */
.device-phone::after,
.device-ipad::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 120%;
  height: 16px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 31% 48% at 50% 38%, rgba(28, 20, 32, 0.3) 0%, rgba(28, 20, 32, 0.14) 60%, rgba(28, 20, 32, 0) 85%),
    radial-gradient(ellipse 58% 55% at 50% 55%, rgba(28, 20, 32, 0.13) 0%, rgba(28, 20, 32, 0.05) 60%, rgba(28, 20, 32, 0) 85%);
  z-index: -1;
  pointer-events: none;
}
/* Mobile Anpassung der Bodenschatten-Höhe/-Position: bewusst NACH der
   allgemeinen Regel oben platziert, damit sie bei gleicher Spezifität
   zuverlässig greift (sonst gewinnt die spätere allgemeine Regel). */
@media (max-width: 900px) {
  .device-phone::after,
  .device-ipad::after { height: 12px; bottom: -6px; }
}
@media (max-width: 600px) {
  .device-phone::after,
  .device-ipad::after { height: 9px; bottom: -5px; }
}
/* Seitentasten: Power rechts, Lautstärke links */
.device-phone-frame::before {
  content: ""; position: absolute; right: -2px; top: 32%;
  width: 3px; height: 15%; background: #0d0c0f; border-radius: 0 2px 2px 0;
}
.device-phone-frame::after {
  content: ""; position: absolute; left: -2px; top: 20%;
  width: 3px; height: 9%; background: #0d0c0f; border-radius: 2px 0 0 2px;
  box-shadow: 0 24px 0 0 #0d0c0f;
}
.device-phone-screen {
  position: relative;
  border-radius: 23px;
  overflow: hidden;
  background: #000;
}
.device-phone-frame video {
  display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover;
}
.device-phone-notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 40%; height: 15px; background: #050506; border-radius: 10px; z-index: 3;
}

.device-ipad { position: relative; isolation: isolate; width: 100%; max-width: 340px; }
.device-ipad-frame {
  background: #15131a; border-radius: 24px; padding: 16px 9px;
  box-shadow: 0 14px 24px rgba(32, 16, 40, 0.18);
}
.device-ipad-cam { width: 6px; height: 6px; border-radius: 50%; background: #3a3542; margin: 0 auto 10px; }
.device-ipad-screen {
  position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3/4; background: #000;
  touch-action: pan-y;
}
.device-ipad-slides {
  display: flex; height: 100%; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.device-ipad-slides img { width: 100%; height: 100%; object-fit: cover; flex: 0 0 100%; }
.device-ipad-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.device-ipad-dots button {
  width: 6px; height: 6px; border-radius: 50%; border: none; background: #d8d0dd; padding: 0; cursor: pointer;
}
.device-ipad-dots button.active { background: var(--color-accent); }
.device-ipad-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.88); border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: #15131a; font-size: 14px; line-height: 1;
}
.device-ipad-nav:is(:hover, .is-scroll-highlight) { background: #fff; }
.device-ipad-prev { left: 6px; }
.device-ipad-next { right: 6px; }

@media (max-width: 480px) {
  .device-phone-row { gap: 8px; flex-wrap: nowrap; }
  .device-phone { width: 86px; }
  .device-phone.is-active { transform: translateY(-6px) scale(1.372); }
}

/* Freigestellte Geräte-Bühne (Harley-Davidson Case Study): entfernt den
   fliederfarbenen Karten-Hintergrund von .case-story-visual-device, damit
   Laptop/iPad/Smartphone direkt auf dem weißen Seitenhintergrund stehen. */
.case-story-visual.case-device-stage {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

/* Case-Detailseiten: Geräte sollen sich dem Text annähern statt am
   äußeren Rand zu schweben – Laptop/iPad stehen rechts in der Spalte an
   der Grenze zum Text, das Smartphone (linke Spalte bei .reverse) steht
   an der Grenze auf der rechten Seite seiner Spalte. */
body.case-detail .case-device-stage.reveal-device-laptop,
body.case-detail .case-device-stage.reveal-device-ipad {
  justify-content: flex-start;
}
body.case-detail .case-device-stage.reveal-device-phone {
  justify-content: flex-end;
}
@media (max-width: 900px) {
  body.case-detail .case-device-stage.reveal-device-laptop,
  body.case-detail .case-device-stage.reveal-device-ipad,
  body.case-detail .case-device-stage.reveal-device-phone {
    justify-content: center;
  }
}

/* Case-Detailseiten: Reel-Smartphone und Tablet sollen nah am zugehörigen
   Text stehen statt in einer gleich breiten, meist leeren 1fr-Bildspalte zu
   schweben. Beide Spalten schrumpfen auf den tatsächlichen Geräteinhalt, der
   Text bekommt eine lesbare Maximalbreite – das Paar wird als Einheit im
   Container zentriert. */
@media (min-width: 901px) {
  body.case-detail .case-story-row:has(.reveal-device-phone),
  body.case-detail .case-story-row:has(.reveal-device-ipad) {
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    gap: 64px;
  }
  body.case-detail .case-story-row:has(.reveal-device-phone) .case-story-text,
  body.case-detail .case-story-row:has(.reveal-device-ipad) .case-story-text {
    max-width: 520px;
  }
}

/* Gesplitteter Text-Reveal (Case-Detailseiten): Eyebrow, Überschrift,
   Fließtext und Kennzahlen blenden einzeln, leicht versetzt ein – reine
   CSS-Staffelung über transition-delay auf den Kindern, keine JS-Logik. */
body.case-detail .case-split-text .eyebrow,
body.case-detail .case-split-text h2,
body.case-detail .case-split-text > p,
body.case-detail .case-split-text .stat-compare-grid,
body.case-detail .case-split-text .stat-compare-note {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
body.case-detail .case-split-text .eyebrow { transition-delay: 0s; }
body.case-detail .case-split-text h2 { transition-delay: 0.1s; }
body.case-detail .case-split-text > p { transition-delay: 0.2s; }
body.case-detail .case-split-text .stat-compare-grid { transition-delay: 0.3s; }
body.case-detail .case-split-text .stat-compare-note { transition-delay: 0.4s; }

body.case-detail .case-split-text.is-visible .eyebrow,
body.case-detail .case-split-text.is-visible h2,
body.case-detail .case-split-text.is-visible > p,
body.case-detail .case-split-text.is-visible .stat-compare-grid,
body.case-detail .case-split-text.is-visible .stat-compare-note {
  opacity: 1;
  transform: translateY(0);
}

/* Gegenbewegung für den Text neben dem Smartphone ("Unser Ansatz"):
   kommt leicht von rechts, während das Smartphone von links kommt. */
body.case-detail .case-split-text-right .eyebrow,
body.case-detail .case-split-text-right h2,
body.case-detail .case-split-text-right > p {
  transform: translateX(16px);
}
body.case-detail .case-split-text-right.is-visible .eyebrow,
body.case-detail .case-split-text-right.is-visible h2,
body.case-detail .case-split-text-right.is-visible > p {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  body.case-detail .case-split-text .eyebrow,
  body.case-detail .case-split-text h2,
  body.case-detail .case-split-text > p,
  body.case-detail .case-split-text .stat-compare-grid,
  body.case-detail .case-split-text .stat-compare-note {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Harley Case Study "Unser Ansatz": einzelnes Smartphone in derselben
   Geräte-Optik wie die Home-Testimonials (.device-phone/-frame/-screen/
   -notch), statt eines eigenen Phone-Mockups. Die Karussell-Logik
   (.case-phone-video/-play/-dots, [data-phone-carousel]) bleibt unverändert
   und sitzt nur im neuen gemeinsamen Rahmen. */
.case-phone-single {
  width: min(300px, 82vw);
  opacity: 1;
  transform: none;
}
.case-phone-single .device-phone-screen {
  aspect-ratio: 9 / 16;
  background: #000;
  touch-action: pan-y;
}
.case-phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.6s ease;
}
.case-phone-video.is-active { opacity: 1; z-index: 1; }
.case-phone-pill {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 14px;
  background: #050506;
  border-radius: 999px;
  z-index: 3;
}

/* Play/Pause-Fallback (Mobil / blockiertes Autoplay): Poster-Bild bleibt
   sichtbar, bis der Nutzer aktiv auf Play tippt. */
.case-phone-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.2s ease;
}
.case-phone-play:is(:hover, .is-scroll-highlight) { filter: brightness(1.1); }
.case-phone-play.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.9); }

/* Reel-Navigation UNTERHALB des Smartphones (Harley Case Study): ersetzt
   die frühere Punkt-Navigation im Display. Echte Pfeil-Buttons (>=44x44px,
   kein Overlap, kein Negative-Margin-Trick) plus Zähler "Reel X von 3". */
.case-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.case-phone-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.case-phone-nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(137, 45, 174, 0.3);
  background: #fff;
  color: var(--color-accent);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.case-phone-nav-arrow:is(:hover, .is-scroll-highlight) {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.case-phone-nav-arrow:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.case-phone-nav-count {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  min-width: 84px;
  text-align: center;
}
.case-phone-nav-count strong { color: var(--color-accent); }

/* Instagram-Reel-ähnliche Oberfläche für die Harley- UND IMPULS-Case-Handys
   neben "Unser Ansatz" (Zusatzklasse .case-phone-instagram), freigegeben per
   Umsetzungspakete vom 2026-10-22. Alle anderen Handys auf der Website nutzen
   weiterhin die Basisklassen (.device-phone/.case-phone-single/
   [data-phone-carousel]) OHNE diese Zusatzklasse und bleiben dadurch
   unverändert. Eigenes Video-Element (.ig-video) statt .case-phone-video/
   [data-phone-carousel], daher eigene, dedizierte JS-Logik (siehe main.js)
   statt der geteilten Karussell-Logik. Avatar-/Mini-Cover-Bild ist je Kunde
   unterschiedlich: Basis-Regel unten = Harley-Davidson-Profilbild, die
   IMPULS-Variante überschreibt es gezielt via Zusatzklasse
   .case-phone-instagram-impuls (siehe dort). */
.case-phone-instagram { --ig-pink: #ff345e; }

.case-phone-instagram .device-phone-screen { background: #16181b; }

.case-phone-instagram .ig-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  background: #16181b;
}

.case-phone-instagram .ig-status {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 13%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5%;
  color: #fff;
  font-size: clamp(10px, 3.6vw, 11px);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

/* Echte Geräte-Uhrzeit (siehe main.js initIgReelClocks): tabellarische Ziffern,
   damit der Minutenwechsel die Statuszeile nicht seitlich verschiebt. */
.case-phone-instagram .ig-time {
  font-variant-numeric: tabular-nums;
}
.case-phone-instagram .ig-system-icons { display: flex; align-items: center; gap: 3px; }
.case-phone-instagram .ig-system-icons svg { width: 12px; height: 12px; stroke-width: 2; }

.case-phone-instagram .ig-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, transparent 22%, transparent 48%, rgba(0, 0, 0, 0.2) 66%, rgba(0, 0, 0, 0.85) 100%);
}

.case-phone-instagram .ig-center-heart {
  position: absolute;
  top: 43%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 25%;
  max-width: 78px;
  color: #fff;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}
.case-phone-instagram .ig-center-heart svg { width: 100%; height: 100%; fill: currentColor; }
.case-phone-instagram .ig-center-heart.show { animation: cm-ig-center-heart 0.8s ease-out; }

.case-phone-instagram .ig-side-actions {
  position: absolute;
  right: 3%;
  bottom: 15%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.case-phone-instagram .ig-action-group { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.case-phone-instagram .ig-side-actions svg {
  width: 23px; height: 23px;
  stroke-width: 1.8;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  color: #fff;
}
.case-phone-instagram .ig-count {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.case-phone-instagram .ig-heart-btn {
  background: none;
  border: 0;
  padding: 2px;
  width: 34px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
}
.case-phone-instagram .ig-heart-btn.is-liked { color: var(--ig-pink); }
.case-phone-instagram .ig-heart-btn.is-liked svg { fill: var(--ig-pink); }
.case-phone-instagram .ig-count.count-pop { animation: cm-ig-count-pop 0.4s ease-out; }
.case-phone-instagram .ig-heart-btn.heart-bounce { animation: cm-ig-heart-bounce 0.42s ease-out; }
.case-phone-instagram .ig-action-group.reaction-pulse svg { animation: cm-ig-action-pulse 0.75s ease-out; }
.case-phone-instagram .ig-action-group[data-reaction="repost"].reaction-pulse svg { color: #73e4b5; }
.case-phone-instagram .ig-action-group[data-reaction="save"].reaction-pulse svg { fill: #fff; }

.case-phone-instagram .ig-mini-cover,
.case-phone-instagram .ig-avatar {
  background-color: #101010;
  background-image: url("../assets/case-harley/harley-instagram-profilbild.png");
  background-size: 196% auto;
  background-position: center;
  background-repeat: no-repeat;
}
.case-phone-instagram .ig-mini-cover {
  width: 25px; height: 25px;
  border: 2px solid #fff;
  border-radius: 6px;
}
.case-phone-instagram .ig-avatar {
  width: 27px; height: 27px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  flex-shrink: 0;
}

/* IMPULS-Variante: eigenes Profilbild/eigener Bildausschnitt, freigegeben per
   Umsetzungspaket vom 2026-10-22. Überschreibt gezielt nur das Hintergrundbild
   der Basis-Regel oben (gleiche Spezifität, spätere Reihenfolge gewinnt). */
.case-phone-instagram-impuls .ig-mini-cover,
.case-phone-instagram-impuls .ig-avatar {
  background-image: url("../assets/case-impuls/impuls-instagram-profilbild.png");
  background-size: 214% auto;
  background-position: center 36%;
}

.case-phone-instagram .ig-caption {
  position: absolute;
  left: 4%; right: 17%;
  bottom: 13.5%;
  z-index: 3;
  color: #fff;
}
.case-phone-instagram .ig-account-row { display: flex; align-items: center; gap: 6px; }
.case-phone-instagram .ig-account {
  min-width: 0;
  flex: 1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-phone-instagram .ig-follow {
  flex-shrink: 0;
  padding: 3px 5px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  font-size: 10px;
}
.case-phone-instagram .ig-caption p { font-size: 11px; line-height: 1.4; margin: 7px 0 0; }

.case-phone-instagram .ig-playback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 11px;
  pointer-events: none;
}
.case-phone-instagram .ig-playback button {
  width: 44px; height: 44px;
  padding: 12px;
  color: #fff;
  background: rgba(41, 37, 32, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  pointer-events: auto;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.15s;
}
.case-phone-instagram .ig-sound-btn { width: 30px; height: 30px; padding: 8px; transform: translateY(-11px); }
.case-phone-instagram .ig-playback svg { width: 18px; height: 18px; }
.case-phone-instagram .ig-sound-btn svg { width: 12px; height: 12px; }
.case-phone-instagram .ig-playback.is-paused button,
.case-phone-instagram .device-phone-screen:is(:hover, .is-scroll-highlight) .ig-playback button,
.case-phone-instagram .ig-playback:focus-within button { opacity: 1; }

.case-phone-instagram .ig-progress {
  position: absolute;
  bottom: 11.5%; left: 4%; right: 4%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  z-index: 3;
}
.case-phone-instagram .ig-progress span { display: block; width: 0; height: 100%; background: #fff; }

.case-phone-instagram .ig-bottom-nav {
  position: absolute;
  bottom: 2.7%; left: 5%; right: 5%;
  height: 15.2%;
  max-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 3px 7px;
  color: #fff;
  background: rgba(34, 34, 34, 0.79);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  z-index: 3;
}
.case-phone-instagram .ig-bottom-nav svg { width: 20px; height: 20px; stroke-width: 1.8; }
.case-phone-instagram .ig-nav-active {
  width: 43px; height: 34px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
}
.case-phone-instagram .ig-nav-active svg { width: 19px; height: 19px; fill: #fff; color: #292929; }
.case-phone-instagram .ig-nav-profile { width: 21px; height: 21px; border-radius: 50%; }

.case-phone-instagram .ig-home-area {
  position: absolute;
  bottom: 0.6%; left: 0; right: 0;
  height: 5px;
  display: grid;
  place-items: start center;
  pointer-events: none;
  z-index: 3;
}
.case-phone-instagram .ig-home-area span { width: 30%; max-width: 90px; height: 3px; background: #fff; border-radius: 10px; }

.case-phone-instagram .ig-escaped-reactions {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 10;
  perspective: 500px;
}
.case-phone-instagram .ig-float-heart {
  position: absolute;
  width: 22px;
  height: 22px;
  color: var(--ig-pink);
  filter: drop-shadow(3px 7px 5px rgba(64, 18, 37, 0.2));
  animation: cm-ig-float-heart 2.5s cubic-bezier(0.2, 0.6, 0.45, 1) forwards;
  will-change: transform, opacity;
}
.case-phone-instagram .ig-float-heart svg { width: 100%; height: 100%; fill: currentColor; }

@keyframes cm-ig-float-heart {
  0% { transform: translate3d(0, 0, 0) scale(0.5) rotate(-8deg); opacity: 0; }
  15% { opacity: 1; }
  55% { opacity: 0.95; }
  100% { transform: translate3d(var(--drift), var(--rise), 50px) rotate(var(--turn)) scale(1.3); opacity: 0; }
}
@keyframes cm-ig-action-pulse { 35% { transform: translateY(-3px) scale(1.25); } 70% { transform: translateY(0) scale(0.95); } }
@keyframes cm-ig-heart-bounce { 45% { transform: scale(1.3); } }
@keyframes cm-ig-count-pop { 45% { transform: translateY(-2px); color: #ff7993; } }
@keyframes cm-ig-center-heart {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2) rotate(-12deg); }
  25% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.1) rotate(0); }
  65% { opacity: 0.95; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

.case-phone-wrap .ig-demo-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}
.case-phone-wrap .ig-demo-label { font-size: 11px; font-weight: 400; color: #76717f; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .case-phone-instagram .ig-float-heart,
  .case-phone-instagram .ig-center-heart.show,
  .case-phone-instagram .ig-count.count-pop,
  .case-phone-instagram .ig-heart-btn.heart-bounce,
  .case-phone-instagram .ig-action-group.reaction-pulse svg {
    animation: none;
  }
}

@media (max-width: 400px) {
  .case-phone-instagram .ig-side-actions { right: 2%; gap: 7px; }
  .case-phone-instagram .ig-side-actions svg { width: 20px; height: 20px; }
  .case-phone-instagram .ig-caption { right: 15%; }
  .case-phone-instagram .ig-bottom-nav { height: 13.5%; }
}

.case-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Bild-Scale-In beim Scrollen (angelehnt an The Marketing Concept):
   leichtes Hineinzoomen von 1.07x -> 1x statt reinem Fade. */
.reveal.reveal-img {
  transform: scale(1.07);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.reveal-img.is-visible { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-img { transform: none; transition: none; }
}

/* Ruhiges, einmaliges Einblenden pro Gerätetyp (Harley-Davidson Case Study):
   jedes Gerät bekommt eine eigene, dezente Bewegung statt des generischen
   Scale-Ins, damit das Gerätesystem hochwertig und zusammenhängend wirkt. */
@media (prefers-reduced-motion: no-preference) {
  .reveal.reveal-device-laptop {
    transform: translate(50px, 12px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.reveal-device-laptop.is-visible { transform: translate(0, 0); }

  .reveal.reveal-device-ipad {
    transform: translate(36px, 28px) rotate(2deg);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.reveal-device-ipad.is-visible { transform: translate(0, 0) rotate(0deg); }

  .reveal.reveal-device-phone {
    transform: translateX(-70px) rotate(-3deg);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.reveal-device-phone.is-visible { transform: translateX(0) rotate(0deg); }

  /* Mobil: horizontale Verschiebungen würden Overflow riskieren – auf
     allen drei Geräten stattdessen ein einfaches, ruhiges Hochfahren. */
  @media (max-width: 900px) {
    .reveal.reveal-device-laptop,
    .reveal.reveal-device-ipad,
    .reveal.reveal-device-phone {
      transform: translateY(24px);
    }
    .reveal.reveal-device-laptop.is-visible,
    .reveal.reveal-device-ipad.is-visible,
    .reveal.reveal-device-phone.is-visible {
      transform: translateY(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-device-laptop,
  .reveal.reveal-device-ipad,
  .reveal.reveal-device-phone {
    transform: none;
    transition: none;
  }
}

/* Zeilen-Reveal für die Hero-Headline auf Case-Study-Seiten: Text schiebt
   sich maskiert aus einem überlaufverdeckten Container nach oben ein. */
.case-hero-mask { display: block; overflow: hidden; }
.case-hero-mask span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-hero-mask.in-view span { transform: translateY(0); }

/* Zitat-Block auf Case-Study-Seiten: zentriertes, editoriales Pull-Quote
   statt Fließtext-Box – eigene Section mit dezentem Hintergrund. */
.case-quote {
  max-width: 640px;
  margin: 0 auto;
  padding: 88px 0;
  text-align: center;
}
.case-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.case-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0;
}
.case-quote cite {
  display: block;
  margin-top: 28px;
  font-size: 0.82rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}
.case-quote cite::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto 18px;
}

/* Ruhiger, reiner Textabschnitt auf Case-Study-Seiten (z. B. "Ausgangslage")
   ohne Cards/Icons – viel Weißraum, zentriert. */
.case-text-section {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.case-text-section .eyebrow { display: block; margin-bottom: 14px; }
.case-text-section h2 { margin-bottom: 20px; }
.case-text-section p { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.7; }

/* Kennzahlen-Vergleich (Vorher/Nachher) auf Case-Study-Seiten: zwei ruhige
   Vergleichspaare statt überladener Stat-Cards. */
.stat-compare-grid {
  display: flex;
  flex-direction: column;
  margin: 24px 0 16px;
  max-width: 400px;
}
.stat-compare-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: 12px;
}
.stat-compare-pair {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.stat-compare-pair + .stat-compare-pair {
  border-top: 1px solid var(--color-surface-border);
}
.stat-compare-row-label {
  font-size: 0.85rem;
  color: var(--color-text-faint);
  flex-shrink: 0;
  min-width: 116px;
}
.stat-compare-values {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.stat-compare-value {
  font-size: 0.95rem;
  font-weight: 400;
  color: #892DAE;
  letter-spacing: -0.01em;
  min-width: 5.5em;
  text-align: right;
}
.stat-compare-values .stat-compare-value:first-child {
  text-align: left;
}
.stat-compare-arrow {
  font-size: 0.85rem;
  color: #1C1420;
  flex-shrink: 0;
}
.stat-compare-note {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  line-height: 1.6;
  margin-top: 4px;
}

@media (max-width: 420px) {
  .stat-compare-grid { max-width: 100%; }
  .stat-compare-pair { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stat-compare-row-label { min-width: 0; }
  .stat-compare-values { gap: 10px; }
  .stat-compare-value { min-width: 0; text-align: left; }
  .stat-compare-arrow { transform: none; margin-left: 2px; }
}

/* Kundenstimme auf beiden Case-Seiten: zentrierte Überschrift
   oberhalb, links ein einzelnes Smartphone mit Video-Testimonial, rechts
   die schriftliche Google-Bewertung. Wiederverwendet die gemeinsame
   .device-phone-Basis sowie das Play/Glow-Verhalten der Home-Testimonials. */
.case-testimonial { max-width: 1040px; margin: 0 auto; }
.case-testimonial > .eyebrow { display: block; margin-bottom: 14px; text-align: center; }
.case-testimonial > h2 { margin-bottom: 40px; font-size: 1.7rem; text-align: center; }

.case-testimonial-grid {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 56px;
  align-items: center;
}

.case-testimonial-stage {
  position: relative;
  display: flex;
  justify-content: center;
  isolation: isolate;
}
/* Dezenter lila Lichtschein hinter dem Gerät, nur während der Wiedergabe
   (siehe .case-testimonial-video-playing, per JS an play/pause/ended
   gekoppelt) – liegt außerhalb des Displays, nie über dem Video. */
.case-testimonial-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(137, 45, 174, 0.20) 0%, rgba(137, 45, 174, 0.08) 42%, transparent 72%);
  filter: blur(54px);
  opacity: 0;
  transition: opacity 0.4s ease-out;
  z-index: -1;
  pointer-events: none;
}
.case-testimonial-video-playing .case-testimonial-stage::before { opacity: 1; }

.case-testimonial-phone {
  width: min(300px, 82vw);
  opacity: 1;
  transform: none;
}

.case-testimonial-text {
  --quote-border: rgba(137, 45, 174, 0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--quote-border);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(40, 18, 51, 0.07);
}
.case-testimonial-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 22px;
  background: inherit;
  border-left: 1px solid var(--quote-border);
  border-bottom: 1px solid var(--quote-border);
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}
.case-testimonial-quote {
  font-family: var(--font-main);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.55;
  color: var(--color-text);
  margin: 0;
}
.case-testimonial-author {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-testimonial-author strong { font-size: 1rem; font-weight: 700; color: var(--color-text); }
.case-testimonial-author span { font-size: 0.88rem; color: var(--color-text-faint); }
.case-testimonial-source {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--color-text-faint);
}

@media (max-width: 900px) {
  .case-testimonial-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-testimonial-video { display: flex; flex-direction: column; align-items: center; justify-content: center; order: 1; }
  .case-testimonial-text { order: 2; width: 100%; max-width: 560px; justify-self: center; }
  .case-testimonial-text::before {
    top: 0;
    left: 50%;
    border-bottom: 0;
    border-top: 1px solid var(--quote-border);
  }
}

.cta-banner .cta-note {
  max-width: none;
  margin: 18px auto 0;
  font-size: 0.82rem;
  color: var(--color-text-faint);
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--color-surface-border);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--color-accent-light);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--color-text-muted); margin-top: 14px; font-size: 0.95rem; }

/* ---------- Sticky Mobile CTA ---------- */

.sticky-cta { display: none; }

@media (max-width: 900px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 95;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-surface-border);
  }
  .sticky-cta .btn { width: 100%; justify-content: center; }
  body.has-sticky-cta { padding-bottom: 76px; }
}

/* ---------- Intro / Splash Overlay ---------- */

body.intro-active { overflow: hidden; }

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.intro-overlay.intro-exit { transform: translateY(-100%); }
.intro-overlay.intro-skip { display: none; }

.intro-content {
  text-align: center;
  padding: 0 24px;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.intro-content.intro-fade-out { opacity: 0; }

/* .intro-brand: CM-Signet links, gestapelte CONNEX/MEDIA-Wortmarke rechts.
   Blendet weich ein und fährt minimal von unten nach oben ein. */
.intro-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.intro-content.intro-visible .intro-brand { opacity: 1; transform: translateY(0); }

.intro-signet { display: block; height: 60px; width: auto; }

/* Zeilen bleiben linksbündig untereinander und werden nicht künstlich auf
   gleiche Breite gestreckt. */
.intro-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.92;
}
.intro-wordmark span {
  font-family: var(--font-main);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #ffffff;
  font-size: 2rem;
}

/* .intro-claim erscheint ca. 200ms nach dem Signet/der Wortmarke (eigenes
   transition-delay), rein über Opacity, ohne zusätzliche Bewegung. */
.intro-claim {
  margin: 36px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: #ffffff;
  text-align: center;
  max-width: 380px;
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
}
.intro-content.intro-visible .intro-claim { opacity: 1; }

@media (max-width: 640px) {
  .intro-signet { height: 46px; }
  .intro-wordmark span { font-size: 1.5rem; }
  .intro-brand { gap: 14px; }
  .intro-claim { margin-top: 28px; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-content, .intro-brand, .intro-claim { transition: opacity 0.4s ease; transform: none; }
  .intro-overlay { transition: opacity 0.4s ease; }
  .intro-overlay.intro-exit { transform: none; opacity: 0; }
}

/* Hero-Text-Reveal, synchronisiert mit dem Intro-Exit (siehe main.js).
   Bewusst getrennt von .reveal/.is-visible (Scroll-Observer-System). */
.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Über-mich-Seite ---------- */

.about-section { padding: 96px 0; }
@media (max-width: 768px) { .about-section { padding: 64px 0; } }

/* Hero: etwas mehr Luft nach dem Intro-Absatz als auf den übrigen
   Unterseiten, da direkt darunter die zweispaltige "Mein Weg"-Reihe folgt. */
.about-hero { padding-bottom: 72px; }

/* Mein Weg: editoriales Zwei-Spalten-Layout, eigene Klassen (statt
   .case-story-row), damit Case-Study-Seiten unberührt bleiben. */
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-row-text { max-width: 500px; }
.about-row-text .eyebrow { display: block; }
.about-row-text h2 { margin-bottom: 20px; font-size: 1.9rem; }
.about-row-text p { color: var(--color-text-muted); font-size: 1.02rem; margin-top: 16px; }
.about-row-text p:first-of-type { margin-top: 0; }

@media (max-width: 900px) {
  .about-row { grid-template-columns: 1fr; gap: 32px; }
  .about-row-text { max-width: none; order: 1; }
  .about-row .about-photo { order: 2; }
}

/* Mein Weg: großformatiges, authentisches Arbeitsfoto, abgerundete Ecken,
   kein Flieder-Kasten dahinter. */
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .placeholder-tag {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-faint);
  font-size: 0.85rem;
  border: 1px dashed var(--color-surface-border);
  border-radius: var(--radius);
  padding: 24px;
}
@media (max-width: 900px) {
  .about-photo { aspect-ratio: 4/3; }
  /* Mobile: Bildausschnitt höher gesetzt, damit der Kopf nicht mehr
     abgeschnitten wird (Quellbild ist hochformatig, auf dem schmaleren
     4:3-Ausschnitt wurde sonst die Stirn/Haaransatz weggeschnitten). */
  .about-photo img { object-position: center 20%; }
}

/* So arbeite ich: zentrierter, ruhiger Editorial-Block ohne Kacheln. */
.about-trust {
  max-width: 640px;
  text-align: center;
}
.about-trust p { color: var(--color-text-muted); font-size: 1.05rem; margin-top: 20px; }
.about-trust p:first-of-type { margin-top: 24px; }

/* Mein Netzwerk: hochwertiges Zwei-Spalten-Layout mit einer sehr feinen
   goldenen Trennlinie statt einer breiten Farbfläche. */
.about-network {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr auto;
  align-items: center;
  gap: 64px;
}
.about-network-head { position: relative; padding-right: 48px; }
.about-network-head .eyebrow { display: block; }
.about-network-head h2 { font-size: 1.7rem; margin-top: 4px; }
.about-network-head::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: 0;
  width: 1px;
  background: var(--color-gold);
  opacity: 0.5;
}
.about-network-body p { color: var(--color-text-muted); font-size: 1.02rem; max-width: 480px; margin-top: 16px; }
.about-network-body p:first-of-type { margin-top: 6px; }

/* Mein Netzwerk: kleines, schmales Zusatzbild, bewusst kein zweites
   großes Hero-Bild. */
.about-network-photo {
  width: 220px;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-network-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 800px) {
  .about-network { grid-template-columns: 1fr; gap: 20px; }
  .about-network-head { padding-right: 0; padding-bottom: 20px; }
  .about-network-head::after { top: auto; bottom: 0; left: 0; right: auto; width: 40px; height: 1px; }
  .about-network-photo { width: 190px; justify-self: center; }
}

/* Lern mich kennen: freigestelltes Porträt mit vier Fun Facts und
   dezenten goldenen Verbindungslinien, ersetzt die bisherige Textkarte. */
.about-funfacts-head { text-align: center; margin-bottom: 56px; }
.about-funfacts-head .eyebrow { display: block; }

.about-funfacts {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  grid-template-areas: "f1 portrait f3" "f2 portrait f4";
  align-items: center;
  column-gap: 48px;
  row-gap: 56px;
  max-width: 1020px;
  margin: 0 auto;
}

.about-funfacts-portrait {
  grid-area: portrait;
  justify-self: center;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/4;
  position: relative;
  z-index: 1;
}
.about-funfacts-portrait img { width: 100%; height: 100%; object-fit: contain; display: block; }
.about-funfacts-portrait .placeholder-tag {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-faint);
  font-size: 0.8rem;
  border: 1px dashed var(--color-surface-border);
  border-radius: var(--radius);
  padding: 20px;
}

.about-funfact {
  position: relative;
  z-index: 1;
  max-width: 190px;
  text-align: center;
}
.about-funfact-1 { grid-area: f1; justify-self: end; }
.about-funfact-2 { grid-area: f2; justify-self: end; }
.about-funfact-3 { grid-area: f3; justify-self: start; }
.about-funfact-4 { grid-area: f4; justify-self: start; }

/* Feine goldene Pfeile, die vom Porträt zu den vier Fun Facts zeigen */
.about-funfact::before {
  content: "";
  position: absolute;
  width: 54px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M4 6 C24 10 40 22 50 34' stroke='%23cda86a' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M40 27 L51 35 L45 23' stroke='%23cda86a' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.8;
  pointer-events: none;
}
.about-funfact-1::before { right: -50px; top: 22%; }
.about-funfact-2::before { right: -50px; bottom: 18%; transform: scaleY(-1); }
.about-funfact-3::before { left: -50px; top: 22%; transform: scaleX(-1); }
.about-funfact-4::before { left: -50px; bottom: 18%; transform: rotate(180deg); }

.about-funfact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
}
.about-funfact-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.about-funfact p { color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.5; margin: 0; }

@media (max-width: 900px) {
  .about-funfacts {
    grid-template-columns: .95fr 1.05fr;
    grid-template-areas: "f1 portrait" "f2 portrait" "f3 f4";
    max-width: 420px;
    row-gap: 40px;
    column-gap: 24px;
  }
  .about-funfacts-portrait { max-width: 220px; align-self: center; }
  .about-funfact-1, .about-funfact-2, .about-funfact-3, .about-funfact-4 {
    justify-self: center;
    max-width: none;
  }
  .about-funfact-icon { width: 28px; height: 28px; margin: 0 auto 8px; }
  .about-funfact p { font-size: .77rem; line-height: 1.6; }
  .about-funfact-1 { transform: translateX(10px); }
  .about-funfact-2, .about-funfact-3 { transform: translateY(-16px); }
  .about-funfact::before { display: block; width: 30px; height: 26px; }
  .about-funfact-1::before { right: -29px; top: 40%; }
  .about-funfact-2::before { right: -29px; bottom: 35%; }
  .about-funfact-3::before {
    left: calc(100% - 22px); top: -29px;
    transform: rotate(-85deg);
  }
  .about-funfact-4::before {
    left: calc(50% - 15px); top: -34px; bottom: auto;
    transform: rotate(-120deg);
  }
}

/* Mobile: keep booking and consent controls within the content column. */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .calendly-error-actions .btn,
  .booking-cal-cta .btn {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
  .sticky-cta .btn { white-space: normal; text-align: center; }
  body.has-sticky-cta { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  #contact-form :is(input, select, textarea) { font-size: max(1rem, 16px); }
}

@media (max-width: 600px) {
  .consent-banner { max-height: min(85dvh, 640px); }
  .consent-banner-actions .btn { min-height: 44px; white-space: normal; }
  main :is(h1, h2, h3) { overflow-wrap: anywhere; }
  main :is(h1, h2, h3) .accent-mark { white-space: normal; }
}

@media (max-width: 600px) {
  .service-detail,
  .service-detail.reverse { grid-template-columns: minmax(0, 1fr); }
  .service-detail .btn,
  .case-detail main .btn { max-width: 100%; white-space: normal; text-align: center; }
  .consent-banner-inner { padding: 20px; gap: 14px; overflow: hidden; }
  .consent-banner-text { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .consent-banner-actions { flex-shrink: 0; gap: 8px; }
}

@media (max-width: 600px) and (max-height: 380px) {
  .consent-banner-inner { overflow-y: auto; }
  .consent-banner-text { overflow: visible; flex-shrink: 0; }
}

/* Mobile Mitte: gleiche Akzente auch ohne Maus. */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .service-col:nth-child(odd).is-scroll-highlight { background-color: rgba(137, 45, 175, 0.07); }
  .service-col:nth-child(even).is-scroll-highlight { background-color: rgba(205, 168, 106, 0.18); }
  .service-col.is-scroll-highlight .icon-number-svg { opacity: 1; }
  .service-col.is-scroll-highlight h3 { color: var(--color-accent); }
  .service-col:nth-child(odd).is-scroll-highlight .icon-number-svg { fill: #cda86a; }
  .service-col:nth-child(odd).is-scroll-highlight h3 { color: #cda86a; }
  .testimonial-link.is-scroll-highlight { background-color: #F6F2F8; }
}
