/* =========================================================
   TailorStudio – Custom-Komponenten (Ergänzung zu styles.css)
   Nutzt die bestehenden Design-Tokens (--bg, --gradient, --radius-*, ...).
   ========================================================= */

/* ---------- Theme: hell als Standard, an Live angeglichen ---------- */
:root {
  --font-display: "Poppins", "Inter", sans-serif;
}
html[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --bg-muted: #f3f4f6;
  --text: #111827;
  --text-muted: #5b6473;
  --navy: #002446;
}
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .ts-credits-head h3,
html[data-theme="light"] .ts-audience-card h3,
html[data-theme="light"] .ts-feature h3,
html[data-theme="light"] .ts-plan-name {
  color: var(--navy);
}

/* Hero & Closing liegen über Video -> Text immer weiß + dunkles Overlay */
.botika-hero .hero-copy h1,
.botika-hero .hero-copy .hero-lead,
.botika-hero .hero-copy .eyebrow,
.closing-film-copy h2,
.closing-film-copy .eyebrow,
.closing-film-copy .section-copy {
  color: #ffffff;
}
.closing-film-section .media-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.58) 100%);
}
/* Hero: Overlay links dunkel (Text lesbar), nach rechts transparent
   -> die Video-Farben rechts kommen besser durch. */
.botika-hero .media-overlay {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.66) 0%,
    rgba(0, 0, 0, 0.52) 30%,
    rgba(0, 0, 0, 0.22) 58%,
    rgba(0, 0, 0, 0) 80%
  );
}
/* Auf schmalen Screens steht der Text über dem ganzen Video -> wieder vertikal abdunkeln */
@media (max-width: 768px) {
  .botika-hero .media-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.62) 100%);
  }
}
/* Hero- & Enterprise-Video im Light-Mode waren auf opacity 0.5 -> milchig auf
   Weiß. Volle Deckkraft + etwas mehr Sättigung/Kontrast, damit die Farben (wie
   im Dark-Mode) kräftig durchkommen. Lesbarkeit macht das jeweilige Overlay. */
html[data-theme="light"] .botika-hero .background-video,
html[data-theme="light"] .closing-film-section .background-video {
  opacity: 1;
  filter: saturate(1.08) contrast(1.06);
}
/* Enterprise-Overlay etwas verstärken, damit der weiße Text über dem nun
   kräftigeren Video sicher lesbar bleibt. */
.closing-film-section .media-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-lead-soft {
  opacity: 0.78;
  margin-top: 12px;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

/* ---------- Kundenlogos ---------- */
.ts-logos-section {
  padding: 64px 0 !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ts-logos-headline {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
}
.ts-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
}
.ts-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: 0.01em;
  opacity: 0.62;
  transition: opacity var(--transition);
}
.ts-logo:hover { opacity: 1; }

/* ---------- Kennzahlen ---------- */
.ts-metrics-section {
  padding: 72px 0 !important;
}
.ts-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ts-metric {
  text-align: center;
  padding: 28px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--panel-solid) 40%, transparent);
}
.ts-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ts-metric span {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- ScrollStack (vertikales Stapeln, 16:9) ---------- */
.ts-stack-section { padding-bottom: 40px !important; }
.ts-stack {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}
.ts-card {
  position: sticky;
  /* top wird per JS gesetzt (vertikal zentriert) */
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(20px, 3vw, 40px);
  color: #fff;
  background: #000;
  box-shadow: var(--shadow-strong);
  transform-origin: center top;
  will-change: transform, filter;
}
.ts-card + .ts-card { margin-top: 12vh; }
.ts-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Glas-Chip mit Tag + Titel — lokaler Blur statt Voll-Overlay */
.ts-card-label {
  position: absolute;
  left: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 2;
  max-width: min(74%, 32ch);
  padding: 13px 20px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
          backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}
.ts-card-label h3 {
  font-family: var(--font-display);
  color: #002446;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 4px 0 0;
}
.ts-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Drei Schritte ---------- */
.ts-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.ts-step {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--panel-solid) 46%, transparent);
}
.ts-step-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ts-step h3 { font-family: var(--font-display); margin: 14px 0 10px; font-size: 1.3rem; }
.ts-step p { color: var(--text-muted); margin: 0; }

/* ---------- Benefits ---------- */
.ts-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.ts-benefit {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--panel-solid) 46%, transparent);
}
.ts-benefit-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, var(--placeholder) 0 12px, var(--placeholder-soft) 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.ts-benefit-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   Wimpel rechts: öffnet das Personalisierungs-Modal
   ========================================================= */
.ts-style-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 16px 9px;
  border: 0;
  border-radius: 14px 0 0 14px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: -8px 0 26px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ts-style-tab svg { transform: rotate(0deg); }
.ts-style-tab:hover {
  transform: translateY(-50%) translateX(-3px);
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.26);
}
html[data-edition="bw"] .ts-style-tab { background: var(--text); color: var(--bg-soft); }
/* Aufmerksamkeits-Animation: kurz rausfahren + vibrieren ("Hey, hier bin ich") */
/* Wie eine Zunge rausfahren: die Pille wird breiter (padding-right), die rechte
   Kante bleibt am Bildschirmrand -> die Schrift schiebt sich mit nach links raus
   und man sieht mehr Schwarz. */
