/* ============================================================
   INSTAHELP STARTSEITE 2026
   All selectors scoped to .ih-page to avoid parent-site leaks
   ============================================================ */

body { margin: 0; -webkit-font-smoothing: antialiased; }

/* --- Tokens --- */
.ih-page {
  --ih-green:  #DCEAD0;
  --ih-pink:   #FFA6FF;
  --ih-yellow: #FFFFAF;
  --ih-white:  #FFFFFF;
  --ih-black:  #000000;
  --ih-off:    #F7F7F7;
  --ih-border: rgba(0,0,0,0.12);
  --ih-max-w:  1280px;
  --ih-px:     clamp(20px, 4vw, 80px);
  --ih-py:     clamp(48px, 6vw, 120px);
  --ih-font-d: "loretta", serif;
  --ih-font-b: "Inter", sans-serif;
  --ih-radius: 12px;
  --ih-ease:   0.25s ease;

  font-family: var(--ih-font-b);
  font-weight: 500;
  color: var(--ih-black);
  overflow-x: hidden;
}

.ih-page *, .ih-page *::before, .ih-page *::after { box-sizing: border-box; }
.ih-page img { display: block; max-width: 100%; }
/* :where() has zero specificity → any single-class rule wins by cascade order */
.ih-page :where(h1, h2, h3, p, ol, ul) { margin: 0; }
.ih-page a { text-decoration: none; }
.ih-page strong { font-weight: 600; }

/* --- Layout helpers --- */
.ih-container {
  padding-inline: var(--ih-px);
}

/* --- Shared: label --- */
.ih-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 14px;
}
.ih-label--light { color: var(--ih-white); }

/* --- Shared: underline --- */
.ih-underline { text-decoration: underline; text-underline-offset: 4px; }

/* --- Shared: primary button --- */
.ih-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-family: var(--ih-font-b);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--ih-black);
  background: var(--ih-black);
  color: var(--ih-white);
  cursor: pointer;
  transition: opacity var(--ih-ease);
  white-space: nowrap;
}
.ih-btn:hover { opacity: 0.75; }
.ih-btn--white   { background: var(--ih-white);       color: var(--ih-black); border-color: var(--ih-white); }
.ih-btn--outline { background: transparent;            color: var(--ih-black); }
.ih-btn--outline-light { background: transparent; color: var(--ih-white); border-color: var(--ih-white); }

/* --- Shared: icon circle button --- */
.ih-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  flex-shrink: 0;
  transition: background var(--ih-ease);
}
.ih-icon-btn--inline { width: 24px; height: 24px; vertical-align: middle; margin-left: 6px; }

/* --- Shared: speech bubble ---
   Uses background-bubble-sm.svg (363×190)
   Bubble body: top 80% — tail: bottom 20%
   Layout: title top-left · icon top-right · sub bottom-left */
@keyframes ih-bubble-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

.ih-bubble {
  position: relative;
  display: block;
  width: 330px;
  color: var(--ih-black);
  cursor: pointer;
  transition: opacity var(--ih-ease);
  animation: ih-bubble-float 3.2s ease-in-out infinite;
}
.ih-bubble:hover {
  opacity: 0.82;
  animation-play-state: paused;
}

.ih-bubble__bg {
  display: block;
  width: 100%;
  height: auto;
}

/* grid overlay covering the bubble body only (excludes tail) */
.ih-bubble__inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 20%;
  padding: 18px 22px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
}

/* top-left */
.ih-bubble__title {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  align-self: start;
}

/* top-right */
.ih-bubble__icon {
  grid-column: 2;
  grid-row: 1;
  width: 30px;
  height: 30px;
  align-self: start;
  flex-shrink: 0;
}

/* bottom-left */
.ih-bubble__sub {
  grid-column: 1 / -1;
  grid-row: 3;
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  align-self: end;
}


/* ============================================================
   01 HERO
   ============================================================ */
.ih-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* only .ih-hero__content in flow → sits at bottom */
  /* no overflow:hidden — would clip bubble drop shadow */
}

.ih-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ih-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ih-hero__logo-wrap {
  position: absolute; /* spans full hero, out of flex flow */
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* clicks pass through to content below */
}
.ih-hero__logo {
  pointer-events: auto;
}
.ih-hero__logo {
  width: clamp(260px, 50vw, 710px);
  max-width: 710px;
  height: auto;
}

