/* Skrifttyper – selvhostet, ingen kald til Google (SIL Open Font License, se fonts/site/OFL.txt) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/site/cormorant-garamond-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/site/cormorant-garamond-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/site/cormorant-garamond-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/site/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/site/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/site/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/site/montserrat-700.woff2") format("woff2"); }

/* Kennel Luna Y Sol Coton – designsystem
   Stil: varm, redaktionel, luksuriøs (UI/UX Pro Max: Cormorant + Montserrat, sort/guld)
   Temaet: Luna (nat, blæk) + Sol (guld) + Coton (bomuldshvid) */

:root {
  --bg: #FAF7F2;
  --bg-alt: #F3EDE4;
  --card: #FFFFFF;
  --ink: #1F1B17;
  --ink-soft: #57504A;
  --line: #E4DCD1;
  --night: #1D2130;
  --night-2: #272C3E;
  --on-night: #F4EFE7;
  --on-night-soft: #C9C3BA;
  --gold: #A16207;
  --gold-hover: #854D0E;
  --gold-soft: #F4E7CF;
  --gold-light: #E9B96E;
  --danger: #B42318;
  --ok: #1F7A4D;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 72px; --s8: 112px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(31,27,23,.06), 0 4px 16px rgba(31,27,23,.06);
  --shadow-2: 0 2px 6px rgba(31,27,23,.08), 0 18px 48px rgba(31,27,23,.12);
  --ease: cubic-bezier(.22,.8,.3,1);
  --dur: 240ms;
  --max: 1200px;
  --z-header: 40; --z-drawer: 100; --z-modal: 200; --z-toast: 300;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 var(--s3); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 var(--s3); }
.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
em.gold { font-style: italic; color: var(--gold); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, var(--s8)); }
.section--alt { background: var(--bg-alt); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night .lead, .section--night p { color: var(--on-night-soft); }
.section--night .eyebrow { color: var(--gold-light); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s4); margin-bottom: var(--s6); flex-wrap: wrap; }
.section-head > div { max-width: 640px; }
.section-head h2 { margin-bottom: var(--s2); }

/* Icons */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-lg { width: 28px; height: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .9375rem; text-decoration: none; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 120ms var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-hover); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #3a332d; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(161,98,7,.08); }
.section--night .btn--ghost:hover, .hero .btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold); text-decoration: none; }
.link-arrow .i { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(250,247,242,.88); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--dur);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: var(--s4); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: var(--gold-light); display: grid; place-items: center; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .625rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-top: 4px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; font-size: .875rem; font-weight: 500; padding: 10px 14px; border-radius: 999px; color: var(--ink-soft); transition: color var(--dur), background var(--dur); }
.nav a:hover { color: var(--ink); background: rgba(31,27,23,.05); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--gold-soft); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  display: grid; place-items: center; cursor: pointer; transition: background var(--dur), border-color var(--dur);
}
.icon-btn:hover { border-color: var(--ink-soft); }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #fff; font-size: .6875rem; font-weight: 700; display: grid; place-items: center; }
.badge[hidden] { display: none; }
.menu-btn { display: none; }

@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-cta { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20,18,16,.5); opacity: 0; transition: opacity var(--dur); }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--bg);
  transform: translateX(100%); transition: transform 320ms var(--ease); display: flex; flex-direction: column; padding: var(--s4);
  overflow-y: auto;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s5); }
.drawer nav a { display: block; font-family: var(--font-display); font-size: 2rem; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
.drawer nav a[aria-current="page"] { color: var(--gold); }

/* Hero */
.hero { position: relative; min-height: min(92dvh, 860px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.2) 0%, rgba(20,18,16,.25) 40%, rgba(20,18,16,.8) 100%); }
.hero__content { position: relative; padding-block: var(--s8) var(--s7); }
.hero h1 { max-width: 16ch; margin-bottom: var(--s4); }
.hero p { font-size: 1.125rem; max-width: 52ch; color: rgba(255,255,255,.88); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--s5); }
.hero .eyebrow, .hero em.gold { color: var(--gold-light); }

.page-hero { padding-block: clamp(56px, 8vw, 96px) var(--s6); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 18ch; }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--card); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); padding-block: var(--s5); }
.trust__item { display: flex; gap: 14px; align-items: center; }
.trust__item img { width: 52px; height: 52px; object-fit: contain; }
.trust__item .i { color: var(--gold); }
.trust__item strong { display: block; font-size: .9375rem; }
.trust__item span { font-size: .8125rem; color: var(--ink-soft); }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust .wrap { grid-template-columns: 1fr; } }

