/*! NEWME – Haaranalyse Widget · Version 1.0.2 (Anpassung)
    Alle Styles sind bewusst auf #star-haaranalyse-widget gescoped,
    damit sie mit keinem Elementor-/Theme-Style kollidieren. */
#star-haaranalyse-widget,
#star-haaranalyse-widget * {
  box-sizing: border-box;
}

/* =====================================================================
   HOST-BLEED-SCHUTZ  ·  gemessen am 10.09.2026
   ---------------------------------------------------------------------
   Die Startseite scopet ihr Layout auf #sa-home und setzt dabei unter
   anderem  #sa-home section { padding-block: clamp(56px,8vw,96px) }.
   Die Karte dieses Widgets IST ein <section> - sie bekam dadurch oben und
   unten je 96px Innenabstand geschenkt: 192px tote Fläche mitten in der
   Karte, die Höhe stieg von 521px auf 715px.

   Warum ein einfaches "#star-haaranalyse-widget section" nicht reicht:
   das ist Spezifität (1,0,1) - exakt so viel wie "#sa-home section".
   Bei Gleichstand gewinnt die später geladene Datei, und das <style> der
   Seite steht hinter dem <link> dieses Widgets. Deshalb hier
   Attributselektoren auf die eigenen sta-*-Klassen: das zählt als Klasse
   und ergibt (1,1,0) - schlägt jede Elementregel der Gastseite.

   Steht bewusst GANZ OBEN: alle echten Widget-Regeln weiter unten haben
   dieselbe Spezifität und überschreiben diese Nullwerte per Quellordnung.
   ===================================================================== */
#star-haaranalyse-widget [class^="sta-"],
#star-haaranalyse-widget [class*=" sta-"] {
  margin: 0;
  padding: 0;
}

#star-haaranalyse-widget {
  /* ==================================================================
     NEWME · Designsystem
     Jede Farbe des Widgets kommt aus diesem Block – nur hier ändern.
     ================================================================== */
  /* Dunkle Flächen: warmes Beinahe-Schwarz (Ink), kein kühles Grau. */
  --sta-ink-900: #1A1617;
  --sta-ink-800: #221E1F;
  --sta-ink-700: #2B2526;
  /* Warme Schiene für Balken/Rillen auf dunklem Grund */
  --sta-ink-600: #3A3233;
  --sta-paper: #F7F3EC;
  --sta-paper-2: #EFE7DB;
  --sta-white: #ffffff;
  --sta-ink: #221E1F;
  --sta-accent: #C2A06A;
  --sta-accent-deep: #7A6544;
  --sta-accent-light: #EAD8B8;
  --sta-accent-soft: rgba(194, 160, 106, 0.12);
  /* deckende Variante – für Flächen auf weißem Grund */
  --sta-accent-tint: #F7F0E2;
  --sta-muted-light: rgba(14, 14, 14, 0.62);
  --sta-muted-dark: rgba(239, 233, 223, 0.66);
  --sta-light-text: rgba(239, 233, 223, 0.82);
  --sta-line-light: rgba(14, 14, 14, 0.14);
  --sta-line-dark: rgba(243, 237, 227, 0.14);
  --sta-error: #e0605c;
  --sta-success: #2f9e6a;
  /* Typografie – identisch zu staraesthetic.de.
     Prata gibt es NUR in 400: auf Serif-Elementen niemals font-weight > 400
     setzen, sonst rechnet der Browser einen unsauberen Fake-Bold.
     Die Schriften lädt die Seite selbst – hier bewusst kein @import
     (der würde das Rendering der Startseite blockieren). */
  --sta-serif: 'DM Serif Display', Georgia, serif;
  --sta-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  width: 100%;
  color: var(--sta-ink);
  /* UI-Text erbt die Schrift der Seite (Montserrat) – bitte so lassen. */
  font-family: inherit;
  /* Die Zeilenhöhe dagegen NICHT erben. Gemessen am 10.09.2026: #sa-home
     setzt line-height 1.7, das Widget hatte keine eigene – die Karte ging
     dadurch von 524px auf 642px auf. Die Höhe hing also davon ab, wo das
     Widget eingebettet wird. Ein einbettbares Widget muss seine eigene
     Metrik mitbringen. */
  line-height: 1.5;
  container-type: inline-size;
}