.ih-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 2.8vw, 56px) var(--ih-px);
}

.ih-hero__headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(32px, 3vw, 60px);
  color: var(--ih-black);
  line-height: 1.1;
  margin-bottom: 20px;
}
.ih-hero__sub {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(16px, 1.3vw, 26px);
  color: var(--ih-black);
  line-height: 1.4;
}



/* ============================================================
   02 FACT STRIP
   ============================================================ */
.ih-facts {
  padding: clamp(28px, 2.5vw, 50px) 0;
  overflow: hidden;
}
.ih-facts__track-wrap { overflow: hidden; }
.ih-facts__track {
  display: flex;
  width: max-content;
  animation: ih-marquee 28s linear infinite;
}
.ih-facts__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 15px;
  padding: 0 36px;
}
.ih-facts__item img { flex-shrink: 0; }

@keyframes ih-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ih-facts:hover .ih-facts__track { animation-play-state: paused; }


/* ============================================================
   03 CARDS
   ============================================================ */
.ih-cards {
  padding-block-start: var(--ih-py);
  padding-block-end: clamp(32px, 3vw, 56px);
  background: var(--ih-green);
}
.ih-cards > .ih-container { margin-bottom: clamp(36px, 2.8vw, 56px); text-align: center; }

/* label override for this section */
.ih-cards .ih-label {
  font-size: clamp(16px, 1.25vw, 25px);
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
}

.ih-cards__headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(32px, 3vw, 60px);
  line-height: 1.1;
  margin-top: 4px;
}

.ih-cards__scroll-wrap { position: relative; }

.ih-cards__scroll {
  display: flex;
  align-items: flex-start;   /* allows nth-child margin-top offset */
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--ih-px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 var(--ih-px) 102px; /* 102px bottom = room for 90px offset cards */
  cursor: grab;
  user-select: none;
}
.ih-cards__scroll::-webkit-scrollbar { display: none; }
.ih-cards__scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;    /* disable snap while dragging for smooth feel */
}


.ih-card {
  flex: 0 0 272px;
  scroll-snap-align: start;
  border-radius: var(--ih-radius);
  display: flex;
  flex-direction: column;
  background: var(--ih-white);
  box-shadow: 2px 3px 6px 0 rgba(0,0,0,0.15);
}

.ih-card:nth-child(even) { margin-top: 90px; }

/* --- Desktop carousel (≥768px) --- */
@media (min-width: 768px) {
  .ih-cards__scroll-wrap { overflow-x: clip; overflow-y: visible; padding-bottom: 20px; }
  .ih-cards__scroll {
    display: block;
    overflow: visible;
    cursor: grab;
    user-select: none;
    /* height is set dynamically by JS */
  }
  .ih-cards__scroll.is-dragging { cursor: grabbing; }
  .ih-card {
    position: absolute;
    left: 50%;
    top: 0;
    flex: none;
    width: 390px;
    scroll-snap-align: none;
    cursor: pointer;
  }
  .ih-card:nth-child(even) { margin-top: 0; } /* stagger handled by JS */
}

.ih-card__img-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; margin: 20px 20px 0; border-radius: 8px; }
.ih-card__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ih-card:hover .ih-card__img-wrap img { transform: scale(1.04); }

.ih-card__body {
  padding: 20px;
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ih-card__title {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(18px, 1.25vw, 25px);
  line-height: 1.2;
}
.ih-card__text {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.45;
  flex: 1;
  padding-right: 54px;
}
.ih-card__link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--ih-ease);
}
.ih-card__link img { width: 34px; height: 34px; }
.ih-card__link:hover { opacity: 0.65; }


.ih-cards__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  padding-inline: var(--ih-px);   /* matches .ih-hero__content horizontal padding */
  padding-top: 24px;
  flex-wrap: nowrap;
}
.ih-cards__footer-text {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(16px, 1.3vw, 26px);
  line-height: 1.5;
  max-width: 60%;
}
.ih-desktop-br { display: inline; }

