/* ==========================================================================
   EMELO Management – Stylesheet
   Designsystem: Editorial dunkel · warmes Schwarz mit Taupe-Akzenten
   Schrift: Instrument Serif (Überschriften) + Archivo (Labels, Fließtext)

   1  Schriften          6  Header, Mobile-Menü, Footer, WhatsApp
   2  Variablen          7  Startseite
   3  Basis              8  Unterseiten (Kopf, FAQ, Kampagnen, Kontakt, Recht)
   4  Layout             9  Platzhalter & Hilfsklassen
   5  Komponenten       10  Reduzierte Bewegung
   ========================================================================== */

/* 1 · Schriften (selbst gehostet – Lizenz: /assets/fonts/LICENSE.txt) ----- */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

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

/* 2 · Variablen ----------------------------------------------------------- */

:root {
  /* Farben (Kontrastwerte gegen --bg) */
  --bg: #0d0c0b;            /* warmes Schwarz – Grundfläche */
  --bg-raised: #151311;     /* abgesetzte Abschnitte */
  --surface: #1c1916;       /* Karten auf Schwarz */
  --text: #f3efe9;          /* Offwhite */
  --text-soft: #d6d1ca;     /* großer Fließtext */
  --text-muted: #a9a49d;    /* Sekundärtext (7,9 : 1) */
  --accent: #b5a99c;        /* helles Taupe für Serif-Akzente (8,5 : 1) */
  --taupe: #6a5f56;         /* gemessen an der EMELO-Post-Vorlage */
  --taupe-deep: #574d45;
  --sand: #dcd3c8;
  --line: rgba(243, 239, 233, 0.14);
  --line-strong: rgba(243, 239, 233, 0.6);
  --error: #f2a38f;         /* Fehlermeldungen in Formularen (9,7 : 1) */

  /* Schrift */
  --font-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  --step-2: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --step-3: clamp(1.875rem, 1.45rem + 1.7vw, 3rem);
  --step-4: clamp(2.75rem, 1.7rem + 4.2vw, 5.75rem);
  --step-5: clamp(3.25rem, 7.6vw, 8.25rem);

  /* Abstände & Maße */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --container: 1360px;
  --section-space: clamp(4.5rem, 2.5rem + 8vw, 10rem);
  --header-h: 4.5rem;

  /* Bewegung (nur Hover & Menü) */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3 · Basis --------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.has-menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Überschriften in Instrument Serif */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  overflow-wrap: break-word;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

em,
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

h1 em,
h2 em,
h3 em {
  color: var(--accent);
}

::selection {
  background: var(--taupe);
  color: var(--text);
}

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

/* 4 · Layout -------------------------------------------------------------- */

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--raised {
  background: var(--bg-raised);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.section-head__aside {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  max-width: 34rem;
}

.section-head__aside p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step-1);
}

@media (min-width: 960px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    align-items: end;
    column-gap: 4rem;
  }

  .section-head > .eyebrow {
    grid-column: 1 / -1;
  }

  .section-head > .h2 {
    grid-column: 1;
  }

  .section-head__aside {
    grid-column: 2;
  }
}

/* 5 · Komponenten --------------------------------------------------------- */

