/* Hulsberg Quick Fixes – Startseite (v1.2.0)
   CI: Dunkelgrün #073C2F, Gelb #FFD400, Creme #F3EFE3, Hellgrün #DCE8D1,
   Montserrat (Überschriften) und Manrope (Text). */

/* ============ Gemeinsame Grundlage der neuen Abschnitte ============ */
.hqf-sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0;
  color: #122d25;
  font-family: Manrope, Montserrat, Arial, sans-serif;
}
.hqf-sec > .hg-shell { position: relative; z-index: 1; }
@media (max-width: 620px) { .hqf-sec { padding: 66px 0; } }
@media (max-width: 430px) { .hqf-sec { padding: 58px 0; } }

.hqf-sec .hg-display { color: #073c2f; margin-bottom: 0; }
.hqf-head__aside { display: grid; gap: 16px; justify-items: start; }
.hqf-head__aside p { margin: 0 !important; }

/* Gelbe Ringe als Akzent – wie im Kopfbereich und im Liefergebiet */
.hqf-voices::before,
.hqf-people::before {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

/* Theme-Zitatstil (großes Anführungszeichen links, Einzug) zurücksetzen */
.hqf-sec blockquote.hqf-quote {
  position: static !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: inherit !important;
  font-family: Manrope, Montserrat, Arial, sans-serif !important;
  font-size: 15.5px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  quotes: none;
}
.hqf-sec blockquote.hqf-quote::before,
.hqf-sec blockquote.hqf-quote::after { content: none !important; display: none !important; }
.hqf-sec blockquote.hqf-quote p {
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
}

/* Kleines Etikett (Branche / Rolle) */
.hqf-badge {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 12px;
  border-radius: 3px;
  background: #073c2f;
  color: #ffd400;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* ============ Kundenstimmen ============ */
.hqf-voices { background: #f3efe3; }
.hqf-voices::before {
  top: -300px;
  right: -230px;
  width: 560px;
  height: 560px;
  border: 74px solid #ffd400;
}

.hqf-voices__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.hqf-voices__side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }

/* Große Hauptstimme mit Foto */
.hqf-feature {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 60px -34px rgba(7, 60, 47, .45);
}
.hqf-feature__media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #dce8d1;
}
.hqf-sec img.hqf-feature__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: 50% 16%;
}
.hqf-feature__media::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 96px;
  height: 96px;
  border: 16px solid #ffd400;
  border-radius: 50%;
}
.hqf-feature__body {
  display: flex;
  flex-direction: column;
  padding: 40px 40px 30px;
  color: #3b4d45;
}
.hqf-feature__kern {
  margin: 0 0 22px !important;
  color: #073c2f !important;
  font: 900 clamp(28px, 2.6vw, 38px)/1.06 Montserrat, Manrope, Arial, sans-serif !important;
  letter-spacing: -.04em;
}
.hqf-feature__kern span {
  padding: 0 .06em;
  background: linear-gradient(transparent 60%, #ffd400 60%, #ffd400 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (min-width: 1101px) {
  .hqf-sec .hqf-feature blockquote.hqf-quote { font-size: 17px !important; line-height: 1.7 !important; }
}

/* Kleinere Stimmen in Gelb und Dunkelgrün */
.hqf-vcard {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 30px 30px 24px;
  border-radius: 18px;
}
.hqf-vcard--gelb { background: #ffd400; color: #073c2f; }
.hqf-vcard--gruen { background: #073c2f; color: #fff; }
.hqf-vcard--gruen .hqf-badge { background: #ffd400; color: #073c2f; }
.hqf-vcard__kern {
  margin: 0 0 14px !important;
  color: inherit !important;
  font: 900 clamp(21px, 1.75vw, 26px)/1.1 Montserrat, Manrope, Arial, sans-serif !important;
  letter-spacing: -.03em;
}
.hqf-vcard--gruen .hqf-vcard__kern { color: #ffd400 !important; }
.hqf-sec .hqf-vcard blockquote.hqf-quote,
.hqf-vcard__text {
  margin: 0 0 20px !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
}
.hqf-vcard--gruen .hqf-vcard__text { color: rgba(255, 255, 255, .86); }

/* Absenderzeile: Foto, Name, Logo */
.hqf-by {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(7, 60, 47, .14);
}
.hqf-vcard--gelb .hqf-by { border-top-color: rgba(7, 60, 47, .25); }
.hqf-vcard--gruen .hqf-by { border-top-color: rgba(255, 255, 255, .2); }
.hqf-by__text { flex: 1; min-width: 0; }
.hqf-by__text strong {
  display: block;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}
.hqf-feature .hqf-by__text strong { color: #073c2f; }
.hqf-by__text small {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  opacity: .78;
}
.hqf-sec img.hqf-by__avatar {
  flex: none;
  width: 48px !important;
  height: 48px !important;
  max-width: none !important;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 50% !important;
  object-fit: cover;
  object-position: 50% 25%;
}
.hqf-by__logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 86px;
  height: 48px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(7, 60, 47, .12);
}
.hqf-sec img.hqf-by__logo-img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 34px !important;
  border-radius: 0 !important;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .hqf-voices__layout { grid-template-columns: minmax(0, 1fr); }
  .hqf-voices__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .hqf-feature__media { min-height: 420px; }
}
@media (max-width: 620px) {
  .hqf-voices::before { top: -250px; right: -240px; width: 360px; height: 360px; border-width: 50px; }
  .hqf-feature { grid-template-columns: minmax(0, 1fr); }
  .hqf-feature__media { min-height: 0; aspect-ratio: 4 / 3.6; }
  .hqf-feature__media::after { top: 16px; right: 16px; width: 68px; height: 68px; border-width: 12px; }
  .hqf-feature__body { padding: 28px 22px 22px; }
  .hqf-voices__side { grid-template-columns: minmax(0, 1fr); }
  .hqf-vcard { padding: 26px 22px 20px; }
  .hqf-by__logo { width: 70px; height: 42px; }
}

/* ============ Ansprechpartner ============ */
.hqf-people { background: #dce8d1; }
.hqf-people::before {
  left: -250px;
  bottom: -300px;
  width: 580px;
  height: 580px;
  border: 78px solid #ffd400;
}

.hqf-people__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hqf-person {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 60px -36px rgba(7, 60, 47, .5);
}
.hqf-person__media {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #eceeea;
}
.hqf-sec img.hqf-person__img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: 50% 26%;
  transition: transform .5s ease;
}
.hqf-person:hover .hqf-person__img { transform: scale(1.03); }
.hqf-person__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 11px;
  border-radius: 3px;
  background: #ffd400;
  color: #073c2f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hqf-person__head { padding: 24px 26px 0; }
.hqf-person__name {
  margin: 0 0 10px !important;
  color: #073c2f !important;
  font: 900 26px/1.05 Montserrat, Manrope, Arial, sans-serif !important;
  letter-spacing: -.035em;
}
/* Rolle steht auf dem Foto; als Text nur für Screenreader und auf dem Handy */
.hqf-person__role {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hqf-person__area {
  display: flex;
  gap: 8px;
  margin: 0 !important;
  color: #586760;
  font-size: 14.5px;
  line-height: 1.5;
}
.hqf-person__area span {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.hqf-person__area svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  fill: none;
  stroke: #00634d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hqf-person__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 22px 26px 26px;
}
.hqf-person__call {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 10px 18px;
  border-radius: 3px;
  background: #073c2f;
  color: #fff !important;
  text-decoration: none !important;
  transition: background-color .2s ease;
}
.hqf-person__call:hover,
.hqf-person__call:focus-visible { background: #00634d; }
.hqf-person__call svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #ffd400;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hqf-person__call span {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.15;
}
.hqf-person__call small {
  margin-bottom: 3px;
  color: #ffd400;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hqf-person__more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hqf-person__more a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 2px solid rgba(7, 60, 47, .16);
  border-radius: 3px;
  color: #073c2f !important;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease;
}
.hqf-person__more a:only-child { grid-column: 1 / -1; }
.hqf-person__more a:hover,
.hqf-person__more a:focus-visible { border-color: #073c2f; background: #f3efe3; }
.hqf-person__more svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tablet: Karten untereinander, Foto links */
@media (max-width: 1100px) {
  .hqf-people__grid { grid-template-columns: minmax(0, 1fr); }
  .hqf-person {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-areas: "media head" "media actions";
  }
  .hqf-person__media { grid-area: media; height: auto; min-height: 270px; }
  .hqf-person__head { grid-area: head; padding: 28px 28px 0; }
  .hqf-person__actions { grid-area: actions; padding: 18px 28px 26px; }
}

/* Handy: kompakt, Foto klein links, Buttons darunter */
@media (max-width: 620px) {
  .hqf-people::before { left: -220px; bottom: -240px; width: 420px; height: 420px; border-width: 58px; }
  .hqf-person {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-areas: "media head" "actions actions";
    gap: 16px;
    padding: 16px;
    border-radius: 15px;
  }
  .hqf-person__media { height: 128px; min-height: 0; border-radius: 10px; }
  .hqf-person__tag { display: none; }
  .hqf-person__head { align-self: center; padding: 0; }
  .hqf-person__name { margin-bottom: 6px !important; font-size: 21px !important; }
  .hqf-person__role {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    margin: 0 0 8px !important;
    color: #00634d;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1.35;
    text-transform: uppercase;
    white-space: normal;
  }
  .hqf-person__area { font-size: 13.5px; }
  .hqf-person__actions { padding: 0; gap: 8px; }
  .hqf-person__more { gap: 8px; }
  .hqf-person__more a { gap: 6px; padding: 8px 6px; font-size: 13px; }
  .hqf-person__more svg { width: 15px; height: 15px; }
}

/* ============ Ergänzungen in bestehenden Abschnitten ============ */

/* Produktion: Einleitung unter der Überschrift */
.hqf-production-lead { max-width: 540px; margin: 22px 0 0 !important; }

/* Produktion: zweiter Button als heller Rahmen-Button auf Dunkelgrün */
.hulsberg-home-v3 .hg-production__proof a.hg-button.hqf-button-ghost,
.hulsberg-home-v3 .hg-production__proof a.hg-button.hqf-button-ghost:link,
.hulsberg-home-v3 .hg-production__proof a.hg-button.hqf-button-ghost:visited {
  border-color: rgba(255, 255, 255, .6) !important;
  background-color: transparent !important;
  color: #fff !important;
}
.hulsberg-home-v3 .hg-production__proof a.hg-button.hqf-button-ghost:hover,
.hulsberg-home-v3 .hg-production__proof a.hg-button.hqf-button-ghost:focus-visible {
  border-color: #fff !important;
  background-color: #fff !important;
  color: #073c2f !important;
}

/* Neukunden-Kachel: Hinweis auf den Gesamtkatalog */
.hqf-path-note {
  margin: 22px 0 0 !important;
  color: #073c2f;
  font-size: 15px;
  line-height: 1.5;
}
.hqf-path-note a {
  color: #073c2f !important;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Sortiment: zweiter Textlink */
.hulsberg-home-v3 .hg-text-link.hqf-text-link-next { margin-left: 26px; }

@media (prefers-reduced-motion: reduce) {
  .hqf-sec img.hqf-person__img { transition: none; }
  .hqf-person:hover .hqf-person__img { transform: none; }
}