/* cards section CTA button */
.ih-btn--cards {
  font-family: var(--ih-font-d);
  font-weight: 600;
  font-size: clamp(18px, 1.25vw, 25px);
  border-radius: 8px;
  background: var(--ih-white);
  color: var(--ih-black);
  border: 1px solid var(--ih-black);
  padding: 14px 28px;
}


/* ============================================================
   04 STEPS
   ============================================================ */
.ih-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ih-steps__left {
  padding: var(--ih-px) 0;
  display: flex;
  align-items: center;
}
.ih-steps__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.ih-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-block: 36px;
  padding-inline-start: var(--ih-px);
  padding-inline-end: clamp(12px, 2vw, 32px);
}
.ih-steps__item:first-child { padding-top: 0; }
.ih-steps__item:last-child  { padding-bottom: 0; }
.ih-steps__item:not(:last-child) { border-bottom: 1px solid var(--ih-border); }

.ih-steps__num {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(28px, 2vw, 42px);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
}
.ih-steps__content {
  flex: 1;
}
.ih-steps__content h3 {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 40px);
  line-height: 1.2;
  margin-bottom: 10px;
}
.ih-steps__content h3 .ih-underline {
  font-weight: 600;
  text-decoration: none;
}
.ih-steps__content p {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(16px, 1.3vw, 26px);
  line-height: 1.5;
}
.ih-steps__illus {
  width: clamp(200px, 18vw, 320px);
  min-width: 0;
  height: auto;
  flex-shrink: 0;
  align-self: center;
  margin-inline-start: clamp(8px, 2vw, 32px);
}

.ih-steps__right {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ih-steps__img {
  position: absolute;
  inset: 0;
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: top right;
}
.ih-steps__aside {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(14px, 1vw, 20px);
  line-height: 1.5;
  text-align: right;
  color: var(--ih-black);
  z-index: 1;
}
.ih-steps__overlay {
  position: relative;
  z-index: 1;
  padding: 40px var(--ih-px);
}
.ih-steps__cta-headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(36px, 3.5vw, 70px);
  color: var(--ih-black);
  line-height: 1;
  margin-bottom: 24px;
}
.ih-btn--steps {
  font-family: var(--ih-font-d);
  font-weight: 600;
  font-size: clamp(18px, 1.25vw, 25px);
  border-radius: 8px;
  background: var(--ih-white);
  color: var(--ih-black);
  border: 1px solid var(--ih-black);
  padding: 14px 28px;
}


/* ============================================================
   05 WHY
   ============================================================ */
.ih-why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (min-width: 768px) { .ih-why { min-height: 1000px; } }

.ih-why__left {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ih-why__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ih-why__left-overlay {
  position: relative;
  z-index: 1;
  padding: 40px var(--ih-px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.ih-why__headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(26px, 3.5vw, 70px);
  color: var(--ih-black);
  line-height: 1.05;
}

.ih-why__right {
  padding: clamp(24px, 3vw, 60px) var(--ih-px) var(--ih-py);
  background: var(--ih-yellow);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 4vw, 80px);
}
.ih-why__intro {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(17px, 1.25vw, 25px);
  line-height: 1.35;
  text-align: center;
}
.ih-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
  flex: 1;
}

.ih-why__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: var(--ih-off);
  border-radius: var(--ih-radius);
  box-shadow: 2px 3px 6px 0 rgba(0,0,0,0.15);
  padding: 20px;
}
.ih-why__feature .ih-icon-btn {
  position: absolute;
  top: 20px;
  right: 20px;
}
.ih-why__feature-header {
  margin-bottom: 12px;
}
.ih-why__feature-header h3 {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 40px);
  line-height: 1.2;
  padding-right: 32px;
  overflow-wrap: break-word;
  hyphens: auto;
}
.ih-why__feature p {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.55;
  text-indent: 1.5em;
}

/* ============================================================
   06 KRANKENKASSE
   ============================================================ */
.ih-kasse {
  border-top: 1px solid var(--ih-border);
  border-bottom: 1px solid var(--ih-border);
  padding: 40px 0;
}
.ih-kasse__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.ih-kasse__text {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(15px, 1vw, 20px);
  line-height: 1.6;
}
.ih-kasse__logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.ih-kasse__logos img { width: auto; object-fit: contain; flex-shrink: 0; }
.ih-kasse__logos img:nth-child(1) { height: 60px; }
.ih-kasse__logos img:nth-child(2) { height: 70px; }
.ih-kasse__logos img:nth-child(3) { height: 60px; max-width: none; }