@keyframes ts-tab-notice {
  0%   { padding-right: 9px;  box-shadow: -8px 0 26px rgba(0, 0, 0, 0.2); }
  12%  { padding-right: 64px; box-shadow: -30px 0 58px rgba(0, 0, 0, 0.44); }
  24%  { padding-right: 48px; }
  36%  { padding-right: 64px; }
  48%  { padding-right: 50px; }
  60%  { padding-right: 62px; }
  74%  { padding-right: 54px; box-shadow: -26px 0 54px rgba(0, 0, 0, 0.4); }
  100% { padding-right: 9px;  box-shadow: -8px 0 26px rgba(0, 0, 0, 0.2); }
}
.ts-style-tab--notice {
  animation: ts-tab-notice 2.2s cubic-bezier(0.22, 1, 0.36, 1) 2 both;
}
@media (prefers-reduced-motion: reduce) {
  .ts-style-tab--notice { animation: none; }
}
@media (max-width: 640px) {
  /* Wimpel aus der vertikalen Mitte nach unten-rechts, damit man beim
     Scrollen mit dem Daumen nicht drauf kommt (über der Safari-Leiste). */
  .ts-style-tab {
    font-size: 0.74rem;
    padding: 13px 7px;
    top: auto;
    bottom: 104px;
    transform: none;
  }
  .ts-style-tab:hover { transform: translateX(-3px); }
  /* Auf Mobile den "Style wechseln"-Wimpel NICHT animieren – einfach statisch lassen. */
  .ts-style-tab--notice { animation: none; }
}

/* =========================================================
   Personalisierungs-Modal (Bildwelt nach Zielgruppe)
   ========================================================= */
.ts-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vmin;
}
.ts-modal.is-open { display: flex; }
.ts-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.62);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.ts-modal-card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.42);
  padding: clamp(26px, 4vw, 44px);
  animation: ts-modal-in 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ts-modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.ts-modal-x {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}
.ts-modal-x:hover { background: color-mix(in srgb, var(--text) 16%, transparent); }
.ts-modal-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.2;
  margin: 0 0 10px 0;
  /* Platz für den absolut positionierten Schließen-Button (X), damit die
     erste Zeile nicht darunter läuft */
  padding-right: 52px;
  max-width: 26ch;
}
html[data-edition="bw"] .ts-modal-card h2 { color: var(--navy); }
.ts-modal-desc { color: var(--text-muted); margin: 0 0 26px; line-height: 1.55; }
.ts-modal-step { margin-bottom: 22px; }
.ts-modal-label { display: block; font-weight: 600; margin-bottom: 12px; }
.ts-modal-options { display: flex; flex-wrap: wrap; gap: 10px; }
.ts-modal-option {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition),
    color var(--transition), transform var(--transition);
}
.ts-modal-option:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.ts-modal-option.is-active { background: var(--gradient); color: #fff; border-color: transparent; }
html[data-edition="bw"] .ts-modal-option.is-active { background: var(--text); color: var(--bg-soft); }
.ts-modal-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.ts-modal-actions .button[disabled] { opacity: 0.45; pointer-events: none; }
.ts-modal-skip {
  border: 0;
  background: none;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ts-modal-skip:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .ts-modal-card { animation: none; }
}
.ts-benefit-visual span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ts-benefit h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 12px; }
.ts-benefit p { color: var(--text-muted); margin: 0; }

/* ---------- Models Marquee ---------- */
.ts-models-section { overflow: hidden; }
.ts-marquee {
  display: flex;
  gap: 20px;
  width: max-content;
  margin-top: 22px;
  will-change: transform;
}
.ts-marquee:first-of-type { margin-top: 48px; }
.ts-model {
  flex: 0 0 auto;
  width: clamp(180px, 16vw, 240px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--glow-a) 60%, transparent), color-mix(in srgb, var(--glow-b) 60%, transparent)),
    var(--bg-muted);
  border: 0;
}
.ts-model img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Model-Name in grauem Pill (weiße Schrift) */
.ts-model .ts-model-name {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(48, 48, 54, 0.62);
  -webkit-backdrop-filter: blur(7px);
          backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.ts-marquee-anim-left { animation: ts-marquee-left 60s linear infinite; }
.ts-marquee-anim-right { animation: ts-marquee-right 60s linear infinite; }
@keyframes ts-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes ts-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ts-marquee-anim-left, .ts-marquee-anim-right { animation: none; }
}

/* ---------- Audience (Brands / Creator) ---------- */
.ts-audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.ts-audience-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--panel-solid) 50%, transparent);
}
.ts-audience-card h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 14px; }
.ts-audience-card p { color: var(--text-muted); margin: 0; }
.ts-audience-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ts-audience-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}
.ts-audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}