/* Split / story */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.photo-stack { position: relative; aspect-ratio: 4/5; }
.photo-stack img { position: absolute; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-2); }
.photo-stack img:first-child { inset: 0 18% 14% 0; width: 82%; height: 86%; }
.photo-stack img:last-child { right: 0; bottom: 0; width: 48%; height: 46%; border: 6px solid var(--bg); }
.stat-row { display: flex; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { font-size: .8125rem; color: var(--ink-soft); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.timeline b { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); font-weight: 600; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* Filter tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--s5); }
.tab {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  cursor: pointer; font-size: .875rem; font-weight: 500; transition: all var(--dur) var(--ease);
}
.tab:hover { border-color: var(--ink-soft); }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab .count { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* Dog cards */
.dog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.dog-card {
  position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  text-align: left; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.dog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.dog-card__img { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-alt); }
.dog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.dog-card:hover .dog-card__img img { transform: scale(1.04); }
.dog-card__body { padding: var(--s3) var(--s4) var(--s4); }
.dog-card__meta { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.dog-card h3 { font-size: 1.75rem; margin: 4px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: #6B4206; white-space: nowrap; }
.chip--ink { background: var(--ink); color: #fff; }
.chip--ok { background: #DDF1E6; color: #145236; }
.dog-card .chip--status { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--ink); }
.dog-card--memory .dog-card__img img { filter: grayscale(.35); }

.empty { padding: var(--s6); text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); }

/* Modal (dialog) */
dialog.modal {
  border: 0; padding: 0; border-radius: var(--radius); width: min(980px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  background: var(--bg); color: var(--ink); box-shadow: var(--shadow-2); overflow: auto;
}
dialog.modal::backdrop { background: rgba(20,18,16,.6); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: modalIn 280ms var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.dog-detail { display: grid; grid-template-columns: 1fr 1fr; }
.dog-detail__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.dog-detail__thumbs { display: flex; gap: 8px; padding: 8px; background: var(--bg-alt); }
.dog-detail__thumbs button { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; }
.dog-detail__thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.dog-detail__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dog-detail__body { padding: var(--s6) var(--s5); }
.dog-detail h2 { font-size: 2.8rem; margin-bottom: var(--s2); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: var(--s4) 0; font-size: .9375rem; }
.facts dt { color: var(--ink-soft); font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; padding-top: 2px; }
.facts dd { margin: 0; }
@media (max-width: 760px) { .dog-detail { grid-template-columns: 1fr; } .dog-detail__media img { min-height: 0; aspect-ratio: 4/3; } .dog-detail__body { padding: var(--s4); } }

/* Feature list (hvalpe) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: var(--card); padding: var(--s5); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.section--night .feature { background: var(--night-2); box-shadow: none; }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); margin-bottom: var(--s3); }
.section--night .feature__icon { background: rgba(233,185,110,.14); color: var(--gold-light); }
.feature h3 { font-size: 1.5rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .i { color: var(--gold); margin-top: 3px; width: 18px; height: 18px; }
.section--night .checklist .i { color: var(--gold-light); }

/* Litters */
.litters { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
@media (max-width: 900px) { .litters { grid-template-columns: 1fr 1fr; } }
.litter { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.litter img { width: 100%; height: 100%; object-fit: cover; }
.litter figcaption { position: absolute; inset: auto 0 0 0; padding: var(--s3); color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.litter figcaption b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.litter figcaption span { font-size: .8125rem; opacity: .9; }

/* Courses */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
@media (max-width: 960px) { .course-grid { grid-template-columns: 1fr; } }
.course { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); transition: border-color var(--dur), box-shadow var(--dur); }
.course:hover { border-color: var(--gold-light); box-shadow: var(--shadow-1); }
.course h3 { margin: 0; }
.course__meta { display: flex; gap: var(--s3); flex-wrap: wrap; font-size: .8125rem; color: var(--ink-soft); }
.course__meta span { display: inline-flex; gap: 6px; align-items: center; }
.course__meta .i { width: 16px; height: 16px; }
.course__price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); }
.course .btn { width: 100%; }

.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; gap: var(--s3); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.price-list li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--gold-light); font-weight: 600; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { text-decoration: none; display: flex; flex-direction: column; gap: var(--s3); }
.post-card__img { aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__meta { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); display: flex; gap: 10px; }
.post-card__meta b { color: var(--gold); }
.post-card h3 { font-size: 1.7rem; margin: 0; transition: color var(--dur); }
.post-card:hover h3 { color: var(--gold); }
.post-card p { color: var(--ink-soft); margin: 0; }

.article { max-width: 720px; margin-inline: auto; }
.article__cover { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; margin: var(--s5) 0; }
.article p { font-size: 1.0625rem; line-height: 1.8; }
.article p:first-of-type::first-letter { font-family: var(--font-display); font-size: 4.2em; float: left; line-height: .8; padding: 6px 10px 0 0; color: var(--gold); }

/* Shop */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
@media (max-width: 1020px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr; } }
.product { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.product__img { aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: var(--s4); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product h3 { font-size: 1.4rem; margin: 0; }
.product p { font-size: .875rem; color: var(--ink-soft); margin: 0; }
.product__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: var(--s3); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }

.cart-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); flex: 1; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.qty button:hover { background: var(--bg-alt); }
.qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.125rem; padding: var(--s3) 0; border-top: 1px solid var(--line); margin-top: var(--s4); }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--gold-soft); color: #5B3906; font-size: .875rem; display: flex; gap: 10px; align-items: flex-start; }
.notice .i { margin-top: 2px; }

/* Forms */
.form { display: grid; gap: var(--s3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .8125rem; font-weight: 600; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid #CFC5B8; background: var(--card);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(161,98,7,.18); }
.field .hint { font-size: .8125rem; color: var(--ink-soft); }
.field .err { font-size: .8125rem; color: var(--danger); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .err { display: block; }
.section--night .field label { color: var(--on-night); }
.section--night .field .hint { color: var(--on-night-soft); }

/* Contact */
.contact-card { background: var(--night-2); border-radius: var(--radius); padding: var(--s5); display: grid; gap: var(--s4); }
.contact-line { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--on-night); }
.contact-line .i { color: var(--gold-light); }
.contact-line small { display: block; color: var(--on-night-soft); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.form-card { background: var(--bg); color: var(--ink); border-radius: var(--radius); padding: var(--s5); }
@media (max-width: 520px) { .form-card, .contact-card { padding: var(--s4); } }

/* CTA band */
.cta-band { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; color: #fff; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,33,48,.92) 0%, rgba(29,33,48,.6) 55%, rgba(29,33,48,.15) 100%); }
.cta-band__content { position: relative; z-index: 1; padding: clamp(40px, 7vw, 88px); max-width: 640px; }
.cta-band p { color: rgba(255,255,255,.86); }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-soft); padding: var(--s7) 0 var(--s4); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-night); margin-bottom: var(--s3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color var(--dur); }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .brand-name { color: var(--on-night); }
.site-footer .brand-name small { color: var(--on-night-soft); }
.footer-bottom { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; font-size: .8125rem; }
.socials { display: flex; gap: 8px; margin-top: var(--s4); }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.socials a:hover { border-color: var(--gold-light); }
.footer-logos { display: flex; gap: 12px; margin-top: var(--s4); }
.footer-logos img { width: 56px; height: 56px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: var(--z-toast); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 999px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-2); opacity: 0; pointer-events: none; transition: all 280ms var(--ease); font-size: .9375rem; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .i { color: var(--gold-light); }

/* Admin */
.admin-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s5); align-items: start; }
@media (max-width: 960px) { .admin-grid { grid-template-columns: 1fr; } }
.panel { background: var(--card); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow-1); }
.preview-img { aspect-ratio: 4/5; border-radius: var(--radius-sm); background: var(--bg-alt) center/cover no-repeat; display: grid; place-items: center; color: var(--ink-soft); font-size: .875rem; border: 1px dashed var(--line); }
.admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.admin-list li { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: var(--bg); }
.admin-list img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.admin-list .grow { flex: 1; min-width: 0; }
.admin-list small { color: var(--ink-soft); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); } .center { text-align: center; }