/* ============================================================
   07 MATCH
   ============================================================ */
.ih-match {
  background: var(--ih-pink);
  padding-block: var(--ih-py);
  overflow: hidden;
  position: relative;
}
.ih-match__inner {
  text-align: center;
  margin-bottom: 48px;
}
.ih-match .ih-label {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(16px, 1.25vw, 25px);
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
}
.ih-match__headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 40px);
  line-height: 1.3;
}
.ih-match__headline strong {
  font-weight: 600;
}

/* ---- Coverflow stage ---- */
.ih-match__stage {
  position: relative;
  height: clamp(440px, 40vw, 800px);
  margin-bottom: 32px;
}
.ih-match__carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.ih-match__profile {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(180px, 24vw, 475px);
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s ease;
}

/* Nav controls */
.ih-match__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.ih-match__nav img { width: 40px; height: 40px; }
.ih-match__nav:hover { opacity: 0.65; }
.ih-match__nav--prev { left: var(--ih-px); }
.ih-match__nav--next { right: var(--ih-px); }
.ih-match__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.ih-match__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tags: overlaid at bottom of image, hidden until active */
.ih-match__tags {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.ih-match__profile.is-active .ih-match__tags {
  opacity: 1;
  pointer-events: auto;
}
.ih-match__tags span {
  font-family: var(--ih-font-d);
  font-weight: 600;
  font-size: clamp(14px, 1vw, 20px);
  background: var(--ih-white);
  padding: 4px 14px;
  border-radius: 8px;
  border: 1px solid var(--ih-black);
  white-space: nowrap;
}

/* Info: below image, hidden until active */
.ih-match__info {
  position: relative;
  padding-top: 14px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.ih-match__profile.is-active .ih-match__info {
  opacity: 1;
  pointer-events: auto;
}
.ih-match__name-row {
  position: relative;
  padding-right: 36px;
  margin-bottom: 6px;
}
.ih-match__name {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(16px, 1.25vw, 25px);
  line-height: 1.2;
}
.ih-match__info .ih-icon-btn,
.ih-match__mobile-info .ih-icon-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
}
.ih-match__role {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(14px, 1vw, 20px);
  line-height: 1.45;
}

/* Mobile info bar (hidden on desktop) */
.ih-match__mobile-bar { display: none; }

/* CTA */
.ih-match__cta {
  display: flex;
  justify-content: flex-end;
  padding: 0 var(--ih-px);
}
@media (min-width: 768px) {
  .ih-match__stage { margin-bottom: 0; }
  .ih-match__cta {
    position: absolute;
    right: var(--ih-px);
    bottom: clamp(16px, 2vw, 36px);
    padding: 0;
  }
}


/* ============================================================
   08 TESTIMONIALS
   ============================================================ */
.ih-testimonials {
  background: var(--ih-white);
  color: var(--ih-black);
  padding: clamp(32px, 4vw, 72px) 0 clamp(32px, 4vw, 72px) var(--ih-px);
  overflow: hidden;
}

.ih-testimonials__inner {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: clamp(32px, 3vw, 60px);
  align-items: center;
}

.ih-testimonials__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ih-testimonials__headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(30px, 2.5vw, 48px);
  line-height: 1.15;
  overflow-wrap: break-word;
  hyphens: auto;
}

.ih-testimonials__text {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(18px, 1.2vw, 24px);
  line-height: 1.35;
}

.ih-testimonials__track-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.ih-testimonials__track-wrap::-webkit-scrollbar { display: none; }
.ih-testimonials__track-wrap.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.ih-testimonials__track {
  display: flex;
  gap: 16px;
}

.ih-testimonial {
  flex: 0 0 clamp(240px, 23vw, 462px);
  scroll-snap-align: start;
  text-align: center;
}

.ih-testimonial__video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--ih-radius);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 16px;
  background: #000;
}

.ih-testimonial__video-wrap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ih-testimonial__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 0;
}

