/* ═══════════════════════════════════════════════════════════════
   from Noblesse Heart – Stylesheet
   Design-Tokens identisch mit Welpenportal und Statistik-Widget.
   ═══════════════════════════════════════════════════════════════ */

/* ── Schriften ─────────────────────────────────────────────────
   Selbst gehostet (assets/fonts, SIL Open Font License) – kein Abruf
   bei Google, also nichts, was in der Datenschutzerklärung fehlen
   könnte. Cormorant Garamond für Überschriften: elegant, mit dem
   feinen Kontrast, der zu «Noblesse» passt. Inter für den Fliesstext:
   ruhig und auf dem Bildschirm sehr gut lesbar. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-latin-600-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
  --navy:      #0A1E3D;
  --navy-mid:  #152d5c;
  --gold:      #C8A96E;
  --gold-hell: #e8cfa0;
  --creme:     #FAF7F2;
  --creme-2:   #F0EBE2;
  --braun:     #8B6340;
  --grau:      #6B7280;
  --grau-2:    #9CA3AF;
  --gruen:     #4caf7d;
  --rot:       #C53030;
  --weiss:     #ffffff;

  --schatten:   0 2px 12px rgba(10,30,61,.10), 0 6px 24px rgba(10,30,61,.06);
  --schatten-s: 0 1px 4px rgba(10,30,61,.07), 0 4px 16px rgba(10,30,61,.04);
  --schatten-l: 0 8px 32px rgba(10,30,61,.14);
  --radius:     16px;
  --radius-s:   10px;
  --ease:       .22s ease;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  background: var(--creme); color: var(--navy);
  line-height: 1.6; font-size: 16px; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Muss nach allen display-Regeln greifen: Klassen wie .kein-wurf-banner
   setzen display:flex und würden das hidden-Attribut sonst aushebeln. */
[hidden] { display: none !important; }

/* Logo erst zeigen, wenn es tatsächlich geladen ist – sonst erscheint
   kurzzeitig das Alt-Text-Symbol des Browsers. */
img[data-logo]:not([src]), img[data-logo][src=""] { visibility: hidden; }
h1,h2,h3,h4 { font-family: var(--serif); line-height: 1.15; font-weight: 700; letter-spacing: -.005em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ── Layout ─────────────────────────────────────────────────── */
.container   { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-s { max-width: 820px;  margin: 0 auto; padding: 0 24px; }

.section       { padding: 96px 0; }
.section-sm    { padding: 64px 0; }
.section-white { background: var(--weiss); }
.section-creme { background: var(--creme-2); }
.section-dark  { background: var(--navy); color: var(--weiss); }
.section-dark .sec-title { color: var(--weiss); }
.section-dark .sec-intro { color: rgba(255,255,255,.68); }

@media (max-width: 700px) {
  .section    { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

/* ── Typo-Bausteine ─────────────────────────────────────────── */
.sec-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 10px;
}
.sec-title { font-size: clamp(30px, 4.6vw, 48px); color: var(--navy); }
.sec-intro { font-size: 17px; color: var(--grau); line-height: 1.75; max-width: 640px; }
.gold-rule { width: 44px; height: 3px; background: var(--gold); border-radius: 2px; margin: 18px 0 32px; }
.gold-rule.center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.mb-48 { margin-bottom: 48px; }

/* Fliesstext-Blöcke (Rasse-, Rechtsseiten) */
.prose p  { font-size: 16.5px; color: var(--grau); line-height: 1.8; margin-bottom: 18px; }
.prose h3 { font-size: 24px; color: var(--navy); margin: 36px 0 12px; }
.prose h4 { font-size: 16px; color: var(--navy); margin: 26px 0 8px; }
.prose ul { margin: 0 0 20px 20px; }
.prose li { font-size: 16px; color: var(--grau); line-height: 1.75; margin-bottom: 9px; }
.prose strong { color: var(--navy); }
.prose a { color: var(--braun); text-decoration: underline; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 13px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .3px; white-space: nowrap;
}
.badge-gold  { background: var(--gold);  color: var(--navy); }
.badge-gruen { background: var(--gruen); color: #fff; }
.badge-navy  { background: rgba(10,30,61,.08); color: var(--navy); border: 1px solid rgba(10,30,61,.12); }
.badge-grau  { background: #E5E7EB; color: var(--grau); }
.badge-rot   { background: #FEE2E2; color: var(--rot); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-s);
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: all var(--ease); white-space: nowrap; font-family: inherit;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hell); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,169,110,.4); }
.btn-navy { background: var(--navy); color: var(--gold); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--schatten-s); }
.btn-outline { background: transparent; color: var(--weiss); border: 2px solid rgba(255,255,255,.45); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.09); color: var(--weiss); border: 1px solid rgba(200,169,110,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: var(--gold); }
.btn-line { background: transparent; color: var(--navy); border: 2px solid var(--creme-2); }
.btn-line:hover { border-color: var(--gold); color: var(--braun); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ── Ladeanimation (identisch Widget) ───────────────────────── */
.lade-punkte { display: flex; gap: 6px; padding: 6px 0; }
.lade-punkte.center { justify-content: center; }
.lade-punkte span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); animation: puls 1.2s ease-in-out infinite;
}
.lade-punkte span:nth-child(2) { animation-delay: .2s; }
.lade-punkte span:nth-child(3) { animation-delay: .4s; }
@keyframes puls { 0%,80%,100%{transform:scale(.7);opacity:.4} 40%{transform:scale(1);opacity:1} }

/* ── Bildplatzhalter ────────────────────────────────────────── */
.bild-platzhalter {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--grau-2); font-size: 13px; text-align: center;
  padding: 32px; width: 100%; height: 100%;
}
.bild-platzhalter .icon { font-size: 52px; opacity: .5; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,30,61,.97);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(200,169,110,.14);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; transition: height .3s ease; }
.nav-brand { display: flex; align-items: center; gap: 11px; color: var(--weiss); font-family: var(--serif); font-size: 17px; font-weight: 600; flex-shrink: 0; }
/* Kein Rahmen: Das Logo bringt seinen eigenen Kreis mit. Ein zweiter
   Ring wiederholt die Form nur und lässt das Logo kleiner wirken. */