/* ---------- Bereich 6: Feature-Grid (6 Karten) ---------- */
.ts-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.ts-feature {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--panel-solid) 50%, transparent);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.ts-feature:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.ts-feature h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 10px; }
.ts-feature p { color: var(--text-muted); margin: 0; }

/* "Coming Soon"-Störer auf Feature-Karten */
.ts-feature-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(181, 0, 201, 0.35);
}
.ts-feature--soon .ts-feature-icon { opacity: 0.85; }

/* =========================================================
   i18n – Sprachumschaltung (DE Default / EN Option)
   ========================================================= */
html[data-lang="de"] [data-l="en"] { display: none !important; }
html[data-lang="en"] [data-l="de"] { display: none !important; }

/* Language-Switcher: Buttons brauchen einen Reset (Styles kommen aus styles.css) */
.language-switcher .language-link {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-display);
}
.language-switcher .language-link.is-active {
  background: var(--gradient);
  color: #fff;
}

/* ---------- Bereich 8: Pricing ---------- */
.ts-billing-toggle {
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 4px;
  margin: 36px auto 0;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-solid) 55%, transparent);
}
.ts-billing-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  transition: color var(--transition), background var(--transition);
}
.ts-billing-option.is-active {
  color: #fff;
  background: var(--gradient);
}
.ts-billing-save {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.ts-billing-option:not(.is-active) .ts-billing-save {
  background: color-mix(in srgb, var(--gradient) 18%, transparent);
  color: var(--text);
}

.ts-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
  align-items: start;
}
.ts-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}
.ts-plan-popular {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 24px 60px rgba(196, 0, 255, 0.18);
}
.ts-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient);
}
.ts-plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 0; }
.ts-plan-tagline { color: var(--text-muted); margin: 4px 0 18px; font-size: 0.92rem; }
.ts-plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ts-plan-prefix { color: var(--text-muted); font-size: 0.95rem; }
.ts-plan-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.ts-plan-per { color: var(--text-muted); font-size: 0.92rem; }
.ts-plan-credits { color: var(--text-muted); font-size: 0.86rem; margin: 12px 0 0; min-height: 1.2em; }
.ts-plan-cta { width: 100%; margin: 22px 0; }
.ts-plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ts-plan-features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--text);
}
.ts-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/13px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/13px no-repeat;
}
.ts-plan-note { color: var(--text-muted); font-size: 0.82rem; }
.ts-plan-note::before { display: none; }
.ts-plan-note { padding-left: 0; }

.ts-credits-head { margin-top: 96px; }
.ts-credits-head h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 10px; }
.ts-credits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.ts-credit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}
.ts-credit-discount {
  position: absolute;
  top: -12px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient);
}
.ts-credit-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.ts-credit-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 2px; }
.ts-credit-price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-top: 16px; }
.ts-credit-unit { color: var(--text-muted); font-size: 0.84rem; margin-top: 2px; }
.ts-credit-cta { width: 100%; margin-top: 20px; }
.ts-pricing-footnote { text-align: center; color: var(--text-muted); font-size: 0.84rem; margin-top: 32px; }

/* ---------- Enterprise CTA Zusatz ---------- */
.ts-cta-note {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ts-plans { grid-template-columns: repeat(2, 1fr); }
  .ts-credits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ts-metrics { grid-template-columns: repeat(2, 1fr); }
  .ts-steps, .ts-benefits { grid-template-columns: 1fr; }
  .ts-audience { grid-template-columns: 1fr; }
  .ts-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ts-metrics { grid-template-columns: 1fr; }
  .ts-card + .ts-card { margin-top: 8vh; }
  .ts-features { grid-template-columns: 1fr; }
  .ts-plans { grid-template-columns: 1fr; }
  .ts-credits { grid-template-columns: 1fr; }
}

/* =========================================================
   Typografie-Feinschliff – an tailor-studio.ai angeglichen
   Live: H1 60/800/-1.5px · H2 36/700 · H3 18-20/600 · Body Poppins 18/400
   Poppins durchgehend, kleinere Headlines, feinere Schnitte.
   ========================================================= */
:root {
  --font-body: "Poppins", "Inter", sans-serif;
}
body { font-size: 1.0625rem; } /* ~17px Basis, näher an Live (18px) */

.tailorstudio-page .hero-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.75rem); /* max 60px */
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 17ch;
}
.tailorstudio-page .section-heading h2,
.tailorstudio-page .statement-block h2,
.tailorstudio-page .closing-film-copy h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.25rem); /* max 36px */
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
}
.tailorstudio-page .hero-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
}
.tailorstudio-page .section-copy {
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.6;
}
.eyebrow {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

/* Komponenten-Headlines feiner (H3 ~18-20px / 600) */
.ts-card-inner h3 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 600; }
.ts-step h3,
.ts-feature h3,
.ts-benefit h3 { font-size: 1.2rem; font-weight: 600; }
.ts-audience-card h3 { font-size: 1.35rem; font-weight: 700; }
.ts-plan-name { font-size: 1.2rem; font-weight: 700; }
.ts-credits-head h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; }