.ih-testimonial__play img {
  width: 34px;
  height: 34px;
  position: static;
}

.ih-testimonial__video-wrap.is-loaded > img,
.ih-testimonial__video-wrap.is-loaded .ih-testimonial__play { display: none; }

.ih-testimonial__video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.ih-testimonial__name {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(20px, 1.4vw, 26px);
  margin-bottom: 4px;
}

.ih-testimonial__role {
  font-size: 16px;
  opacity: 1;
}

/* ============================================================
   09 REVIEWS
   ============================================================ */
.ih-reviews {
  background: var(--ih-green);
  padding: clamp(32px, 4vw, 72px) var(--ih-px);
}

.ih-reviews__headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(28px, 2.4vw, 48px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.ih-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 32px);
  align-items: start;
}

/* center card sits higher; odd cards drop down to create stagger */
.ih-review:nth-child(odd) { margin-top: clamp(24px, 3vw, 60px); }

/* drop-shadow on outer element so the shadow follows bubble + tail as one shape */
.ih-review { filter: drop-shadow(2px 3px 6px rgba(0, 0, 0, 0.15)); }

.ih-review__bubble {
  background: #fff;
  border-radius: 9px;
  padding: clamp(20px, 1.6vw, 32px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* tail — SVG background image so drop-shadow on parent traces the real organic shape */
.ih-review__bubble::after {
  content: '';
  position: absolute;
  bottom: -31px;
  width: 62px;
  height: 31px;
  background-size: 62px 31px;
  background-repeat: no-repeat;
}
.ih-review--l .ih-review__bubble::after {
  background-image: url('assets/tail-left.svg');
  left: 0;
}
.ih-review--r .ih-review__bubble::after {
  background-image: url('assets/tail-right.svg');
  right: 0;
}

.ih-review__stars { display: flex; gap: 4px; }

.ih-review__text {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(15px, 1vw, 20px);
  line-height: 1.65;
}

.ih-review__text .ih-review__qs,
.ih-review__text .ih-review__qe {
  display: inline;
  height: 1em;
  width: auto;
  vertical-align: -0.15em;
}
.ih-review__qs { margin-right: 3px; }
.ih-review__qe { margin-left: 3px; }

.ih-review__name {
  font-family: var(--ih-font-b);
  font-size: 14px;
  color: #000;
}


/* ============================================================
   10 PRICE
   ============================================================ */
.ih-price {
  background: var(--ih-yellow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (min-width: 768px) { .ih-price { min-height: 900px; } }

/* left column: no horizontal padding — table rows bleed to the edges */
.ih-price__left {
  padding: clamp(32px, 4vw, 72px) 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ih-price__label {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(18px, 1.25vw, 25px);
  text-align: center;
  padding-inline: var(--ih-px);
}

.ih-price__headline {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 40px);
  line-height: 1.3;
  text-align: center;
  padding-inline: var(--ih-px);
}
.ih-price__headline u {
  font-weight: 600;
  text-decoration: none;
}

.ih-price__table { width: 100%; border-collapse: collapse; }
.ih-price__table tr { border-bottom: 1px solid var(--ih-black); }
.ih-price__table tr:first-child { border-top: 1px solid var(--ih-black); }
.ih-price__table td { padding: clamp(16px, 1.2vw, 24px) var(--ih-px); vertical-align: middle; }

.ih-price__tarif-name {
  display: block;
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(16px, 1.25vw, 25px);
}
.ih-price__tarif-sub {
  display: block;
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(14px, 1vw, 20px);
  color: #000;
  margin-top: 2px;
}
.ih-price__tarif-price {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(24px, 2vw, 40px);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}

.ih-price__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: var(--ih-px);
}
.ih-price__payment {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ih-price__pay-logo {
  height: 20px;
  width: auto;
}
.ih-price__avail {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}

.ih-price__right {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ih-price__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ih-price__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.6) 100%);
}
.ih-price__overlay {
  position: relative;
  z-index: 1;
  padding: 40px var(--ih-px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.ih-price__cta-headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(36px, 3.5vw, 70px);
  color: var(--ih-white);
  line-height: 1.1;
}


/* ============================================================
   11 BUSINESS
   ============================================================ */
.ih-business {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 900px;
}

.ih-business__left {
  position: relative;
  overflow: hidden;
}
.ih-business__img { width: 100%; height: 100%; object-fit: cover; }

/* bubble — sits top-left over the image, SVG bg scales with content */
.ih-business__bubble {
  position: absolute;
  bottom: calc(var(--ih-px) * 0.5);
  left: var(--ih-px);
  z-index: 2;
  background-image: url('assets/background-bubble-left.svg');
  background-size: 100% 100%;
  aspect-ratio: 364 / 247;
  padding: 9% 2% 13% 2%;
  width: clamp(280px, 20vw, 400px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: var(--ih-black);
  transition: opacity var(--ih-ease);
}
.ih-business__bubble:hover { opacity: 0.85; }


.ih-business__bubble-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.ih-business__bubble-title {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(22px, 1.6vw, 32px);
  line-height: 1.2;
}
.ih-business__bubble-sub {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
}

.ih-business__right {
  background: var(--ih-pink);
  padding: clamp(32px, 4vw, 72px) var(--ih-px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.ih-business__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 24px;
}
.ih-business__headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(32px, 3vw, 60px);
  line-height: 1.1;
}
.ih-business__text {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 40px);
  line-height: 1.25;
}
/* button sits at the bottom, not stretched */
.ih-business__content > .ih-btn {
  margin-top: auto;
  align-self: flex-start;
}
.ih-business__illustration {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 390px;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}


/* ============================================================
   12 PROOF
   ============================================================ */
.ih-proof {
  border-top: 1px solid var(--ih-border);
  border-bottom: 1px solid var(--ih-border);
  padding-block: 40px;
  overflow: hidden;
}
.ih-proof__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.ih-proof__label {
  flex-shrink: 0;
  max-width: 300px;
}
.ih-proof__count {
  font-family: var(--ih-font-b);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}
.ih-proof__text {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}
.ih-proof__ticker-wrap {
  overflow: hidden;
  flex: 1;
}
.ih-proof__ticker {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 56px;
  animation: ih-marquee 22s linear infinite;
}
.ih-proof__ticker img {
  height: 26px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.ih-proof:hover .ih-proof__ticker { animation-play-state: paused; }


/* ============================================================
   13 MAGAZIN
   ============================================================ */
.ih-magazin {
  background: var(--ih-yellow);
  padding-top: var(--ih-py);
  padding-bottom: 0;
}

.ih-magazin__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(48px, 4vw, 80px);
}

.ih-magazin__label {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(18px, 1.25vw, 25px);
  color: var(--ih-black);
}

.ih-magazin__headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(32px, 3vw, 60px);
  line-height: 1.1;
}

.ih-magazin__sub {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(18px, 1.25vw, 25px);
  line-height: 1.45;
  max-width: 700px;
}

.ih-magazin__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: stretch;
  border-top: 1px solid var(--ih-black);
  border-bottom: 1px solid var(--ih-black);
  margin-inline: calc(-1 * var(--ih-px));
}

.ih-article {
  border-right: 1px solid var(--ih-black);
  padding: clamp(20px, 1.6vw, 32px);
  padding-right: clamp(32px, 3.75vw, 75px);
}

.ih-article__link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  color: var(--ih-black);
}