#star-haaranalyse-widget button,
#star-haaranalyse-widget input,
#star-haaranalyse-widget select {
  font: inherit;
}

#star-haaranalyse-widget .sta-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(194, 160, 106, 0.26);
  border-radius: 24px;
  background: var(--sta-ink-800);
  box-shadow: 0 28px 70px -28px rgba(0, 0, 0, 0.75);
}

/* =====================================================================
   HEADER  ·  Star Aesthetic · Version 1.0.0
   Dunkler Kartenkopf (ink-900/800) mit Akzent-Schimmer.
   ===================================================================== */
#star-haaranalyse-widget .sta-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px 30px 22px;
  border-bottom: 1px solid rgba(194, 160, 106, 0.22);
  background:
    radial-gradient(120% 145% at 50% -32%, rgba(194, 160, 106, 0.26) 0%, rgba(194, 160, 106, 0.06) 44%, transparent 70%),
    linear-gradient(178deg, var(--sta-ink-700) 0%, var(--sta-ink-800) 52%, var(--sta-ink-900) 100%);
  text-align: center;
}

/* Akzent-Lichtkante am unteren Rand */
#star-haaranalyse-widget .sta-head::after {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: min(78%, 430px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 208, 164, 0.9), transparent);
  content: '';
  pointer-events: none;
  transform: translateX(-50%);
}

/* Langsamer diagonaler Lichtschein über den gesamten Kopfbereich */
#star-haaranalyse-widget .sta-head-sheen {
  position: absolute;
  z-index: 0;
  inset: -50% -60%;
  background: linear-gradient(104deg, transparent 42%, rgba(250, 244, 232, 0.1) 50%, transparent 58%);
  pointer-events: none;
  transform: translateX(-40%);
  animation: sta-sheen 8s ease-in-out 1.4s infinite;
}

/* Dezente Funken – rein dekorativ */
#star-haaranalyse-widget .sta-spark {
  position: absolute;
  z-index: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sta-accent-light);
  box-shadow: 0 0 9px 2px rgba(230, 208, 164, 0.7);
  opacity: 0;
  pointer-events: none;
  animation: sta-spark 5.2s ease-in-out infinite;
}

#star-haaranalyse-widget .sta-spark-1 { top: 26%; left: 13%; animation-delay: 0.6s; }
#star-haaranalyse-widget .sta-spark-2 { top: 34%; right: 14%; left: auto; animation-delay: 2.9s; }

#star-haaranalyse-widget .sta-ornament {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(230px, 62%);
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto 11px;
  pointer-events: none;
}

#star-haaranalyse-widget .sta-ornament i {
  display: block;
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(194, 160, 106, 0.7));
}

#star-haaranalyse-widget .sta-ornament i + i {
  background: linear-gradient(90deg, rgba(194, 160, 106, 0.7), transparent);
}

#star-haaranalyse-widget .sta-ornament b {
  color: var(--sta-accent-light);
  font-size: 9px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(194, 160, 106, 0.75);
}

#star-haaranalyse-widget .sta-title {
  position: relative;
  z-index: 1;
  max-width: 24ch;
  margin: 0 auto;
  /* Innenabstand hält den Zurück-Button dauerhaft frei */
  padding: 0 46px;
  color: var(--sta-white);
  /* Prata wie auf der Startseite. Die Wirkung kommt aus Größe und Laufweite,
     NICHT aus der Strichstärke – Prata hat nur 400. */
  font-family: var(--sta-serif);
  font-size: clamp(25px, 5.1cqi, 35px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.004em;
  pointer-events: none;
  text-wrap: balance;
  animation: sta-title-arrival 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

#star-haaranalyse-widget .sta-title-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--sta-accent);
  /* Kleine Versalzeile: bleibt Montserrat, obwohl sie im Prata-H2 steht. */
  font-family: var(--sta-sans);
  font-size: 0.46em;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#star-haaranalyse-widget .sta-title-accent {
  display: block;
  background-image: linear-gradient(
    100deg,
    #E8DAC0 0%,
    #ffffff 18%,
    #ffffff 34%,
    #FDF7EC 50%,
    #D9BC80 66%,
    #ffffff 84%,
    #E8DAC0 100%
  );
  background-position: 0% 50%;
  background-size: 260% auto;
  color: #F3EDE3;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 14px rgba(194, 160, 106, 0.3));
  animation: sta-foil 5.6s ease-in-out 0.8s infinite;
}