.nav-brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav-brand-sub { font-family: var(--sans); font-size: 10.5px; color: var(--gold); letter-spacing: 1px; font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.72); font-size: 13.5px;
  padding: 6px 11px; border-radius: 7px; transition: all var(--ease); white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); background: rgba(200,169,110,.1); }
.nav-links a.active { color: var(--gold); background: rgba(200,169,110,.13); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-portal-btn {
  flex-shrink: 0; padding: 6px 14px; border-radius: 8px;
  background: rgba(200,169,110,.13); color: var(--gold);
  border: 1px solid rgba(200,169,110,.28);
  font-size: 13px; font-weight: 600; transition: all var(--ease); white-space: nowrap;
}
.nav-portal-btn:hover { background: var(--gold); color: var(--navy); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--weiss); padding: 4px; line-height: 0; }

@media (max-width: 950px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; gap: 2px; border-bottom: 1px solid rgba(200,169,110,.14);
    box-shadow: 0 12px 24px rgba(0,0,0,.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; font-size: 15px; }
  .nav-toggle { display: block; }
}
@media (max-width: 420px) { .nav-brand-text { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   HERO (Startseite)
   ═══════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(148deg, #0A1E3D 0%, #163260 48%, #0d2546 100%);
  color: var(--weiss); min-height: 88vh;
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 72% 28%, rgba(200,169,110,.13) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 15% 85%, rgba(200,169,110,.07) 0%, transparent 55%);
}
.hero-deko { position: absolute; bottom: -30px; right: -30px; font-size: 300px; opacity: .06; color: var(--gold); transform: rotate(-14deg); line-height: 1; pointer-events: none; user-select: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; padding: 88px 0; }
.hero-eyebrow { font-size: 11.5px; letter-spacing: 2.8px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
/* Das Vorwort des Zuchtnamens ("from") steht auf der Zeile darüber,
   gehört aber farblich zum Namen. */
.hero h1 [data-zuchtname-vorsatz] { color: var(--gold); }
.hero-sub { font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,.68); margin: 22px 0 38px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-status {
  display: inline-block; overflow: hidden;
  background: rgba(255,255,255,.065); border: 1px solid rgba(200,169,110,.25);
  border-radius: 14px;
}
.status-oben  { display: flex; align-items: center; gap: 12px; padding: 13px 20px; }
.status-unten {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 11px 20px; font-size: 13px; color: #f3e9d5;
  background: rgba(200,169,110,.14); border-top: 1px solid rgba(200,169,110,.30);
}
.status-marke {
  background: var(--gold); color: #2a1e08;
  font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px; white-space: nowrap;
}

/* Die helle Fassung. Sie gilt nur, solange wirklich ein Hund zu haben
   ist – dann darf der Block auffallen. Sonst bleibt er dunkel, weil
   eine weisse Karte für «zurzeit nichts frei» zu viel Gewicht wäre. */
.hero-status.hell {
  background: var(--weiss); border-color: transparent;
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
}
.hero-status.hell .status-oben  { padding: 14px 22px 13px; }
.hero-status.hell .status-text  { color: var(--navy); font-size: 15px; }
.hero-status.hell .status-text strong { color: var(--navy); }
.hero-status.hell .status-unten {
  background: var(--creme); border-top-color: var(--creme-2);
  color: #4a5260; padding: 11px 22px;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--grau-2); }
.status-dot.gruen { background: var(--gruen); animation: pulse-gruen 2.2s ease infinite; }
.status-dot.rot { background: var(--rot); }
@keyframes pulse-gruen {
  0%,100% { box-shadow: 0 0 0 0 rgba(76,175,125,.5); }
  60%     { box-shadow: 0 0 0 6px rgba(76,175,125,0); }
}
.status-text { font-size: 14px; color: rgba(255,255,255,.8); }
.status-text strong { color: var(--weiss); }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-logo { width: 260px; max-width: 62vw; }
.hero-logo img { width: 100%; height: auto; display: block; }

/* Drei Aussagen an einer feinen Goldlinie – statt vier Schlagwort-Kacheln.
   Auf dem Telefon ausgeblendet: Dort zählt, dass Name und aktueller Stand
   ohne Scrollen sichtbar sind. */
.hero-merkmale {
  border-left: 2px solid rgba(200,169,110,.55); padding-left: 20px;
  display: flex; flex-direction: column; gap: 15px; max-width: 340px; text-align: left;
}
.hero-merkmal strong { display: block; font-size: 14.5px; color: var(--weiss); font-weight: 600; line-height: 1.35; }
.hero-merkmal span   { display: block; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.55; margin-top: 2px; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 72px; }
  .hero-visual { order: -1; }
  .hero-logo { width: 190px; }
  .hero-merkmale { display: none; }

  /* Auf dem Telefon zählt, was sich ändert: Der aktuelle Stand rückt
     direkt unter den Untertitel, die Knöpfe darunter. */
  .hero-text { display: flex; flex-direction: column; }
  .hero-text .hero-sub     { order: 3; margin-bottom: 26px; }
  .hero-text .hero-status  { order: 4; align-self: flex-start; }
  .hero-text .hero-actions { order: 5; margin: 24px 0 0; }
  .hero-deko { font-size: 170px; }
}

/* ═══════════════════════════════════════════════════════════════
   SEITENKOPF (Unterseiten)
   ═══════════════════════════════════════════════════════════════ */
.pagehead {
  background: linear-gradient(148deg, #0A1E3D 0%, #163260 100%);
  color: var(--weiss); padding: 76px 0 68px; position: relative; overflow: hidden;
}
.pagehead::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 70% at 78% 18%, rgba(200,169,110,.13) 0%, transparent 62%);
}
.pagehead > * { position: relative; z-index: 1; }
.pagehead h1 { font-size: clamp(36px, 5.4vw, 58px); margin-bottom: 14px; }
.pagehead h1 em { font-style: normal; color: var(--gold); }
.pagehead p { font-size: 17px; color: rgba(255,255,255,.7); max-width: 620px; line-height: 1.75; }
.pagehead-deko { position: absolute; right: 2%; bottom: -46px; font-size: 200px; opacity: .07; color: var(--gold); transform: rotate(-14deg); line-height: 1; pointer-events: none; }

.breadcrumb { font-size: 12.5px; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 7px; opacity: .5; }

/* ═══════════════════════════════════════════════════════════════
   STATISTIK-KARTEN (Widget-Integration)
   ═══════════════════════════════════════════════════════════════ */
.stats-bar  { background: var(--weiss); border-bottom: 1px solid var(--creme-2); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-card {
  background: var(--creme); border-radius: var(--radius-s);
  border-left: 4px solid var(--gold); padding: 20px 22px 18px; box-shadow: var(--schatten-s);
}
.stat-card.c-navy  { border-color: var(--navy); }
.stat-card.c-braun { border-color: var(--braun); }
.stat-card.c-gruen { border-color: var(--gruen); }
.stat-card.c-gold  { border-color: var(--gold); }
.stat-value { font-family: var(--serif); font-size: 46px; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--grau); font-weight: 500; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ═══════════════════════════════════════════════════════════════
   ZWEISPALTER MIT BILD
   ═══════════════════════════════════════════════════════════════ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background: var(--creme-2); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--schatten); position: relative;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.split-media:hover img { transform: scale(1.03); }
.split-media::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(200,169,110,.22); border-radius: var(--radius); pointer-events: none; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
}