.ih-article__img-wrap {
  position: relative;
  aspect-ratio: 8/9;
  overflow: hidden;
}

.ih-article__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ih-article:hover .ih-article__img-wrap img { transform: scale(1.04); }

.ih-article__tags {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 12px;
}
.ih-article__tags span {
  font-family: var(--ih-font-d);
  font-weight: 600;
  font-size: clamp(13px, 0.85vw, 17px);
  background: var(--ih-white);
  padding: 4px 14px;
  border-radius: 8px;
  border: 1px solid var(--ih-black);
  white-space: nowrap;
}

.ih-article__title {
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(18px, 1.25vw, 25px);
  line-height: 1.3;
}

.ih-article__text {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(15px, 1vw, 20px);
  line-height: 1.55;
}

.ih-magazin__more-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
}

.ih-magazin__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ih-font-b);
  font-size: 15px;
  font-weight: 400;
  color: var(--ih-black);
  white-space: nowrap;
  transition: opacity var(--ih-ease);
}
.ih-magazin__more:hover { opacity: 0.65; }


/* ============================================================
   14 FAQ
   ============================================================ */
.ih-faq { padding-block: var(--ih-py); }

.ih-faq__headline {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(32px, 3vw, 60px);
  text-align: center;
  margin-bottom: 12px;
}
.ih-faq__sub {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(18px, 1.25vw, 25px);
  text-align: center;
  line-height: 1.45;
  margin-bottom: 56px;
}
.ih-faq__list {
  border-top: 1px solid var(--ih-black);
  margin-inline: calc(-1 * var(--ih-px));
}
.ih-faq__item { border-bottom: 1px solid var(--ih-black); }
.ih-faq__item--open { background: var(--ih-green); }