#star-haaranalyse-widget .sta-claim {
  position: relative;
  z-index: 1;
  max-width: 36ch;
  margin: 13px auto 0;
  color: rgba(239, 233, 223, 0.72);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  text-wrap: balance;
}

#star-haaranalyse-widget .sta-claim strong {
  color: var(--sta-accent);
  font-weight: 700;
  white-space: nowrap;
}

@keyframes sta-title-arrival {
  from { opacity: 0; transform: translateY(-7px) scale(0.988); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sta-foil {
  0%, 14%   { background-position: 0% 50%; }
  62%, 100% { background-position: 100% 50%; }
}

@keyframes sta-sheen {
  0%, 62%  { transform: translateX(-40%); }
  86%, 100% { transform: translateX(40%); }
}

@keyframes sta-spark {
  0%, 74%, 100% { opacity: 0; transform: scale(0.4); }
  82%           { opacity: 1; transform: scale(1.25); }
  90%           { opacity: 0.25; transform: scale(0.8); }
}

#star-haaranalyse-widget .sta-trust {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 520px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 15px auto 0;
  padding: 0;
  list-style: none;
}

#star-haaranalyse-widget .sta-trust li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 7px;
  border: 1px solid rgba(194, 160, 106, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #E9E1D4;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

#star-haaranalyse-widget .sta-trust-check {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #D9BC80, #A9853F);
  color: var(--sta-ink-900);
}

#star-haaranalyse-widget .sta-trust-check svg {
  width: 10px;
  height: 10px;
}

#star-haaranalyse-widget .sta-back {
  position: absolute;
  /* z-index 4: liegt garantiert ÜBER Titel/Sheen – sonst schluckt der
     zentrierte H2-Block auf schmalen Containern den Klick (Desktop-Bug). */
  z-index: 4;
  top: 16px;
  left: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(194, 160, 106, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #DEC697;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  /* visibility statt nur opacity: nimmt den Button aus der Tab-Reihenfolge */
  visibility: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

#star-haaranalyse-widget .sta-back.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

#star-haaranalyse-widget .sta-back:hover,
#star-haaranalyse-widget .sta-back:focus-visible {
  border-color: rgba(194, 160, 106, 0.85);
  background: rgba(194, 160, 106, 0.16);
  color: #FBF5EA;
  outline: none;
}

#star-haaranalyse-widget .sta-back:focus-visible {
  outline: 2px solid rgba(194, 160, 106, 0.85);
  outline-offset: 2px;
}

#star-haaranalyse-widget .sta-back svg {
  width: 18px;
  height: 18px;
}

#star-haaranalyse-widget .sta-progress-wrap {
  padding: 19px 28px 2px;
  background: var(--sta-ink-800);
}

#star-haaranalyse-widget .sta-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--sta-muted-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

#star-haaranalyse-widget .sta-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sta-ink-600);
}

#star-haaranalyse-widget .sta-progress-bar {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sta-accent-deep), var(--sta-accent));
  transition: width 0.35s ease;
}

#star-haaranalyse-widget .sta-body {
  min-height: 250px;
  padding: 14px 28px 28px;
  background: var(--sta-ink-800);
}

#star-haaranalyse-widget .sta-step {
  animation: sta-fade-in 0.28s ease both;
}

@keyframes sta-fade-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#star-haaranalyse-widget .sta-question {
  margin: 17px 0 21px;
  padding: 0 4px;
  color: var(--sta-white);
  /* Frageüberschrift in Prata – Gewicht bleibt zwingend bei 400. */
  font-family: var(--sta-serif);
  font-size: clamp(19px, 1.95vw, 23px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.004em;
  text-align: center;
}

#star-haaranalyse-widget .sta-hint {
  max-width: 470px;
  margin: -12px auto 20px;
  color: var(--sta-muted-dark);
  font-size: 12.5px;
  line-height: 1.55;
  text-align: center;
}

#star-haaranalyse-widget .sta-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

