/* Drei Entwicklungsphasen im vorhandenen Level-My-Beauty-Stil. */
.phases-model {
  padding: 88px 0 64px;
  color: #fff;
  background: radial-gradient(ellipse at 9% 35%, #8739bd33, transparent 55%), radial-gradient(ellipse at 95% 8%, #9b35e525, transparent 48%), linear-gradient(135deg, #1b0d28, #2b113f);
  border-block: 1px solid #a753e94d;
  scroll-margin-top: 18px;
}
.phases-heading { max-width: 820px; margin: 0 auto 34px; }
.phases-heading h2 { margin-bottom: 20px; }
.phases-heading h2 span { color: #d6a4ff; }
.phases-heading > p:not(.eyebrow) { max-width: 690px; margin: 0 auto; color: #cbb8da; font-size: 15px; line-height: 1.85; }
.phase-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 38px; }
.phase-tabs[hidden], .phase-panel[hidden] { display: none; }
.phase-tabs button {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #a76ec44d;
  border-radius: 16px;
  background: #ffffff06;
  color: #cdb8dc;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.phase-tabs button[aria-selected="true"] {
  border-color: #c383f5;
  background: linear-gradient(115deg, #8b24d6, #672095);
  color: #fff;
  box-shadow: 0 0 26px #a540ef2b, inset 0 1px #e6c8ff38;
}
.phase-tabs button:hover { border-color: #c383f5; }
.phase-tabs button:focus-visible, .phase-panel:focus-visible { outline: 2px solid #e1baff; outline-offset: 5px; }
.phase-tab-number { display: grid; place-items: center; flex-shrink: 0; width: 39px; height: 39px; border: 1px solid #b583d244; border-radius: 11px; color: #dab6f5; font-size: 15px; font-weight: 600; }
.phase-tabs button[aria-selected="true"] .phase-tab-number { color: #fff; border-color: #e2baff80; background: #ffffff10; }
.phase-tabs strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.5; }
.phase-tabs small { display: block; margin-top: 4px; color: #bca3cd; font-size: 9px; line-height: 1.5; }
.phase-tabs button[aria-selected="true"] small { color: #ead3fc; }
.phase-tabs.has-phase-indicator { position: relative; isolation: isolate; }
.phase-tabs.has-phase-indicator button { position: relative; z-index: 1; }
.phase-tabs.has-phase-indicator button[aria-selected="true"] { background: transparent; border-color: transparent; box-shadow: none; }
.phase-tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border: 1px solid #c383f5;
  border-radius: 16px;
  background: linear-gradient(115deg, #8b24d6, #672095);
  box-shadow: 0 0 26px #a540ef2b, inset 0 1px #e6c8ff38;
  transform-origin: 0 0;
  pointer-events: none;
}
.phase-tab-number { transition: color .25s ease, border-color .25s ease, background .25s ease; }
.phase-stage { position: relative; isolation: isolate; padding: 12px; margin: -12px; overflow: hidden; overflow: clip; }
.phase-stage > .phase-panel { position: relative; z-index: 1; }
.phase-stage > .phase-panel.is-exiting { position: absolute; inset: 12px 12px auto; z-index: 2; pointer-events: none; }
.phase-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 38px; align-items: start; scroll-margin-top: 122px; }
.phase-panel + .phase-panel { margin-top: 55px; }
.phases-model.has-phase-tabs .phase-panel { margin-top: 0; }
.phase-intro { padding-top: 6px; }
.phase-kicker { display: inline-block; margin: 0 0 20px; padding: 7px 12px; color: #dbb2fa; border: 1px solid #b578dc66; border-radius: 8px; background: #b45cef0a; font-size: 10px; font-weight: 600; letter-spacing: 1.6px; }
.phase-intro h3 { margin-bottom: 22px; color: #fff; font-size: clamp(27px, 2.5vw, 34px); font-weight: 600; line-height: 1.18; }
.phase-intro > p:not(.phase-kicker) { margin-bottom: 24px; color: #cbb8da; font-size: 13px; line-height: 1.85; }
.phase-focus { display: flex; gap: 11px; align-items: flex-start; padding: 15px 13px; margin-bottom: 26px; border-left: 2px solid #c385fa; background: #ffffff06; border-radius: 0 9px 9px 0; }
.phase-focus svg { width: 19px; height: 19px; margin-top: 3px; color: #d6a4ff; }
.phase-focus p { margin: 0; color: #ebd9f7; font-size: 12px; line-height: 1.7; }
.phase-focus small { display: block; margin-bottom: 4px; color: #b593ca; font-size: 8px; letter-spacing: 1px; }
.phase-intro .button { width: 100%; min-height: 48px; justify-content: space-between; gap: 10px; padding: 13px 15px; font-size: 10px; }
.phase-intro .button svg { width: 18px; height: 18px; }
.phase-topics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; perspective: 1200px; }
.phase-topic { grid-column: span 2; min-width: 0; min-height: 235px; padding: 23px 20px; border: 1px solid #dec4f2; border-radius: 20px; background: linear-gradient(145deg, #fff, #f7f0fc); color: #241a29; text-align: center; box-shadow: 0 8px 28px #0c041e22, inset 0 1px #fff; transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .3s ease; }
.phase-topic:nth-last-child(-n+2) { grid-column: span 3; min-height: 211px; }
.phase-topic-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; border: 1px solid #e3c7f7; border-radius: 15px; background: linear-gradient(135deg, #f5eaff, #ecdcfb); color: #8b24d6; box-shadow: 0 0 20px #a540ef12; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease; }
.phase-topic-icon svg { width: 32px; height: 32px; stroke-width: 1.6; overflow: visible; }
.phase-topic h4 { margin: 0 0 11px; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -.3px; }
.phase-topic p { margin: 0; color: #746480; font-size: 12px; line-height: 1.8; }
.phases-note { max-width: 760px; margin: 28px auto 0; color: #bca3cd; font-size: 10px; text-align: center; line-height: 1.8; }
@media (hover: hover) and (pointer: fine) {
  .phase-topic:hover { transform: translateY(-6px) rotateX(1.5deg) rotateY(-1deg); border-color: #bc78ed; box-shadow: 0 18px 38px #0c041e30, 0 0 28px #a540ef1f; }
  .phase-topic:hover .phase-topic-icon { transform: translateY(-2px) rotate(-4deg) scale(1.04); box-shadow: 0 0 22px #a540ef24; }
}
@media (max-width: 1000px) {
  .phase-panel { grid-template-columns: 1fr; gap: 28px; }
  .phase-intro { max-width: 730px; }
  .phase-intro h3 { font-size: 34px; }
  .phase-intro > p:not(.phase-kicker) { max-width: 640px; }
  .phase-focus { max-width: 460px; }
  .phase-intro .button { width: auto; max-width: 100%; gap: 24px; }
  .phase-tabs button { padding: 14px 12px; gap: 9px; }
  .phase-tabs strong { font-size: 11px; }
  .phase-tabs small { font-size: 8px; }
  .phase-topic p { font-size: 12px; }
}
@media (max-width: 760px) {
  .phase-topics { grid-template-columns: 1fr; gap: 13px; }
  .phase-topic, .phase-topic:nth-last-child(-n+2) { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; grid-column: auto; min-height: 0; padding: 23px; text-align: left; border-radius: 16px; }
  .phase-topic-icon { width: 48px; height: 48px; margin: 0; border-radius: 13px; }
  .phase-topic-icon svg { width: 28px; height: 28px; }
  .phase-topic h4 { font-size: 16px; margin-bottom: 8px; }
  .phase-topic p { font-size: 12px; line-height: 1.85; }
}
@media (max-width: 600px) {
  .phases-model { padding: 60px 0 42px; scroll-margin-top: 12px; }
  .phases-heading { margin-bottom: 27px; }
  .phases-heading h2 { font-size: 31px; line-height: 1.2; }
  .phases-heading > p:not(.eyebrow) { font-size: 12px; }
  .phase-tabs { gap: 7px; margin-bottom: 28px; }
  .phase-tabs button { flex-direction: column; justify-content: flex-start; padding: 12px 5px; gap: 9px; text-align: center; border-radius: 12px; }
  .phase-tab-indicator { border-radius: 12px; }
  .phase-tab-number { width: 30px; height: 30px; font-size: 12px; border-radius: 9px; }
  .phase-tabs strong { font-size: 10px; line-height: 1.5; }
  .phase-tabs small { display: none; }
  .phase-kicker { font-size: 8px; margin-bottom: 17px; }
  .phase-intro h3 { font-size: 33px; margin-bottom: 19px; }
  .phase-intro > p:not(.phase-kicker) { font-size: 12px; }
  .phase-focus { margin-bottom: 22px; }
  .phase-focus p { font-size: 11px; }
  .phase-intro .button { width: 100%; font-size: 11px; }
  .phase-topic, .phase-topic:nth-last-child(-n+2) { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; padding: 21px 18px; }
  .phase-topic-icon { width: 42px; height: 42px; border-radius: 12px; }
  .phase-topic-icon svg { width: 26px; height: 26px; }
  .phase-topic h4 { font-size: 14px; }
  .phase-topic p { font-size: 11px; }
  .phases-note { font-size: 9px; margin-top: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .phase-tabs button, .phase-tab-number, .phase-topic, .phase-topic-icon { transition: none; }
  .phase-topic:hover, .phase-topic:hover .phase-topic-icon { transform: none; }
}
