/* =========================================================================
   stevora gmbh — Startseite: Werbung für die Stevora Treuhand Software
   1) «Neu»-Hinweis im Hero   2) dunkler Abschnitt direkt unter dem Hero
   ========================================================================= */

/* ---------- 1) Hinweis im Hero ---------- */
.sw-chip {
  display: flex; width: fit-content; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(247, 244, 238, .10);
  border: 1px solid rgba(217, 190, 248, .32);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #F7F4EE; font: 500 .86rem/1.2 var(--font-body); text-decoration: none;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.sw-chip:hover, .sw-chip:focus-visible { background: rgba(247, 244, 238, .18); border-color: rgba(217, 190, 248, .6); transform: translateY(-1px); }
.sw-chip .tag {
  font: 500 .68rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 999px; color: #1A0F2E;
  background: linear-gradient(100deg, #D9BEF8, #F7F4EE);
}
.sw-chip svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.sw-chip:hover svg { transform: translateX(3px); }
.sw-chip .when { color: rgba(247, 244, 238, .62); }

/* ---------- 2) Abschnitt ---------- */
.sw-promo {
  position: relative; overflow: hidden; isolation: isolate;
  background: #160C27; color: #F7F4EE;
  padding-block: clamp(80px, 11vw, 150px);
}
/* weiches, langsam wanderndes Licht im Hintergrund */
.sw-promo::before, .sw-promo::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.sw-promo::before { width: 620px; height: 620px; right: -120px; top: -160px; background: rgba(139, 93, 189, .45); animation: sw-drift 16s ease-in-out infinite alternate; }
.sw-promo::after  { width: 520px; height: 520px; left: -180px; bottom: -220px; background: rgba(91, 44, 135, .55); animation: sw-drift 20s ease-in-out infinite alternate-reverse; }
@keyframes sw-drift { from { transform: translate(0, 0); } to { transform: translate(-60px, 50px); } }
/* feines Raster */
.sw-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(247, 244, 238, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 244, 238, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
}

.sw-promo .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 6vw, 90px); align-items: center; }

.sw-promo .eyebrow { color: #C9A6F0; }
.sw-promo .eyebrow::before { background: linear-gradient(100deg, #8B5DBD, #C9A6F0); }
.sw-new { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font: 500 .72rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #E8DDF0; }
.sw-new i { width: 8px; height: 8px; border-radius: 50%; background: #C9A6F0; box-shadow: 0 0 0 0 rgba(201, 166, 240, .7); animation: sw-pulse 2.2s infinite; }
@keyframes sw-pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 166, 240, .6); } 70% { box-shadow: 0 0 0 10px rgba(201, 166, 240, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 166, 240, 0); } }

.sw-promo h2 { color: #FBF9F4; margin-bottom: 22px; font-size: clamp(2rem, 3.8vw, 3.1rem); }
.sw-promo h2 em {
  background: linear-gradient(100deg, #D9BEF8 0%, #F7F4EE 50%, #C9A6F0 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.sw-promo .lede { color: rgba(247, 244, 238, .78); margin-bottom: 30px; }

.sw-points { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sw-points li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(247, 244, 238, .05); border: 1px solid rgba(247, 244, 238, .10);
  font-size: .92rem; color: rgba(247, 244, 238, .9); line-height: 1.3;
}
.sw-points svg { width: 18px; height: 18px; flex: none; color: #C9A6F0; }

.sw-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sw-promo .btn-primary { background: #F7F4EE; color: #1A0F2E; }
.sw-promo .btn-primary:hover { background: #FFFFFF; }
.sw-promo .btn-ghost { color: #F7F4EE; border-color: rgba(247, 244, 238, .3); }
.sw-promo .btn-ghost:hover { border-color: #F7F4EE; background: rgba(247, 244, 238, .06); }
.sw-price { margin-top: 22px; font-size: .88rem; color: rgba(247, 244, 238, .6); }
.sw-price b { color: #F7F4EE; font-weight: 600; }

/* ---------- Bildschirm-Vorschau ---------- */
.sw-stage { position: relative; }
.sw-window {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #F2EFF6; border: 1px solid rgba(247, 244, 238, .18);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 0 80px -20px rgba(139, 93, 189, .55);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.sw-stage:hover .sw-window { transform: translateY(-4px); }
.sw-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #E7E2EE; border-bottom: 1px solid rgba(26, 15, 46, .08); }
.sw-bar span { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.sw-bar span:nth-child(2) { background: #FEBC2E; }
.sw-bar span:nth-child(3) { background: #28C840; }
.sw-bar b { margin-left: 10px; font: 500 .74rem/1 var(--font-body); color: #4A3D60; transition: opacity .3s ease; }
.sw-shots { position: relative; aspect-ratio: 1600 / 1025; }
.sw-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.sw-shots img.on { opacity: 1; }

/* Reiter unter dem Fenster */
.sw-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; justify-content: center; }
.sw-tabs button {
  all: unset; cursor: pointer; position: relative; overflow: hidden;
  padding: 8px 14px; border-radius: 999px; font: 500 .8rem/1 var(--font-body);
  color: rgba(247, 244, 238, .7); border: 1px solid rgba(247, 244, 238, .14);
  transition: color .25s, border-color .25s, background .25s;
}
.sw-tabs button:hover, .sw-tabs button:focus-visible { color: #fff; border-color: rgba(247, 244, 238, .4); }
.sw-tabs button[aria-selected="true"] { color: #1A0F2E; background: #E8DDF0; border-color: #E8DDF0; }
/* Fortschrittsbalken im aktiven Reiter */
.sw-tabs button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #5B2C87;
  transform-origin: left; animation: sw-progress var(--sw-ms, 4500ms) linear forwards;
}
.sw-paused .sw-tabs button::after { animation-play-state: paused; }
@keyframes sw-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* schwebende Karten */
.sw-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(26, 15, 46, .72); border: 1px solid rgba(217, 190, 248, .25);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  font-size: .82rem; line-height: 1.3; color: rgba(247, 244, 238, .75);
  animation: sw-bob 6s ease-in-out infinite alternate;
}
.sw-float b { display: block; color: #FBF9F4; font: 600 1rem/1.2 var(--font-display); }
.sw-float .ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(201, 166, 240, .16); color: #D9BEF8; }
.sw-float .ic svg { width: 18px; height: 18px; }
.sw-float.f1 { left: -28px; bottom: 18%; }
.sw-float.f2 { right: -18px; top: -26px; animation-delay: -3s; }
@keyframes sw-bob { from { transform: translateY(0); } to { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .sw-promo .wrap { grid-template-columns: 1fr; }
  .sw-window { transform: none; }
  .sw-stage:hover .sw-window { transform: none; }
  .sw-float.f1 { left: 10px; bottom: -24px; }
  .sw-float.f2 { right: 10px; top: -22px; }
}
@media (max-width: 560px) {
  .sw-points { grid-template-columns: 1fr; }
  .sw-float.f1 { display: none; }
  .sw-float { padding: 9px 12px; font-size: .74rem; }
  .sw-float b { font-size: .9rem; }
  .sw-float .ic { width: 28px; height: 28px; }
  .sw-chip { font-size: .8rem; }
  .sw-chip .when { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-promo::before, .sw-promo::after, .sw-new i, .sw-float, .sw-tabs button::after { animation: none !important; }
  .sw-window { transform: none !important; }
}
