/* PHD Möbel – Coming soon. Fonts lokal gehostet (SIL OFL), keine externen Ressourcen. */
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }

:root {
  /* Markenfarben aus dem Shopify-Theme (phdfurniture.co.uk) */
  --ink: #1e1c1a;
  --ink-2: #2b2825;
  --cream: #f6f3ee;
  --sand: #e5dfd6;
  --taupe: #b8ab9a;
  --brown: #8b6a4a;
  --brown-dark: #6f533a;
  --white: #ffffff;
  --muted-on-dark: #cfc6b9;
  --muted-on-light: #5c554d;
  --font-head: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Wortmarke ---------- */
.wordmark {
  display: inline-flex; align-items: baseline; gap: .38em;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .02em;
  text-decoration: none; line-height: 1;
}
.wordmark__phd { letter-spacing: .08em; }
.wordmark__moebel { font-weight: 400; color: var(--brown); }
.on-dark .wordmark__moebel { color: var(--taupe); }

/* ---------- Hero (dunkel, Winterabend) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(139,106,74,.35), transparent 60%),
    linear-gradient(180deg, #171513 0%, var(--ink) 55%, #24211e 100%);
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
}
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

.topbar { position: relative; z-index: 2; padding: 22px 0; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .wordmark { font-size: 26px; color: var(--cream); }
.topbar__mail { font-size: 14px; color: var(--muted-on-dark); text-decoration: none; }
.topbar__mail:hover { color: var(--cream); text-decoration: underline; }

.hero__content > .wrap { width: 100%; }
.hero__content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); margin: 0 0 14px;
}
h1 {
  font-family: var(--font-head); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.08; margin: 0 0 18px; max-width: 16ch;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted-on-dark); max-width: 44ch; margin: 0 0 30px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 4px;
  font-family: var(--font-head); font-weight: 500; font-size: 16px; letter-spacing: .02em;
  text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--brown); color: var(--white); }
.btn--primary:hover { background: var(--brown-dark); }
.btn--ghost { border: 1px solid rgba(246,243,238,.35); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- LKW-Szene ---------- */
.scene { position: relative; z-index: 2; margin-top: clamp(28px, 5vh, 56px); }
.road { position: relative; height: 34px; background: #121110; border-top: 1px solid #3a3632; }
.road::after {
  content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(246,243,238,.35) 0 46px, transparent 46px 96px);
}
.truck-track { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.truck { display: block; width: min(100%, 1180px); height: auto; margin-bottom: -8px; overflow: visible; }

@media (prefers-reduced-motion: no-preference) {
  .truck { animation: drive-in 3.2s cubic-bezier(.16,.84,.3,1) .25s both; }
  .truck .wheel { animation: spin 3.2s cubic-bezier(.16,.84,.3,1) .25s both; transform-box: fill-box; transform-origin: center; }
  .truck .body { animation: settle 3.4s ease-out .25s both; transform-box: view-box; transform-origin: 50% 90%; }
  .road::after { animation: lane 3.2s cubic-bezier(.16,.84,.3,1) .25s both; }
}
@keyframes drive-in { from { transform: translateX(-115%); } to { transform: translateX(0); } }
@keyframes spin { from { transform: rotate(-1440deg); } to { transform: rotate(0deg); } }
@keyframes settle { 0%, 82% { transform: translateY(0); } 90% { transform: translateY(1.5px); } 100% { transform: translateY(0); } }
@keyframes lane { from { background-position-x: 0; } to { background-position-x: 960px; } }

/* ---------- Infoleiste (hell) ---------- */
.info { padding: clamp(48px, 7vw, 80px) 0; }
.info__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.info__item h2 { font-family: var(--font-head); font-weight: 500; font-size: 21px; margin: 0 0 6px; }
.info__item p { margin: 0; color: var(--muted-on-light); }
.info__item .num { display: block; font-family: var(--font-head); color: var(--brown); font-size: 14px; letter-spacing: .14em; margin-bottom: 10px; }
.contact { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--sand); color: var(--muted-on-light); }
.contact a { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--sand); padding: 26px 0; font-size: 14px; color: var(--muted-on-light); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer nav { display: flex; gap: 22px; }
.footer nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer nav a:hover, .footer nav a[aria-current="page"] { text-decoration: underline; }

/* ---------- Rechtstexte ---------- */
.legal-head { background: var(--ink); color: var(--cream); padding: 22px 0; }
.legal-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-head .wordmark { font-size: 24px; color: var(--cream); }
.legal-head a.back { font-size: 14px; color: var(--muted-on-dark); }
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal .wrap { max-width: 780px; }
.legal h1 { color: var(--ink); font-size: clamp(32px, 4.4vw, 46px); max-width: none; margin-bottom: 28px; }
.legal h2 { font-family: var(--font-head); font-weight: 500; font-size: 21px; margin: 36px 0 8px; }
.legal p, .legal li { color: #3d3833; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.2em; }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .topbar .wordmark { font-size: 22px; }
  .topbar__mail { display: none; }
  .info__grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .truck { width: 100%; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- Logo (PHD Möbel, Variante C) ---------- */
.logo { display: inline-flex; line-height: 0; }
.logo img { display: block; height: 64px; width: auto; margin-left: -6px; }
.legal-head .logo img { height: 56px; }
@media (max-width: 760px) {
  .logo img { height: 50px; margin-left: -4px; }
  .legal-head .logo img { height: 46px; }
}

/* ---------- LKW-Foto ---------- */
.scene { padding-bottom: clamp(32px, 5vw, 64px); }
.lkw { margin: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); background: #2b2825; aspect-ratio: 2000 / 860; }
.lkw img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .lkw { aspect-ratio: 1740 / 785; } }
@media (prefers-reduced-motion: no-preference) {
  .lkw { animation: lkw-in 1.6s cubic-bezier(.16,.84,.3,1) .2s both; }
}
@keyframes lkw-in { from { opacity: 0; transform: translateX(-6%); } to { opacity: 1; transform: none; } }

/* ---------- Shops (Amazon.de, Kaufland.de) ---------- */
.shops { background: var(--ink); color: var(--cream); padding: clamp(48px, 7vw, 80px) 0; }
.shops h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 0 0 8px; }
.shops p { margin: 0; color: var(--muted-on-dark); max-width: 56ch; }
.shop-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; max-width: 820px; }
.shop-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 28px 24px 26px; border-radius: 14px; background: var(--cream); color: var(--ink);
  text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.shop-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.38); }
@media (prefers-reduced-motion: no-preference) { .shop-card:hover { transform: translateY(-4px); } }
.shop-card:focus-visible { outline: 2px solid var(--taupe); outline-offset: 4px; }
/* Logo-Feld: Schutzzone rundherum; Logos werden nicht verändert, nur skaliert */
.shop-card__logo { display: flex; align-items: center; justify-content: center; height: 72px; width: 100%; padding: 12px 16px; }
.shop-card__logo img { max-height: 48px; max-width: 200px; width: auto; height: auto; }
.shop-card__market { font-family: var(--font-head); font-weight: 500; font-size: 26px; color: var(--ink); }
.shop-card__name { font-size: 16px; font-weight: 500; letter-spacing: .04em; color: var(--muted-on-light); }
.shop-card__cta { pointer-events: none; min-height: 46px; padding: 0 22px; }
.shop-card:hover .shop-card__cta { background: var(--brown-dark); }
@media (max-width: 760px) {
  .shop-cards { grid-template-columns: 1fr; }
}