/* Große Zahlen dezenter */
.ts-metric strong { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; }
.ts-plan-amount { font-size: 1.85rem; font-weight: 700; }
.ts-credit-amount { font-size: 2rem; font-weight: 700; }
.ts-logo { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }

/* =========================================================
   Reduziertes Schwarz-Weiß-Schema
   Pink/Lila NUR auf CTAs, Nummerierungen (01/02, Tags) und Icons (Checks).
   Alles andere monochrom.
   ========================================================= */
/* Gilt NUR in der B/W-Edition. "More Pink" (data-edition="pink")
   fällt auf die ursprünglichen magenta-Regeln zurück. */
/* 1) Lila Hintergrund-Glows & weiche Verläufe neutralisieren */
html[data-edition="bw"] {
  --glow-a: transparent;
  --glow-b: transparent;
  --gradient-soft: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
  --navy: #111114;
}
html[data-edition="bw"][data-theme="dark"] {
  --gradient-soft: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

/* 2) Glas-Chip-Titel nahezu schwarz */
html[data-edition="bw"] .ts-card-label h3 { color: #111114; }

/* 3) Kennzahlen monochrom */
html[data-edition="bw"] .ts-metric strong {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
}

/* 4) Pricing-Akzente monochrom */
html[data-edition="bw"] .ts-plan-popular {
  border: 1.5px solid var(--text);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}
html[data-edition="bw"] .ts-plan-badge,
html[data-edition="bw"] .ts-credit-discount {
  background: var(--text);
  color: var(--bg-soft);
}
html[data-edition="bw"] .ts-billing-option.is-active {
  background: var(--text);
  color: var(--bg-soft);
}
html[data-edition="bw"] .ts-billing-option:not(.is-active) .ts-billing-save {
  background: color-mix(in srgb, var(--text) 12%, transparent);
  color: var(--text);
}

/* 5) Button-Hover-Glow neutral */
html[data-edition="bw"] .button:hover,
html[data-edition="bw"] .button:focus-visible {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

/* 5b) Button-Stil "Outline": Primary-Buttons schwarz mit feiner pinker
   Outline statt vollflächigem Pink – wirkt feiner (Intern-Umschalter). */
html[data-btn="outline"] .button-primary {
  background: #111114;
  color: #ffffff;
  border: 1.5px solid #b500c9;
  box-shadow: none;
}
html[data-btn="outline"] .button-primary:hover,
html[data-btn="outline"] .button-primary:focus-visible {
  border-color: #d81ae0;
  box-shadow: 0 12px 28px rgba(181, 0, 201, 0.22);
}
/* Auch im Dark-Mode klar schwarz mit pinker Kante */
html[data-btn="outline"][data-theme="dark"] .button-primary {
  background: #0d0d10;
  color: #ffffff;
}

/* 5c) Solid-Variante (vollflächig): kein Verlauf, nur Corporate-Color #b500c9 */
html[data-btn="solid"] .button-primary {
  background: #b500c9;
  box-shadow: 0 14px 34px rgba(181, 0, 201, 0.22);
}

/* 6) Model-Kacheln: Lade-Hintergrund neutral (Foto liegt farbig darüber) */
html[data-edition="bw"] .ts-model {
  background: linear-gradient(160deg, #e9e9ec, #cfcfd4);
}
html[data-edition="bw"][data-theme="dark"] .ts-model {
  background: linear-gradient(160deg, #2a2a30, #17171b);
}

/* ---------- Hero: einspaltig (Bild rechts entfernt) + CTA wie Live ---------- */
.botika-hero .hero-layout-single {
  display: block;
}
.botika-hero .hero-layout-single .hero-copy {
  max-width: 820px;
}
.ts-cta-arrow {
  gap: 10px;
}
.ts-cta-arrow .ts-arrow {
  display: inline-block;
  transition: transform var(--transition);
}
.ts-cta-arrow:hover .ts-arrow,
.ts-cta-arrow:focus-visible .ts-arrow {
  transform: translateX(5px);
}
.ts-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}
.ts-check {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/16px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/16px no-repeat;
}

/* ---------- Header schwebt FIX über dem Video (kein weißer Streifen) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}
/* Hero beginnt bei 0 (fixer Header reserviert keinen Platz) -> Video bis oben.
   Inhalt per padding-top klar unter die Pille.
   Spezifität muss .botika-inspired-page .hero-main schlagen. */
.botika-inspired-page .botika-hero {
  min-height: calc(100svh - 40px);
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 80px;
  align-items: flex-start;
}
/* Anker-Links nicht unter die fixe Pille springen lassen */
[id] { scroll-margin-top: 104px; }

/* =========================================================
   Hover-Dynamik / Microinteractions
   ========================================================= */
/* Navigation: animierter Unterstrich */
.site-nav a {
  position: relative;
  transition: color var(--transition), opacity var(--transition);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.site-nav a:hover::after { transform: scaleX(1); }

/* ScrollStack: sanfter Bild-Zoom + Chip hebt sich */
.ts-media {
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ts-card:hover .ts-media { transform: scale(1.045); }
.ts-card-label {
  transition: transform var(--transition), box-shadow var(--transition);
}
.ts-card:hover .ts-card-label {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

/* Karten einheitlich anheben */
.ts-step,
.ts-benefit,
.ts-audience-card,
.ts-metric,
.ts-plan,
.ts-credit {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.ts-step:hover,
.ts-benefit:hover,
.ts-audience-card:hover,
.ts-metric:hover,
.ts-credit:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.ts-plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.16);
}
.ts-plan-popular:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

/* Step-/Credit-Nummern reagieren */
.ts-step-num,
.ts-credit-amount {
  display: inline-block;
  transition: transform var(--transition);
}
.ts-step:hover .ts-step-num { transform: scale(1.14); }
.ts-credit:hover .ts-credit-amount { transform: scale(1.08); }

/* Models-Marquee: bei Hover pausieren + Kachel hervorheben */
.ts-marquee:hover {
  animation-play-state: paused;
}
.ts-model {
  transition: transform var(--transition), filter var(--transition), box-shadow var(--transition);
}
.ts-model:hover {
  transform: translateY(-5px) scale(1.02);
  filter: grayscale(0.35);
  box-shadow: var(--shadow-soft);
}

/* Kundenlogos: leichter Lift zusätzlich zur Deckkraft */
.ts-logo {
  transition: opacity var(--transition), transform var(--transition);
}
.ts-logo:hover { transform: translateY(-2px); }

/* Feature-Karten: Akzentlinie oben bei Hover */
.ts-feature {
  position: relative;
  overflow: hidden;
}
.ts-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.ts-feature:hover::before { transform: scaleX(1); }

/* CTA-Pfeil & Primärbutton etwas lebendiger */
.button-primary:hover { transform: translateY(-3px) scale(1.015); }

@media (prefers-reduced-motion: reduce) {
  .ts-media,
  .ts-card:hover .ts-media,
  .ts-model:hover,
  .button-primary:hover { transform: none; }
}

/* =========================================================
   Header feiner (schlankere Pille, feinere Navigation)
   ========================================================= */
:root { --header-height: 64px; }
.site-header { padding: 14px 0; }
.header-shell {
  min-height: 60px;
  padding: 0 16px 0 20px;
  gap: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}
.site-nav { gap: 26px; }
.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.site-nav a:hover { color: var(--text); }
.header-actions { gap: 14px; }

/* =========================================================
   Feature-Icons (Bereich 6)
   ========================================================= */
.ts-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 18px;
  color: #b500c9;
  background: rgba(181, 0, 201, 0.1);
}
html[data-edition="bw"] .ts-feature-icon {
  background: color-mix(in srgb, var(--text) 7%, transparent);
}
.ts-feature:hover .ts-feature-icon {
  transform: translateY(-2px) scale(1.05);
  transition: transform var(--transition);
}

/* =========================================================
   FAQ (Accordion)
   ========================================================= */
.container-narrow { max-width: 820px; }
.ts-faq { display: grid; gap: 14px; margin-top: 44px; }
.ts-faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ts-faq-item.is-open {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.ts-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}
.ts-faq-chevron {
  flex: 0 0 auto;
  color: #b500c9;
  transition: transform var(--transition);
}
.ts-faq-item.is-open .ts-faq-chevron { transform: rotate(180deg); }
.ts-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ts-faq-item.is-open .ts-faq-a { max-height: 2600px; }
.ts-faq-a-body {
  padding: 0 22px 22px;
  color: var(--text-muted);
  line-height: 1.6;
}
.ts-faq-a-body > :first-child { margin-top: 0; }
.ts-faq-a-body > :last-child { margin-bottom: 0; }
.ts-faq-a-body p { margin: 0 0 12px; }
.ts-faq-a-body ul,
.ts-faq-a-body ol { margin: 0 0 12px; padding-left: 20px; }
.ts-faq-a-body li { margin: 6px 0; }
.ts-faq-a-body a { color: #b500c9; text-decoration: none; }
.ts-faq-a-body a:hover { text-decoration: underline; }

/* Category label inside the FAQ accordion */
.ts-faq-cat {
  margin: 30px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b500c9;
}
.ts-faq-cat:first-child { margin-top: 0; }

/* Tables inside FAQ answers */
.ts-faq-table-wrap { overflow-x: auto; margin: 0 0 4px; }
.ts-faq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.ts-faq-table th,
.ts-faq-table td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.ts-faq-table thead th {
  font-weight: 600;
  color: var(--text);
  border-bottom-color: var(--line-strong);
}
.ts-faq-table tbody tr:last-child td { border-bottom: 0; }

.ts-faq-note {
  margin: 22px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* =========================================================
   Finale CTA
   ========================================================= */
.ts-final-cta-section { padding: 96px 0 !important; }
.ts-final-cta {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}
.ts-final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.12;
  margin: 0 0 14px;
}
html[data-edition="bw"] .ts-final-cta h2 { color: var(--navy); }
.ts-final-cta p { color: var(--text-muted); margin: 0 auto 28px; max-width: 46ch; }

/* =========================================================
   Interne Vorschau-Leiste (am Rand)
   ========================================================= */
.ts-devbar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-solid) 86%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  font-family: var(--font-body);
}
.ts-devbar-title {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  padding: 0 2px;
}
.ts-devbar-group {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 7%, transparent);
}
.ts-devbar-btn {
  border: 0;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  transition: color var(--transition), background var(--transition);
}
.ts-devbar-btn.is-active {
  color: #fff;
  background: var(--text);
}
/* Toggle nur auf Mobile (Desktop: Leiste immer offen) */
.ts-devbar-toggle { display: none; }
@media (max-width: 640px) {
  .ts-devbar { left: 8px; bottom: 8px; padding: 7px; gap: 7px; }
  .ts-devbar-btn { padding: 5px 9px; font-size: 0.72rem; }
  .ts-devbar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 11px;
    background: var(--text);
    color: var(--bg-soft);
    cursor: pointer;
  }
  /* eingeklappt: nur der Toggle ist sichtbar -> überlagert keinen Inhalt */
  .ts-devbar:not(.is-open) .ts-devbar-title,
  .ts-devbar:not(.is-open) .ts-devbar-group {
    display: none;
  }
}

/* =========================================================
   Nachträge: Cabinet fett, Step-Icons, Vollbild-Hero, feineres Menü
   ========================================================= */
/* (A) Cabinet-Schrift in kräftigerem Schnitt für Headlines (war zu dünn) */
html[data-font="cabinet"] .hero-copy h1 { font-weight: 800; letter-spacing: -0.03em; }
html[data-font="cabinet"] .section-heading h2,
html[data-font="cabinet"] .statement-block h2,
html[data-font="cabinet"] .closing-film-copy h2 { font-weight: 700; letter-spacing: -0.02em; }
html[data-font="cabinet"] .ts-card-label h3,
html[data-font="cabinet"] .ts-final-cta h2 { font-weight: 700; }

/* (B) Schritt-Icons: Icon + Nummer in einer Reihe */
.ts-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.ts-step-head .ts-feature-icon { margin-bottom: 0; }
.ts-step-head .ts-step-num { font-size: 1.15rem; }
.ts-step:hover .ts-feature-icon { transform: translateY(-2px) scale(1.05); transition: transform var(--transition); }

/* (D) Hero nutzt den ganzen Screen -> Kundenlogos erst beim Scrollen sichtbar */
.botika-inspired-page .botika-hero {
  min-height: 100svh;
}

/* (F) Menü feiner: kleinere Navigation, kleinerer CTA, schlankerer Toggle */
/* Menü-Hintergrund deckend (weiß im Light-, dunkel im Dark-Mode) statt halbtransparent/grau */
.header-shell { background: var(--panel-solid); }

/* Abstand zwischen neuer Kennzahlen-Headline und den Karten */
.ts-metrics-section .section-heading { margin-bottom: 40px; }

/* Parallax-Video-Band mit Headline (zwischen Bereich 6 und 7) – groß, fast Vollbild. */
.ts-parallax-band {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 92svh, 1000px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.ts-parallax-band .media-layer { z-index: 0; }
.ts-parallax-band .background-video { opacity: 1; }
html[data-theme="light"] .ts-parallax-band .background-video { opacity: 0.98; }
.ts-parallax-band .media-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.46) 100%);
}
.ts-parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.ts-parallax-content h2 {
  margin: 0 auto;
  max-width: 18ch;
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.45);
}

