.hero {
  position: relative;
  padding: 110px 0 0px 0;
  background: var(--color-white);
  text-align: center;
}

.hero-bg-logo {
  position: absolute;
  top: 60%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 50%;
  max-width: 600px;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-logo img {
  width: 100%;
  opacity: 0.1;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 40px 0 0px;
  max-width: 850px;
}

.hero-text > p {
  font-size: var(--size-p);
  color: var(--color-black);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  justify-content: center;
}

.hero-badges .badge-light{
  width: fit-content;
}

.hero .cta-block {
  margin-top: 20px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  margin-top: 20px;
}

/* iPhones */
.hero-phones {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding-bottom: 0;
  margin-top: 20px;
}
.hero-phone {
  width: 300px;
  max-width: 300px;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-phone img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-phone-video {
  position: relative;
  width: 100%;
  padding-top: 177.78%;
  overflow: hidden;
}
.hero-phone-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===========================
   LOGOS
=========================== */

.logos {
  padding-bottom: 100px;
}

.logos-title {
  text-align: center;
  font-size: var(--size-p);
  font-weight: 500;
  margin-bottom: 24px;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logos-row img {
  height: 45px;
  width: auto;
  filter: grayscale(100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.logos-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===========================
   LEISTUNGEN
=========================== */

.leistungen {
  background: var(--color-bg-light);
  padding: 100px 0;
}

.leistungen-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.leistungen-tabs {
  position: relative;
  display: inline-flex;
  background: var(--color-white);
  border-radius: 999px;
  padding: 6px;
  gap: 4px;
  white-space: nowrap;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-grey-border);
}
.leistungen-tabs::-webkit-scrollbar {
  display: none;
}

.leistungen-tabs-slider {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  background: linear-gradient(90deg, #E6B554, #FBD78C, #E6B554);
  border-radius: 999px;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.leistungen-tab {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: var(--size-p);
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.leistungen-tab.active {
  color: var(--color-black);
  font-weight: 400;
}

.leistungen-panels {
  margin-top: 40px;
}

.leistungen-panel {
  display: none;
}

.leistungen-panel.active {
  display: block;
}

.leistungen-panel h3 {
  text-align: center;
  margin-bottom: 32px;
}

.leistungen-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.leistungen-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--color-grey-border);
}

.leistungen-card h4 {
  font-size: var(--size-h6);
}

.leistungen-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.leistungen-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--size-p);
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.leistungen-card .btn-gold-small{
  width: fit-content;
}

/* ===========================
   HOW IT WORKS
=========================== */

.how-it-works .container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-it-works {
  background: var(--color-white);
  padding: 100px 0;
}

.hiw-cards {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 1250px;
}

.hiw-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--color-grey-border);
}

.hiw-card-title {
  font-size: var(--size-h6);
  margin-bottom: 20px;
}

.hiw-animation {
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  position: relative;
}

.hiw-animation .animation-container {
  width: 200%;
  min-height: 500px;
  transform: scale(0.5);
  transform-origin: top center;
  margin-left: -50%;
  margin-bottom: -250px;
}

.hiw-animation .animation-wrapper {
  width: 200%;
  min-height: 500px;
  transform: scale(0.5);
  transform-origin: top left;
  margin-left: 0;
  margin-bottom: -250px;
}

.hiw-mobile-cta {
  display: none;
}

.hiw-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* HIW ANIMATIONS */

/* Animation play state control */
.hiw-card .animation-container,
.hiw-card .animation-wrapper,
.hiw-card .cta-button,
.hiw-card .cursor,
.hiw-card .cursor-ring,
.hiw-card .booking-interface,
.hiw-card .date-cell.selected,
.hiw-card .timeslot.visible,
.hiw-card .timeslot.selected,
.hiw-card .form-section,
.hiw-card .form-input.typing,
.hiw-card .submit-button,
.hiw-card .success-state,
.hiw-card .success-icon,
.hiw-card .checkmark-circle,
.hiw-card .checkmark-check,
.hiw-card .service-pill,
.hiw-card .service-pill .checkmark,
.hiw-card .strategy-box,
.hiw-card .strategy-header,
.hiw-card .strategy-tag,
.hiw-card .notification {
  animation-play-state: paused;
}

.hiw-card.is-active .animation-container,
.hiw-card.is-active .animation-wrapper,
.hiw-card.is-active .cta-button,
.hiw-card.is-active .cursor,
.hiw-card.is-active .cursor-ring,
.hiw-card.is-active .booking-interface,
.hiw-card.is-active .date-cell.selected,
.hiw-card.is-active .timeslot.visible,
.hiw-card.is-active .timeslot.selected,
.hiw-card.is-active .form-section,
.hiw-card.is-active .form-input.typing,
.hiw-card.is-active .submit-button,
.hiw-card.is-active .success-state,
.hiw-card.is-active .success-icon,
.hiw-card.is-active .checkmark-circle,
.hiw-card.is-active .checkmark-check,
.hiw-card.is-active .service-pill,
.hiw-card.is-active .service-pill .checkmark,
.hiw-card.is-active .strategy-box,
.hiw-card.is-active .strategy-header,
.hiw-card.is-active .strategy-tag,
.hiw-card.is-active .notification {
  animation-play-state: running;
}

/* --- Step 1: Calendly --- */

.hiw-card .animation-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hiw-card .cta-button {
  position: absolute;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #1a1a1a;
  background: linear-gradient(90deg, #E6B554 0%, #FBD78C 50%, #E6B554 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(230, 181, 84, 0.25);
  z-index: 10;
  animation: buttonSequence 8s ease-in-out infinite;
}

.hiw-card .cursor {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  animation: cursorMove 12s ease-in-out infinite;
}

.hiw-card .cursor-dot {
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hiw-card .cursor-ring {
  width: 20px;
  height: 20px;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  position: absolute;
  top: -6px;
  left: -6px;
  opacity: 0;
  animation: cursorClick 8s ease-in-out infinite;
}

.hiw-card .booking-interface {
  position: absolute;
  width: 600px;
  max-width: 100%;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  animation: interfaceAppear 8s ease-in-out infinite;
}

.hiw-card .booking-header {
  padding: 24px 28px;
  border-bottom: 1px solid #f0f0f0;
}

.hiw-card .booking-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.hiw-card .booking-header p {
  font-size: 14px;
  color: #666;
}

.hiw-card .booking-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.hiw-card .calendar-section {
  padding: 24px;
  border-right: 1px solid #f0f0f0;
}

.hiw-card .calendar-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hiw-card .month-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.hiw-card .calendar-nav {
  display: flex;
  gap: 8px;
}

.hiw-card .nav-arrow {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #666;
  cursor: pointer;
}

.hiw-card .calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.hiw-card .day-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  padding: 8px 0;
}

.hiw-card .calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.hiw-card .date-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #1a1a1a;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

.hiw-card .date-cell.disabled {
  color: #ccc;
  cursor: default;
}

.hiw-card .date-cell.selected {
  background: linear-gradient(90deg, #E6B554 0%, #FBD78C 50%, #E6B554 100%);
  color: #1a1a1a;
  font-weight: 600;
  animation: dateSelect 8s ease-in-out infinite;
}

.hiw-card .timeslots-section {
  padding: 24px;
  background: #fafafa;
}

.hiw-card .timeslot-label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 16px;
}

.hiw-card .timeslots-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
}

.hiw-card .timeslot {
  padding: 12px 16px;
  background: white;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  opacity: 0;
  transform: translateX(20px);
}

.hiw-card .timeslot.visible {
  animation: timeslotAppear 8s ease-in-out infinite;
}

.hiw-card .timeslot:nth-child(1).visible { animation-delay: 0s; }
.hiw-card .timeslot:nth-child(2).visible { animation-delay: 0.05s; }
.hiw-card .timeslot:nth-child(3).visible { animation-delay: 0.1s; }
.hiw-card .timeslot:nth-child(4).visible { animation-delay: 0.15s; }
.hiw-card .timeslot:nth-child(5).visible { animation-delay: 0.2s; }
.hiw-card .timeslot:nth-child(6).visible { animation-delay: 0.25s; }

.hiw-card .timeslot.selected {
  background: linear-gradient(90deg, rgba(230, 181, 84, 0.1) 0%, rgba(251, 215, 140, 0.15) 50%, rgba(230, 181, 84, 0.1) 100%);
  border-color: #E6B554;
  animation: timeslotSelect 8s ease-in-out infinite;
}

.hiw-card .form-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: scale(0.98);
  animation: formAppear 8s ease-in-out infinite;
  z-index: 5;
}

.hiw-card .form-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  text-align: center;
}