#star-haaranalyse-widget .sta-options.is-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#star-haaranalyse-widget .sta-option {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 70px;
  align-items: center;
  gap: 14px;
  padding: 11px 15px;
  border: 2px solid var(--sta-white);
  border-radius: 14px;
  background: var(--sta-white);
  box-shadow: 0 7px 18px -13px rgba(0, 0, 0, 0.55);
  color: var(--sta-ink);
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* Achtung Kontrast: Die Karte ist WEISS. #C2A06A erreicht darauf nur 2,26:1
   und fällt damit unter die 3:1-Grenze für Ränder. Auf hellem Grund gilt
   deshalb ausnahmslos --sta-accent-deep (#A9853F, 3,43:1). */
#star-haaranalyse-widget .sta-option:hover,
#star-haaranalyse-widget .sta-option:focus-visible {
  border-color: var(--sta-accent-deep);
  outline: none;
  transform: translateY(-1px);
}

/* Tastaturfokus muss sich vom Hover unterscheiden. */
#star-haaranalyse-widget .sta-option:focus-visible {
  /* Der Fokusring liegt durch outline-offset auf dem DUNKLEN Kartengrund,
     nicht auf der weißen Option – dort ist das Markengold richtig. */
  outline: 3px solid var(--sta-accent);
  outline-offset: 3px;
}

#star-haaranalyse-widget .sta-option:active {
  transform: scale(0.985);
}

#star-haaranalyse-widget .sta-option.is-selected {
  border-color: var(--sta-accent-deep);
  background: var(--sta-accent-tint);
  box-shadow: 0 0 0 4px rgba(194, 160, 106, 0.18);
}

#star-haaranalyse-widget .sta-option-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: var(--sta-accent-soft);
}

#star-haaranalyse-widget .sta-option-icon img,
#star-haaranalyse-widget .sta-option-icon svg {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

#star-haaranalyse-widget .sta-option-label {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

#star-haaranalyse-widget .sta-option-tick {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-left: auto;
  place-items: center;
  /* Ring auf Weiß: 0.22 ergäbe nur 1,9:1 – 0.45 bringt ihn über 3:1. */
  border: 2px solid rgba(14, 14, 14, 0.45);
  border-radius: 50%;
  /* Haken dunkel: Weiß auf Gold wäre 2,26:1, Ink auf Gold-deep 6,1:1. */
  color: var(--sta-ink-900);
  transition: background 0.2s ease, border-color 0.2s ease;
}

#star-haaranalyse-widget .sta-option-tick svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#star-haaranalyse-widget .sta-option.is-selected .sta-option-tick {
  border-color: var(--sta-accent-deep);
  background: var(--sta-accent-deep);
}

#star-haaranalyse-widget .sta-option.is-selected .sta-option-tick svg {
  opacity: 1;
  transform: scale(1);
}

#star-haaranalyse-widget .sta-options.is-grid .sta-option {
  min-height: 142px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 17px 12px;
  text-align: center;
}

#star-haaranalyse-widget .sta-options.is-grid .sta-option-icon,
#star-haaranalyse-widget .sta-options.is-grid .sta-option-icon img,
#star-haaranalyse-widget .sta-options.is-grid .sta-option-icon svg {
  width: 64px;
  height: 64px;
}

#star-haaranalyse-widget .sta-options.is-grid .sta-option-icon {
  flex-basis: 64px;
}

#star-haaranalyse-widget .sta-options.is-grid .sta-option-label {
  flex: 0;
}

#star-haaranalyse-widget .sta-options.is-grid .sta-option-tick {
  position: absolute;
  top: 11px;
  right: 11px;
  margin: 0;
}

#star-haaranalyse-widget .sta-field {
  position: relative;
  margin-bottom: 13px;
}

#star-haaranalyse-widget .sta-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--sta-light-text);
  font-size: 12px;
  font-weight: 600;
}

#star-haaranalyse-widget .sta-control,
#star-haaranalyse-widget .sta-phone-row {
  display: flex;
  overflow: hidden;
  align-items: stretch;
  border: 2px solid var(--sta-white);
  border-radius: 11px;
  background: var(--sta-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Feld ist weiß: Fokusrand ebenfalls Gold-deep, sonst unsichtbar. */
#star-haaranalyse-widget .sta-control:focus-within,
#star-haaranalyse-widget .sta-phone-row:focus-within {
  border-color: var(--sta-accent-deep);
  box-shadow: 0 0 0 4px rgba(194, 160, 106, 0.3);
}

#star-haaranalyse-widget .sta-field.is-error .sta-control,
#star-haaranalyse-widget .sta-field.is-error .sta-phone-row {
  border-color: var(--sta-error);
  box-shadow: 0 0 0 4px rgba(224, 96, 92, 0.17);
}

