/* HirschnLugg Shop – Startseite (wird nur auf der Startseite geladen). Tokens: siehe style.css, Abschnitt 9. */

/* ---------- Grundgerüst: volle Breite innerhalb des Storefront-Containers ---------- */
.hl-is-front .site-content { padding-top: 0; }
.hl-front {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--hl-ink);
}
.hl-front:focus { outline: none; }
.hl-front a { text-underline-offset: 3px; }
.hl-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.hl-section { padding-top: 64px; padding-bottom: 64px; }
.hl-front .hl-muted { color: var(--hl-muted); margin: 0; }
.hl-front .hl-h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; }
.hl-front .hl-tag {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hl-green-ink);
}
.hl-front .hl-tag--light { color: #a9dbb5; }
.hl-front .hl-link { font-weight: 600; color: var(--hl-green-ink); display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Pillen (Buttons/Links) ---------- */
.hl-front .hl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--hl-font-sans);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.hl-front .hl-pill--lg { min-height: 52px; padding: 0 28px; }
.hl-front a.hl-pill--primary,
.hl-front a.hl-pill--primary:hover,
.hl-front a.hl-pill--primary:focus { color: #fff; }
.hl-front .hl-pill--primary { background: #345944; border-color: #345944; color: #fff; }
.hl-front .hl-pill--primary:hover { background: #3f6b53; border-color: #3f6b53; }
html.dark-mode .hl-front .hl-pill--primary { border-color: #8cc79a; }
.hl-front a.hl-pill--ghost-light, .hl-front a.hl-pill--ghost-light:hover { color: #fff; }
.hl-front .hl-pill--ghost-light { border-color: rgba(255,255,255,.75); background: transparent; }
.hl-front .hl-pill--ghost-light:hover { background: rgba(255,255,255,.14); }
.hl-front a.hl-pill--outline { color: var(--hl-green-ink); }
.hl-front a.hl-pill--outline:hover { color: var(--hl-green-ink); background: var(--hl-tint); }
.hl-front .hl-pill--outline { border-color: var(--hl-green-ink); background: transparent; }
.hl-front button.hl-pill--choice {
  background: transparent;
  border-color: var(--hl-edge);
  color: var(--hl-ink);
  font-weight: 600;
  box-shadow: none;
}
.hl-front button.hl-pill--choice:hover { background: var(--hl-tint); color: var(--hl-ink); transform: none; }
.hl-front button.hl-pill--choice[aria-pressed="true"] { background: #345944; border-color: #345944; color: #fff; }
html.dark-mode .hl-front button.hl-pill--choice[aria-pressed="true"] { border-color: #8cc79a; }

/* Sichtbarer Fokus */
.hl-front a:focus-visible,
.hl-front button:focus-visible,
.hl-front input:focus-visible {
  outline: 3px solid var(--hl-focus);
  outline-offset: 2px;
  box-shadow: none;
}
.hl-hero a:focus-visible,
.hl-world:focus-visible { outline-color: #8cc79a; }

/* ---------- Hero ---------- */
.hl-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(14,22,30,.93) 0%, rgba(14,22,30,.74) 50%, rgba(14,22,30,.45) 100%),
    url("../img/leaves-forest-background.webp") center / cover,
    #0e161e;
}
.hl-hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 72px; padding-bottom: 80px; }
.hl-front .hl-hero__badge {
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: #fff;
}
.hl-front .hl-hero h1.hl-hero__title {
  margin: 0;
  max-width: 14em;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff !important;
}
.hl-hero__accent { color: #8cc79a; }
.hl-front .hl-hero p.hl-hero__lead { margin: 0; max-width: 34em; font-size: clamp(1.05rem, 2.4vw, 1.25rem); font-weight: 300; color: rgba(255,255,255,.92); }
.hl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hl-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .9rem; color: rgba(255,255,255,.88); }

/* ---------- Live-Vorschau ---------- */
.hl-preview { display: grid; gap: 28px; align-items: center; }
.hl-preview__controls { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hl-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-field { display: flex; flex-direction: column; gap: 6px; }
.hl-field label { font-size: .85rem; font-weight: 600; color: var(--hl-muted); margin: 0; }
.hl-front .hl-field input[type="text"] {
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--hl-edge);
  border-radius: 12px;
  background: var(--hl-card);
  color: var(--hl-ink);
  font: 500 1.1rem var(--hl-font-sans);
}
.hl-preview__cta { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin-top: 4px; }
.hl-preview__info { margin: 0; font-size: .95rem; }
.hl-preview__note, .hl-preview__note a { font-size: .8rem; color: var(--hl-muted); }
.hl-front .hl-preview__note a { color: var(--hl-muted); text-decoration: underline; }
.hl-preview__note [hidden], .hl-preview__note a[hidden] { display: none; }
.hl-preview__stage { margin: 0; order: -1; }
.hl-preview__disclaimer { margin: 10px 4px 0; font-size: .8rem; color: var(--hl-muted); }

.hl-surface {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
  transition: background .3s;
  isolation: isolate; /* Materialbild und Gravur mischen nur untereinander */
}
/* Materialbild (assets/img/textures/ oder eigenes Foto) liegt als eigene Ebene direkt unter der Schrift */
.hl-surface[data-tex]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hl-tex) center / cover no-repeat;
}
.hl-surface__text {
  position: relative;
  z-index: 1;
  max-width: 84%;
  text-align: center;
  line-height: 1.12;
  overflow-wrap: break-word;
  font-synthesis: none;
  font-family: "hl-montserrat-bold", "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: .03em;
}
.hl-surface__chip {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.62);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  z-index: 2;
}
/* Schriften */
.hl-surface[data-font="montserrat-bold"] .hl-surface__text { font-family: "hl-montserrat-bold", "Montserrat", sans-serif; font-weight: 700; letter-spacing: .04em; }
.hl-surface[data-font="anton"] .hl-surface__text { font-family: "hl-anton", "Anton", Impact, "Arial Narrow", sans-serif; font-weight: 400; letter-spacing: .03em; }
.hl-surface[data-font="lora"] .hl-surface__text { font-family: "hl-lora", "Lora", Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0; }

/* Oberflächen */
.hl-surface[data-mat="holz"] {
  background:
    repeating-linear-gradient(91deg, rgba(255,255,255,.05) 0 3px, rgba(0,0,0,.05) 3px 7px, rgba(255,255,255,0) 7px 15px),
    repeating-linear-gradient(89deg, #b98450 0 22px, #a8733f 22px 30px, #c08b57 30px 52px);
}
.hl-surface[data-mat="holz"] .hl-surface__text { color: #4a2a12; text-shadow: 0 1px 0 rgba(255,225,190,.35), 0 -1px 0 rgba(0,0,0,.25); }
.hl-surface[data-mat="glas"] {
  background: linear-gradient(115deg, rgba(255,255,255,.18) 0 18%, rgba(255,255,255,0) 30%), linear-gradient(160deg, #3d5566, #1d2b36);
}
.hl-surface[data-mat="glas"] .hl-surface__text { color: rgba(255,255,255,.9); text-shadow: 0 0 6px rgba(255,255,255,.55); }
.hl-surface[data-mat="schiefer"] { background: radial-gradient(120% 80% at 30% 20%, #3d4348, #25292d 60%, #1d2023); }
.hl-surface[data-mat="schiefer"] .hl-surface__text { color: #d5d9dc; opacity: .92; }
.hl-surface[data-mat="alu"] {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, rgba(0,0,0,.08) 1px 3px), linear-gradient(160deg, #2a2d31, #111315);
}
.hl-surface[data-mat="alu"] .hl-surface__text { color: #e9ecee; text-shadow: 0 0 1px rgba(255,255,255,.6); }
.hl-surface[data-mat="edelstahl"] {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.38) 0 1px, rgba(0,0,0,.035) 1px 3px),
    linear-gradient(135deg, #dfe3e6, #b4bac0 45%, #d5d9dd 70%, #aab1b8);
}
.hl-surface[data-mat="edelstahl"] .hl-surface__text { color: #2b3035; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.hl-surface[data-mat="zinn"] { background: radial-gradient(120% 90% at 30% 15%, #a1aab4, #848d98 60%, #77808b); }
.hl-surface[data-mat="zinn"] .hl-surface__text { color: #343b43; text-shadow: 0 1px 0 rgba(255,255,255,.22); }
.hl-surface[data-mat="textil"] {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, rgba(0,0,0,.05) 2px 4px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 2px, rgba(0,0,0,.04) 2px 4px),
    #2f4a3b;
}
.hl-surface[data-mat="textil"] .hl-surface__text { color: #fff; filter: drop-shadow(0 1px 0 rgba(0,0,0,.35)); }

/* Echt-Optik der Gravur: Schrift = Gravurebene, per mix-blend-mode auf das Materialbild gemischt (Photoshop: Ineinanderkopieren, ca. 70 %).
   Werte kommen je Material aus inc/front-page-content.php (--hl-ink, --hl-blend, --hl-op). */
.hl-surface[data-mat][data-look] .hl-surface__text { color: var(--hl-ink); opacity: var(--hl-op, 1); }
.hl-surface[data-mat][data-look="mix"] .hl-surface__text {
  mix-blend-mode: var(--hl-blend, overlay);
  text-shadow: none;
  filter: blur(.3px); /* Laserkante ist nie ganz scharf */
}
.hl-surface[data-mat][data-look="flat"] .hl-surface__text { mix-blend-mode: normal; }

/* ---------- Drei Welten ---------- */
.hl-worlds { display: grid; gap: 16px; padding-bottom: 64px; }
.hl-front a.hl-world,
.hl-front a.hl-world:hover { color: #fff; }
.hl-world {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
}
.hl-world > img:not(.hl-world__mark) { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hl-world__body { padding: 28px; }
.hl-world--photo .hl-world__body { background: linear-gradient(0deg, rgba(0,0,0,.9), rgba(0,0,0,.78) 60%, transparent); padding-top: 80px; }
.hl-front .hl-world h3.hl-world__title { margin: 6px 0; font-size: 1.7rem; font-weight: 700; color: #fff !important; }
.hl-front .hl-world p.hl-world__text { margin: 0; color: rgba(255,255,255,.92); }
.hl-world__ship { font-size: .8rem; text-decoration: underline; }
.hl-world--gwanda { justify-content: space-between; padding: 28px; background: radial-gradient(120% 90% at 85% 10%, rgba(140,199,154,.22), transparent 55%), #1f3a2c; }
.hl-world--gwanda .hl-world__body { padding: 0; }
.hl-world__mark { position: absolute; right: -30px; top: 24px; z-index: -1; width: 260px; opacity: .12; }
.hl-world__quote { margin: 0; font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.hl-world__quote-accent { color: #8cc79a; }

/* ---------- Beliebt ---------- */
.hl-band { background: var(--hl-band); border-top: 1px solid var(--hl-line); border-bottom: 1px solid var(--hl-line); }
.hl-band__inner { padding-top: 56px; padding-bottom: 48px; }
.hl-band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; margin-bottom: 24px; }
.hl-cards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
.hl-card { display: flex; flex-direction: column; background: var(--hl-card); border: 1px solid var(--hl-line); border-radius: 16px; overflow: hidden; margin: 0; }
.hl-front a.hl-card__link, .hl-front a.hl-card__link:hover { display: flex; flex-direction: column; flex: 1; color: var(--hl-ink); text-decoration: none; }
.hl-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hl-band); }
.hl-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.hl-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 16px 18px 6px; }
.hl-front .hl-card h3.hl-card__name { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--hl-ink) !important; }
.hl-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.hl-card__price { font-size: 1.2rem; font-weight: 700; }
.hl-card__cta { font-size: .85rem; font-weight: 700; color: var(--hl-green-ink); text-decoration: underline; text-underline-offset: 3px; }
.hl-front a.hl-card__ship { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; font-size: .78rem; color: var(--hl-muted); text-decoration: underline; }
.hl-front .hl-footnote { margin: 20px 0 0; font-size: .8rem; color: var(--hl-muted); }
.hl-front .hl-footnote a { color: var(--hl-muted); text-decoration: underline; }

/* ---------- Vereine & Firmen ---------- */
.hl-clubs { display: grid; gap: 28px; align-items: center; }
.hl-clubs__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hl-clubs__img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 16px; }
.hl-clubs__img--0 { grid-row: span 2; height: 100%; min-height: 312px; }
.hl-clubs__text { display: flex; flex-direction: column; gap: 16px; }
.hl-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Vertrauen ---------- */
.hl-trust { border-top: 1px solid var(--hl-line); }
.hl-trust__list { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0 auto; padding-top: 32px; padding-bottom: 32px; list-style: none; }
.hl-trust__list li { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.hl-trust__list strong { font-size: .95rem; }
.hl-trust__list .hl-muted { font-size: .85rem; }

/* ---------- Größere Bildschirme ---------- */
@media (min-width: 560px) {
  .hl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-clubs__img { height: 180px; }
  .hl-clubs__img--0 { min-height: 372px; }
}
@media (min-width: 900px) {
  .hl-wrap { padding-left: 32px; padding-right: 32px; }
  .hl-section { padding-top: 96px; padding-bottom: 96px; }
  .hl-hero__inner { padding-top: 110px; padding-bottom: 120px; }
  .hl-preview { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; }
  .hl-preview__stage { order: 0; }
  .hl-surface { height: 420px; }
  .hl-worlds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 96px; }
  .hl-world { min-height: 440px; }
  .hl-world__body { padding: 32px; }
  .hl-world--gwanda { padding: 36px; }
  .hl-band__inner { padding-top: 80px; padding-bottom: 64px; }
  .hl-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .hl-clubs { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .hl-trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 759.98px) {
  .hl-hero { background: linear-gradient(rgba(14,22,30,.82), rgba(14,22,30,.82)), url("../img/leaves-forest-background.webp") center / cover, #0e161e; }
}

/* ---------- Bewegung nur, wenn erwünscht ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hl-world, .hl-card { transition: transform .3s ease, border-color .3s ease; }
  .hl-world:hover, .hl-card:hover { transform: translateY(-4px); }
}

/* ---------- Vorschau mit echter Gestalter-Fläche des Produkts (Foto + Zeichenfläche) ---------- */
.hl-surface[data-canvas] { background: #1b2531 !important; }
.hl-surface[data-canvas]::before { display: none; }
/* absolut zentriert: die Fläche beeinflusst nie das Seitenlayout (kein Springen beim Laden des Fotos) */
.hl-surface__canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); isolation: isolate; max-width: 100%; max-height: 100%; }
.hl-surface[data-canvas] .hl-surface__chip { z-index: 3; }
.hl-surface__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; }
/* Zeichenfläche: kein eigener Stapelkontext, damit die Gravur mit dem Foto mischt */
.hl-surface__area { position: absolute; display: flex; align-items: center; justify-content: center; }
.hl-surface__area.is-visible { outline: 1.5px dashed rgba(255,255,255,.85); outline-offset: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.hl-surface__area .hl-surface__text { max-width: 100%; }
.hl-surface__mm {
  position: absolute; transform: translate(-50%, -50%); padding: 2px 8px; border-radius: 999px;
  background: rgba(20,28,38,.85); color: #fff; font-size: .7rem; font-weight: 600; white-space: nowrap; pointer-events: none;
}