.hiw-card .form-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
  text-align: center;
}

.hiw-card .form-group {
  margin-bottom: 20px;
}

.hiw-card .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.hiw-card .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  opacity: 0;
  transform: translateY(10px);
}

.hiw-card .form-input.typing {
  animation: inputTyping 8s ease-in-out infinite;
}

.hiw-card .submit-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #E6B554 0%, #FBD78C 50%, #E6B554 100%);
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #1a1a1a;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  animation: submitAppear 8s ease-in-out infinite;
}

.hiw-card .success-state {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  animation: successAppear 8s ease-in-out infinite;
  z-index: 6;
}

.hiw-card .success-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  opacity: 0;
  transform: scale(0);
  animation: iconPop 8s ease-in-out infinite;
}

.hiw-card .checkmark-circle {
  stroke: #E6B554;
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  animation: checkmarkCircle 8s ease-in-out infinite;
}

.hiw-card .checkmark-check {
  stroke: #E6B554;
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkmarkCheck 8s ease-in-out infinite;
}

.hiw-card .success-title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.hiw-card .success-subtitle {
  font-size: 14px;
  color: #666;
}

/* Step 1 Keyframes */
@keyframes buttonSequence {
  0%, 100% { opacity: 1; transform: scale(1); }
  3% { transform: scale(0.95); }
  6% { transform: scale(1); opacity: 1; }
  10% { opacity: 0; transform: scale(0.9); }
  85% { opacity: 0; }
  90% { opacity: 1; transform: scale(1); }
}