#star-haaranalyse-widget .sta-field input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 0;
  background: transparent;
  color: var(--sta-ink);
  font-size: 16px;
  outline: none;
}

#star-haaranalyse-widget .sta-field input::placeholder {
  /* Nachgerechnet: 0.42 = 3,0:1, 0.55 = nur 4,27:1 – die 4,5:1-Grenze für
     16px-Text wird erst ab 0.62 sicher gehalten. */
  color: rgba(14, 14, 14, 0.62);
}

#star-haaranalyse-widget .sta-country {
  max-width: 114px;
  padding: 0 8px 0 11px;
  border: 0;
  border-right: 1px solid rgba(14, 14, 14, 0.12);
  background: var(--sta-paper);
  color: var(--sta-ink);
  font-size: 13px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

#star-haaranalyse-widget .sta-error-text {
  display: none;
  margin: 6px 0 0;
  color: #ff9d97;
  font-size: 11.5px;
  font-weight: 600;
}

#star-haaranalyse-widget .sta-field.is-error .sta-error-text,
#star-haaranalyse-widget .sta-consent.is-error .sta-error-text {
  display: block;
}

#star-haaranalyse-widget .sta-consent {
  margin: 17px 0 15px;
}

#star-haaranalyse-widget .sta-check-label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--sta-muted-dark);
  font-size: 11.5px;
  line-height: 1.55;
  cursor: pointer;
}

#star-haaranalyse-widget .sta-check-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Der Input ist 1x1px und unsichtbar – der Fokusring des Browsers wäre ein
   Punkt. Ohne diese Regel ist die Einwilligungs-Checkbox, die vor dem
   Absenden zwingend gesetzt werden muss, per Tastatur nicht auffindbar. */
#star-haaranalyse-widget .sta-check-label input:focus-visible + .sta-checkbox {
  outline: 3px solid var(--sta-accent);
  outline-offset: 3px;
}

#star-haaranalyse-widget .sta-checkbox {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  margin-top: 1px;
  place-items: center;
  border: 2px solid rgba(243, 237, 227, 0.45);
  border-radius: 5px;
  /* Haken sitzt später auf Gold – dunkel statt weiß (9,3:1 statt 2,26:1). */
  color: var(--sta-ink-900);
  transition: background 0.2s ease, border-color 0.2s ease;
}

#star-haaranalyse-widget .sta-checkbox svg {
  width: 13px;
  height: 13px;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#star-haaranalyse-widget .sta-check-label input:checked + .sta-checkbox {
  border-color: var(--sta-accent);
  background: var(--sta-accent);
}

#star-haaranalyse-widget .sta-check-label input:checked + .sta-checkbox svg {
  opacity: 1;
  transform: scale(1);
}

#star-haaranalyse-widget .sta-check-label input:focus-visible + .sta-checkbox {
  /* 0.34 verschwand fast im dunklen Grund (2:1) – 0.85 wie beim Zurück-Button. */
  outline: 3px solid rgba(194, 160, 106, 0.85);
  outline-offset: 2px;
}

#star-haaranalyse-widget .sta-consent.is-error .sta-checkbox {
  border-color: var(--sta-error);
}

#star-haaranalyse-widget .sta-check-label a {
  color: var(--sta-accent-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#star-haaranalyse-widget .sta-submit {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--sta-accent), var(--sta-accent-deep));
  box-shadow: 0 15px 28px -17px rgba(194, 160, 106, 0.85);
  color: var(--sta-ink-900);
  font-size: 14px;
  /* Montserrat ist nur bis 700 geladen – 800 ergäbe einen Fake-Bold. */
  font-weight: 700;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease;
}

#star-haaranalyse-widget .sta-submit:hover,
#star-haaranalyse-widget .sta-submit:focus-visible {
  filter: brightness(1.045);
  outline: none;
  transform: translateY(-1px);
}

#star-haaranalyse-widget .sta-submit:disabled {
  cursor: wait;
  filter: saturate(0.6);
  opacity: 0.76;
}

#star-haaranalyse-widget .sta-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(11, 10, 9, 0.32);
  border-top-color: var(--sta-ink-900);
  border-radius: 50%;
  animation: sta-spin 0.7s linear infinite;
}

#star-haaranalyse-widget .sta-submit.is-loading .sta-spinner {
  display: block;
}

