/* The photographic palette is scoped to the hero. All other components inherit pp-brand.css. */
.hf-hero {
  --hero-ink: #f5f1eb;
  --hero-accent: #cbb399;
  --hero-field: #514d49;
  --hero-controls: rgba(41, 40, 39, 0.94);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 51% minmax(0, 1fr);
  min-height: clamp(580px, 50vw, 820px);
  color: var(--hero-ink);
  background: var(--hero-field);
  overflow: hidden;
}
.hf-photo { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.hf-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hf-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 46%, rgba(41, 40, 39, 0.24) 51%);
  pointer-events: none;
}
.hf-hero-content {
  grid-column: 2;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 20px;
  min-width: 0;
  padding: 28px clamp(24px, 5.5vw, 110px) 24px 0;
}
.hf-quote-region { align-self: center; min-width: 0; }
.hf-quote-mark { display: block; color: var(--hero-accent); font: 4.3rem/0.8 Georgia, serif; height: 44px; }
.hf-quotes { display: grid; }
.hf-quotes blockquote {
  grid-area: 1 / 1;
  align-self: center;
  margin: 0;
  max-width: 24ch;
  color: var(--hero-ink);
  font: 500 clamp(2.05rem, 2.8vw, 2.85rem)/1.28 var(--font-head);
  letter-spacing: -0.02em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
html[lang="de"] .hf-quotes blockquote { max-width: 26ch; font-size: clamp(1.75rem, 2.35vw, 2.42rem); }
.hf-quotes [aria-hidden="true"] { visibility: hidden; }
.hf-controls-panel { padding: 6px 12px 9px; border-radius: 12px; background: var(--hero-controls); }
.hf-controls { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 8px; align-items: center; }
.hf-controls[hidden] { display: none; }
.hf-controls button {
  padding: 0 4px;
  min-height: 44px;
  border: 0;
  color: var(--hero-ink);
  background: transparent;
  font: 680 0.8rem var(--font-body);
  cursor: pointer;
}
.hf-controls [data-hf-pause] { border-radius: 999px; border: 1px solid var(--hero-accent); padding-inline: 10px; }
.hf-dots { display: flex; justify-content: center; }
.hf-controls .hf-dot { display: grid; place-items: center; width: clamp(24px, 1.8vw, 28px); padding: 0; }
.hf-dot::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--hero-accent); border-radius: 50%; }
.hf-dot[aria-current="true"]::before { background: var(--hero-accent); }
.hf-count, .hf-hero-note { color: var(--hero-ink); font-size: 0.78rem; }
.hf-count { white-space: nowrap; letter-spacing: 0.08em; }
.hf-hero-note { margin: 0; }
.hf-hero :focus-visible { outline: 2px solid var(--hero-accent); outline-offset: -2px; }
.hf-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 761px) and (max-width: 940px) {
  .hf-quotes blockquote, html[lang="de"] .hf-quotes blockquote { font-size: 1.75rem; }
  .hf-controls { grid-template-columns: auto 1fr auto; gap: 4px; }
  .hf-controls [data-hf-pause] { grid-column: 1; justify-self: start; }
  .hf-count { grid-column: 3; justify-self: end; }
}
@media (max-width: 760px) {
  .hf-hero { display: block; min-height: 0; }
  .hf-photo { position: relative; height: clamp(275px, 73vw, 458px); }
  .hf-photo img { object-position: left top; }
  .hf-photo::after { background: linear-gradient(to bottom, transparent 69%, var(--hero-field)); }
  .hf-hero-content { padding: 14px clamp(16px, 5vw, 32px) 20px; }
  .hf-quote-mark { height: 32px; font-size: 3.2rem; }
  .hf-quotes blockquote, html[lang="de"] .hf-quotes blockquote { max-width: 30ch; font-size: clamp(1.5rem, 6vw, 2.25rem); }
}
@media (max-width: 520px) {
  .hf-controls { grid-template-columns: auto 1fr auto; gap: 3px; }
  .hf-controls-panel { padding-inline: 8px; }
  .hf-controls [data-hf-pause] { grid-column: 1; justify-self: start; }
  .hf-count { grid-column: 3; justify-self: end; }
}

/* Spacing for the added marketing material, using the existing brand components. */
.hf-opening-question { margin-top: 1.25rem; }
.hf-effects { margin-block: 2rem; }
.hf-product-intro, .hf-value-intro { margin-bottom: 2.5rem; }