@keyframes cursorMove {
  0%, 100% { opacity: 0; top: 100px; left: 100px; }
  2% { opacity: 1; }
  5% { top: 50%; left: 50%; transform: translate(-50%, -50%); }
  8%, 15% { opacity: 1; }
  18% { opacity: 0; }
}

@keyframes cursorClick {
  0%, 6% { opacity: 0; transform: scale(1); }
  7% { opacity: 0.6; transform: scale(1.4); }
  8% { opacity: 0; transform: scale(1.8); }
}

@keyframes interfaceAppear {
  0%, 8% { opacity: 0; transform: scale(0.95) translateY(20px); }
  12% { opacity: 1; transform: scale(1) translateY(0); }
  85% { opacity: 1; transform: scale(1) translateY(0); }
  92% { opacity: 0; transform: scale(0.95) translateY(20px); }
  100% { opacity: 0; }
}

@keyframes dateSelect {
  0%, 15% { transform: scale(1); }
  18% { transform: scale(1.15); }
  20% { transform: scale(1); }
}

@keyframes timeslotAppear {
  0%, 20% { opacity: 0; transform: translateX(20px); }
  24% { opacity: 1; transform: translateX(0); }
  80% { opacity: 1; }
  85% { opacity: 0; }
}

@keyframes timeslotSelect {
  0%, 28% { transform: translateX(0); }
  30% { transform: translateX(-4px); }
  32% { transform: translateX(0); }
}

@keyframes formAppear {
  0%, 35% { opacity: 0; transform: scale(0.98); }
  40% { opacity: 1; transform: scale(1); }
  65% { opacity: 1; }
  70% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 0; }
}

@keyframes inputTyping {
  0%, 42% { opacity: 0; transform: translateY(10px); }
  45% { opacity: 1; transform: translateY(0); }
  70% { opacity: 1; }
  75% { opacity: 0; }
}

@keyframes submitAppear {
  0%, 50% { opacity: 0; transform: translateY(10px); }
  55% { opacity: 1; transform: translateY(0); }
  58% { transform: translateY(-2px); }
  60% { transform: translateY(0); }
}

@keyframes successAppear {
  0%, 65% { opacity: 0; transform: scale(0.9); }
  70% { opacity: 1; transform: scale(1); }
  85% { opacity: 1; }
  92% { opacity: 0; }
}

@keyframes iconPop {
  0%, 68% { opacity: 0; transform: scale(0); }
  72% { opacity: 1; transform: scale(1.2); }
  75% { transform: scale(1); }
}

@keyframes checkmarkCircle {
  0%, 70% { stroke-dashoffset: 251; }
  78% { stroke-dashoffset: 0; }
  85% { stroke-dashoffset: 0; }
}

@keyframes checkmarkCheck {
  0%, 74% { stroke-dashoffset: 48; }
  82% { stroke-dashoffset: 0; }
  85% { stroke-dashoffset: 0; }
}