/* ── Werte-Liste ────────────────────────────────────────────── */
.werte-liste { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.wert-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--creme); border-radius: var(--radius-s);
  border-left: 3px solid var(--gold); padding: 16px 18px;
}
.section-white .wert-item { background: var(--creme); }
.wert-icon { font-size: 24px; flex-shrink: 0; margin-top: 1px; color: var(--gold); line-height: 0; }
.wert-body strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.wert-body span { font-size: 13px; color: var(--grau); line-height: 1.55; }

/* ═══════════════════════════════════════════════════════════════
   HUNDE-KARTEN
   ═══════════════════════════════════════════════════════════════ */
.hunde-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 28px; }
.hund-card {
  background: var(--weiss); border-radius: var(--radius);
  box-shadow: var(--schatten); overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex; flex-direction: column;
}
.hund-card:hover { transform: translateY(-4px); box-shadow: var(--schatten-l); }
.hund-bild { aspect-ratio: 4/3; background: var(--creme-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hund-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hund-card:hover .hund-bild img { transform: scale(1.045); }
.hund-body { padding: 24px; flex: 1; }
.hund-name { font-size: 25px; color: var(--navy); margin-bottom: 4px; }
.hund-rolle { font-size: 11.5px; color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.hund-bio { font-size: 14px; color: var(--grau); line-height: 1.65; }
.hund-footer { padding: 14px 24px; border-top: 1px solid var(--creme-2); display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Gesundheitstabelle ─────────────────────────────────────── */
.gesundheit-tabelle { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.gesundheit-tabelle th {
  text-align: left; padding: 10px 14px; background: var(--creme-2);
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--grau); font-weight: 700;
}
.gesundheit-tabelle th:first-child { border-radius: 8px 0 0 8px; }
.gesundheit-tabelle th:last-child  { border-radius: 0 8px 8px 0; }
.gesundheit-tabelle td { padding: 12px 14px; border-bottom: 1px solid var(--creme-2); color: var(--grau); }
.gesundheit-tabelle td:first-child { color: var(--navy); font-weight: 600; }
.gesundheit-tabelle tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════
   WELPEN / WURF
   ═══════════════════════════════════════════════════════════════ */
.wurf-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.welpen-liste { display: flex; flex-direction: column; gap: 12px; }
.welpe-item {
  background: var(--weiss); border-radius: var(--radius-s); padding: 14px 18px;
  box-shadow: var(--schatten-s); display: flex; align-items: center; gap: 15px;
  transition: transform var(--ease);
}
.section-white .welpe-item { background: var(--creme); }
.welpe-item:hover { transform: translateX(3px); }
.welpe-avatar {
  width: 50px; height: 50px; border-radius: 50%; background: var(--creme-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0; overflow: hidden;
}
.welpe-avatar img { width: 100%; height: 100%; object-fit: cover; }
.welpe-meta { flex: 1; min-width: 0; }
.welpe-meta strong { display: block; font-size: 14.5px; color: var(--navy); }
.welpe-meta span { font-size: 13px; color: var(--grau); }
.welpen-leer { background: var(--creme); border-radius: var(--radius-s); padding: 28px; text-align: center; color: var(--grau); font-size: 14px; }

.kein-wurf-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3560 100%);
  color: var(--weiss); border-radius: var(--radius); padding: 28px 32px;
  display: flex; align-items: center; gap: 24px; box-shadow: var(--schatten);
}
.kein-wurf-banner-icon { font-size: 38px; flex-shrink: 0; color: var(--gold); line-height: 0; }
.kein-wurf-banner h3 { font-size: 22px; margin-bottom: 4px; }
.kein-wurf-banner p { font-size: 14px; color: rgba(255,255,255,.72); }
.kein-wurf-banner-action { margin-left: auto; flex-shrink: 0; }

@media (max-width: 820px) {
  .wurf-layout { grid-template-columns: 1fr; gap: 32px; }
  .kein-wurf-banner { flex-direction: column; text-align: center; }
  .kein-wurf-banner-action { margin: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   ABLAUF / TIMELINE
   ═══════════════════════════════════════════════════════════════ */
.timeline { position: relative; padding-left: 46px; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 12px; bottom: 12px;
  width: 2px; background: linear-gradient(180deg, var(--gold) 0%, rgba(200,169,110,.2) 100%);
}
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-num {
  position: absolute; left: -46px; top: 0; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px; font-family: var(--serif);
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 0 0 5px var(--creme);
}
.section-white .tl-num { box-shadow: 0 0 0 5px var(--weiss); }
.tl-item h3 { font-size: 22px; color: var(--navy); margin-bottom: 7px; }
.tl-item p  { font-size: 15px; color: var(--grau); line-height: 1.72; }
.tl-note {
  display: inline-block; margin-top: 10px; font-size: 13px;
  background: var(--creme-2); color: var(--braun);
  padding: 6px 13px; border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-liste { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--weiss); border: 1px solid var(--creme-2);
  border-radius: var(--radius-s); overflow: hidden; transition: box-shadow var(--ease);
}
.faq-item[open] { box-shadow: var(--schatten-s); border-color: rgba(200,169,110,.4); }
.faq-item summary {
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 15.5px; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; color: var(--gold);
  font-weight: 400; flex-shrink: 0; transition: transform var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; font-size: 15px; color: var(--grau); line-height: 1.75; }
.faq-item .faq-body p + p { margin-top: 12px; }

/* ═══════════════════════════════════════════════════════════════
   CHECKLISTE (Selbsttest)
   ═══════════════════════════════════════════════════════════════ */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.check-box {
  background: var(--weiss); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--schatten-s);
  border-top: 4px solid var(--gruen);
}
.check-box.contra { border-top-color: var(--rot); }
.check-box h3 { font-size: 21px; color: var(--navy); margin-bottom: 4px; }
.check-box > p.hint { font-size: 13px; color: var(--grau-2); margin-bottom: 18px; }
.check-liste { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-liste li { display: flex; gap: 11px; font-size: 14.5px; color: var(--grau); line-height: 1.6; }
.check-liste li::before { content: '✓'; color: var(--gruen); font-weight: 800; flex-shrink: 0; }
.check-box.contra .check-liste li::before { content: '✕'; color: var(--rot); }
@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   GALERIE + LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */
.galerie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.galerie-item {
  aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden;
  background: var(--creme-2); cursor: pointer; position: relative;
  box-shadow: var(--schatten-s); transition: transform var(--ease), box-shadow var(--ease);
}
.galerie-item:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.galerie-item:hover img { transform: scale(1.06); }
.galerie-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(10,30,61,.85));
  color: #fff; padding: 22px 14px 11px; font-size: 13px; font-weight: 600;
}
.galerie-cap small { display: block; font-weight: 400; opacity: .75; font-size: 11.5px; }

.lightbox {
  position: fixed; inset: 0; z-index: 999; background: rgba(10,30,61,.94);
  display: none; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  width: 42px; height: 42px; border-radius: 50%; font-size: 22px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: var(--gold); color: var(--navy); }

/* ═══════════════════════════════════════════════════════════════
   FORMULAR
   ═══════════════════════════════════════════════════════════════ */
.form-card { background: var(--weiss); border-radius: var(--radius); padding: 40px; box-shadow: var(--schatten); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-feld { display: flex; flex-direction: column; gap: 7px; }
.form-feld.voll { grid-column: 1 / -1; }
.form-feld label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-feld label .opt { color: var(--grau-2); font-weight: 400; }
.form-feld input, .form-feld textarea, .form-feld select {
  padding: 12px 14px; border: 1.5px solid var(--creme-2); border-radius: var(--radius-s);
  font-size: 15px; font-family: inherit; color: var(--navy);
  background: var(--creme); transition: border-color var(--ease), background var(--ease);
}
.form-feld input:focus, .form-feld textarea:focus, .form-feld select:focus {
  outline: none; border-color: var(--gold); background: var(--weiss);
}
.form-feld textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.form-check { display: flex; gap: 11px; align-items: flex-start; grid-column: 1 / -1; }
.form-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--gold); flex-shrink: 0; }
.form-check label { font-size: 13.5px; color: var(--grau); line-height: 1.6; font-weight: 400; }
.form-check a { color: var(--braun); text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   KONTAKT-KARTEN
   ═══════════════════════════════════════════════════════════════ */
.kontakt-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 22px; }
.kontakt-card {
  background: var(--creme); border-radius: var(--radius-s); padding: 30px 24px;
  text-align: center; border: 1px solid var(--creme-2); transition: box-shadow var(--ease);
}
.section-creme .kontakt-card { background: var(--weiss); }
.kontakt-card:hover { box-shadow: var(--schatten-s); }
.kontakt-icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--gold); background: rgba(200,169,110,.12);
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.kontakt-card:hover .kontakt-icon { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.kontakt-card h4 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.kontakt-card p { font-size: 14px; color: var(--grau); line-height: 1.6; }
.kontakt-card a { color: var(--braun); font-weight: 600; }
.kontakt-card a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   PORTAL-CTA
   ═══════════════════════════════════════════════════════════════ */
.portal-block {
  background: linear-gradient(140deg, var(--navy) 0%, #1b3660 100%);
  border-radius: var(--radius); padding: 72px 48px; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--schatten);
}
.portal-block::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(200,169,110,.16) 0%, transparent 65%);
}
.portal-block > * { position: relative; z-index: 1; }
.portal-block h2 { font-size: clamp(26px,4vw,40px); color: var(--weiss); margin-bottom: 14px; }
.portal-block p { color: rgba(255,255,255,.68); font-size: 16px; max-width: 500px; margin: 0 auto 36px; line-height: 1.7; }
@media (max-width: 600px) { .portal-block { padding: 48px 24px; } }