/* Überzeile, z. B. "— 01 Leistungen" */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.eyebrow__num {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.h2 {
  font-size: var(--step-4);
}

.h3 {
  font-size: var(--step-3);
}

/* Icons (SVG-Sprite im Seitenkopf) */
.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons */
.btn {
  --btn-bg: var(--text);
  --btn-fg: var(--bg);
  --btn-bd: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn .icon {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .icon {
  transform: translateX(4px);
}

.btn--primary:hover {
  --btn-bg: var(--sand);
  --btn-bd: var(--sand);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
}

.btn--outline:hover {
  --btn-bg: var(--text);
  --btn-fg: var(--bg);
  --btn-bd: var(--text);
}

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.link-arrow .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.35s var(--ease-out);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* Schwarze Logos werden weiß; Höhe pro Logo über --h, damit alle optisch gleich groß wirken */
.brand-logo {
  width: auto;
  height: var(--h, 2rem);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* farbige Logos behalten ihre Originalfarbe */
.brand-logo.is-original {
  filter: none;
}

.x {
  margin-inline: 0.12em;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

/* Medien-Platzhalter für Kampagnen-Videos und -Bilder, bis das Material da ist */
.media-ph {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, #26221f 0%, #171513 60%, #121110 100%);
  color: var(--text);
  transition: border-color 0.4s var(--ease);
}

.media-ph > img,
.media-ph > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Kampagnen-Kacheln im Hochformat wie auf Instagram, Videos und Platzhalter gleich hoch */
.snippets .media-ph,
.media-ph--video {
  aspect-ratio: 9 / 16;
}

.media-ph--video {
  background: var(--surface);
}

/* Sperrt der Browser das automatische Abspielen, startet ein Antippen das Video (initVideos in main.js) */
.media-ph--video > video.is-tap-to-play {
  cursor: pointer;
}

.media-ph--video > video:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: -2px;
}

.media-ph__logos {
  position: absolute;
  top: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  right: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  left: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.media-ph .brand-logo {
  max-width: 45%;
  height: calc(var(--h, 2rem) * 0.75);
}

.case-story .media-ph .brand-logo {
  height: var(--h, 2rem);
}

.media-ph__play {
  display: grid;
  place-items: center;
  width: clamp(3rem, 2.5rem + 1.5vw, 4rem);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.media-ph__play .icon {
  width: 38%;
  height: 38%;
  margin-left: 6%;
  fill: currentColor;
  stroke: none;
}

.media-ph__note {
  position: absolute;
  bottom: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  left: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  color: var(--text-muted);
  font-size: 0.625rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

a:hover .media-ph {
  border-color: var(--line-strong);
}

a:hover .media-ph__play {
  background: var(--text);
  color: var(--bg);
}

/* Galerie mit Kampagnen-Ausschnitten */
.snippets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 0.75rem + 1.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* drei Spalten schon ab Tablet-Breite, damit keine Kachel allein in einer Reihe steht */
@media (min-width: 640px) {
  .snippets--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .snippets--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* zwei Video-Kacheln nebeneinander, nicht breiter als nötig */
@media (min-width: 640px) {
  .snippets--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 40rem;
  }
}

/* Startseite Desktop: Überschrift und Text links, die Videos rechts, damit keine leere Fläche bleibt */
@media (min-width: 960px) {
  .cases-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    column-gap: clamp(3rem, 1rem + 5vw, 7rem);
    align-items: start;
  }

  .cases-split .snippets--2 {
    max-width: none;
  }

  .cases-split .section-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    margin-bottom: 0;
  }

  .cases-split .section-head__aside {
    grid-column: auto;
  }
}

/* Startseite: auf dem Handy seitlich wischen */
@media (max-width: 639.98px) {
  .snippets--scroll {
    grid-auto-columns: min(72%, 18rem);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .snippets--scroll::-webkit-scrollbar {
    display: none;
  }

  .snippets--scroll > li {
    scroll-snap-align: start;
  }
}

.snippet__link {
  position: relative; /* hält versteckte Screenreader-Texte im Karussell */
  display: block;
  text-decoration: none;
}

.snippet__title {
  margin: 1rem 0 0.25rem;
  font-weight: 650;
  line-height: 1.3;
}

.snippet__info {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
}

/* Große Cases: Medium und Story nebeneinander, abwechselnd gespiegelt */
.case-stories {
  display: grid;
  gap: clamp(3.5rem, 2rem + 5vw, 7rem);
}

.case-story {
  display: grid;
  gap: clamp(1.75rem, 1rem + 2vw, 3rem);
  align-items: center;
}

@media (min-width: 960px) {
  .case-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(3rem, 1rem + 5vw, 7rem);
  }

  .case-story--flip .case-story__media {
    order: 2;
    justify-self: end;
  }
}

.case-story__media {
  width: 100%;
  max-width: 34rem;
}

.case-story__title {
  margin: 1.25rem 0 0.75rem;
  font-size: var(--step-3);
}

.case-story__meta {
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
}

.case-story__facts {
  margin: 0 0 2rem;
  border-top: 1px solid var(--line);
}

.case-story__facts div {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 520px) {
  .case-story__facts div {
    grid-template-columns: 8rem minmax(0, 1fr);
  }
}

.case-story__facts dt {
  padding-top: 0.15em;
  color: var(--text-muted);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-story__facts dd {
  margin: 0;
  color: var(--text-soft);
}

/* Liste mit Punkten und Trennlinien */
.ticks {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.ticks li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

/* 6 · Header, Mobile-Menü, Footer, WhatsApp ------------------------------- */

.skip-link {
  position: absolute;
  top: 0;
  left: var(--gutter);
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-120%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0.75rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 12, 11, 0.88);
  color: var(--text);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  height: 3.75rem;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-right: auto;
  line-height: 1;
  text-decoration: none;
}

.logo__word {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  gap: clamp(1.25rem, 0.25rem + 1.6vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  position: relative;
  display: block;
  padding-block: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 0.25rem + 1vw, 1.25rem);
}

.lang-switch {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.lang-switch a {
  padding: 0.375rem;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s var(--ease);
}

.lang-switch a:hover,
.lang-switch a[aria-current="true"] {
  opacity: 1;
}

.lang-switch span {
  opacity: 0.35;
}

.btn--header {
  display: none;
  min-height: 2.5rem;
  padding: 0.625rem 1.125rem;
}

.btn--header:hover {
  --btn-bg: var(--sand);
  --btn-bd: var(--sand);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0 0.5rem 0.5rem;
  border: 0;
  background: none;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-toggle__bars {
  position: relative;
  width: 1.5rem;
  height: 0.625rem;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-toggle__bars::before {
  top: 0;
}

.menu-toggle__bars::after {
  top: calc(100% - 1.5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  top: calc(50% - 0.75px);
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  top: calc(50% - 0.75px);
  transform: rotate(-45deg);
}

@media (min-width: 640px) {
  .btn--header {
    display: inline-flex;
  }
}

/* schmale Handys: nur die Menü-Striche, ganz schmale ohne "Management" */
@media (max-width: 419.98px) {
  .menu-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (min-width: 1100px) {
  .nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--bg);
  color: var(--text);
  animation: menu-in 0.45s var(--ease-out);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 1.5rem + 4vw, 3.25rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-decoration: none;
}

.mobile-menu__list .icon {
  width: 1.5rem;
  height: 1.5rem;
  opacity: 0.5;
}

.mobile-menu__foot {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.mobile-menu__foot p {
  margin: 0;
  color: var(--text-muted);
}

@keyframes menu-in {
  from {
    opacity: 0;
  }
}

/* Footer */
.site-footer {
  overflow: hidden;
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

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

.footer-claim {
  max-width: 16ch;
  margin: 0;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-style: italic;
  line-height: 1.1;
}

.footer-col h2 {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.footer-wordmark {
  margin: 0 0 clamp(1.5rem, 1rem + 2vw, 3rem) -0.04em;
  color: #1f1c19;
  font-size: clamp(5rem, 27vw, 26rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.78;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--step--1);
}

.footer-bottom p {
  margin: 0;
}

/* Schwebender WhatsApp-Button in Markenfarben */
.wa-float {
  position: fixed;
  right: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  bottom: calc(clamp(1rem, 0.5rem + 1.5vw, 1.75rem) + env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(13, 12, 11, 0.72);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.7);
  color: var(--text);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease-out), background-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0s;
}

.wa-float:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-3px);
}

/* im Footer ausgeblendet – dort ist WhatsApp ohnehin verlinkt */
.wa-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease), visibility 0s 0.3s;
}

.wa-float .icon {
  width: 1.375rem;
  height: 1.375rem;
}

.wa-float__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .wa-float {
    width: auto;
    padding: 0 1.25rem 0 1.05rem;
  }

  .wa-float__label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
}

/* 7 · Startseite ---------------------------------------------------------- */

/* Hero: zentriert, nur Text */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 7rem);
}

.hero--center {
  display: grid;
  align-items: center;
  min-height: min(72vh, 48rem);
  min-height: min(72svh, 48rem);
  text-align: center;
}

.hero__title {
  font-size: clamp(3.25rem, 1rem + 8vw, 9rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.hero__lead {
  max-width: 44ch;
  margin: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) auto 0;
  color: var(--text-soft);
  font-size: var(--step-2);
  line-height: 1.45;
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
}

/* Logo-Wand "Brands, die uns vertrauen" – feines Raster, Logos einheitlich weiß */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

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

@media (min-width: 1100px) {
  .logo-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.logo-wall li {
  display: grid;
  place-items: center;
  min-height: clamp(7rem, 5rem + 6vw, 10.5rem);
  padding: 1.5rem;
  background: var(--bg);
}

/* Kacheln übernehmen die Farbe ihres Abschnitts */
.section--raised .logo-wall li {
  background: var(--bg-raised);
}

.logo-wall .brand-logo {
  max-width: 72%;
  height: calc(var(--h, 2rem) * 0.8);
  opacity: 0.8;
  transition: opacity 0.3s var(--ease);
}

@media (min-width: 720px) {
  .logo-wall .brand-logo {
    height: var(--h, 2rem);
  }
}

.logo-wall li:hover .brand-logo,
.logo-wall .brand-logo.is-original {
  opacity: 1;
}

/* kompakte Variante für Unterseiten */
.logo-wall--compact li {
  min-height: clamp(5.5rem, 4rem + 4vw, 8rem);
}

/* 11 Logos + dieses Feld = 12: bei 2, 3 und 4 Spalten sind alle Reihen voll */
.logo-wall__more {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-style: italic;
  text-align: center;
}

/* Haltung: großes Zitat in Serif */
.statement__text {
  max-width: 30ch;
  margin: 1.75rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.75rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}

.statement__text em {
  color: var(--accent);
}

/* Leistungen: Karten für Brands und Creator */
.paths {
  display: grid;
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);
}

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

.path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: clamp(30rem, 24rem + 16vw, 38rem);
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  isolation: isolate;
  transition: border-color 0.4s var(--ease);
}

.path:hover {
  border-color: var(--line-strong);
}

.path__kicker {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-style: italic;
}

.path__title {
  font-size: var(--step-4);
}

.path__text {
  max-width: 34ch;
  margin: 0;
  color: var(--text-soft);
  font-size: var(--step-1);
}

.path .ticks {
  margin-top: auto;
}

.path .ticks,
.path .ticks li {
  border-color: rgba(243, 239, 233, 0.22);
}

.path__link {
  align-self: flex-start;
}

/* ganze Karte klickbar */
.path__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.path:hover .path__link .icon {
  transform: translateX(4px);
}

.path__word {
  position: absolute;
  right: -0.04em;
  bottom: -0.2em;
  z-index: -1;
  font-size: clamp(4.5rem, 1rem + 7vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.06;
  pointer-events: none;
}

/* So arbeiten wir */
.process {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

@media (min-width: 720px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
}

@media (min-width: 1100px) {
  .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0;
  }
}

.process__item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1100px) {
  .process__item {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .process__item:first-child {
    padding-left: 0;
  }

  .process__item:last-child {
    border-right: 0;
  }
}

.process__num {
  margin: 0 0 1.75rem;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
  font-style: italic;
  line-height: 1;
}

.process__title {
  margin-bottom: 0.875rem;
  font-size: var(--step-3);
}

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

/* Drei Gründe: schlichte Karten mit Haarlinie */
.pillars {
  display: grid;
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.pillar {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--bg);
}

.pillar::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
}

.pillar__title {
  font-size: var(--step-3);
}

.pillar p {
  margin: 0;
  color: var(--text-muted);
}

/* Zweigeteilt: große Headline links, Text und Buttons rechts */
.split {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 3rem);
  align-items: end;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
    column-gap: 4rem;
  }
}

.split__title {
  margin-top: 1.25rem;
  font-size: clamp(3rem, 1.4rem + 6.5vw, 8rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.split__side {
  display: grid;
  gap: 1.5rem;
}

.split__side p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--step-1);
}

.split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Abschluss: Kontakt */
.cta-band {
  border-top: 1px solid var(--line);
}

.cta-band__title {
  margin-top: 1.25rem;
  font-size: clamp(3.5rem, 1rem + 10vw, 11rem);
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.cta-band__note a {
  font-weight: 600;
}

/* 8 · Unterseiten --------------------------------------------------------- */

/* Seitenkopf */
.page-hero {
  padding-block: clamp(3rem, 2rem + 4vw, 6.5rem) clamp(3rem, 2rem + 4vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.page-hero__title {
  max-width: 18ch;
  margin-top: 1.5rem;
  font-size: clamp(3rem, 1.8rem + 5.2vw, 7.25rem);
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.page-hero__title em {
  display: block;
}

.page-hero__row {
  display: grid;
  gap: 2rem;
  align-items: end;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

@media (min-width: 1024px) {
  .page-hero__row {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 4rem;
  }
}

.page-hero__lead {
  max-width: 46ch;
  margin: 0;
  color: var(--text-soft);
  font-size: var(--step-2);
  line-height: 1.45;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Leistungs-Raster mit Haarlinien (für 6 Einträge ausgelegt) */
.feature-grid {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
  counter-reset: feature;
}

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

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

.feature {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
  background: var(--bg);
  counter-increment: feature;
}

.section--raised .feature {
  background: var(--bg-raised);
}

.feature::before {
  content: counter(feature, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1;
}

.feature__title {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem);
}

.feature p {
  margin: 0;
  color: var(--text-muted);
}

/* Zwei Spalten: Überschrift links, Liste rechts */
.columns {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 5rem);
}

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

.columns__title {
  margin-top: 1.25rem;
}

.columns .ticks li {
  padding-block: 1.1rem;
  color: var(--text-soft);
  font-size: var(--step-1);
  font-weight: 400;
}

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

/* FAQ mit <details> – ohne JavaScript, ohne Animation */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--font-serif);
  font-size: var(--step-2);
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq__answer {
  max-width: 62ch;
  padding-bottom: 1.75rem;
  color: var(--text-muted);
}

.faq__answer p {
  margin: 0;
}

/* Kontakt: Umschalter Brand / Creator */
.tab {
  min-height: 2.75rem;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tab:hover {
  border-color: var(--text);
}

.tab[aria-selected="true"] {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

/* Kontakt: Formulare und direkte Wege */
.contact {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

@media (min-width: 1024px) {
  .contact {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tabs[hidden] {
  display: none;
}

.form-panel + .form-panel {
  margin-top: 3rem;
}

.form-panel__title {
  margin-bottom: 1.75rem;
  font-size: var(--step-3);
}

.form {
  display: grid;
  gap: 1.5rem;
}

.form__row {
  display: grid;
  gap: 1.5rem;
}

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

.field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field__label {
  padding: 0;
  color: var(--text-soft);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field__label .req {
  color: var(--accent);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  appearance: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  border-color: var(--text);
  box-shadow: 0 0 0 1px var(--text);
  outline: none;
}

.textarea {
  min-height: 9rem;
  resize: vertical;
}

.select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3efe9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.1rem;
}

.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea {
  border-color: var(--error);
}

.field__error {
  margin: 0;
  color: var(--error);
  font-size: var(--step--1);
}

.field__error:empty {
  display: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.consent input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: var(--text);
}

.consent a {
  color: var(--text);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form__hint {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.form__status {
  margin: 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-strong);
}

.form__status[data-state="success"] {
  border-color: var(--accent);
}

.form__status[data-state="error"] {
  border-color: var(--error);
}

.btn:disabled {
  cursor: progress;
  opacity: 0.6;
}

.contact-aside {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.contact-card h2 {
  margin-bottom: 1.25rem;
  font-size: var(--step-3);
}

.contact-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-list a:hover span:last-child {
  text-decoration: underline;
}

.contact-list small {
  display: block;
  color: var(--text-muted);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steps-mini {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps-mini li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  color: var(--text-soft);
}

.steps-mini li::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.25;
}

/* Rechtstexte */
.prose {
  max-width: 70ch;
}

.prose h2 {
  margin: 3rem 0 1rem;
  font-size: var(--step-3);
}

.prose h3 {
  margin: 2rem 0 0.75rem;
  font-size: var(--step-2);
}

.prose p,
.prose li {
  color: var(--text-soft);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose address {
  margin-bottom: 1em;
  color: var(--text-soft);
  font-style: normal;
}

/* 404 */
.not-found {
  display: grid;
  align-content: center;
  min-height: 65vh;
}

.not-found__code {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(5rem, 3rem + 10vw, 12rem);
  font-style: italic;
  line-height: 0.9;
}

/* 9 · Platzhalter & Hilfsklassen ------------------------------------------ */

/* Sichtbar markierter Text-Platzhalter */
.tbd {
  padding: 0 0.3em;
  border-radius: 2px;
  outline: 1px dashed rgba(243, 239, 233, 0.55);
  background: rgba(243, 239, 233, 0.08);
}

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

/* 10 · Reduzierte Bewegung ------------------------------------------------ */

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

  .mobile-menu {
    animation: none;
  }

  .btn .icon,
  .link-arrow .icon,
  .media-ph__play {
    transition: none;
  }
}
