/* ============================================================
   Startseite · Shop-Übersicht (Lösungen für Zahnarztpraxen)
   Neutrales, helles Layout ("Slate & Bone"). Die Farbe kommt
   bewusst nur von den Produktkärtchen (je verlinktem Produkt).
   System-Font-Stacks. Lädt nur auf "/". Eigene hp-* Klassen.
   ============================================================ */

:root {
  --hp-font-sans:  system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;

  --hp-bg:           #F7F7F8;   /* kühles Off-White / Bone */
  --hp-surface:      #FFFFFF;
  --hp-soft:         #F0F0F2;
  --hp-ink:          #19191F;   /* near-black, neutral */
  --hp-ink-2:        #3D3D46;
  --hp-mid:          #71717A;   /* zinc-500 */
  --hp-border:       #E6E6EA;
  --hp-accent:       #2B2B33;   /* neutraler Graphit-Akzent (Chrome) */
  --hp-accent-deep:  #19191F;
  --hp-pale:         #EFEFF2;

  /* main.css-Aliase überschreiben → Header/Footer/Nav werden auf der
     Startseite neutral (graphit) statt lila. Gilt nur hier (home.css
     lädt nach main.css). */
  --accent:        #2B2B33;
  --accent-dark:   #19191F;
  --accent-darker: #0F0F13;
  --accent-mid:    #2B2B33;
  --accent-soft:   #D4D4D8;   /* Card-Hover-Border: neutrales Grau statt Violett-300 */
  --accent-pale:   #EFEFF2;
  --accent-bg:     #EFEFF2;   /* leichte Flächen / aktiver Account-Link / Badges: neutral */
  --warm:          #F0F0F2;   /* Footer-Hintergrund: neutrales Grau statt Soft-Lila */
}

/* Logo-Icon: violetten Schlagschatten auf neutral umstellen */
.logo-mark__icon { box-shadow: 0 1px 3px rgba(25,25,31,.22); }

/* Hartkodierte violette Schatten/Ringe (main.css) neutralisieren —
   greift auf allen Seiten, die home.css laden (Legal, Auth, Account, Admin). */
.btn--primary { box-shadow: 0 2px 8px rgba(25,25,31,.20); }
.btn--primary:hover { box-shadow: 0 4px 14px rgba(25,25,31,.28); }
.btn--gold { box-shadow: 0 2px 10px rgba(25,25,31,.22); }
.btn--gold:hover { box-shadow: 0 4px 16px rgba(25,25,31,.30); }
.otp-input:focus { box-shadow: 0 0 0 3px rgba(25,25,31,.14); }
.badge--pending { border-color: rgba(25,25,31,.16); }

body {
  font-family: var(--hp-font-sans);
  color: var(--hp-ink);
  background:
    radial-gradient(900px 540px at 88% -8%, rgba(25,25,31,.05), transparent 60%),
    var(--hp-bg);
}

.hp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.hp-wrap--sm { max-width: 760px; }
.hp-section { padding: 7rem 0; }

/* Reveal on load */
@keyframes hp-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hp-reveal { opacity: 0; animation: hp-rise .7s cubic-bezier(.22,1,.36,1) forwards; }
.hp-reveal.d1 { animation-delay: .07s; }
.hp-reveal.d2 { animation-delay: .14s; }
.hp-reveal.d3 { animation-delay: .21s; }
@media (prefers-reduced-motion: reduce) { .hp-reveal { animation: none; opacity: 1; } }

.hp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--hp-mid);
}
.hp-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--hp-accent); border-radius: 2px; }

/* ============================================================ HERO */
.hp-hero { padding: 80px 0 40px; text-align: center; position: relative; }
.hp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(25,25,31,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(25,25,31,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 72%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 72%);
}
.hp-hero > * { position: relative; z-index: 1; }
.hp-hero__title {
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.06; letter-spacing: -0.02em;
  color: var(--hp-ink); margin: 18px auto 0; max-width: 26ch; font-weight: 800;
}
.hp-hero__title em { font-style: normal; color: var(--hp-ink); position: relative; }
.hp-hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--hp-accent); opacity: .18; border-radius: 4px; }
.hp-hero__sub { margin: 20px auto 0; max-width: 60ch; font-size: 18px; line-height: 1.65; color: var(--hp-mid); }
.hp-hero__badges { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; }
.hp-hero__badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--hp-ink-2); }
.hp-hero__badge svg { width: 17px; height: 17px; color: var(--hp-accent); }