/* ═══════════════════════════════════════════════════════════════
   HINWEIS-BOX
   ═══════════════════════════════════════════════════════════════ */
.hinweis {
  background: var(--weiss); border-left: 4px solid var(--gold);
  border-radius: var(--radius-s); padding: 22px 26px;
  box-shadow: var(--schatten-s); display: flex; gap: 16px; align-items: flex-start;
}
.hinweis.gruen { border-left-color: var(--gruen); }
.hinweis-icon { font-size: 26px; flex-shrink: 0; color: var(--gold); line-height: 0; margin-top: 2px; }
.hinweis.gruen .hinweis-icon { color: var(--gruen); }
.hinweis h4 { font-size: 18px; color: var(--navy); margin-bottom: 5px; }
.hinweis p  { font-size: 14.5px; color: var(--grau); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--navy); color: rgba(255,255,255,.55);
  padding: 56px 0 32px; border-top: 1px solid rgba(200,169,110,.14);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(200,169,110,.3); object-fit: cover; background: var(--navy-mid); }
.footer-brand h3 { font-size: 21px; color: var(--weiss); }
.footer-brand p { font-size: 13.5px; line-height: 1.65; max-width: 270px; }
.footer-nav h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-family: var(--sans); font-weight: 700; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.55); transition: color var(--ease); }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--ease); }
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ── Bewegung reduzieren ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}


