/* ES-Visuals · Feinschliff und Bewegung (Startseite und Preisrechner)
   Nur vorhandene Tokens; alle Bewegungen entfallen bei „Bewegung reduzieren“. */

/* Akzent in der Leistungs-Headline */
.section-heading h2 em{font-style:normal;color:var(--blue)}

/* Pfeile reagieren auf Hover */
.button>span[aria-hidden],.service-price-link>span,.text-link>span{transition:transform .3s cubic-bezier(.16,1,.3,1)}
.button:hover>span[aria-hidden],.service-price-link:hover>span{transform:translate(3px,-3px)}
.round-link{transition:background .2s,color .2s,transform .35s cubic-bezier(.16,1,.3,1)}
.round-link:hover{transform:rotate(45deg)}

/* Hero: erste Zeile dunkel, zweite blau (beide als eigene Zeile animierbar) */
.hero-message h1 .hero-line:not(.hero-line--blue){color:var(--ink)}
.hero-line{display:inline-block}

/* Warum ES-Visuals: drei klare Argumente statt Signatur */
.studio-facts{list-style:none;margin:42px 0 0;padding:0;max-width:540px;counter-reset:fakt}
.studio-facts li{display:grid;grid-template-columns:28px 1fr;gap:5px 14px;padding:18px 0;border-top:1px solid #20292b1f;counter-increment:fakt}
.studio-facts li:last-child{border-bottom:1px solid #20292b1f}
.studio-facts li:before{content:counter(fakt,decimal-leading-zero);grid-row:1/3;font-size:11px;color:var(--blue);padding-top:5px}
.studio-facts b{font-size:17px;font-weight:550;letter-spacing:-.02em}
.studio-facts span{font-size:13px;line-height:1.8;color:var(--muted)}

/* Prozess-Film: weicher Bildwechsel und Fortschritt am aktiven Schritt */
#plan-image{transition:opacity .4s ease}
#plan-image.is-wechsel{opacity:.35}
.plan-step-list button{position:relative}
.plan-step-list.is-auto button[aria-pressed=true]:after{content:'';position:absolute;left:0;bottom:-1px;height:2px;width:0;background:var(--blue);animation:plan-takt var(--takt,2600ms) linear forwards}
@keyframes plan-takt{to{width:100%}}

/* Preisrechner: Schritt 1 nutzt die volle Breite, Leistungen mit Vorschaubild */
.kf[data-schritt="1"] .kf-layout{grid-template-columns:1fr}
.kf[data-schritt="1"] .kf-summary{display:none}
.kf-card-bild{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--soft);border-bottom:1px solid #bcc7c1}
.kf-card-bild img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.16,1,.3,1)}
.kf-card:hover .kf-card-bild img{transform:scale(1.045)}
.kf-card--bild{display:flex;flex-direction:column}
.kf-card--bild .kf-card-body{flex:1;min-height:0}
.kf-card--bild input{top:14px;right:14px;width:22px;height:22px;z-index:1}
.kf-card:has(input:checked) .kf-card-bild{border-bottom-color:var(--blue)}
@media(max-width:1100px){.kf-cards--3 .kf-card-bild{aspect-ratio:21/8}}

/* Mobile Anfrageleiste */
.mobile-cta{display:none}
@media(max-width:800px){
  .mobile-cta{display:flex;gap:8px;position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:30;transform:translateY(160%);transition:transform .5s cubic-bezier(.16,1,.3,1)}
  .mobile-cta.is-sichtbar{transform:none}
  .mobile-cta a{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 14px;font-size:13px;font-weight:550;background:var(--paper);color:var(--ink);border:1px solid var(--ink);box-shadow:0 10px 30px #10191b2e}
  .mobile-cta .mobile-cta-main{background:var(--blue);border-color:var(--blue);color:#fff}
}

@media(prefers-reduced-motion:no-preference){
  /* Hero baut sich beim Laden auf */
  .hero-line{animation:esv-auf 1s cubic-bezier(.16,1,.3,1) both}
  .hero-line--blue{animation-delay:.12s}
  .hero-service-line{animation:esv-auf 1s .22s cubic-bezier(.16,1,.3,1) both}
  .hero-details{animation:esv-auf 1s .34s cubic-bezier(.16,1,.3,1) both}
  .hero-stage>.hero-image>img{animation:esv-zoom 9s cubic-bezier(.16,1,.3,1) both}

  /* Abschnitte gleiten beim Scrollen herein */
  .reveal-an .reveal{opacity:0;transform:translateY(26px);transition:opacity 1s cubic-bezier(.16,1,.3,1),transform 1s cubic-bezier(.16,1,.3,1);transition-delay:calc(var(--reveal-i,0) * 90ms)}
  .reveal-an .reveal.is-in{opacity:1;transform:none}
}
@keyframes esv-auf{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@keyframes esv-zoom{from{transform:scale(1.07)}to{transform:scale(1)}}

/* Preisrechner: Abstand zwischen Frage und Auswahl (Einleitungstexte entfallen) */
.kf-step h2{margin-bottom:28px}