/* --- Step 2: Strategy --- */

.hiw-card[data-step="2"] .animation-wrapper {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-card .services-container {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}

.hiw-card .service-pill {
  padding: 14px 18px;
  background: #FFF7E4;
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
  white-space: nowrap;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hiw-card .service-pill::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, #D7AD5F 0%, #FFE3A5 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hiw-card .service-pill .checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #E6B554;
  border-radius: 50%;
  color: white;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: scale(0);
  flex-shrink: 0;
}

.hiw-card .service-pill:nth-child(1) { animation: pill1Animation 10s ease-in-out infinite; }
.hiw-card .service-pill:nth-child(2) { animation: pill2FadeOut 10s ease-in-out infinite; }
.hiw-card .service-pill:nth-child(3) { animation: pill3Animation 10s ease-in-out infinite; }
.hiw-card .service-pill:nth-child(4) { animation: pill4FadeOut 10s ease-in-out infinite; }
.hiw-card .service-pill:nth-child(5) { animation: pill5FadeOut 10s ease-in-out infinite; }
.hiw-card .service-pill:nth-child(6) { animation: pill6Animation 10s ease-in-out infinite; }
.hiw-card .service-pill:nth-child(7) { animation: pill7FadeOut 10s ease-in-out infinite; }
.hiw-card .service-pill:nth-child(8) { animation: pill8FadeOut 10s ease-in-out infinite; }
.hiw-card .service-pill:nth-child(9) { animation: pill9FadeOut 10s ease-in-out infinite; }

.hiw-card .service-pill:nth-child(1) .checkmark { animation: checkmark1 10s ease-in-out infinite; }
.hiw-card .service-pill:nth-child(3) .checkmark { animation: checkmark3 10s ease-in-out infinite; }
.hiw-card .service-pill:nth-child(6) .checkmark { animation: checkmark6 10s ease-in-out infinite; }

.hiw-card .strategy-box {
  position: absolute;
  width: 420px;
  max-width: 100%;
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 16px;
  padding: 28px;
  opacity: 0;
  transform: scale(0.95);
  animation: boxAppear 10s ease-in-out infinite;
  z-index: 10;
}

.hiw-card .strategy-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  animation: headerFade 10s ease-in-out infinite;
}

.hiw-card .strategy-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #E6B554 0%, #FBD78C 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-card .strategy-icon svg {
  width: 20px;
  height: 20px;
}

.hiw-card .strategy-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.hiw-card .strategy-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hiw-card .strategy-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(230, 181, 84, 0.06) 0%, rgba(251, 215, 140, 0.1) 100%);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  opacity: 0;
  transform: translateX(-10px);
}

.hiw-card .strategy-tag:nth-child(1) { animation: tagAppear 10s ease-in-out infinite; animation-delay: 0s; }
.hiw-card .strategy-tag:nth-child(2) { animation: tagAppear 10s ease-in-out infinite; animation-delay: 0.1s; }
.hiw-card .strategy-tag:nth-child(3) { animation: tagAppear 10s ease-in-out infinite; animation-delay: 0.2s; }