/* ============================================================ VALUE-STRIP */
.hp-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hp-value { background: var(--hp-surface); border: 1px solid var(--hp-border); border-radius: 16px; padding: 24px; }
.hp-value__ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--hp-pale); color: var(--hp-ink); margin-bottom: 14px; }
.hp-value__ic svg { width: 22px; height: 22px; }
.hp-value h3 { font-size: 16px; margin: 0 0 6px; color: var(--hp-ink); }
.hp-value p { font-size: 14px; line-height: 1.6; color: var(--hp-mid); margin: 0; }

/* ============================================================ SECTION-HEAD */
.hp-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.hp-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -0.01em; color: var(--hp-ink); margin: 12px 0 0; font-weight: 800; }
.hp-head h2 em { font-style: normal; color: var(--hp-ink); text-decoration: underline; text-decoration-color: rgba(25,25,31,.18); text-underline-offset: 4px; }
.hp-head p { margin: 12px auto 0; font-size: 16px; line-height: 1.6; color: var(--hp-mid); }

/* ============================================================ PRODUKTE (Farbe pro Karte via --card-accent) */
.hp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.hp-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--hp-surface); border: 1px solid var(--hp-border);
  border-top: 3px solid var(--card-accent, var(--hp-accent)); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(25,25,31,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hp-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px rgba(25,25,31,.30); border-color: var(--card-accent, var(--hp-accent)); }
.hp-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--hp-soft); }
.hp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hp-card:hover .hp-card__media img { transform: scale(1.05); }
.hp-card__media--ph { background: linear-gradient(135deg, var(--card-accent, var(--hp-accent)) 0%, var(--card-accent-deep, var(--hp-accent-deep)) 100%); }
.hp-card__media--ph svg { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; color: rgba(255,255,255,.9); }
.hp-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-card__name { font-size: 19px; font-weight: 700; line-height: 1.2; color: var(--hp-ink); margin: 0; }
.hp-card__sub { font-size: 14px; line-height: 1.55; color: var(--hp-mid); margin: 0; flex: 1; }
.hp-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.hp-card__price { font-size: 22px; font-weight: 600; color: var(--card-accent); letter-spacing: -0.5px; }
.hp-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--card-accent-deep, var(--hp-ink)); }
.hp-card__cta svg { width: 16px; height: 16px; transition: transform .2s ease; }
.hp-card:hover .hp-card__cta svg { transform: translateX(3px); }

/* ============================================================ SO FUNKTIONIERT'S (3 Schritte) */
.hp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hp-step { position: relative; background: var(--hp-surface); border: 1px solid var(--hp-border); border-radius: 16px; padding: 26px 24px; }
.hp-step__num { position: absolute; top: -15px; left: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--hp-ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; box-shadow: 0 8px 18px -7px rgba(25,25,31,.55); }
.hp-step__ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--hp-pale); color: var(--hp-ink); margin: 6px 0 14px; }
.hp-step__ic svg { width: 22px; height: 22px; }
.hp-step h3 { font-size: 17px; margin: 0 0 6px; color: var(--hp-ink); }
.hp-step p { font-size: 14px; line-height: 1.6; color: var(--hp-mid); margin: 0; }
.hp-bundlehint { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 26px auto 0; padding: 14px 20px; font-size: 14.5px; line-height: 1.5; color: var(--hp-ink-2); background: var(--hp-surface); border: 1px dashed var(--hp-border); border-radius: 14px; }
.hp-bundlehint strong { color: var(--hp-ink); }
.hp-bundlehint__ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--hp-pale); color: var(--hp-ink); }
.hp-bundlehint__ic svg { width: 20px; height: 20px; }

/* ============================================================ ÜBER MICH (zentriert, eigenständig) */
.hp-about { max-width: 680px; margin: 0 auto; text-align: center; }
.hp-about__photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin: 18px auto 0; border: 3px solid var(--hp-surface); box-shadow: 0 0 0 1px var(--hp-border), 0 18px 40px -20px rgba(25,25,31,.4); }
.hp-about__name { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.01em; color: var(--hp-ink); margin: 18px 0 0; }
.hp-about__text { margin: 14px auto 0; max-width: 56ch; font-size: 16px; line-height: 1.7; color: var(--hp-ink-2); }
.hp-about__text strong { color: var(--hp-ink); }
.hp-about__chips { margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.hp-about__chip { font-size: 13px; font-weight: 600; color: var(--hp-ink-2); background: var(--hp-soft); border: 1px solid var(--hp-border); border-radius: 999px; padding: 7px 14px; }

/* ============================================================ FAQ */
.hp-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.hp-faq__item { background: var(--hp-surface); border: 1px solid var(--hp-border); border-radius: 14px; padding: 2px 22px; }
.hp-faq__item[open] { border-color: var(--hp-ink); }
.hp-faq__q { font-size: 16px; font-weight: 700; color: var(--hp-ink); cursor: pointer; list-style: none; padding: 17px 28px 17px 0; position: relative; }
.hp-faq__q::-webkit-details-marker { display: none; }
.hp-faq__q::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 24px; font-weight: 400; color: var(--hp-mid); transition: transform .2s; }
.hp-faq__item[open] .hp-faq__q::after { transform: rotate(45deg); }
.hp-faq__a { font-size: 14.5px; line-height: 1.7; color: var(--hp-mid); padding: 0 0 18px; }
.hp-faq__a a { color: var(--hp-ink); }