@keyframes sta-spin {
  to { transform: rotate(360deg); }
}

#star-haaranalyse-widget .sta-submit-error {
  display: none;
  margin: 0 0 13px;
  padding: 10px 12px;
  border: 1px solid rgba(224, 96, 92, 0.5);
  border-radius: 9px;
  background: rgba(224, 96, 92, 0.12);
  color: #ffbdb8;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

#star-haaranalyse-widget .sta-submit-error.is-visible {
  display: block;
}

#star-haaranalyse-widget .sta-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#star-haaranalyse-widget .sta-legal-note {
  margin: 13px 0 0;
  color: rgba(239, 233, 223, 0.5);
  font-size: 10.5px;
  line-height: 1.45;
  text-align: center;
}

#star-haaranalyse-widget .sta-success {
  max-width: 470px;
  margin: 0 auto;
  padding: 26px 4px 10px;
  text-align: center;
}

#star-haaranalyse-widget .sta-success-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--sta-accent);
  box-shadow: 0 17px 34px -17px rgba(194, 160, 106, 0.85);
  color: var(--sta-ink-900);
}

#star-haaranalyse-widget .sta-success-icon svg {
  width: 36px;
  height: 36px;
}

#star-haaranalyse-widget .sta-success h3 {
  margin: 0 0 9px;
  color: var(--sta-white);
  /* font-weight explizit: h3 wäre sonst bold – Prata hat kein Bold. */
  font-family: var(--sta-serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.004em;
}

#star-haaranalyse-widget .sta-success p {
  margin: 0;
  color: var(--sta-muted-dark);
  font-size: 13px;
  line-height: 1.65;
}

#star-haaranalyse-widget .sta-success-steps {
  margin-top: 20px;
  padding: 15px 17px;
  border: 1px solid rgba(194, 160, 106, 0.24);
  border-radius: 11px;
  background: rgba(194, 160, 106, 0.09);
  color: rgba(239, 233, 223, 0.78);
  font-size: 12px;
  line-height: 1.55;
}

@container (max-width: 480px) {
  #star-haaranalyse-widget .sta-head {
    padding: 21px 18px 18px;
  }

  #star-haaranalyse-widget .sta-ornament {
    width: min(190px, 66%);
    margin-bottom: 9px;
  }

  #star-haaranalyse-widget .sta-title {
    max-width: 20ch;
    padding: 0 42px;
    font-size: clamp(22px, 6.4cqi, 28px);
  }

  #star-haaranalyse-widget .sta-title-kicker {
    margin-bottom: 5px;
    font-size: 0.44em;
    letter-spacing: 0.16em;
  }

  #star-haaranalyse-widget .sta-claim {
    margin-top: 11px;
    font-size: 11.5px;
  }

  #star-haaranalyse-widget .sta-trust {
    gap: 5px;
    margin-top: 12px;
  }

  #star-haaranalyse-widget .sta-trust li {
    padding: 5px 9px 5px 6px;
    font-size: 10px;
  }

  #star-haaranalyse-widget .sta-trust-check {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  #star-haaranalyse-widget .sta-trust-check svg {
    width: 9px;
    height: 9px;
  }

  #star-haaranalyse-widget .sta-back {
    top: 13px;
    left: 12px;
    width: 34px;
    height: 34px;
  }

  #star-haaranalyse-widget .sta-back svg {
    width: 16px;
    height: 16px;
  }

  #star-haaranalyse-widget .sta-progress-wrap {
    padding: 17px 18px 2px;
  }

  #star-haaranalyse-widget .sta-body {
    min-height: 230px;
    padding: 12px 18px 23px;
  }

  #star-haaranalyse-widget .sta-question {
    margin-top: 15px;
    font-size: 18px;
  }

  #star-haaranalyse-widget .sta-options.is-grid .sta-option {
    min-height: 132px;
    padding: 15px 9px;
  }

  #star-haaranalyse-widget .sta-option-label {
    font-size: 13px;
  }
}