.site-nav { flex-wrap: nowrap; gap: 22px; }
.site-nav a { font-size: 0.85rem; white-space: nowrap; }
.header-actions .button,
.site-header .button-primary {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.84rem;
}
.theme-toggle-label { font-size: 0.78rem; }
.header-shell { min-height: 56px; }
:root { --header-height: 60px; }

/* =========================================================
   Logo kleiner + zentriert, "Fashion Brands" schwarz, Typo kleiner
   ========================================================= */
/* Logo deutlich kleiner; bleibt links und ist vertikal zentriert
   (über align-items: center der .header-shell). */
/* Logo ~10% größer und etwas höher positioniert (wirkte zu tief) */
.tailorstudio-logo { width: clamp(128px, 12vw, 163px); }
.brand { align-self: center; transform: translateY(-4px); }
/* Header-Logo auf Mobile ~25-30% größer */
@media (max-width: 640px) {
  .site-header .tailorstudio-logo { width: clamp(158px, 42vw, 188px); }
}

/* Hero entzerren: mehr Luft, Headline vom Copy-Text trennen, Buttons tiefer */
.botika-hero .hero-copy .eyebrow { margin-bottom: 22px; }
.botika-hero .hero-copy h1 { line-height: 1.09; margin-bottom: 4px; }
.botika-hero .hero-lead { margin: 38px 0 0; }
.botika-hero .hero-lead.hero-lead-soft { margin-top: 18px; }
.botika-hero .button-row { margin-top: 48px; }
.botika-hero .ts-hero-note { margin-top: 26px; }

