/* =====================================================================
   Installateur Hilfe Wien — reviews.css (ih-rev__)
   Uses tokens and .ih-wrap / .ih-btn from main.css
   ===================================================================== */

/* Hero */
.ih-rev__hero {
  position: relative;
  padding: 56px 0 64px;
  background: linear-gradient(160deg, var(--ih-navy) 0%, var(--ih-navy-2) 100%);
  color: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}
.ih-rev__hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  width: 36px;
  height: 252px;
  background: url("/assets/icons/plus-dot.svg") 0 0 / 36px 36px repeat;
  opacity: 0.5;
  pointer-events: none;
}
.ih-rev__hero > .ih-wrap { position: relative; z-index: 1; }
.ih-rev__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.ih-rev__crumbs a { color: var(--ih-sky); font-weight: 500; }
.ih-rev__crumbs a:hover { color: #ffffff; }
.ih-rev__crumbs-sep { opacity: 0.5; }
.ih-rev__eyebrow {
  display: block;
  margin-bottom: 16px;
  font-family: var(--ih-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ih-sky);
}
.ih-rev__eyebrow--blue { color: var(--ih-blue); }
.ih-rev__title {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: 56px;
  line-height: 1.08;
  color: #ffffff;
}
.ih-rev__title span { color: var(--ih-sky); }
.ih-rev__lead {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}
.ih-rev__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 24px 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.ih-rev__facts li { min-width: 0; }
.ih-rev__facts strong {
  display: block;
  font-family: var(--ih-head-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}
.ih-rev__facts span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

/* List */
.ih-rev__main { background: var(--ih-paper); padding: 72px 0 88px; }
.ih-rev__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.ih-rev__grid > * { min-width: 0; }
.ih-rev__card {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  background: #ffffff;
  border-top: 4px solid var(--ih-blue);
  border-radius: 4px;
  box-shadow: var(--shadow-4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ih-rev__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); }
.ih-rev__card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ih-rev__avatar {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: var(--ih-blue);
}
.ih-rev__avatar > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ih-head-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}
.ih-rev__who { min-width: 0; }
.ih-rev__name { font-size: 17px; line-height: 1.25; color: var(--ih-ink); }
.ih-rev__stars { margin-top: 4px; font-size: 16px; letter-spacing: 1.5px; color: var(--ih-amber); }
.ih-rev__service {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--ih-paper);
  font-family: var(--ih-head-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ih-blue);
}
.ih-rev__service img { width: 14px; height: 14px; flex: 0 0 auto; }
.ih-rev__text { flex-grow: 1; font-size: 15.5px; line-height: 1.65; color: var(--ih-grey); }
.ih-rev__card-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ih-rule); }
.ih-rev__date { font-size: 13px; color: var(--ih-grey-2); }