/* Shop layout */
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s5); align-items: start; }
.shop-layout .product-grid { grid-template-columns: repeat(2, 1fr); }
.cart-panel { position: sticky; top: 96px; display: flex; flex-direction: column; }
@media (max-width: 960px) { .shop-layout { grid-template-columns: 1fr; } .cart-panel { position: static; } }
@media (max-width: 520px) { .shop-layout .product-grid { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
@media (max-width: 560px) {
  .dog-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dog-card__body { padding: 12px; }
  .dog-card h3 { font-size: 1.35rem; }
  .dog-card__meta { font-size: .625rem; letter-spacing: .1em; }
}

/* Fase 2 – tilføjelser til designet */
.dog-card[hidden] { display: none; }
a.dog-card { color: inherit; text-decoration: none; }
a.litter-link { display: block; color: inherit; text-decoration: none; }
.dog-detail__media img[data-main] { width: 100%; }

/* Fase 3 – formularer */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.narrow { max-width: 680px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); }
.footer-newsletter { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: var(--s4); align-items: end; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.1); }
.footer-newsletter p { margin: 0; }
.footer-newsletter .field label { color: var(--on-night); }
@media (max-width: 760px) { .footer-newsletter { grid-template-columns: 1fr; } }

/* Fase 4 – lancering */
.error-page { min-height: 60vh; display: grid; align-items: center; }

/* "Kommer snart" – hunden ved computeren (pages/coming-soon) */
.soon { min-height: 100vh; min-height: 100dvh; display: grid; align-items: center; padding-block: var(--s6); }
.soon__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.soon__dog img { display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto; border-radius: var(--radius); box-shadow: 0 24px 64px rgba(0,0,0,.35); }
.soon h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.soon em.gold, .soon .eyebrow { color: var(--gold-light); }
.soon__contact { display: grid; gap: var(--s4); margin-top: var(--s5); }
@media (max-width: 860px) {
  .soon__grid { grid-template-columns: 1fr; text-align: left; }
  .soon__dog img { max-width: 300px; }
}