/* ── Stimmen der Familien ───────────────────────────────────────
   Kurze Zitate unter der Hundekarte und im eigenen Bereich der
   Startseite. Bewusst ohne Sterne oder Noten. */
blockquote.stimme {
  margin: 0;
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(200,169,110,.28);
  background: rgba(250,247,242,.6);
}
blockquote.stimme p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--grau-2);
  font-style: italic;
}
blockquote.stimme cite {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--braun, var(--navy));
}
.stimmen-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.stimmen-grid blockquote.stimme {
  border: 1px solid rgba(200,169,110,.28);
  border-radius: var(--radius);
  background: var(--weiss, #fff);
  padding: 22px 24px 20px;
  box-shadow: var(--schatten-s, 0 2px 10px rgba(0,0,0,.05));
}
.stimmen-grid blockquote.stimme p { font-size: 15px; }

/* ── "Über uns": Text kommt aus dem Portal, Länge ist offen ──── */
.ueber-uns-text p:not(.sec-intro) {
  font-size: 16px; color: var(--grau); line-height: 1.75; margin-top: 16px;
}

/* ── Frühere Würfe: aufklappbare Welpenliste ─────────────────── */
.wurf-aufklapp { border: none; background: none; padding: 0; width: 100%; }
.wurf-mehr {
  width: 100%; border: none; background: var(--creme-2); color: var(--navy);
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .3px;
  padding: 11px 14px; cursor: pointer; border-radius: 0 0 var(--radius) var(--radius);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--ease);
}
.wurf-mehr:hover { background: var(--gold); color: var(--navy); }
.wurf-mehr .pfeil { transition: transform var(--ease); }
.wurf-mehr[aria-expanded="true"] .pfeil { transform: rotate(180deg); }
.wurf-detail { padding: 4px 20px 18px; border-top: 1px solid var(--creme-2); }
.wurf-detail h4 {
  font-family: var(--serif); font-size: 15px; color: var(--navy); margin: 16px 0 10px;
}

/* ── Aus dem Portal ausgezeichnete Titelzeile im Fliesstext ──── */
.text-titel {
  font-family: var(--serif); font-size: 19px; color: var(--navy);
  line-height: 1.4; margin: 26px 0 10px;
}
.text-titel strong { font-weight: 700; }
.text-titel:first-child { margin-top: 0; }
.prose .text-titel { font-size: 20px; }

/* ── Verbandshinweis ─────────────────────────────────────────── */
.verband-block {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--weiss); border: 1px solid var(--creme-2);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 24px 26px;
}
.verband-logo { font-size: 32px; line-height: 0; flex-shrink: 0; color: var(--gold); }
.verband-block h3 {
  font-family: var(--serif); font-size: 19px; color: var(--navy); margin-bottom: 8px;
}
.verband-block p { font-size: 15px; color: var(--grau); line-height: 1.7; }
.verband-links { margin-top: 12px; display: flex; gap: 20px; flex-wrap: wrap; }
.verband-links a { color: var(--braun); font-weight: 600; font-size: 14px; }
@media (max-width: 560px) { .verband-block { flex-direction: column; gap: 12px; } }

/* ── Musterkaufvertrag ───────────────────────────────────────── */
.vertrag {
  background: var(--weiss); border: 1px solid var(--creme-2);
  border-radius: var(--radius); padding: 34px 36px; margin-top: 32px;
}
.vertrag h2 {
  font-family: var(--serif); font-size: 24px; color: var(--navy);
  text-align: center; margin-bottom: 26px;
}
.vertrag h3 {
  font-family: var(--serif); font-size: 17px; color: var(--navy);
  margin: 30px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--creme-2);
}
.vertrag p, .vertrag li { font-size: 14.5px; color: var(--grau); line-height: 1.75; margin-bottom: 9px; }
.vertrag ul { margin: 0 0 14px 20px; }
.vertrag-parteien {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  font-size: 14.5px; color: var(--grau); line-height: 1.7;
  background: var(--creme); border-radius: 10px; padding: 18px 20px;
}
.vertrag-parteien strong { color: var(--navy); }
@media (max-width: 560px) {
  .vertrag { padding: 24px 20px; }
  .vertrag-parteien { grid-template-columns: 1fr; gap: 14px; }
}

/* Fehlt das Bild einer zweispaltigen Aufteilung, wird daraus ein Textblock. */
.split.split-einspaltig { display: block; }