@container (max-width: 350px) {
  #star-haaranalyse-widget .sta-head {
    padding: 18px 14px 16px;
  }

  #star-haaranalyse-widget .sta-title {
    max-width: 18ch;
    padding: 0 38px;
    font-size: 21px;
  }

  #star-haaranalyse-widget .sta-claim {
    font-size: 11px;
  }

  #star-haaranalyse-widget .sta-trust li {
    padding: 4px 8px 4px 5px;
    font-size: 9.2px;
  }

  #star-haaranalyse-widget .sta-options.is-grid {
    gap: 9px;
  }

  #star-haaranalyse-widget .sta-options.is-grid .sta-option-icon,
  #star-haaranalyse-widget .sta-options.is-grid .sta-option-icon img,
  #star-haaranalyse-widget .sta-options.is-grid .sta-option-icon svg {
    width: 56px;
    height: 56px;
  }

  #star-haaranalyse-widget .sta-options.is-grid .sta-option-icon {
    flex-basis: 56px;
  }
}

/* Hinweis-Box, wenn das Limit greift oder der Versand scheitert:
   der Lead bekommt sofort einen zweiten Weg (WhatsApp / Telefon). */
#star-haaranalyse-widget .sta-fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

#star-haaranalyse-widget .sta-fallback a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(194, 160, 106, 0.62);
  border-radius: 999px;
  background: rgba(194, 160, 106, 0.13);
  color: #DEC697;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

#star-haaranalyse-widget .sta-fallback a:hover,
#star-haaranalyse-widget .sta-fallback a:focus-visible {
  border-color: rgba(194, 160, 106, 0.8);
  background: rgba(194, 160, 106, 0.22);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  #star-haaranalyse-widget *,
  #star-haaranalyse-widget *::before,
  #star-haaranalyse-widget *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================================
   ELEMENTOR-EINBETTUNG - bewusst ENTFERNT
   ---------------------------------------------------------------------
   Die Ku'damm-Fassung hatte hier drei Regelblöcke, die per :has() den
   Elementor-Wrapper des Widgets ansprachen (flex-grow:0, align-self:
   flex-start ab 1025px, padding-bottom:0 unter 1024px). Sie sollten den
   Leerraum unter der Karte schließen, wenn das Widget in einem EIGENEN
   HTML-Widget sitzt.

   Auf staraesthetic.de ist die Architektur eine andere: die komplette
   Startseite ist EIN einziges Elementor-HTML-Widget (#sa-home), und das
   Haaranalyse-Widget liegt darin. Die Selektoren hätten deshalb nicht den
   Widget-Wrapper getroffen, sondern den Wrapper der GANZEN SEITE -
   inklusive `align-self:flex-start !important`, was den Seitenblock auf
   Inhaltsbreite zusammengezogen hätte, und `padding-bottom:0 !important`
   auf dem Seitencontainer unter 1024px.

   Die Höhe der Widget-Spalte regelt jetzt das Hero-Raster selbst
   (.hero__analyse mit min-height:var(--sa-analyse-h)). Diese Regeln sind
   damit nicht nur überflüssig, sondern schädlich - deshalb entfernt.

   Wird das Widget einmal in ein eigenes Elementor-HTML-Widget gesetzt,
   gehören sie zurück - dann aber mit einem Wrapper, der wirklich nur das
   Widget umschließt.
   ===================================================================== */

/* =====================================================================
   NEWME LP · V6 – kompakter Kopf ohne Titelblock
   Zurück-Button sitzt links in der Fortschrittszeile.
   ===================================================================== */
#star-haaranalyse-widget .sta-card {
  border-color: rgba(194, 160, 106, 0.32);
  border-radius: 22px;
}
#star-haaranalyse-widget .sta-progress-wrap {
  padding: 24px 28px 4px;
}
#star-haaranalyse-widget .sta-progress-meta {
  gap: 12px;
  min-height: 30px;
  margin-bottom: 10px;
  font-size: 12.5px;
}
#star-haaranalyse-widget .sta-progress-text {
  flex: 1;
}
#star-haaranalyse-widget .sta-progress-number {
  color: #DEC697;
}
#star-haaranalyse-widget .sta-progress {
  height: 6px;
}
#star-haaranalyse-widget .sta-back {
  position: static;
  display: none;
  width: auto;
  height: 30px;
  padding: 0 12px 0 8px;
  gap: 4px;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
#star-haaranalyse-widget .sta-back.is-visible {
  display: inline-flex;
}
#star-haaranalyse-widget .sta-back svg {
  width: 15px;
  height: 15px;
}
@container (max-width: 480px) {
  #star-haaranalyse-widget .sta-progress-wrap { padding: 20px 18px 4px; }
}