/* Kunden-Logos (Bilder) – grau/gedimmt im reduzierten Look, bei Hover voll */
.ts-logo-img {
  height: clamp(26px, 3.4vw, 36px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity var(--transition), filter var(--transition), transform var(--transition);
}
.ts-logo-img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}
/* Dunkle Wordmarks im Dark Mode sichtbar machen */
html[data-theme="dark"] .ts-logo-img {
  filter: grayscale(1) invert(1) brightness(1.8);
  opacity: 0.7;
}
html[data-theme="dark"] .ts-logo-img:hover {
  filter: invert(1) brightness(1.8);
  opacity: 1;
}

/* "Fashion Brands"-Karte schwarz mit weißer Typo (sticht stärker heraus) */
.ts-audience-card-dark {
  background: #0f0f12;
  border-color: #0f0f12;
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.55);
}
.ts-audience-card-dark h3 { color: #ffffff !important; }
.ts-audience-card-dark p { color: rgba(255, 255, 255, 0.82) !important; }
.ts-audience-card-dark .ts-audience-list li { color: rgba(255, 255, 255, 0.92); }
.ts-audience-card-dark:hover { border-color: #0f0f12; }

/* Typo generell etwas kleiner */
body { font-size: 1rem; }
.tailorstudio-page .hero-copy h1 { font-size: clamp(1.9rem, 3.8vw, 3.3rem); }
.tailorstudio-page .section-heading h2,
.tailorstudio-page .statement-block h2,
.tailorstudio-page .closing-film-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.tailorstudio-page .section-copy { font-size: 1rem; }
.tailorstudio-page .hero-lead { font-size: clamp(0.98rem, 1.2vw, 1.12rem); }

/* =========================================================
   Model-Fotos: farbig (default), Hover = schwarz-weiß, Klick = Lightbox
   ========================================================= */
.ts-model,
html[data-edition="bw"] .ts-model,
html[data-edition="bw"][data-theme="dark"] .ts-model {
  filter: none;
}
.ts-model img { cursor: zoom-in; }
.ts-model:hover { filter: grayscale(1); }

/* Lightbox (Bild auf Bildschirmgröße) */
.ts-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.ts-lightbox.is-open {
  display: flex;
  animation: ts-lightbox-in 200ms ease;
}
@keyframes ts-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ts-lightbox {
  /* Horizontale Wischgesten selbst verarbeiten (verhindert iOS-Zurück-Geste) */
  touch-action: pan-y;
}
.ts-lightbox img {
  max-width: 94vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  /* Kein natives Bild-Ziehen/Callout -> Swipe bricht nicht ab */
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}
.ts-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}
.ts-lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
/* Vor/Zurück-Pfeile zum Durchblättern der Models */
.ts-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition);
}
.ts-lightbox-nav:hover { background: rgba(255, 255, 255, 0.28); }
.ts-lightbox-prev { left: 18px; }
.ts-lightbox-next { right: 18px; }
@media (max-width: 640px) {
  /* Auf Mobile per Swipe blättern – die Pfeile dezenter/kleiner */
  .ts-lightbox-nav { width: 42px; height: 42px; font-size: 1.6rem; background: rgba(255, 255, 255, 0.1); }
  .ts-lightbox-prev { left: 8px; }
  .ts-lightbox-next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ts-lightbox.is-open { animation: none; }
}