/* ============================================================ KONTAKT */
.hp-contact { max-width: 640px; margin: 0 auto; background: var(--hp-surface); border: 1px solid var(--hp-border); border-radius: 20px; padding: 32px; box-shadow: 0 20px 50px -30px rgba(25,25,31,.25); }
.hp-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp-field { display: block; margin-bottom: 14px; }
.hp-field > span { display: block; font-size: 13px; font-weight: 600; color: var(--hp-ink-2); margin-bottom: 6px; }
.hp-input, .hp-textarea { width: 100%; font: inherit; font-size: 15px; color: var(--hp-ink); background: var(--hp-bg); border: 1.5px solid var(--hp-border); border-radius: 10px; padding: 11px 13px; transition: border-color .15s; }
.hp-input:focus, .hp-textarea:focus { outline: none; border-color: var(--hp-ink); }
.hp-textarea { resize: vertical; min-height: 120px; }
.hp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp-submit { width: 100%; font: inherit; font-size: 15px; font-weight: 700; color: #fff; background: var(--hp-ink); border: 0; border-radius: 999px; padding: 14px; cursor: pointer; transition: transform .15s, background .15s; margin-top: 4px; }
.hp-submit:hover { transform: translateY(-2px); background: #000; }
.hp-note { font-size: 12.5px; color: var(--hp-mid); text-align: center; margin: 12px 0 0; }
.hp-alert { border-radius: 12px; padding: 14px 16px; font-size: 14.5px; margin-bottom: 18px; }
.hp-alert--ok { background: #ECFDF3; border: 1px solid #ABEFC6; color: #067647; }
.hp-alert--err { background: #FEF3F2; border: 1px solid #FECDCA; color: #B42318; }

/* ============================================================ CONNECT (Über mich links + Kontakt rechts) */
/* Farblich hinterlegtes Band, damit sich die Sektion abhebt. */
.hp-band { background: var(--hp-soft); border-top: 1px solid var(--hp-border); border-bottom: 1px solid var(--hp-border); }
.hp-connect { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.hp-connect .hp-contact { max-width: none; margin: 0; }
.hp-contact__title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--hp-ink); margin: 0 0 4px; }
.hp-contact__lead { font-size: 15px; line-height: 1.55; color: var(--hp-mid); margin: 0 0 20px; }

/* Über mich als linke Spalte (angepasst, linksbündig, eigenes Panel) */
.hp-about--side { max-width: none; margin: 0; text-align: left; display: flex; flex-direction: column;
  background: var(--hp-surface); border: 1px solid var(--hp-border); border-radius: 20px; padding: 32px;
  box-shadow: 0 20px 50px -30px rgba(25,25,31,.18); }
.hp-about--side .hp-about__photo { width: 80px; height: 80px; margin: 0 0 18px; }
.hp-about--side .hp-eyebrow { margin: 0 0 2px; }
.hp-about--side .hp-about__name { font-size: clamp(20px, 2.4vw, 25px); margin: 8px 0 0; }
.hp-about--side .hp-about__text { margin: 12px 0 0; max-width: none; font-size: 15px; }
.hp-about--side .hp-about__chips { margin: auto 0 0; padding-top: 20px; justify-content: flex-start; }

/* ============================================================ RESPONSIVE */
@media (max-width: 860px) { .hp-connect { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .hp-values { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .hp-section { padding: 52px 0; }
  .hp-contact, .hp-about--side { padding: 24px; }
  .hp-contact__row { grid-template-columns: 1fr; }
}

/* ============================================================ NAV als Overlay über dem (hellen) Hero — NUR auf der Startseite */
.is-home .nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 0;
}
.is-home .hp-hero { padding-top: 8rem; }   /* Platz für die überlagernde Nav (Elemente bleiben dunkel) */