.ih-faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px var(--ih-px);
  font-family: var(--ih-font-b);
  font-weight: 500;
  font-size: clamp(18px, 1.25vw, 25px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ih-black);
}
.ih-faq__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ih-ease);
}
.ih-faq__item--open .ih-faq__icon { transform: rotate(180deg); }

/* animate with grid trick */
.ih-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.ih-faq__item--open .ih-faq__answer { grid-template-rows: 1fr; }

.ih-faq__answer-inner { overflow: hidden; }

.ih-faq__answer-content {
  max-width: 1340px;
  padding: 0 var(--ih-px) 36px;
}
.ih-faq__answer-content p {
  font-family: var(--ih-font-d);
  font-weight: 400;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.7;
  text-indent: 1.5em;
  margin-bottom: 12px;
}
.ih-faq__answer-content p:last-child { margin-bottom: 0; }
.ih-faq__answer-content a { color: var(--ih-black); text-decoration: underline; }


.ih-br--mobile { display: none; }


.ih-steps__mobile-cta,
.ih-why__mobile-cta,
.ih-price__mobile-cta { display: none; }

/* ============================================================
   MOBILE — all max-width overrides in one place so they always
   come after the rules they override in the cascade
   ============================================================ */
@media (max-width: 767px) {

  .ih-br--mobile { display: inline; }

  /* 01 Hero */
  .ih-hero__sub br { display: none; }
  .ih-hero__logo-wrap { align-items: flex-start; padding-top: 28px; }
  .ih-hero__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(220, 235, 207, 0.00) 0%, rgba(220, 235, 207, 0.63) 100%);
    padding-top: 60px;
    gap: 0;
  }
  .ih-hero__cta { order: -1; align-self: center; }
  .ih-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(220, 235, 207, 0.65) 0%, rgba(220, 235, 207, 0) 40%);
    pointer-events: none;
  }
  .ih-bubble { width: 260px; }
  .ih-bubble__inner { text-align: left; }
  .ih-bubble__title { font-size: 24px; }
  .ih-bubble__sub { font-size: 16px; }
  .ih-bubble__icon { width: 24px; height: 24px; }

  /* 03 Cards */
  .ih-cards__scroll { padding-bottom: 10px; }
  .ih-card:nth-child(even) { margin-top: 0; }
  .ih-card__text { font-size: 15px; }
  .ih-cards__footer { justify-content: center; text-align: center; flex-wrap: wrap; }
  .ih-cards__footer-text { max-width: 100%; }
  .ih-desktop-br { display: none; }

  /* 04 Steps */
  .ih-steps { grid-template-columns: 1fr; }
  .ih-steps__right { order: -1; }
  .ih-steps__item { gap: 10px; }
  .ih-steps__num { width: auto; }
  .ih-steps__illus { width: clamp(80px, 30vw, 120px); min-width: 0; }
  .ih-steps__cta-headline { font-size: clamp(24px, 7vw, 32px); }
  .ih-steps__left { flex-direction: column; align-items: flex-start; }
  .ih-steps__mobile-cta { display: inline-flex; margin-top: 20px; margin-inline-start: var(--ih-px); }
  .ih-steps__right .ih-btn--steps { display: none; }

  /* 05 Why */
  .ih-why { grid-template-columns: 1fr; }
  .ih-match__inner { margin-bottom: 28px; }
  .ih-match__stage { height: calc(78vw * 4 / 3); overflow: hidden; margin-bottom: 0; }
  .ih-match__profile { width: 78vw; }
  .ih-match__info { display: none; }
  .ih-match__nav { display: none; }
  .ih-match__mobile-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px var(--ih-px) 0;
  }
  .ih-match__mobile-prev,
  .ih-match__mobile-next {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
  }
  .ih-match__mobile-prev:hover,
  .ih-match__mobile-next:hover { opacity: 0.65; }
  .ih-match__mobile-info { flex: 1; text-align: center; }
  .ih-match__mobile-info .ih-icon-btn { display: none; }
  .ih-match__name-row { padding-right: 0; }
  .ih-match__cta { margin-top: 32px; }
  .ih-icon-btn img { width: 24px; height: 24px; }
  .ih-why__intro { text-align: left; }
  .ih-why__right { padding-right: 0; overflow: hidden; gap: 24px; }
  .ih-why__mobile-cta { display: inline-flex; align-self: flex-start; margin-top: 0; }
  .ih-why__left-overlay .ih-btn--steps { display: none; }
  .ih-why__grid {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding-right: var(--ih-px);
    padding-bottom: 12px;
  }
  .ih-why__grid::-webkit-scrollbar { display: none; }
  .ih-why__feature {
    flex: 0 0 80vw;
    scroll-snap-align: start;
  }
  /* 06 Krankenkasse */
  .ih-kasse__inner { grid-template-columns: 1fr; }
  .ih-kasse__logos { justify-content: center; gap: 20px; }
  .ih-kasse__logos img:nth-child(1) { height: 40px; }
  .ih-kasse__logos img:nth-child(2) { height: 46px; }
  .ih-kasse__logos img:nth-child(3) { height: 40px; }

  /* 08 Testimonials */
  .ih-testimonials__inner { grid-template-columns: 1fr; }
  .ih-testimonials__left { padding-right: var(--ih-px); }

  /* 09 Reviews */
  .ih-reviews { overflow: hidden; padding-right: 0; }
  .ih-reviews__grid {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding-right: var(--ih-px);
    padding-bottom: 48px;
  }
  .ih-reviews__grid::-webkit-scrollbar { display: none; }
  .ih-review { flex: 0 0 80vw; scroll-snap-align: start; margin-top: 0; }

  /* 10 Price */
  .ih-price { grid-template-columns: 1fr; }
  .ih-price__right { order: -1; }
  .ih-price__footer { flex-direction: column; align-items: flex-start; }
  .ih-price__payment { flex-wrap: wrap; gap: 14px; }
  .ih-price__mobile-cta { display: inline-flex; align-self: flex-start; margin-inline-start: var(--ih-px); margin-top: 8px; }
  .ih-price__overlay .ih-btn--steps { display: none; }

  /* 11 Business */
  .ih-business { grid-template-columns: 1fr; min-height: 0; }
  .ih-business__right { padding-bottom: 130px; }
  .ih-business__illustration { width: 50%; }
  .ih-business__bubble { display: none; }

  /* 13 Magazin */
  .ih-magazin__label { font-size: 18px; }
  .ih-magazin { overflow: hidden; padding-right: 0; }
  .ih-magazin .ih-container { padding-inline: 0; }
  .ih-magazin__header { padding-inline: var(--ih-px); gap: 0; }
  .ih-magazin__label { margin-bottom: 8px; }
  .ih-magazin__headline { margin-bottom: 20px; }
  .ih-magazin__sub { margin-bottom: 20px; }
  .ih-magazin__grid {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: 0;
    padding-right: var(--ih-px);
  }
  .ih-magazin__grid::-webkit-scrollbar { display: none; }
  .ih-article { flex: 0 0 80vw; scroll-snap-align: start; }
  .ih-magazin__more-col { flex: 0 0 80vw; scroll-snap-align: start; }

  /* 12 Proof */
  .ih-proof__inner { flex-direction: column; }
  .ih-proof__label { text-align: center; max-width: none; }

  /* 14 FAQ */
  .ih-faq__icon img { width: 14px; }
  .ih-faq__sub { margin-bottom: 28px; }
  .ih-faq__question { padding-block: 18px; font-size: 17px; }
  .ih-faq { background: var(--ih-green); }
  .ih-faq__item--open { background: var(--ih-white); }
}