/* =========================================================
   Inline-Style-Wechsel zwischen den Slidern
   ========================================================= */
.ts-style-switch-section { padding: 20px 0 104px; }
.ts-style-switch { text-align: center; }
.ts-style-switch-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.2;
  margin: 0 0 24px;
}
html[data-edition="bw"] .ts-style-switch-title { color: var(--navy); }
.ts-style-switch-pills {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ts-style-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.ts-style-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line-strong);
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.ts-style-pill:hover {
  transform: translateY(-3px);
  border-color: var(--text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}
/* gewählt (Geschlecht/Style) = gefüllt = "festgestellt" */
.ts-style-pill.is-active {
  background: var(--text);
  color: var(--bg-soft);
  border-color: var(--text);
}
.ts-style-pill-gender svg { opacity: 0.9; }
/* Button unter der Models-Marquee bleibt gefüllt (Aktion, kein Toggle) */
.ts-models-action { text-align: center; margin-top: 40px; }
.ts-models-action .ts-style-pill {
  background: var(--text);
  color: var(--bg-soft);
  border-color: var(--text);
}

/* =========================================================
   Kennzahlen nacheinander einblenden (links -> rechts, 0,5s Versatz)
   beim Reinscrollen. Opacity-Kaskade via Keyframe-Animation +
   animation-delay (kollidiert nicht mit der Hover-Transition).
   ========================================================= */
.ts-metric-anim { opacity: 0; }
@keyframes ts-metric-pop {
  0%   { opacity: 0; transform: scale(0.82); }
  55%  { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
.ts-metric-anim.is-in {
  animation: ts-metric-pop 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .ts-metric-anim { opacity: 1; }
  .ts-metric-anim.is-in { animation: none; }
}

/* Copyright-Zeile unter dem Rechtliches-Footer-Block */
.footer-legal-copyright {
  margin-top: 8px;
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  color: var(--text-muted, #8a8a8a);
}

/* Copyright ganz unten – volle Breite, zentriert, dezent abgesetzt */
.ts-footer-legal-bar {
  margin-top: 28px;
  padding-top: 18px;
  padding-bottom: 4px;
  border-top: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  text-align: center;
}
.ts-footer-legal-bar p {
  margin: 0;
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  color: var(--text-muted, #8a8a8a);
}

/* ============================ COOKIE-CONSENT-MODAL ============================ */
.ts-cookie-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(12, 6, 22, 0.5);
  backdrop-filter: blur(5px);
  animation: tsCookieFade 0.2s ease;
}
.ts-cookie-overlay[hidden] { display: none; }
@keyframes tsCookieFade { from { opacity: 0; } to { opacity: 1; } }

.ts-cookie-modal {
  width: min(470px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 24px;
  padding: 26px;
  background: linear-gradient(155deg, #f7ecff 0%, #ffffff 55%);
  border: 1px solid rgba(181, 0, 201, 0.14);
  box-shadow: 0 24px 60px rgba(181, 0, 201, 0.28), 0 10px 24px rgba(0, 0, 0, 0.14);
  color: #1b1430;
  animation: tsCookiePop 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes tsCookiePop { from { transform: translateY(12px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }

.ts-cookie-head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.ts-cookie-icon {
  position: relative; width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; font-size: 30px;
  background: linear-gradient(145deg, #ffd76b, #f59e0b);
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}
.ts-cookie-count {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: #b500c9; color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(181, 0, 201, 0.4);
}
.ts-cookie-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: rgba(181, 0, 201, 0.1); color: #b500c9;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ts-cookie-modal h3 {
  margin: 10px 0 6px; font-family: var(--font-display, "Cabinet Grotesk", "Inter", sans-serif);
  font-size: 1.35rem; line-height: 1.2; color: #171227;
}
.ts-cookie-intro { margin: 0; color: #5b5470; font-size: 0.92rem; line-height: 1.5; }

.ts-cookie-terminal {
  margin: 18px 0; border-radius: 16px; overflow: hidden; background: #002446;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem; box-shadow: 0 10px 24px rgba(0, 36, 70, 0.35);
}
.ts-term-bar { padding: 10px 14px; color: #cdd8ea; border-bottom: 1px solid rgba(255, 255, 255, 0.08); display: flex; gap: 8px; align-items: center; }
.ts-term-prompt { color: #7ee0d0; font-weight: 700; }
.ts-term-body { padding: 12px 14px; display: grid; gap: 6px; color: #9fb2cc; line-height: 1.45; }
.ts-term-dollar { color: #f06ad9; font-weight: 700; }
.ts-term-cmd { color: #e6edf7; }
.ts-term-dim { color: #7d8ea8; }

.ts-cookie-toggles { border: 1px solid rgba(23, 18, 39, 0.1); border-radius: 16px; padding: 4px 16px; background: rgba(255, 255, 255, 0.55); }
.ts-cookie-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0; }
.ts-cookie-row + .ts-cookie-row { border-top: 1px solid rgba(23, 18, 39, 0.08); }
.ts-cookie-row strong { display: block; color: #171227; font-size: 0.98rem; }
.ts-cookie-row p { margin: 4px 0 0; color: #6b6480; font-size: 0.82rem; line-height: 1.4; }

.ts-switch { position: relative; width: 48px; height: 28px; flex: none; border: 0; border-radius: 999px; background: #cfc9dd; cursor: pointer; transition: background 0.2s; }
.ts-switch-thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.2s; }
.ts-switch.is-on { background: #b500c9; }
.ts-switch.is-on .ts-switch-thumb { transform: translateX(20px); }
.ts-switch.is-locked { opacity: 0.85; cursor: not-allowed; }

.ts-cookie-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 18px 0 14px; }
.ts-cookie-actions button { border-radius: 999px; padding: 14px 22px; font-weight: 600; font-size: 0.95rem; font-family: inherit; cursor: pointer; border: 1px solid transparent; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.ts-cookie-actions .ts-cookie-save { background: #111114; color: #fff; border: 1.5px solid #b500c9; box-shadow: none; }
.ts-cookie-actions .ts-cookie-save:hover { background: #1c1c22; border-color: #d81ae0; }
.ts-cookie-back { background: transparent; color: #171227; border-color: rgba(23, 18, 39, 0.18); }
.ts-cookie-back:hover { border-color: #b500c9; color: #b500c9; }

.ts-cookie-foot { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: #8a8398; }
.ts-cookie-foot a { color: #8a8398; text-decoration: underline; }
.ts-cookie-foot a:hover { color: #b500c9; }

@media (max-width: 520px) {
  .ts-cookie-actions { grid-template-columns: 1fr; }
  .ts-cookie-modal { padding: 20px; }
}