.hiw-card .tag-dot {
  width: 8px;
  height: 8px;
  background: #E6B554;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Step 2 Keyframes */
@keyframes pill1Animation {
  0% { opacity: 0; transform: translateX(-30px) translateY(0); }
  2% { opacity: 1; transform: translateX(0) translateY(0); }
  20% { opacity: 1; transform: translateX(0) translateY(0); }
  30% { opacity: 1; transform: translateX(0) translateY(60px); }
  32% { opacity: 1; transform: translateX(0) translateY(60px); }
  33% { opacity: 0; transform: translateX(0) translateY(60px); }
  100% { opacity: 0; }
}

@keyframes pill3Animation {
  0%, 3% { opacity: 0; transform: translateX(-30px) translateY(0); }
  5% { opacity: 1; transform: translateX(0) translateY(0); }
  20% { opacity: 1; transform: translateX(0) translateY(0); }
  30% { opacity: 1; transform: translateX(0) translateY(10px); }
  32% { opacity: 1; transform: translateX(0) translateY(10px); }
  33% { opacity: 0; transform: translateX(0) translateY(10px); }
  100% { opacity: 0; }
}

@keyframes pill6Animation {
  0%, 6% { opacity: 0; transform: translateX(-30px) translateY(0); }
  8% { opacity: 1; transform: translateX(0) translateY(0); }
  20% { opacity: 1; transform: translateX(0) translateY(0); }
  30% { opacity: 1; transform: translateX(0) translateY(-40px); }
  32% { opacity: 1; transform: translateX(0) translateY(-40px); }
  33% { opacity: 0; transform: translateX(0) translateY(-40px); }
  100% { opacity: 0; }
}

@keyframes pill2FadeOut {
  0%, 1% { opacity: 0; transform: translateX(-30px); }
  3% { opacity: 1; transform: translateX(0); }
  20% { opacity: 1; }
  24% { opacity: 0; transform: translateX(10px); }
  100% { opacity: 0; }
}

@keyframes pill4FadeOut {
  0%, 4% { opacity: 0; transform: translateX(-30px); }
  6% { opacity: 1; transform: translateX(0); }
  20% { opacity: 1; }
  24% { opacity: 0; transform: translateX(10px); }
  100% { opacity: 0; }
}

@keyframes pill5FadeOut {
  0%, 5% { opacity: 0; transform: translateX(-30px); }
  7% { opacity: 1; transform: translateX(0); }
  20% { opacity: 1; }
  24% { opacity: 0; transform: translateX(10px); }
  100% { opacity: 0; }
}

@keyframes pill7FadeOut {
  0%, 7% { opacity: 0; transform: translateX(-30px); }
  9% { opacity: 1; transform: translateX(0); }
  20% { opacity: 1; }
  24% { opacity: 0; transform: translateX(10px); }
  100% { opacity: 0; }
}

@keyframes pill8FadeOut {
  0%, 8% { opacity: 0; transform: translateX(-30px); }
  10% { opacity: 1; transform: translateX(0); }
  20% { opacity: 1; }
  24% { opacity: 0; transform: translateX(10px); }
  100% { opacity: 0; }
}

@keyframes pill9FadeOut {
  0%, 9% { opacity: 0; transform: translateX(-30px); }
  10% { opacity: 1; transform: translateX(0); }
  20% { opacity: 1; }
  24% { opacity: 0; transform: translateX(10px); }
  100% { opacity: 0; }
}

@keyframes checkmark1 {
  0%, 10% { opacity: 0; transform: scale(0); }
  12% { opacity: 1; transform: scale(1.2); }
  13% { transform: scale(1); }
  32% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes checkmark3 {
  0%, 13% { opacity: 0; transform: scale(0); }
  15% { opacity: 1; transform: scale(1.2); }
  16% { transform: scale(1); }
  32% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes checkmark6 {
  0%, 16% { opacity: 0; transform: scale(0); }
  18% { opacity: 1; transform: scale(1.2); }
  19% { transform: scale(1); }
  32% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes boxAppear {
  0%, 32% { opacity: 0; transform: scale(0.95); }
  35% { opacity: 1; transform: scale(1); }
  90% { opacity: 1; }
  95% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes headerFade {
  0%, 36% { opacity: 0; }
  38% { opacity: 1; }
  90% { opacity: 1; }
  95% { opacity: 0; }
}

@keyframes tagAppear {
  0%, 39% { opacity: 0; transform: translateX(-10px); }
  42% { opacity: 1; transform: translateX(0); }
  90% { opacity: 1; }
  95% { opacity: 0; }
}

/* --- Step 3: Results --- */

.hiw-card[data-step="3"] .animation-wrapper {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-end;
  padding-bottom: 40px;
  overflow: hidden;
}

.hiw-card[data-step="3"] .animation-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--color-bg-light) 0%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.hiw-card .notification {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #FFF7E4;
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(100px);
}

.hiw-card .notification::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, #D7AD5F 0%, #FFE3A5 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hiw-card .notification:nth-child(1) { animation: notification1 8s ease-in-out infinite; }
.hiw-card .notification:nth-child(2) { animation: notification2 8s ease-in-out infinite; }
.hiw-card .notification:nth-child(3) { animation: notification3 8s ease-in-out infinite; }
.hiw-card .notification:nth-child(4) { animation: notification4 8s ease-in-out infinite; }
.hiw-card .notification:nth-child(5) { animation: notification5 8s ease-in-out infinite; }

.hiw-card .notification-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E6B554 0%, #FBD78C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-card .notification-icon svg {
  width: 24px;
  height: 24px;
}

.hiw-card .notification-content {
  flex: 1;
  min-width: 0;
}

.hiw-card .notification-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 3px;
  line-height: 1.3;
}

.hiw-card .notification-subtitle {
  font-size: 13px;
  color: #666;
  line-height: 1.3;
}

.hiw-card .notification-badge {
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Step 3 Keyframes */
@keyframes notification1 {
  0% { opacity: 0; transform: translateY(100px); }
  5% { opacity: 1; transform: translateY(0); }
  17% { transform: translateY(0); }
  20% { transform: translateY(-60px); }
  32% { transform: translateY(-60px); }
  35% { transform: translateY(-120px); }
  47% { transform: translateY(-120px); }
  50% { transform: translateY(-180px); }
  62% { transform: translateY(-180px); }
  65% { transform: translateY(-240px); }
  85% { opacity: 1; transform: translateY(-240px); }
  92% { opacity: 0; }
  100% { opacity: 0; transform: translateY(100px); }
}

@keyframes notification2 {
  0%, 15% { opacity: 0; transform: translateY(100px); }
  20% { opacity: 1; transform: translateY(0); }
  32% { transform: translateY(0); }
  35% { transform: translateY(-60px); }
  47% { transform: translateY(-60px); }
  50% { transform: translateY(-120px); }
  62% { transform: translateY(-120px); }
  65% { transform: translateY(-180px); }
  85% { opacity: 1; transform: translateY(-180px); }
  92% { opacity: 0; }
  100% { opacity: 0; transform: translateY(100px); }
}

@keyframes notification3 {
  0%, 30% { opacity: 0; transform: translateY(100px); }
  35% { opacity: 1; transform: translateY(0); }
  47% { transform: translateY(0); }
  50% { transform: translateY(-60px); }
  62% { transform: translateY(-60px); }
  65% { transform: translateY(-120px); }
  85% { opacity: 1; transform: translateY(-120px); }
  92% { opacity: 0; }
  100% { opacity: 0; transform: translateY(100px); }
}

@keyframes notification4 {
  0%, 45% { opacity: 0; transform: translateY(100px); }
  50% { opacity: 1; transform: translateY(0); }
  62% { transform: translateY(0); }
  65% { transform: translateY(-60px); }
  85% { opacity: 1; transform: translateY(-60px); }
  92% { opacity: 0; }
  100% { opacity: 0; transform: translateY(100px); }
}

@keyframes notification5 {
  0%, 60% { opacity: 0; transform: translateY(100px); }
  65% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(0); }
  92% { opacity: 0; }
  100% { opacity: 0; transform: translateY(100px); }
}

/* Dots (hidden on desktop) */
.leistungen-dots {
  display: none;
}

.wer-wir-sind-content .section-header {
  align-items: flex-start;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-text {
    padding-top: 60px;
  }
  .hero-phone {
    width: 22%;
  }
  .leistungen-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .leistungen-cards::-webkit-scrollbar {
    display: none;
  }
  .leistungen-cards::after {
    content: '';
    flex-shrink: 0;
    width: 40px;
  }
  .leistungen-card {
    min-width: 70vw;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .leistungen-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }
  .leistungen-dots .dot {
    width: 22px;
    height: 5px;
    border-radius: 100px;
    background: var(--color-grey-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .leistungen-dots .dot.active {
    background: var(--color-dark-gold);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 0 0;
  }

  .hero-text {
    padding: 60px 0 0 0;
  }

  .hero-text h1 {
    font-size: var(--size-h1);
  }
  .hero-badges .badge-light{
  width: 47%;
  }
  .hero-phones {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    row-gap: 25px;
  }
  .hero-phone {
    width: 170px;
  }
  .hero-bg-logo {
    top: 25%;
    left: 20%;
    width: 100%;
  }
  .leistungen-cards {
    gap: 10px;
  }
  .leistungen-card {
    max-width: 95%;
  }
  .hiw-cards {
    display: flex;
    width: 100%;
    grid-template-columns: unset;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 40px;
    gap: 10px;
  }
  .how-it-works .hiw-card {
    min-width: 90vw;
    max-width: 90vw;
    flex-shrink: 0;
    scroll-snap-align: start;
    height: 450px;
  }
  .hiw-cards::-webkit-scrollbar {
    display: none;
  }
  .hiw-card {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .hiw-animation { min-height: 260px; }
  .hiw-mobile-cta { display: inline-flex; }
  .hiw-cta { display: none; }
}
