@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #fbf5ec;
  --paper: #fffdf9;
  --ink: #2b1d16;
  --muted: #6e5a4e;
  --rust: #a8471f;
  --rust-600: #8e3a17;
  --rust-50: #f6e6da;
  --peach: #ffc9a8;
  --mint: #ddefe5;
  --mint-ink: #2c6a50;
  --line: #eadccb;
  --wa: #128c4a;
  --wa-600: #0e7a40;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(43, 29, 22, 0.05), 0 10px 30px -12px rgba(43, 29, 22, 0.22);
  --gutter: 16px;
  --maxw: 1160px;
  --header-h: 60px;
  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 700px) {
  :root { --gutter: 28px; --header-h: 68px; }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px;
  border: 0; border-radius: 999px;
  font: 600 1rem/1.1 var(--sans);
  text-decoration: none; text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 8px 20px -8px rgba(168, 71, 31, 0.7); }
.btn-primary:hover { background: var(--rust-600); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(18, 140, 74, 0.6); }
.btn-wa:hover { background: var(--wa-600); }
.btn-outline { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.14); color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(251, 245, 236, 0.86);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled, .site-header.is-open { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 650; letter-spacing: -0.01em;
  text-decoration: none;
}
.brand svg { width: 30px; height: 30px; color: var(--rust); }
.header-right { display: flex; align-items: center; gap: 8px; }
.lang {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--rust-50);
}
.lang button {
  min-width: 40px; min-height: 36px; padding: 0 10px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 700 0.8rem/1 var(--sans); letter-spacing: 0.05em; color: var(--rust-600);
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(43, 29, 22, 0.18); }
.nav { display: none; }
.nav a:not(.btn) { text-decoration: none; font-weight: 550; color: var(--muted); transition: color 0.2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.menu-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-right: -8px;
  border: 0; background: none; border-radius: 12px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn svg { width: 26px; height: 26px; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-nav {
  display: grid;
  padding: 8px max(var(--gutter), env(safe-area-inset-left)) 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 14px 4px; font-family: var(--serif); font-size: 1.45rem; font-weight: 550;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; color: var(--rust); }

@media (min-width: 900px) {
  .header-right { gap: 28px; }
  .nav { display: flex; align-items: center; gap: 30px; }
  .menu-btn, .mobile-nav { display: none !important; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .header-right { gap: 18px; }
  .nav { gap: 18px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(calc(100svh - var(--header-h) - env(safe-area-inset-top)), 780px);
  min-height: min(calc(100vh - var(--header-h)), 780px);
  color: #fff;
}
@supports (height: 100svh) {
  .hero { min-height: min(calc(100svh - var(--header-h) - env(safe-area-inset-top)), 780px); }
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 18%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33, 20, 13, 0) 28%, rgba(33, 20, 13, 0.5) 55%, rgba(33, 20, 13, 0.9) 100%);
}
.hero-badge { display: none; }
.hero-copy { width: 100%; padding: 32px max(var(--gutter), env(safe-area-inset-left)) 36px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.85rem; font-weight: 650;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5be39a; box-shadow: 0 0 0 4px rgba(91, 227, 154, 0.28); }
.hero h1 { font-size: clamp(2.5rem, 10.5vw, 4.6rem); margin: 16px 0 14px; font-weight: 600; }
.hero h1 em { font-style: italic; font-weight: 450; color: var(--peach); }
.lead { font-size: 1.08rem; line-height: 1.55; max-width: 36ch; color: rgba(255, 255, 255, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-actions .btn { flex: 1 1 auto; }

@media (min-width: 900px) {
  .hero {
    display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 64px;
    min-height: 0; overflow: visible; color: var(--ink);
    max-width: var(--maxw); margin-inline: auto;
    padding: 48px var(--gutter) 88px;
  }
  .hero-media {
    position: relative; inset: auto; z-index: auto; order: 2;
    aspect-ratio: 4 / 5; max-height: 680px; justify-self: end; width: 100%;
  }
  .hero-media picture { display: block; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); }
  .hero-media::after { display: none; }
  .hero-badge {
    display: flex; align-items: center; gap: 14px;
    position: absolute; left: -36px; bottom: 40px;
    padding: 16px 20px 16px 16px; border-radius: 20px;
    background: var(--paper); box-shadow: var(--shadow);
  }
  .hero-badge svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--rust-50); color: var(--rust); }
  .hero-badge strong { display: block; font-size: 1rem; }
  .hero-badge span { display: block; font-size: 0.88rem; color: var(--muted); }
  .hero-copy { padding: 0; }
  .chip { background: var(--mint); color: var(--mint-ink); }
  .dot { background: #2fa36b; box-shadow: 0 0 0 4px rgba(47, 163, 107, 0.2); }
  .hero h1 { font-size: clamp(3.4rem, 5.6vw, 5rem); }
  .hero h1 em { color: var(--rust); }
  .lead { color: var(--muted); font-size: 1.2rem; }
  .hero-actions { margin-top: 32px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero .btn-ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: 76px; }
.section-paper { background: var(--paper); }
.section-mint { background: var(--mint); }
@media (min-width: 900px) { .section { padding-block: 112px; } }
.section-head { max-width: 640px; margin-bottom: 36px; }
@media (min-width: 900px) { .section-head { margin-bottom: 52px; } }
.kicker {
  display: block; margin-bottom: 12px;
  font: 700 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rust);
}
.section-mint .kicker { color: var(--mint-ink); }
.section h2 { font-size: clamp(2.1rem, 7.5vw, 3.3rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.body-lg { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

/* ---------- Puppies ---------- */
/* Stammbaum: Eltern oben, Linien, Welpe darunter */
.puppy-trees { display: grid; gap: 56px; }
.tree { --tree-gap: 16px; --tree-line: #c4825d; }
.tree-parents, .tree-lines { max-width: 560px; margin: 0 auto; }
.tree-parents { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tree-gap); }
.parent { margin: 0; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.parent-photo { aspect-ratio: 1; background: var(--rust-50); }
.parent-photo picture, .parent-photo img { display: block; width: 100%; height: 100%; }
.parent-photo img { object-fit: cover; object-position: 50% 15%; }
.parent figcaption { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; font-size: 0.86rem; color: var(--muted); }
.parent-role { font: 700 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); }
.parent strong { margin: 4px 0 2px; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.tree-lines { position: relative; height: 56px; }
.tree-lines::before {
  content: ""; position: absolute; top: 0; height: 28px;
  left: calc(25% - var(--tree-gap) / 4); right: calc(25% - var(--tree-gap) / 4);
  border: 2px solid var(--tree-line); border-top: 0; border-radius: 0 0 18px 18px;
}
.tree-lines::after { content: ""; position: absolute; top: 26px; left: calc(50% - 1px); width: 2px; height: 30px; background: var(--tree-line); }
.tree-child { max-width: 400px; margin: 0 auto; }

.puppy-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .puppy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .puppy-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.puppy {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.puppy-media { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--rust-50); }
.puppy-media picture, .puppy-media img { width: 100%; height: 100%; }
.puppy-media img { object-fit: cover; object-position: 50% 30%; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (hover: hover) { .puppy:hover .puppy-media img { transform: scale(1.045); } }
.status {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 253, 249, 0.94); color: var(--mint-ink);
  font-size: 0.82rem; font-weight: 700;
  box-shadow: 0 4px 14px -6px rgba(43, 29, 22, 0.35);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fa36b; }
.status.is-reserved { color: #7a5a12; }
.status.is-reserved::before { background: #d9a21b; }
.is-reserved .puppy-media img { filter: saturate(0.7) brightness(0.97); }
.puppy-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 20px 20px 22px; }
.puppy-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.puppy h3 { font-size: 1.85rem; }
.sex { font-size: 0.9rem; font-weight: 650; color: var(--muted); white-space: nowrap; }
.sex::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: #6a9bd8; vertical-align: 1px; }
.sex-w::before { background: #e08aa8; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta span {
  padding: 5px 11px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line);
  font-size: 0.83rem; color: var(--muted);
}
.puppy p { color: var(--muted); }
.puppy .btn { width: 100%; }

/* ---------- Breeder documents ---------- */
.docs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.doc {
  display: block; border-radius: 18px; overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow); color: inherit; text-decoration: none;
}
.doc img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.doc span { display: block; padding: 12px 16px; font-weight: 650; }
.docs-empty {
  grid-column: 1 / -1; margin: 0; padding: 26px 20px; text-align: center;
  border: 1.5px dashed var(--line); border-radius: 18px; color: var(--muted);
}

/* ---------- Payment ---------- */
.pay { max-width: 720px; padding: 6px 22px 20px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.pay-list { margin: 0; }
.pay-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pay-row dt { grid-column: 1 / -1; font-size: 0.8rem; font-weight: 650; color: var(--muted); }
.pay-row dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.pay-row dd.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
@media (min-width: 640px) {
  .pay-row { grid-template-columns: 190px 1fr auto; }
  .pay-row dt { grid-column: auto; }
}
.copy-btn {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--rust); font: inherit; font-size: 0.82rem; font-weight: 650; cursor: pointer;
}
.copy-btn:hover { border-color: var(--rust); }
.pay-note { margin: 16px 0 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Perks ---------- */
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .perks { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
}
.perk-icon {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: #fff; color: var(--mint-ink);
}
.perk-icon svg { width: 24px; height: 24px; }
.perk h3 { font: 700 1.04rem/1.3 var(--sans); letter-spacing: 0; margin-bottom: 4px; }
.perk p { color: #4a5f55; font-size: 0.96rem; }

/* ---------- Family ---------- */
.split { display: grid; gap: 44px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
  .split-top { align-items: start; }
}
.photo-stack { position: relative; margin: 0; padding: 0 15% 16% 0; }
.photo-stack .p1 { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-stack .p2 {
  position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4;
  border-radius: 20px; overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--shadow);
}
.photo-stack picture, .photo-stack img { width: 100%; height: 100%; }
.photo-stack img { object-fit: cover; }
.photo-stack .p1 img { object-position: 75% 50%; }
.photo-stack .p2 img { object-position: 50% 20%; }
.photo-stack .p2 .tag { top: auto; bottom: 10px; left: 10px; padding: 5px 12px; font-size: 0.9rem; }
.tag {
  position: absolute; top: 14px; left: 14px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 253, 249, 0.94);
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
}
.checklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 550; }
.checklist svg {
  flex: none; width: 26px; height: 26px; padding: 6px; margin-top: -1px;
  border-radius: 50%; background: var(--rust-50); color: var(--rust);
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  counter-increment: step;
  padding: 24px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 18px;
  font-family: var(--serif); font-size: 2.4rem; font-weight: 400; font-style: italic; line-height: 1;
  color: var(--rust);
}
.step h3 { font: 700 1.08rem/1.3 var(--sans); letter-spacing: 0; }
.step p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.g-item {
  display: block; width: 100%; padding: 0; border: 0; background: var(--rust-50);
  aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.g-item:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
.g-item picture, .g-item img { width: 100%; height: 100%; }
.g-item img { object-fit: cover; object-position: 50% 30%; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
/* Querformat-Fotos: Hund im Bildausschnitt halten */
.g-item[data-img="mama"] img { object-position: 15% 50%; }
.g-item[data-img="mama-kuschel"] img { object-position: 70% 50%; }
@media (hover: hover) { .g-item:hover img { transform: scale(1.05); } }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .g-item:first-child { grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100dvh;
  margin: 0; padding: 0; border: 0; background: transparent;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(22, 13, 9, 0.94); }
.lightbox img {
  max-width: calc(100vw - 24px); max-height: calc(100dvh - 140px);
  width: auto; height: auto; border-radius: 14px; object-fit: contain;
  user-select: none; -webkit-user-select: none;
}
.lb-btn {
  position: fixed; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.24); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.lb-prev, .lb-next { bottom: calc(20px + env(safe-area-inset-bottom)); }
.lb-prev { left: calc(50% - 60px); }
.lb-next { right: calc(50% - 60px); }
@media (min-width: 900px) {
  .lb-prev, .lb-next { bottom: auto; top: 50%; transform: translateY(-50%); }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
}

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.07rem;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--rust-50) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8471f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 22px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-list a, .c-static {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; transition: border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.contact-list a:hover { border-color: var(--muted); }
.contact-list small { display: block; font-size: 0.82rem; color: var(--muted); }
.contact-list strong { display: block; font-weight: 650; overflow-wrap: anywhere; }
.c-icon {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--rust-50); color: var(--rust);
}
.c-icon svg { width: 22px; height: 22px; }
.c-wa { background: #dcf3e5; color: var(--wa); }

.contact-card { padding: 24px 20px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
@media (min-width: 700px) { .contact-card { padding: 36px; } }
.contact-card h3 { font-size: 1.7rem; margin-bottom: 22px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 650; font-size: 0.94rem; }
.opt { font-weight: 450; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  font: inherit; font-size: 16px; /* verhindert Auto-Zoom auf dem iPhone */
  color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  padding-right: 44px;
  background: var(--bg) right 14px center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e5a4e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rust); box-shadow: 0 0 0 4px var(--rust-50);
}
.field [aria-invalid="true"] { border-color: #c0392b; }
.error { color: #b03224; font-size: 0.88rem; font-weight: 550; }
.is-highlight { animation: pulse 1.2s ease 1; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 71, 31, 0.45); }
  100% { box-shadow: 0 0 0 14px rgba(168, 71, 31, 0); }
}
.form-actions { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 520px) { .form-actions { grid-template-columns: 1fr 1fr; } }
.form-note { margin-top: 16px; font-size: 0.86rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: #e6d8ca;
  padding: 56px 0 calc(28px + env(safe-area-inset-bottom));
}
.footer-inner { display: grid; gap: 28px; }
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.brand-light { color: #fff; margin-bottom: 14px; }
.brand-light svg { color: var(--peach); }
.site-footer p { max-width: 44ch; color: #c9b8a8; }
.site-footer .reg { margin-top: 10px; font-size: 0.9rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; color: #a8968a; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px;
  padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 245, 236, 0.9);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-top: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.action-bar .btn { min-height: 48px; padding: 0 14px; }
.action-bar.is-hidden { transform: translateY(110%); }
@media (max-width: 899px) {
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- Puppy card extras ---------- */
button.puppy-media {
  display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.puppy-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 4px; }
.btn-soft { background: var(--rust-50); color: var(--rust-600); }
.btn-soft:hover { background: #f0d8c6; }

/* ---------- Puppy details dialog ---------- */
.pd {
  width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: var(--paper); color: var(--ink);
}
.pd[open] { display: flex; flex-direction: column; }
.pd::backdrop { background: rgba(33, 20, 13, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (min-width: 700px) {
  .pd {
    width: min(680px, calc(100vw - 48px)); height: auto; max-height: calc(100dvh - 48px);
    margin: auto; border-radius: 28px; box-shadow: 0 30px 80px -20px rgba(33, 20, 13, 0.5);
  }
}
.pd-content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; }
.pd-close {
  position: absolute; z-index: 3; top: calc(12px + env(safe-area-inset-top)); right: 12px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 253, 249, 0.94); color: var(--ink);
  box-shadow: 0 4px 14px -4px rgba(43, 29, 22, 0.35);
}
.pd-close svg { width: 22px; height: 22px; }
.pd-hero { position: relative; flex: none; aspect-ratio: 4 / 3.3; background: var(--rust-50); }
.pd-hero picture, .pd-hero img { width: 100%; height: 100%; }
.pd-hero img { object-fit: cover; object-position: 50% 30%; }
.pd-body { padding: 24px 20px 28px; }
@media (min-width: 700px) {
  .pd-hero { aspect-ratio: 16 / 10; }
  .pd-body { padding: 30px 32px 32px; }
}
.pd-body h2 { font-size: 2.3rem; }
.pd-text { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }
.pd-scan { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.pd-scan img { display: block; width: 100%; height: auto; }
.pd-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pd-videos video {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 18px; background: var(--rust-50);
}
.pd-videos video.is-wide { grid-column: 1 / -1; aspect-ratio: auto; }
.pd-h { margin: 30px 0 14px; font: 700 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); }
.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
.facts div { padding: 12px 14px; background: var(--paper); }
.facts div:last-child:nth-child(odd) { grid-column: span 2; }
.facts dt { font-size: 0.76rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-weight: 650; }
.pd-health { margin-top: 0; gap: 10px; }
.pd-cert-actions { display: grid; gap: 8px; margin-top: 14px; }
@media (min-width: 520px) { .pd-cert-actions { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.pd-footer {
  position: sticky; bottom: 0; margin-top: auto;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 249, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) { .pd-footer { padding-inline: 32px; } }
.pd-footer .btn { width: 100%; }

/* ---------- Birth certificate ---------- */
.certificate {
  padding: 10px; border-radius: 18px; color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(168, 71, 31, 0.08), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(44, 106, 80, 0.08), transparent 42%),
    #fffaf2;
  box-shadow: var(--shadow);
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.cert-inner {
  padding: 30px 20px 24px; border-radius: 12px; text-align: center;
  box-shadow: inset 0 0 0 1.5px var(--rust), inset 0 0 0 6px #fffaf2, inset 0 0 0 7px rgba(168, 71, 31, 0.55);
}
@media (min-width: 520px) { .cert-inner { padding: 38px 36px 30px; } }
.cert-paw { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--rust); }
.cert-kennel { font: 700 0.74rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--rust); }
.cert-title { margin: 10px 0 14px; font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.7rem); font-style: italic; font-weight: 450; line-height: 1.1; }
.cert-intro { color: var(--muted); font-size: 0.95rem; }
.cert-name {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 6px 0 22px; font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 3.3rem); font-weight: 650; line-height: 1.15; color: var(--rust);
}
.cert-name::before, .cert-name::after { content: ""; flex: 0 1 48px; height: 1px; background: rgba(168, 71, 31, 0.45); }
.cert-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 0 0 28px; padding-top: 20px;
  text-align: left; border-top: 1px dashed rgba(168, 71, 31, 0.4);
}
.cert-facts dt { font-size: 0.7rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cert-facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 550; }
.cert-sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: left; }
.sig {
  display: block; min-width: 150px; padding: 0 2px 6px; margin-bottom: 6px;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--serif); font-size: 1.25rem; font-style: italic;
}
.cert-sign small { font-size: 0.8rem; color: var(--muted); }
.cert-seal {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--rust); color: #fff;
  box-shadow: 0 0 0 4px #fffaf2, 0 0 0 5.5px var(--rust);
}
.cert-seal svg { width: 30px; height: 30px; }

#print-area { display: none; }
@media print {
  @page { size: A4 portrait; margin: 14mm; }
  body { background: #fff; }
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block; }
  #print-area .certificate { max-width: 175mm; margin: 0 auto; box-shadow: none; }
  #print-area .cert-inner { padding: 22mm 16mm 16mm; }
  #print-area .cert-title { font-size: 34pt; }
  #print-area .cert-name { font-size: 40pt; }
  #print-area .cert-facts dd { font-size: 14pt; }
}

/* ---------- Legal page ---------- */
.legal { padding-block: 48px 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.6rem; margin: 44px 0 12px; }
.legal h3 { font: 700 1.05rem/1.3 var(--sans); margin: 24px 0 6px; letter-spacing: 0; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 10px; }
.legal address { font-style: normal; line-height: 1.8; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-weight: 600; color: var(--rust); text-decoration: none; }
.back-link svg { width: 18px; height: 18px; transform: rotate(180deg); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

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