/* ── Social-Links im Footer ──────────────────────────────────── */
.footer-social { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.footer-social a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--creme); opacity: .85;
  border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 6px 14px;
  transition: opacity var(--ease), border-color var(--ease), color var(--ease);
}
.footer-social a:hover { opacity: 1; border-color: var(--gold); color: var(--gold); }

/* Die Glyphe erbt die Schriftfarbe (fill="currentColor"), sie wird beim
   Darüberfahren also golden wie die Beschriftung daneben. Eine eigene
   Farbregel bräuchte sonst dieselbe Pflege an zwei Stellen. */
.footer-social .social-glyphe {
  width: 18px; height: 18px; flex-shrink: 0; display: block;
}

/* ── «Sucht noch ein Zuhause» ────────────────────────────────── */
.sucht-sektion { background: linear-gradient(180deg, #FDF6EC 0%, var(--creme) 100%); }
.sucht-karte {
  display: grid; grid-template-columns: minmax(0,340px) 1fr; gap: 34px;
  background: var(--weiss); border: 1px solid var(--gold);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten-l);
  margin-bottom: 28px;
}
.sucht-bild {
  aspect-ratio: 4/5; background: var(--creme-2);
  display: flex; align-items: center; justify-content: center; font-size: 54px;
}
.sucht-bild img { width: 100%; height: 100%; object-fit: cover; }
.sucht-body { padding: 30px 34px 30px 0; }
.sucht-fahne {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  border-radius: 20px; padding: 5px 14px; margin-bottom: 14px;
}
.sucht-body h3 { font-family: var(--serif); font-size: 34px; color: var(--navy); }
.sucht-geburt { font-size: 14px; color: var(--grau); margin-top: 4px; }
.sucht-daten { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 18px; }
.sucht-text p { font-size: 15.5px; color: var(--grau); line-height: 1.75; margin-bottom: 14px; }
@media (max-width: 760px) {
  .sucht-karte { grid-template-columns: 1fr; gap: 0; }
  .sucht-bild { aspect-ratio: 4/3; }
  .sucht-body { padding: 26px 24px; }
}

/* Zweite Zeile im Statusbalken – z.B. der geplante Wurf neben dem Hund,
   der noch ein Zuhause sucht. Zurückhaltender als die Hauptaussage. */

/* ── Noblesse ─────────────────────────────────────────────────────────
   Der Abschnitt, der den Namen der Zuchtstätte erklärt. Ruhiger als der
   Rest der Seite: dunkler Grund, kein Kasten, viel Luft. Er soll wie ein
   Innehalten wirken, nicht wie ein weiterer Inhaltsblock.            */
.noblesse-sektion {
  background: var(--navy);
  color: #F3EFE7;
}
.noblesse-inner {
  display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center;
}
.noblesse-bild {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(200,169,110,.35);
  display: flex; align-items: center; justify-content: center;
}
.noblesse-bild img { width: 100%; height: 100%; object-fit: cover; }
.noblesse-bild .bild-platzhalter { background: transparent; color: rgba(243,239,231,.6); border: 0; }
.noblesse-sektion .sec-label { color: var(--gold); }
.noblesse-sektion .sec-title { color: #FFF; }
.noblesse-sektion .prose p { color: rgba(243,239,231,.86); }
.noblesse-sektion .prose em { color: var(--gold); font-style: normal; }
/* Fetter Text ist im übrigen Layout dunkelblau – auf dunkelblauem Grund
   wäre er unsichtbar. Im Noblesse-Abschnitt deshalb hell. Dasselbe gilt
   für eine Überschrift, die aus einer fetten Zeile entsteht. */
.noblesse-sektion .prose strong { color: var(--weiss); }
.noblesse-sektion .prose .text-titel,
.noblesse-sektion .prose .text-titel strong { color: var(--gold-hell); }
.noblesse-sektion .gold-rule { margin-left: 0; }

@media (max-width: 760px) {
  .noblesse-inner { grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: center; }
  .noblesse-bild { width: 190px; }
  .noblesse-sektion .gold-rule { margin-left: auto; margin-right: auto; }
}
.noblesse-zuchtname {
  font-size: 14px; color: rgba(243,239,231,.6); margin-top: 6px;
  letter-spacing: .3px;
}

/* Sicherung für den Fall, dass ein Statusfeld ohne die innere Zeile
   «status-oben» im HTML steht: Dann klebte der Punkt sonst randlos in
   der Ecke. Greift nur auf die alte, flache Form – bei der neuen sind
   Punkt und Text keine direkten Kinder mehr. */
.hero-status > .status-dot { margin: 13px 0 13px 20px; }
.hero-status > .status-text { padding: 13px 20px 13px 0; }

/* Vier gleichwertige Karten stehen als 2×2 ruhiger als drei oben und eine
   verloren darunter. Erst ab zwei Karten nebeneinander sinnvoll – darunter
   bleibt es bei einer Spalte, wie beim übrigen Raster auch. */
@media (min-width: 720px) {
  .hunde-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Karte «Wo unsere Hunde leben» ────────────────────────────────────
   Dieselbe Farbwelt wie der Startbereich: dunkler Grund, feine
   Goldkante, rote Punkte. Ohne Beschriftung – die Karte zeigt die
   Verteilung, nicht die Orte.                                       */
#karte-sektion { margin-bottom: 44px; }
.karte {
  display: block; width: 100%; height: auto;
  background: var(--navy); border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.karte-land    { fill: var(--navy-mid); stroke: rgba(200,169,110,.75); stroke-width: 1.4; }
.karte-kantone { fill: none; stroke: rgba(200,169,110,.22); stroke-width: .8; }
.karte-seen    { fill: var(--navy); opacity: .85; }
.karte-pin {
  fill: var(--rot); stroke: rgba(255,255,255,.85); stroke-width: 1.6;
}
.karte-pin-zahl {
  fill: var(--weiss); font-size: 13px; font-weight: 700;
  text-anchor: middle; font-family: inherit;
}
.karte-legende {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 14px; font-size: 13.5px; color: var(--grau);
}
.karte-punkt {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--rot); display: inline-block; flex-shrink: 0;
}

/* ── Linien-Icons ────────────────────────────────────────────────
   Das Sprite fügt build.py ein. Grösse über font-size, Farbe über
   color – ein Icon verhält sich damit wie ein Schriftzeichen. */
.ico {
  width: 1em; height: 1em; display: inline-block; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.hero-deko .ico, .pagehead-deko .ico { stroke-width: 1; }
/* Auf den Rasse- und Vermittlungskarten steht das Icon über dem Titel */
.hund-body > .wert-icon { color: var(--gold); }

/* ── Einblenden beim Scrollen ────────────────────────────────────
   site.js setzt .rv nur auf Elemente unterhalb des Blickfelds und
   .rv-da, sobald sie hereinkommen. Eigene Eigenschaft «translate»
   statt «transform», damit sich das nicht mit den Hover-Effekten der
   Karten in die Quere kommt. */
.rv {
  opacity: 0; translate: 0 26px;
  transition: opacity .75s cubic-bezier(.2,.7,.2,1) var(--rv-verz, 0ms),
              translate .75s cubic-bezier(.2,.7,.2,1) var(--rv-verz, 0ms),
              transform var(--ease), box-shadow var(--ease),
              border-color var(--ease), background var(--ease);
}
.rv.rv-da { opacity: 1; translate: 0 0; }
.gold-rule.rv { translate: 0 0; width: 0; transition: width .9s cubic-bezier(.2,.7,.2,1) .15s, opacity .4s ease; }
.gold-rule.rv.rv-da { width: 44px; }
@media print { .rv { opacity: 1 !important; translate: none !important; } .gold-rule.rv { width: 44px; } }

/* ── Kopfleiste beim Scrollen ────────────────────────────────── */
.nav.gescrollt { box-shadow: 0 6px 24px rgba(5,15,32,.28); }
@media (min-width: 951px) {
  .nav.gescrollt .nav-inner { height: 58px; }
}

/* ── Zeitleiste, die sich beim Lesen füllt ───────────────────────
   Nur mit JavaScript (.lebendig) – sonst bleibt die bisherige,
   durchgehend goldene Linie. */
.timeline.lebendig::before { background: rgba(200,169,110,.22); }
.timeline.lebendig::after {
  content: ''; position: absolute; left: 15px; top: 12px; width: 2px;
  height: calc((100% - 24px) * var(--tl-fortschritt, 0));
  background: linear-gradient(180deg, var(--gold-hell), var(--gold));
  border-radius: 2px;
}
.timeline.lebendig .tl-num { background: var(--creme-2); color: var(--grau); }
.timeline.lebendig .tl-item.erreicht .tl-num {
  background: var(--gold); color: var(--navy);
  transform: scale(1.08);
  box-shadow: 0 0 0 5px var(--creme), 0 0 0 9px rgba(200,169,110,.25);
}
.section-white .timeline.lebendig .tl-item.erreicht .tl-num {
  box-shadow: 0 0 0 5px var(--weiss), 0 0 0 9px rgba(200,169,110,.25);
}

/* ── Icons in Abzeichen, Knöpfen und leeren Bildfeldern ──────── */
.badge .ico, .btn .ico, .nav-portal-btn .ico, .footer-nav .ico, .sucht-fahne .ico {
  width: 1.15em; height: 1.15em; stroke-width: 2; margin-top: -2px;
}
.nav-portal-btn { display: inline-flex; align-items: center; gap: 6px; }
.leer-icon { display: block; font-size: 30px; color: var(--gold); line-height: 0; margin-bottom: 10px; }
.leer-icon.gross { font-size: 44px; margin-bottom: 14px; }
.welpe-ohne-foto, .hund-ohne-foto { color: var(--gold); line-height: 0; }
.welpe-ohne-foto { font-size: 22px; }
.hund-ohne-foto  { font-size: 56px; opacity: .7; }

/* ── Welpen als Kartenraster (Zuchtseite) ─────────────────────── */
.welpen-raster {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.welpe-karte {
  background: var(--weiss); border-radius: var(--radius-s); overflow: hidden;
  box-shadow: var(--schatten-s); border: 1px solid var(--creme-2);
  display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.welpe-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.welpe-karte.frei { border-color: rgba(76,175,125,.55); }
.welpe-karte-bild {
  position: relative; aspect-ratio: 1; background: var(--creme-2);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.welpe-karte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.welpe-karte:hover .welpe-karte-bild img { transform: scale(1.05); }
.welpe-karte-bild .welpe-ohne-foto { font-size: 46px; opacity: .6; }
.welpe-karte-status { position: absolute; top: 10px; left: 10px; box-shadow: 0 2px 8px rgba(10,30,61,.15); }
.welpe-karte-status.badge-grau { background: rgba(255,255,255,.92); }
.welpe-karte-text { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.welpe-karte-text strong { font-family: var(--serif); font-size: 19px; color: var(--navy); line-height: 1.2; }
.welpe-karte-text span:not(.badge) { font-size: 13px; color: var(--grau); }
.welpe-karte-text .badge { margin-top: 6px; }
@media (max-width: 460px) { .welpen-raster { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ── Weg bis zur Abgabe ───────────────────────────────────────── */
.abgabe-leiste {
  background: var(--weiss); border: 1px solid var(--creme-2); border-radius: var(--radius-s);
  padding: 16px 20px 12px; margin: 0 0 28px; max-width: 640px; box-shadow: var(--schatten-s);
}
.abgabe-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.abgabe-kopf strong { font-family: var(--serif); font-size: 20px; color: var(--navy); }
.abgabe-kopf span { font-size: 13.5px; color: var(--braun); font-weight: 600; }
.abgabe-spur { height: 8px; border-radius: 8px; background: var(--creme-2); overflow: hidden; }
.abgabe-fuellung {
  height: 100%; width: calc(var(--anteil) * 100%); border-radius: 8px;
  background: linear-gradient(90deg, var(--gold-hell), var(--gold));
  animation: abgabe-wachsen 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.abgabe-leiste.bereit .abgabe-fuellung { background: linear-gradient(90deg, #7cc9a0, var(--gruen)); }
@keyframes abgabe-wachsen { from { width: 0; } }
.abgabe-marken { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11.5px; color: var(--grau-2); }

/* ── Galerie als Mosaik ───────────────────────────────────────────
   Einzelne Kacheln sind doppelt so gross. Nur wo mindestens drei
   Spalten Platz haben – sonst bleibt es ein ruhiges Raster. */
@media (min-width: 700px) {
  .galerie-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 200px; grid-auto-flow: dense;
  }
  .galerie-grid .galerie-item { aspect-ratio: auto; }
  .galerie-grid .galerie-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
  .galerie-grid .galerie-item:nth-child(7n+5) { grid-row: span 2; }
}

/* ── Bildansicht mit Blättern ─────────────────────────────────── */
.lightbox-bild { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-bild img { max-width: 86vw; max-height: 80vh; }
.lightbox-text { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; min-height: 1em; }
.lightbox-pfeil {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 0;
  transition: background var(--ease), color var(--ease);
}
.lightbox-pfeil:hover { background: var(--gold); color: var(--navy); }
.lightbox-pfeil.zurueck { left: 20px; }
.lightbox-pfeil.weiter  { right: 20px; }
.lightbox-pfeil .ico { stroke-width: 2; }
@media (max-width: 700px) {
  .lightbox-pfeil { top: auto; bottom: 22px; translate: none; width: 46px; height: 46px; }
  .lightbox-pfeil.zurueck { left: calc(50% - 60px); }
  .lightbox-pfeil.weiter  { right: calc(50% - 60px); }
  .lightbox-bild img { max-width: 94vw; max-height: 70vh; }
}
.bild-platzhalter .icon { color: var(--gold); line-height: 0; }

/* ── Selbsttest (assets/selbsttest.js) ────────────────────────── */
.selbsttest {
  margin-top: 40px; background: var(--weiss); border-radius: var(--radius);
  box-shadow: var(--schatten); border-top: 4px solid var(--gold); padding: 30px 32px;
}
.st-intro { display: flex; align-items: center; gap: 22px; }
.st-intro-icon {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,169,110,.14); color: var(--gold); font-size: 26px; line-height: 0;
}
.st-intro h3 { font-size: 24px; color: var(--navy); margin-bottom: 4px; }
.st-intro p  { font-size: 14.5px; color: var(--grau); line-height: 1.6; }
.st-intro .btn { margin-left: auto; flex-shrink: 0; }

.st-kopf { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin-bottom: 10px; }
.st-bereich { color: var(--gold); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.st-zaehler { color: var(--grau-2); }
.st-spur { height: 4px; background: var(--creme-2); border-radius: 4px; overflow: hidden; }
.st-spur div { height: 100%; background: var(--gold); border-radius: 4px; transition: width .35s ease; }
.st-aussage {
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600;
  color: var(--navy); line-height: 1.3; margin: 28px 0 26px; outline: none; min-height: 2.6em;
}
.st-antworten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.st-antwort {
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 15px 14px; border-radius: var(--radius-s);
  border: 2px solid var(--creme-2); background: var(--creme); color: var(--navy);
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}
.st-antwort:hover { border-color: var(--gold); background: var(--weiss); transform: translateY(-1px); }
.st-antwort.gewaehlt { border-color: var(--gold); background: rgba(200,169,110,.14); }
.st-fuss { margin-top: 18px; min-height: 24px; }
.st-zurueck { background: none; border: none; font: inherit; font-size: 14px; color: var(--braun); cursor: pointer; padding: 0; }
.st-zurueck:hover { text-decoration: underline; }

.st-ergebnis {
  border-radius: var(--radius-s); padding: 24px 26px; outline: none;
  border-left: 5px solid var(--gruen); background: rgba(76,175,125,.08);
}
.st-ergebnis.vorbereitung { border-left-color: var(--gold); background: rgba(200,169,110,.12); }
.st-ergebnis.ueberlegen   { border-left-color: var(--rot);  background: rgba(197,48,48,.06); }
.st-marke { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--grau); }
.st-ergebnis h3 { font-size: 30px; color: var(--navy); margin: 4px 0 8px; }
.st-ergebnis p  { font-size: 15.5px; color: var(--grau); line-height: 1.7; }
.st-unterkopf { font-family: var(--serif); font-size: 21px; color: var(--navy); margin: 32px 0 14px; }
.st-hinweise { display: grid; gap: 14px; }
.st-hinweis { border: 1px solid var(--creme-2); border-radius: var(--radius-s); padding: 16px 20px; }
.st-hinweis h4 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.st-hinweis p  { font-size: 14.5px; color: var(--grau); line-height: 1.7; }
.st-hinweis p + p { margin-top: 8px; }
.st-hinweis .st-ko { color: var(--navy); font-weight: 500; }
.st-klein { font-size: 12.5px; color: var(--grau-2); margin-top: 14px; }

@media (max-width: 700px) {
  .selbsttest { padding: 24px 20px; }
  .st-intro { flex-direction: column; align-items: flex-start; }
  .st-intro .btn { margin-left: 0; }
  .st-antworten { grid-template-columns: 1fr; }
}

/* Listenpunkte als Block statt Flex: Sonst wird jedes hervorgehobene
   Wort (<em>, <strong>) zu einer eigenen Spalte und der Satz zerfällt. */
.check-liste li { display: block; position: relative; padding-left: 22px; }
.check-liste li::before { position: absolute; left: 0; top: 0; }