/* Pagination */
.ih-rev__pag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 56px;
}
.ih-rev__pag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--ih-ink);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ih-ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ih-rev__pag-btn img { width: 16px; height: 16px; }
.ih-rev__pag-btn--prev img { transform: rotate(180deg); }
.ih-rev__pag-btn:hover { background: var(--ih-ink); color: #ffffff; }
.ih-rev__pag-btn:hover img { filter: brightness(0) invert(1); }
.ih-rev__pag-nums { display: flex; align-items: center; gap: 6px; }
.ih-rev__pag-num {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 1px solid var(--ih-rule);
  border-radius: 4px;
  background: #ffffff;
  font-family: var(--ih-head-font);
  font-weight: 700;
  color: var(--ih-ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}
a.ih-rev__pag-num:hover { border-color: var(--ih-blue); color: var(--ih-blue); }
.ih-rev__pag-num--active { background: var(--ih-blue); border-color: var(--ih-blue); color: #ffffff; }
.ih-rev__pag-dots { padding: 0 4px; color: var(--ih-grey); }

/* Form section */
.ih-rev__formsec { background: #ffffff; padding: 88px 0; }
.ih-rev__formgrid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: start;
}
.ih-rev__formgrid > * { min-width: 0; }
.ih-rev__h2 { margin-bottom: 20px; font-size: 38px; line-height: 1.15; color: var(--ih-ink); }
.ih-rev__formintro > p { font-size: 17px; line-height: 1.7; color: var(--ih-grey); }
.ih-rev__tips { margin-top: 28px; }
.ih-rev__tips li {
  position: relative;
  padding: 0 0 0 36px;
  margin-bottom: 16px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ih-ink);
}
.ih-rev__tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background: url("/assets/icons/check.svg") center / 14px 14px no-repeat;
  border: 1px solid var(--ih-sky);
  border-radius: 50%;
}
.ih-rev__formcard {
  padding: 40px;
  background: #ffffff;
  border-top: 4px solid var(--ih-blue);
  border-radius: 4px;
  box-shadow: var(--shadow-4);
}
.ih-rev__form input[type=text],
.ih-rev__form textarea {
  display: block;
  width: 100%;
  margin-bottom: 4px;
  padding: 15px 16px;
  border: 1px solid var(--ih-rule);
  border-radius: 4px;
  background: #ffffff;
  font-size: 16px;
  color: var(--ih-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ih-rev__form input[type=text]::placeholder,
.ih-rev__form textarea::placeholder { color: var(--ih-grey-2); }
.ih-rev__form input[type=text]:focus,
.ih-rev__form textarea:focus {
  outline: none;
  border-color: var(--ih-blue);
  box-shadow: 0 0 0 3px rgba(81, 172, 251, 0.35);
}
.ih-rev__form textarea { min-height: 130px; resize: vertical; }
.ih-rev__form input[type=text] + .jqr_error-message,
.ih-rev__form .jqr_error-message { margin-bottom: 14px; }
.ih-rev__rate { display: block; margin: 8px 0 6px; }
.ih-rev__rate-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--ih-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ih-ink);
}
.jqr_star-rating { display: inline-flex; gap: 4px; font-size: 26px; cursor: pointer; }
.jqr_star-rating .fa-star,
.jqr_star-rating .text-warning { color: var(--ih-amber) !important; }
.jqr_error-message { color: var(--ih-red); font-size: 13px; }
.ih-rev__form #jqr_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 20px 32px;
  border: 2px solid var(--ih-red);
  border-radius: 4px;
  background: var(--ih-red);
  font-family: var(--ih-body-font);
  font-size: 14.4px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ih-rev__form #jqr_submit:hover { transform: translateY(-5px); box-shadow: var(--hover-4); }

/* CTA band: light, so it does not sit dark-on-dark above the footer */
.ih-rev__cta { background: var(--ih-paper); padding: 80px 0 96px; }
.ih-rev__cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 44px 48px;
  background: #ffffff;
  border-left: 6px solid var(--ih-blue);
  border-radius: 4px;
  box-shadow: var(--shadow-4);
}
.ih-rev__cta-box > * { min-width: 0; }
.ih-rev__cta-copy { max-width: 680px; }
.ih-rev__cta-title { margin-bottom: 14px; font-size: 30px; color: var(--ih-ink); }
.ih-rev__cta-text { font-size: 16px; line-height: 1.7; color: var(--ih-grey); }
.ih-rev__cta-actions { display: flex; flex-direction: column; gap: 14px; flex: 0 0 auto; }

/* Responsive */
@media (max-width: 1200px) {
  .ih-rev__title { font-size: 48px; }
  .ih-rev__grid { gap: 24px; }
  .ih-rev__formgrid { gap: 48px; }
  .ih-rev__cta-box { padding: 40px; gap: 32px; }
}
@media (max-width: 1024px) {
  .ih-rev__title { font-size: 42px; }
  .ih-rev__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ih-rev__main { padding-top: 56px; }
  .ih-rev__formgrid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ih-rev__formsec { padding: 72px 0; }
}
@media (max-width: 768px) {
  .ih-rev__hero::before { display: none; }
  .ih-rev__hero { padding: 40px 0 48px; }
  .ih-rev__title { font-size: 36px; }
  .ih-rev__lead { font-size: 16.5px; }
  .ih-rev__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; padding-top: 24px; }
  .ih-rev__facts strong { font-size: 32px; }
  .ih-rev__main { padding-bottom: 64px; }
  .ih-rev__h2 { font-size: 30px; }
  .ih-rev__formcard { padding: 30px 24px; }
  .ih-rev__cta { padding: 56px 0 64px; }
  .ih-rev__cta-box { flex-direction: column; align-items: stretch; padding: 32px 28px; }
  .ih-rev__cta-copy,
  .ih-rev__cta-actions { flex: 0 1 auto; max-width: none; }
  .ih-rev__cta-title { font-size: 26px; }
  .ih-rev__cta-actions { flex-direction: row; flex-wrap: wrap; }
  .ih-rev__cta-actions .ih-btn { flex: 1 1 220px; }
}
@media (max-width: 640px) {
  .ih-rev__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .ih-rev__title { font-size: 31px; }
  .ih-rev__facts { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ih-rev__facts li { display: flex; align-items: baseline; gap: 14px; }
  .ih-rev__facts strong { flex: 0 0 56px; }
  .ih-rev__facts span { margin-top: 0; }
  .ih-rev__main { padding-top: 40px; }
  .ih-rev__card { padding: 24px 22px 20px; }
  .ih-rev__pag-btn span { display: none; }
  .ih-rev__formsec { padding: 56px 0; }
  .ih-rev__h2 { font-size: 26px; }
  .ih-rev__formcard { padding: 26px 18px; }
  .ih-rev__cta-box { padding: 28px 20px; }
  .ih-rev__cta-actions { flex-direction: column; }
  .ih-rev__cta-actions .ih-btn { flex: 0 0 auto; width: 100%; }
}
@media (max-width: 375px) {
  .ih-rev__title { font-size: 28px; }
  .ih-rev__facts strong { font-size: 28px; }
  .ih-rev__cta-title { font-size: 23px; }
}
