:root {
  --bg: #fff8f2;
  --surface: #ffffff;
  --surface-soft: #fff1e6;
  --text: #2f2f2f;
  --muted: #777777;
  --border: #f0dfd2;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fff8f2 0%, #fffdfb 100%);
  color: var(--text);
  font-family: "Fredoka", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================================
   HEADER / LOGO / NAV
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(240, 223, 210, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 34px;
  height: 34px;
}

.logo-icon svg,
.logo-icon svg * {
  fill: #ff7a1a;
}

.brand-name {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.brand-tagline {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-nav a {
  font-size: 16px;
  font-weight: 600;
  color: #555;
  transition: color 0.2s ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: #ff7a1a;
}

/* =========================================
   STARTSEITE / HERO
========================================= */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 20px 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.hero-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.hero-watermark svg {
  width: 430px;
  height: 430px;
  max-width: 72vw;
  max-height: 72vw;
}

.hero-watermark svg,
.hero-watermark svg * {
  fill: #f7eadf;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.05;
  color: var(--text);
  font-weight: 700;
}

.hero p {
  max-width: 780px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.8;
  color: #5f5f5f;
}

.hero-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.hero-buttons a,
.hero-buttons button {
  min-width: 340px;
}

.hero-buttons .btn,
.hero-buttons a {
  width: 100%;
  max-width: 520px;
  text-align: center;
  padding: 16px 22px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-buttons .btn-primary {
  box-shadow: 0 10px 22px rgba(255, 122, 26, 0.22);
}

/* =========================================
   STARTSEITE: HOW IT WORKS / MISSION / CONTACT
========================================= */

.how-it-works {
  padding: 90px 20px 70px;
}

.how-it-works h2 {
  text-align: center;
  font-size: 52px;
  margin: 0 0 40px;
  color: var(--text);
  font-weight: 700;
}

.steps-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px 26px;
  text-align: center;
}

.step-number {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff1e6;
  color: #e76406;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.step-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.2;
  color: var(--text);
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: #5f5f5f;
}

.mission-section,
.contact-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 70px;
}

.mission-card,
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.mission-card h2,
.contact-card h2 {
  margin: 0 0 18px;
  font-size: 42px;
  color: var(--text);
  text-align: center;
  font-weight: 700;
}

.mission-card p,
.contact-card p {
  margin: 0 auto;
  max-width: 900px;
  font-size: 18px;
  line-height: 1.8;
  color: #5f5f5f;
  text-align: center;
}

.contact-card {
  text-align: center;
}

.contact-mail {
  display: inline-block;
  margin-top: 18px;
  font-size: 22px;
  font-weight: 600;
  color: #e76406;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .how-it-works h2 {
    font-size: 40px;
  }
  .mission-card h2,
  .contact-card h2 {
    font-size: 34px;
  }
}

@media (max-width: 720px) {
  .step-card h3 {
    font-size: 26px;
  }
  .mission-card,
  .step-card {
    padding: 26px 20px;
  }
}

/* Shelter contact form (template: .contact-card grid) */
.shelter-contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.shelter-contact-card .field.full { grid-column: 1 / -1; }
.shelter-contact-card .social-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.shelter-contact-card .social-row > .field {
  flex: 1;
  margin: 0;
  min-width: 0;
  text-align: center;
}
.shelter-contact-card .social-row > .field > label { text-align: center; }
.shelter-contact-card .social-row > .field > input { text-align: center; }
.shelter-contact-card .social-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
}
.shelter-contact-card .donation-divider {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}
.shelter-contact-card .donation-divider h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.shelter-contact-card .donation-divider p {
  margin: 0;
  font-size: 13px;
  color: #777;
  text-align: left;
  max-width: none;
}
.shelter-contact-card > .field.full > .btn-primary {
  background: #ff7a1a;
  color: white;
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s ease, transform 0.15s ease;
}
.shelter-contact-card > .field.full > .btn-primary:hover {
  background: #e76406;
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .shelter-contact-card { grid-template-columns: 1fr; }
  .shelter-contact-card .social-icon { margin-bottom: 12px; }
}

/* Hund melden – Suchbox & eigene Meldungen */
.report-search-box {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 18px;
}
.report-search-box .field { margin: 0; }
.report-search-box .btn-primary { height: 50px; padding: 0 22px; border-radius: 12px; }
.report-mine {
  margin-top: 34px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.report-mine h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
  text-align: left;
  max-width: none;
}
.report-mine > p {
  color: #777;
  font-size: 14px;
  margin: 0 0 14px;
  text-align: left;
  max-width: none;
}

/* =========================================
   ADOPTER: SIDEBAR LAYOUT
========================================= */

.dashboard-shell {
  display: flex;
  min-height: calc(100vh - 95px);
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid var(--border);
  padding: 26px 18px;
}

.sidebar-title {
  margin: 0 0 14px;
  color: #8a8a8a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-link {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: #3b3b3b;
  font-size: 17px;
  cursor: pointer;
  transition: 0.2s ease;
  user-select: none;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: #fff1e6;
  color: #e76406;
  transform: translateX(2px);
}

.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dashboard-content {
  padding: 34px 28px 60px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.dashboard-heading {
  margin-bottom: 28px;
  text-align: center;
}

.dashboard-heading h1 {
  margin: 0 0 10px;
  font-size: 44px;
  color: var(--text);
}

.dashboard-heading p {
  margin: 0 auto;
  color: #666;
  font-size: 19px;
  line-height: 1.6;
  max-width: 900px;
}

.match-info-card {
  background: white;
  border: 1px solid rgba(240, 223, 210, 0.8);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 30px;
}

.match-info-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  color: var(--text);
}

.match-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.match-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff3e9;
  border: 1px solid #f0dfd2;
  color: #5a4a40;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
}

/* =========================================
   DOG CARDS
========================================= */

.dog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dog-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(240, 223, 210, 0.85);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.dog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.dog-image-wrap {
  position: relative;
}

.dog-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.favorite-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #b8b8b8;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.favorite-heart:hover {
  transform: scale(1.08);
}

.favorite-heart.active {
  color: #e53935;
}

.dog-card-content {
  padding: 20px;
}

.dog-card-content h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.dog-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #5f5f5f;
  font-size: 17px;
  margin-bottom: 18px;
}

.dog-card-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #ff7a1a;
  color: white;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.dog-card-btn:hover {
  background: #e76406;
  transform: translateY(-2px);
  color: white;
}

/* Favorites empty state */
.favorites-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 34px 28px 60px;
}

.favorites-heading {
  text-align: center;
  margin-bottom: 28px;
}

.favorites-heading h1 {
  margin: 0 0 10px;
  font-size: 44px;
}

.favorites-heading p {
  margin: 0;
  color: #666;
  font-size: 19px;
}

.empty-state {
  background: white;
  border: 1px solid rgba(240, 223, 210, 0.8);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 40px;
  text-align: center;
  color: #666;
  font-size: 19px;
  line-height: 1.7;
}

/* =========================================
   ADOPTIONSMAPPE
========================================= */

.mappe-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 24px 60px;
}

.mappe-header {
  text-align: center;
  margin-bottom: 28px;
}

.mappe-header h1 {
  margin: 0 0 10px;
  font-size: 44px;
  color: var(--text);
}

.mappe-header p {
  margin: 0;
  color: #666;
  font-size: 19px;
  line-height: 1.6;
}

.mappe-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mappe-card {
  background: white;
  border: 1px solid rgba(240, 223, 210, 0.85);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.mappe-card h2 {
  margin: 0 0 18px;
  font-size: 30px;
  color: var(--text);
}

.mappe-card .card-sub {
  margin: -10px 0 22px;
  color: #777;
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0dfd2;
}

.mappe-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.mappe-status-badge.clean {
  background: #e8f6ec;
  color: #1f7a3a;
  border-color: #c6e9d1;
}

.mappe-status-badge.dirty {
  background: #fff1d6;
  color: #b06a00;
  border-color: #f5d79a;
}

.mappe-btn.primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.field-input-error {
  border-color: #d23b3b !important;
  background: #fff5f5 !important;
}

.field-input-error:focus {
  outline: 2px solid rgba(210, 59, 59, 0.25);
  outline-offset: 1px;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #b3261e;
  font-weight: 600;
  line-height: 1.4;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.info-box {
  background: #fff3e9;
  border: 1px solid #f0dfd2;
  border-radius: 16px;
  padding: 14px 16px;
  color: #2f2f2f;
  font-size: 16px;
  line-height: 1.5;
}

.question-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid #ead7c9;
  background: #fffdfa;
  font-family: "Fredoka", sans-serif;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #ff7a1a;
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.12);
}

.hint-box {
  margin-top: 18px;
  background: #fff8f2;
  border: 1px solid #f0dfd2;
  border-radius: 16px;
  padding: 16px 18px;
  color: #5f5f5f;
  font-size: 15px;
  line-height: 1.7;
}

.mappe-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.mappe-btn {
  border: none;
  border-radius: 12px;
  padding: 15px 22px;
  font-family: "Fredoka", sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mappe-btn.primary {
  background: #ff7a1a;
  color: white;
  box-shadow: 0 8px 18px rgba(255, 122, 26, 0.22);
}

.mappe-btn.primary:hover {
  background: #e76406;
  transform: translateY(-2px);
}

@media (max-width: 1180px) {
  .dog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dashboard-shell {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .info-grid,
  .question-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .dog-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-content,
  .favorites-page,
  .mappe-page {
    padding: 24px 16px 50px;
  }
  .dashboard-heading h1,
  .favorites-heading h1,
  .mappe-header h1 {
    font-size: 34px;
  }
}

/* =========================================
   GENERIC BUTTONS
========================================= */

.btn,
.dog-card-btn,
.register-option,
.login-btn,
.submit-btn,
.action-btn,
.filter-btn,
.mappe-btn,
.demo-btn {
  font-family: "Fredoka", sans-serif;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.btn-primary,
.action-btn.primary,
.filter-btn.primary,
.mappe-btn.primary,
.demo-btn.primary,
.login-btn,
.submit-btn,
.hero-buttons .btn-primary,
.dog-card-btn.register-main {
  background: #ff7a1a;
  color: white;
  border: none;
  cursor: pointer;
}

.btn-primary:hover,
.action-btn.primary:hover,
.filter-btn.primary:hover,
.mappe-btn.primary:hover,
.demo-btn.primary:hover,
.login-btn:hover,
.submit-btn:hover,
.hero-buttons .btn-primary:hover,
.dog-card-btn.register-main:hover {
  background: #e76406;
  transform: translateY(-2px);
}

.btn-secondary,
.action-btn.secondary,
.filter-btn.secondary,
.mappe-btn.secondary,
.demo-btn.secondary,
.hero-buttons .btn-secondary {
  background: white;
  color: #ff7a1a;
  border: 1.5px solid #ff7a1a;
  cursor: pointer;
}

.btn-secondary:hover,
.action-btn.secondary:hover,
.filter-btn.secondary:hover,
.mappe-btn.secondary:hover,
.demo-btn.secondary:hover,
.hero-buttons .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 122, 26, 0.12);
}

.btn-dark,
.hero-buttons .btn-dark {
  background: #2d2d2d;
  color: white;
  border: none;
  cursor: pointer;
}

.btn-dark:hover,
.hero-buttons .btn-dark:hover {
  background: #1f1f1f;
  transform: translateY(-2px);
}

/* =========================================
   CARDS / SECTIONS
========================================= */

.card,
.white-card,
.section,
.summary,
.mappe-card,
.filters-card,
.adoption-card,
.login-card,
.form-card {
  background: var(--surface);
  border: 1px solid rgba(240, 223, 210, 0.85);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.section-title {
  margin: 0 0 18px;
  font-size: 30px;
  color: var(--text);
}

/* =========================================
   FORMS
========================================= */

input,
select,
textarea,
button {
  font-family: "Fredoka", sans-serif;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid #ead7c9;
  background: #fffdfa;
  font-size: 15px;
  color: #333;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #ff7a1a;
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.12);
}

/* =========================================
   FAVORITEN
========================================= */

.favorite-heart.active,
.favorite-inline.active,
.favorite-profile-btn.active {
  color: #e53935 !important;
}

.favorite-inline.active,
.favorite-profile-btn.active {
  border-color: #f3b4b2 !important;
  background: #fff5f5 !important;
}

/* =========================================
   STATUS SYSTEM / TIMELINE
========================================= */

.timeline {
  margin-top: 24px;
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 12px;
  background: #ccc;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.timeline-step.done .timeline-dot {
  background: #2ecc71;
}

.timeline-step.active .timeline-dot {
  background: #ff7a1a;
  transform: scale(1.25);
}

.timeline-label {
  font-size: 17px;
  color: var(--text);
  line-height: 1.4;
}

.status-info-box {
  margin-top: 16px;
  background: #fff8f2;
  border: 1px solid #f0dfd2;
  padding: 16px;
  border-radius: 14px;
  color: #5a4a40;
  line-height: 1.7;
}

.status-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff1e6;
  color: #e76406;
  font-size: 14px;
  font-weight: 700;
  margin-top: 6px;
}

.empty-box {
  background: white;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #f0dfd2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  color: #666;
  text-align: center;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
  text-align: center;
  padding: 28px 20px 36px;
  background: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(240, 223, 210, 0.9);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  color: #555;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ff7a1a;
}

/* =========================================
   LOGIN / REGISTER HELPERS
========================================= */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox input {
  width: auto;
  margin-top: 4px;
}

.upload-box {
  border: 2px dashed #efc9ae;
  padding: 25px;
  text-align: center;
  border-radius: 14px;
  background: #fff8f2;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .top-nav {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 18px 16px;
  }

  .brand-name {
    font-size: 24px;
  }

  .hero {
    min-height: auto;
    padding: 70px 16px 50px;
  }

  .hero-watermark svg {
    width: 280px;
    height: 280px;
  }

  .hero-buttons a,
  .hero-buttons button {
    min-width: 100%;
  }

  .footer-links {
    gap: 14px;
  }

  .timeline-label {
    font-size: 15px;
  }
}
/* ============ QUIZ ============ */
.quiz-page { max-width: 980px; margin: 0 auto; padding: 32px 24px 60px; }
.back-link { color: #e76406 !important; font-weight: 600; text-decoration: none !important; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.back-link:hover { text-decoration: underline !important; }
.quiz-title { font-size: 32px; margin: 0 0 6px; font-weight: 700; }
.quiz-lead { color: #6d6d6d; font-size: 16px; margin: 0 0 26px; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.cat-tab { padding: 10px 18px; border-radius: 30px; border: 2px solid #f0dfd2; background: #fff; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: #444; transition: .2s; }
.cat-tab:hover { border-color: #ff7a1a; }
.cat-tab.active { background: #ff7a1a; color: #fff; border-color: #ff7a1a; }

.stats-dashboard { margin-bottom: 22px; padding: 22px 24px; background: #fff; border: 1px solid #f0dfd2; border-radius: 22px; box-shadow: 0 10px 24px rgba(0,0,0,.04); }
.stats-header { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.stats-title { font-size: 18px; font-weight: 700; color: #2a2a2a; }
.stats-sub { font-size: 14px; color: #6d6d6d; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 14px; border-radius: 16px; border: 1px solid transparent; }
.stat-card__icon { font-size: 28px; line-height: 1; }
.stat-card__label { font-size: 14px; font-weight: 600; color: #333; }
.stat-card__value { font-size: 13px; color: #555; }
.stat-card--twice { background: #fff4d6; border-color: #f1e2a5; }
.stat-card--once { background: #e6f7ea; border-color: #cdebd4; }
.stat-card--wrong { background: #fde7e7; border-color: #f4cccc; }
.stat-card--unanswered { background: #efece9; border-color: #e1ddd7; }
.stats-footer { border-top: 1px dashed #ead9c8; padding-top: 14px; }
.filter-toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #444; cursor: pointer; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.quiz-card { background: #fff; border: 1px solid #eee; border-radius: 22px; padding: 28px 30px; box-shadow: 0 10px 24px rgba(0,0,0,.06); margin-bottom: 18px; }
.progress-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; color: #6d6d6d; }
.quiz-progress { height: 8px !important; margin-bottom: 22px; background: #f1e6db !important; }
.question-icon { display: flex; align-items: center; justify-content: center; width: 100%; height: 120px; background: linear-gradient(135deg,#fff1e0,#ffe3cc); border-radius: 14px; font-size: 64px; margin: 0 0 18px; }
.question-text { font-size: 20px; font-weight: 700; margin: 0 0 18px; line-height: 1.4; }
.answer-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.answer-btn { padding: 14px 18px; border: 2px solid #f0dfd2; background: #fff; border-radius: 14px; text-align: left; font-family: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: .15s; color: #333; }
.answer-btn:hover:not(:disabled) { border-color: #ff7a1a; background: #fffaf6; }
.answer-btn.correct { background: #e6f7ea; border-color: #1e6b3a; color: #1e6b3a; font-weight: 600; }
.answer-btn.wrong { background: #fde7e7; border-color: #9a3a3a; color: #9a3a3a; font-weight: 600; }
.answer-btn:disabled { cursor: default; }
.explanation { background: #fffaf6; border-left: 4px solid #ff7a1a; border-radius: 10px; padding: 14px 18px; font-size: 14px; color: #444; line-height: 1.6; margin-bottom: 18px; }
.quiz-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

@media (max-width: 640px) {
  .quiz-page { padding: 20px 14px 50px; }
  .quiz-card { padding: 20px 18px; }
  .question-text { font-size: 17px; }
  .filter-toggle { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   ADOPTIONSSTATUS PAGE (Phase 2c.1)
   ═══════════════════════════════════════════════════════════════ */
.status-page { padding: 28px 6px 60px; max-width: 1250px; margin: 0 auto; }
.status-hero {
  background: white;
  border: 1px solid var(--legacy-border, #f0dfd2);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}
.status-hero h1 { margin: 0 0 8px; font-size: 38px; line-height: 1.1; color: #2f2f2f; }
.status-hero p { margin: 0; color: #6d6d6d; line-height: 1.7; }

.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.status-card {
  background: white;
  border: 1px solid #f0dfd2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.status-card-top {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 20px 20px 0 20px;
  align-items: center;
}
.status-card-top img {
  width: 120px; height: 120px; border-radius: 18px; object-fit: cover; display: block; background: #f6e7db;
}
.status-card h2 { margin: 0 0 6px; font-size: 28px; color: #2f2f2f; }
.status-org { color: #666; margin-bottom: 8px; line-height: 1.6; font-size: 14px; }
.status-card-body { padding: 20px; }
.status-badge {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; margin-top: 6px;
}
.badge-pending { background: #fff1e6; color: #e76406; }
.badge-success { background: #ebfaef; color: #25643a; }
.badge-info    { background: #eef6ff; color: #214f7a; }
.badge-danger  { background: #fff3f3; color: #a12a2a; }
.badge-gold    { background: #fff8dd; color: #8b6a00; }

.timeline { margin-top: 6px; padding: 0; list-style: none; display: grid; gap: 8px; }
.timeline li {
  display: flex; align-items: center; gap: 12px;
  color: #555; line-height: 1.4; font-size: 14px;
}
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #d8d8d8; flex-shrink: 0; transition: all 0.3s ease;
}
.timeline-dot.done    { background: #ff7a1a; box-shadow: 0 0 0 3px rgba(255,122,26,0.18); }
.timeline-dot.success { background: #27884a; box-shadow: 0 0 0 3px rgba(39,136,74,0.18); }
.timeline-dot.skipped { background: #d8d8d8; opacity: 0.6; }
.timeline li.step-done { color: #2f2f2f; font-weight: 600; }

.info-box {
  background: #fffaf6; border: 1px solid #f0dfd2; border-radius: 16px;
  padding: 14px 16px; margin-top: 6px; line-height: 1.7; color: #555; font-size: 14px;
}
.info-box strong { display: block; margin-bottom: 6px; color: #2f2f2f; font-size: 15px; }
.info-box.success { background: #ebfaef; border-color: #bfe0c7; color: #25643a; }
.info-box.info    { background: #eef6ff; border-color: #c8ddf7; color: #214f7a; }
.info-box.warning { background: #fff8dd; border-color: #ead9a0; color: #8b6a00; }
.info-box.danger  { background: #fff3f3; border-color: #f1b6b6; color: #a12a2a; }
.info-box a { color: inherit; text-decoration: underline; word-break: break-all; }

.status-button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn-status {
  border: none; border-radius: 12px; padding: 11px 16px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; min-height: 42px; display: inline-flex;
  align-items: center; justify-content: center; text-decoration: none;
  transition: 0.2s ease;
}
.btn-status-primary { background: #ff7a1a; color: white; }
.btn-status-primary:hover { background: #e76406; }
.btn-status-secondary { background: white; color: #e76406; border: 1px solid #efc9ae; }
.btn-status-green { background: #27884a; color: white; }
.btn-status-green:hover { background: #1f6a3a; }
.btn-status-blue { background: #2d6cdf; color: white; }
.btn-status-danger { background: white; color: #c74b4b; border: 1px solid #f0b7b7; }
.btn-status-danger-solid { background: #c74b4b; color: white; }

.status-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.status-field { display: flex; flex-direction: column; gap: 6px; }
.status-field.full { grid-column: 1 / -1; }
.status-field label { font-size: 13px; font-weight: 600; color: #444; }
.status-field input, .status-field textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px;
  border: 1px solid #ead7c9; background: #fffdfa;
  font-family: inherit; font-size: 14px;
}
.status-field textarea { min-height: 90px; resize: vertical; }

.status-modal-overlay {
  position: fixed; inset: 0; background: rgba(34,34,34,0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; z-index: 999;
}
.status-modal {
  width: min(620px, 100%); background: #fffdf9;
  border: 1px solid #f0dfd2; border-radius: 24px;
  padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.status-modal h2 { margin: 0 0 8px; font-size: 26px; color: #2f2f2f; }
.status-modal p { margin: 0 0 18px; color: #6d6d6d; line-height: 1.6; }

.empty-note {
  background: white; border: 1px dashed #efc9ae;
  border-radius: 22px; padding: 32px; text-align: center;
  color: #777; line-height: 1.7; box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

@media (max-width: 960px) {
  .status-grid { grid-template-columns: 1fr; }
  .status-field-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .status-card-top { grid-template-columns: 1fr; }
  .status-card-top img { width: 100%; height: 220px; }
  .status-hero h1 { font-size: 30px; }
}

/* ═══ ADOPTIONSSTATUS – SIGNATURE & CONTRACT (Phase 2c.2) ═══ */
.signature-area {
  margin-top: 16px;
  background: white;
  border: 2px dashed #ead7c9;
  border-radius: 18px;
  padding: 18px;
}
.signature-area h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #2f2f2f;
}
.signature-canvas-wrap {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.signature-canvas {
  display: block;
  width: 100%;
  height: 180px;
  cursor: crosshair;
  touch-action: none;
}
.signature-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.contract-preview {
  margin-top: 16px;
  background: #f9f5f0;
  border: 1px solid #ead7c9;
  border-radius: 18px;
  padding: 20px;
}
.contract-preview h4 {
  margin: 0 0 12px;
  font-size: 18px;
}
.contract-preview-body {
  background: white;
  border: 1px solid #e0d5c9;
  border-radius: 12px;
  padding: 20px;
  font-size: 14px;
  line-height: 1.8;
  max-height: 400px;
  overflow-y: auto;
}
.contract-preview-body .sig-line {
  margin-top: 18px;
  border-top: 1px solid #ccc;
  padding-top: 12px;
}

/* ═══ TIERHEIM – HUNDEVERWALTUNG (Phase 2d.1) ═══ */
.dog-form-overlay,
.dog-preview-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(40, 25, 10, 0.55);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 30px 20px; overflow-y: auto;
}
.dog-form-modal,
.dog-preview-content {
  background: #fff8f2;
  border-radius: 22px;
  max-width: 1100px; width: 100%;
  padding: 32px 36px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.dog-preview-close {
  position: absolute; top: 14px; right: 16px;
  background: #fff; border: 1px solid #e5d7c8;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 22px; cursor: pointer; line-height: 1;
  color: #555;
}
.dog-preview-close:hover { background: #f4ebe1; }
.dog-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
}
@media (max-width: 820px) {
  .dog-preview-grid { grid-template-columns: 1fr; }
}
.upload-dog-form .upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
}
.upload-dog-form .upload-field { display: flex; flex-direction: column; }
.upload-dog-form .upload-field.full { grid-column: 1 / -1; }
.upload-dog-form .upload-field label {
  font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px;
}
.upload-dog-form .upload-field input,
.upload-dog-form .upload-field select,
.upload-dog-form .upload-field textarea {
  padding: 10px 12px; border: 1px solid #e0d5c9; border-radius: 10px;
  background: #fff; font-size: 14px; font-family: inherit;
}
.upload-dog-form .upload-field textarea { min-height: 80px; resize: vertical; }
.upload-actions {
  display: flex; justify-content: flex-end; gap: 10px;
  margin-top: 22px;
}
.upload-actions .btn-primary,
.upload-actions .btn-secondary {
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.upload-actions .btn-primary {
  background: #ff7a1a;
  border-color: #ff7a1a;
  color: #fff;
}
.upload-actions .btn-primary:hover {
  background: #e76406;
  border-color: #e76406;
}
.upload-actions .btn-secondary {
  background: #fff;
  border-color: #ff7a1a;
  color: #ff7a1a;
}
.upload-actions .btn-secondary:hover {
  background: #fff5ec;
}
.upload-actions .btn-primary:disabled,
.upload-actions .btn-secondary:disabled {
  opacity: .6;
  cursor: not-allowed;
}
@media (max-width: 720px) {
  .upload-dog-form .upload-grid { grid-template-columns: 1fr; }
  .dog-form-modal, .dog-preview-content { padding: 24px 20px; }
}

/* ─────────────── Aktive Adoptionen (Tierheim) ─────────────── */
.adoptions-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .adoptions-layout { grid-template-columns: 1fr; } }

.adoptions-list-pane {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 12px;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.adoptions-filter { padding: 4px 4px 12px; }
.adoptions-filter select {
  width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px;
}
.adoptions-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.adoption-item {
  display: flex; gap: 12px; padding: 10px; border-radius: 12px;
  cursor: pointer; transition: background 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
}
.adoption-item:hover { background: #f7f7f7; }
.adoption-item.active { background: #eef5ff; border-color: #b3d4ff; }
.adoption-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.adoption-item-placeholder {
  width: 56px; height: 56px; border-radius: 10px;
  background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.adoption-item-meta { flex: 1; min-width: 0; }
.adoption-item-name { font-weight: 600; font-size: 15px; }
.adoption-item-case { font-size: 12px; color: #888; }
.adoption-item-adopter { font-size: 13px; color: #555; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.adoptions-detail-pane { min-width: 0; }
.adoption-detail-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 20px 24px; margin-bottom: 16px;
}

.timeline-compact {
  display: flex; gap: 4px; flex-wrap: wrap;
  background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 16px 20px; margin-bottom: 16px;
}
.timeline-step { display: flex; align-items: center; gap: 6px; padding: 4px 10px; }
.timeline-step .timeline-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #ddd; display: inline-block;
}
.timeline-step .timeline-dot.done { background: #22c55e; }
.timeline-step .timeline-dot.success { background: #22c55e; }
.timeline-step .timeline-label { font-size: 13px; color: #555; }

.action-box {
  background: #eef6ff;
  border: 1px solid #b3d4ff;
  border-left: 4px solid #2563eb;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
}
.action-box h3 { margin: 0 0 8px; font-size: 17px; color: #1e3a8a; }
.action-box p { margin: 0 0 10px; color: #333; }

.calendar-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0;
}
.calendar-field { display: flex; flex-direction: column; gap: 4px; }
.calendar-field.full { grid-column: 1 / -1; }
.calendar-field label { font-size: 13px; color: #555; }
.calendar-field input, .calendar-field textarea {
  padding: 8px 10px; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; font-family: inherit;
}

.button-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.button-row button {
  padding: 8px 16px; border-radius: 8px; border: none; cursor: pointer;
  font-size: 14px; font-weight: 500; transition: opacity 0.15s ease;
}
.button-row button:hover { opacity: 0.9; }
.button-row .btn-info { background: #2563eb; color: white; }
.button-row .btn-success { background: #16a34a; color: white; }
.button-row .btn-danger { background: #dc2626; color: white; }
.button-row .btn-secondary { background: #e5e7eb; color: #111; }

.inline-box {
  padding: 10px 14px; border-radius: 8px; margin: 8px 0; font-size: 14px;
}
.inline-box.success { background: #dcfce7; border: 1px solid #86efac; color: #14532d; }
.inline-box.info    { background: #dbeafe; border: 1px solid #93c5fd; color: #1e3a8a; }
.inline-box.warning { background: #fef3c7; border: 1px solid #fcd34d; color: #78350f; }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; margin-top: 4px;
}
.badge-pending { background: #fef3c7; color: #78350f; }
.badge-info    { background: #dbeafe; color: #1e3a8a; }
.badge-success { background: #dcfce7; color: #14532d; }
.badge-danger  { background: #fee2e2; color: #7f1d1d; }
.badge-gold    { background: #fef9c3; color: #713f12; }

/* Contract form modal */
.contract-form-modal { max-width: 920px; width: 95%; max-height: 92vh; display: flex; flex-direction: column; }
.contract-form-modal .modal-body { overflow-y: auto; padding: 0 24px; flex: 1; }
.contract-form-modal .modal-footer {
  display: flex; gap: 8px; justify-content: flex-end; padding: 16px 24px;
  border-top: 1px solid #eee; flex-wrap: wrap;
}
.modal-footer button { padding: 9px 18px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; font-weight: 500; }

/* === Contract modal – pretty redesign === */
.contract-modal-pretty { max-width: 980px; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(20,30,60,.25); background: #fff; position: relative; }
.contract-modal-header {
  background: linear-gradient(135deg, #fff7ec 0%, #ffe9c9 100%);
  border-bottom: 1px solid #f1d9b1;
  padding: 20px 24px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.contract-modal-title { display: flex; gap: 14px; align-items: flex-start; }
.contract-modal-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: #fff; border: 1px solid #f1d9b1;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 4px 12px rgba(180,120,40,.12);
}
.contract-modal-title h2 { margin: 0; font-size: 20px; color: #4a2c12; line-height: 1.25; }
.contract-modal-sub { margin: 4px 0 0; font-size: 13px; color: #7a5430; }

.contract-modal-stepper {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 12px 24px; background: #fffaf2;
  border-bottom: 1px solid #f1e2c7;
}
.contract-step {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; background: #fff; border: 1px solid #f1d9b1;
  border-radius: 999px; font-size: 12px; color: #7a5430; font-weight: 500;
}
.contract-step span {
  width: 20px; height: 20px; border-radius: 50%;
  background: #f3a847; color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.contract-modal-body { padding: 20px 24px 12px !important; background: #fdfaf5; }
.contract-section {
  background: #fff; border: 1px solid #eee2cf; border-radius: 14px;
  padding: 18px 20px; margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(140,90,30,.04);
}
.contract-section h3 {
  margin: 0 0 12px; font-size: 15px; color: #4a2c12;
  padding-bottom: 8px; border-bottom: 1px dashed #f0dfc1;
}
.contract-section .dog-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.contract-section .dog-form-field label { font-size: 12px; color: #7a5430; font-weight: 600; display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .03em; }
.contract-section .dog-form-field input,
.contract-section .dog-form-field textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #e6d4b6; border-radius: 8px;
  font-size: 14px; color: #2f2f2f; background: #fffdf9; transition: border-color .15s, box-shadow .15s;
}
.contract-section .dog-form-field input:focus,
.contract-section .dog-form-field textarea:focus {
  outline: none; border-color: #f3a847; box-shadow: 0 0 0 3px rgba(243,168,71,.18);
}

.contract-section-fees { background: linear-gradient(180deg, #fff 0%, #fff7ec 100%); }
.contract-fee-summary {
  margin-top: 12px; padding: 12px 16px;
  background: #fff; border: 1px solid #f1d9b1; border-radius: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.contract-fee-summary > div { display: flex; justify-content: space-between; font-size: 14px; color: #4a2c12; }
.contract-fee-summary .contract-fee-total {
  border-top: 1px solid #f1d9b1; padding-top: 8px; margin-top: 4px;
  font-size: 16px; color: #b3680d;
}
.contract-fee-summary .contract-fee-total strong { font-size: 18px; }

.contract-section-sig { background: linear-gradient(180deg, #fff 0%, #f7faff 100%); }
.contract-sig-preview { max-height: 90px; border: 1px dashed #c7d2e8; padding: 8px 12px; background: #fff; border-radius: 10px; }

.contract-section-preview .contract-preview-scroll {
  max-height: 420px; overflow-y: auto;
  border: 1px solid #e6d4b6; border-radius: 10px; padding: 18px; background: #fff;
}

.contract-modal-footer {
  flex-direction: column !important; align-items: stretch !important; gap: 10px !important;
  background: #fffaf2; border-top: 1px solid #f1e2c7 !important;
}
.contract-footer-meta { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; }
.footer-pill {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: #fff; border: 1px solid #e5e5e5; color: #555; font-weight: 600;
}
.footer-pill.ok { background: #e6f7ec; color: #1b8a3a; border-color: #bfe6cb; }
.footer-pill.warn { background: #fff4e0; color: #b3680d; border-color: #f3d9a8; }
.contract-footer-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* Pretty colored action buttons in contract modal footer */
.contract-footer-actions button {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s, box-shadow .15s, background .15s, color .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.contract-footer-actions button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.10); }
.contract-footer-actions button:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.contract-footer-actions .btn-cancel {
  background: #fff; color: #c0392b; border-color: #f3c4be;
}
.contract-footer-actions .btn-cancel:hover { background: #fdecea; }

.contract-footer-actions .btn-pdf {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff; border-color: #2563eb;
}
.contract-footer-actions .btn-pdf:hover { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }

.contract-footer-actions .btn-preview {
  background: linear-gradient(135deg, #f3a847 0%, #e8870e 100%);
  color: #fff; border-color: #e8870e;
}
.contract-footer-actions .btn-preview:hover { background: linear-gradient(135deg, #e8870e 0%, #c66f08 100%); }

.contract-footer-actions .btn-send {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff; border-color: #16a34a;
}
.contract-footer-actions .btn-send:hover { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }

.contract-confirm-overlay {
  position: absolute; inset: 0;
  background: rgba(20,30,60,.45); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  z-index: 10; padding: 24px;
}
.contract-confirm-card {
  background: #fff; border-radius: 16px; padding: 24px; max-width: 460px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.contract-confirm-card h3 { margin: 0 0 10px; font-size: 18px; color: #2f2f2f; }
.contract-confirm-card p { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: #555; }
.contract-confirm-actions { display: flex; gap: 8px; justify-content: flex-end; }

@media (max-width: 720px) {
  .contract-modal-pretty { width: 100%; max-height: 100vh; border-radius: 0; }
  .contract-modal-stepper { overflow-x: auto; flex-wrap: nowrap; }
  .contract-step { flex: 0 0 auto; }
  .contract-footer-actions { justify-content: stretch; }
  .contract-footer-actions button { flex: 1; }
}


/* =========================================
   AUTH PAGES (Login / Registrierung)
========================================= */

.login-page,
.form-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.login-title,
.form-title {
  text-align: center;
  margin-bottom: 36px;
}

.login-title h1,
.form-title h1 {
  margin: 0 0 14px;
  font-size: 38px;
  color: #2f2f2f;
  font-weight: 600;
  line-height: 1.2;
}

.login-title p,
.form-title p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.login-card,
.form-card {
  padding: 36px 38px;
}

.login-card form,
.form-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 8px;
}

.form-grid .field.full {
  grid-column: 1 / -1;
}

.section-subtitle {
  margin: 26px 0 6px;
  font-size: 22px;
  font-weight: 600;
  color: #2f2f2f;
}

.section-note {
  margin: 0 0 18px;
  color: #777;
  font-size: 14px;
  line-height: 1.6;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  margin-top: 4px;
}

.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #ff7a1a;
  flex-shrink: 0;
}

.checkbox a {
  color: #ff7a1a;
  text-decoration: underline;
}

.login-btn,
.submit-btn {
  padding: 15px 22px;
  font-size: 17px;
  font-weight: 600;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 8px 18px rgba(255, 122, 26, 0.22);
}

.login-btn:disabled,
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.divider {
  position: relative;
  text-align: center;
  margin: 28px 0 22px;
  color: #999;
  font-size: 14px;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 30px);
  height: 1px;
  background: #ead7c9;
}

.divider::before { left: 0; }
.divider::after  { right: 0; }

.register-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.register-option {
  display: block;
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1.5px solid #ff7a1a;
}

.register-adopter {
  background: #ff7a1a;
  color: white;
}
.register-adopter:hover {
  background: #e76406;
  transform: translateY(-2px);
}

.register-org {
  background: white;
  color: #ff7a1a;
}
.register-org:hover {
  background: #fff4ea;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .login-card,
  .form-card { padding: 26px 20px; }
  .login-title h1,
  .form-title h1 { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ===== Legal pages (Impressum, Datenschutz) ===== */
.legal-page {
  max-width: 860px;
  margin: 40px auto 60px;
  padding: 40px 28px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  color: #2f2f2f;
  line-height: 1.7;
}
.legal-page h1 {
  font-size: 36px;
  font-weight: 700;
  color: #ff7a1a;
  margin: 0 0 24px;
  text-align: center;
}
.legal-page h2 {
  font-size: 20px;
  font-weight: 600;
  color: #2f2f2f;
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0dfd2;
}
.legal-page p {
  font-size: 15px;
  margin: 0 0 14px;
  color: #444;
}
.legal-page a {
  color: #ff7a1a;
  text-decoration: none;
}
.legal-page a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .legal-page {
    margin: 20px 14px 40px;
    padding: 26px 20px;
    border-radius: 14px;
  }
  .legal-page h1 { font-size: 28px; }
  .legal-page h2 { font-size: 18px; }
}

/* ═══ ADOPTER DASHBOARD – Etappe A: Top-Tabs, Filterbar, Hunde-Subviews ═══ */
.top-nav-wrap {
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid #f0dfd2;
  padding: 18px 28px 14px;
  display: flex;
  justify-content: center;
}
.top-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}
.top-tab {
  border: 1px solid #f0dfd2;
  background: white;
  color: #4a4a4a;
  border-radius: 999px;
  padding: 12px 16px;
  font-family: "Fredoka", sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
}
.top-tab:hover,
.top-tab.active {
  background: #fff1e6;
  color: #e76406;
  border-color: #efc9ae;
  transform: translateY(-1px);
}

.filter-bar {
  background: white;
  border: 1px solid #f0dfd2;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  margin-bottom: 22px;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  align-items: end;
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-field label {
  font-size: 14px;
  font-weight: 600;
  color: #5a5a5a;
}
.filter-field input,
.filter-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ead7c9;
  background: #fffdfa;
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
  box-sizing: border-box;
}
.filter-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.dogs-sort-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.dogs-sort-row label {
  font-size: 14px;
  color: #555;
  font-weight: 600;
}
.dogs-sort-row select {
  padding: 8px 12px;
  border: 1px solid #e0d3c4;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

.dog-grid-classic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.dog-card-classic {
  background: white;
  border: 1px solid #f0dfd2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.dog-card-classic img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}
.dog-card-classic-body {
  padding: 18px;
}
.dog-card-classic-body h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.1;
}
.dog-card-classic .dog-meta {
  color: #5f5f5f;
  line-height: 1.85;
  font-size: 15px;
}
.dog-card-classic .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.btn-classic {
  border: none;
  border-radius: 12px;
  padding: 13px 16px;
  font-family: "Fredoka", sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  text-align: center;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 140px;
}
.btn-classic.primary {
  background: #ff7a1a;
  color: white;
}
.btn-classic.primary:hover {
  background: #e76406;
}
.btn-classic.secondary {
  background: white;
  color: #e76406;
  border: 1px solid #efc9ae;
}
.like-btn {
  border: 1px solid #f0dfd2;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  font-size: 20px;
  transition: 0.2s ease;
  flex: 0 0 auto;
  min-width: 48px;
}
.like-btn.active {
  background: #fff0f2;
  border-color: #f2bcc4;
}

.match-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.match-reasons {
  margin: 6px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.match-reason-chip {
  display: inline-block;
  background: #e6f7ea;
  color: #1e6b3a;
  border: 1px solid #c4e8cf;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.recent-badge {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
}

@media (max-width: 1280px) {
  .filter-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 1180px) {
  .dog-grid-classic { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .filter-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .dog-grid-classic { grid-template-columns: 1fr; }
  .top-nav-wrap { padding-left: 16px; padding-right: 16px; }
}

/* ═══════════════════════════════════════════════
   TIERHEIM-SHELL (Vorlage 1:1)
═══════════════════════════════════════════════ */
.shelter-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.shelter-topbar h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
}
.shelter-topbar p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 500;
}
.shelter-topbar-button {
  background: #ff7a1a;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  min-height: 48px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.shelter-topbar-button:hover { background: #e76406; }

.shelter-page {
  padding: 28px;
}

.shelter-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.shelter-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.shelter-stat-card span {
  display: block;
  color: #7d7d7d;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}
.shelter-stat-card strong {
  font-size: 32px;
  font-weight: 700;
}

.shelter-section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.shelter-section-card h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
}
.shelter-section-card > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 500;
}

.shelter-dogs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1100px) {
  .shelter-stats-grid { grid-template-columns: 1fr 1fr; }
  .shelter-dogs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .shelter-page { padding: 18px; }
  .shelter-topbar { padding: 18px; }
  .shelter-topbar h1 { font-size: 30px; }
  .shelter-stats-grid { grid-template-columns: 1fr; }
  .shelter-dogs-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   SHELTER – APPLICATIONS & RUNNING ADOPTIONS
   (matches .templates/dashboard-tierheim.html)
═══════════════════════════════════════════════ */
.applications-grid,
.running-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.application-card,
.running-card {
  background: #fffdfa;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.application-card img,
.running-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: #f6f1ea;
}
.application-card-body,
.running-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.application-card h3,
.running-card h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
}
.application-card .meta-text,
.running-card .meta-text {
  color: #555;
  line-height: 1.7;
  font-size: 15px;
  font-weight: 500;
}
.application-card .badge,
.running-card .badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.application-card .button-row,
.running-card .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.application-card .inline-box,
.running-card .inline-box {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fffaf6;
  border: 1px solid var(--border);
  line-height: 1.6;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}
.application-card .inline-box strong,
.running-card .inline-box strong {
  display: block;
  margin-bottom: 4px;
  color: #2b2b2b;
  font-weight: 700;
}

.running-card-expanded {
  grid-column: 1 / -1;
  background: #fffdfa;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  margin-top: -8px;
}

@media (max-width: 1100px) {
  .applications-grid,
  .running-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .applications-grid,
  .running-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   SHELTER – CALENDAR (Outlook-style monthly view)
═══════════════════════════════════════════════ */
.shelter-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.shelter-cal-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}
.shelter-cal-header .btn-secondary {
  background: #fff;
  color: #ff7a1a;
  border: 1.5px solid #ff7a1a;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.shelter-cal-header .btn-secondary:hover {
  background: #ff7a1a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 122, 26, 0.25);
}
.shelter-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.shelter-cal-dayhead {
  background: #fff;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}
.shelter-cal-cell {
  background: #fff;
  min-height: 110px;
  padding: 6px;
  position: relative;
}
.shelter-cal-cell.empty { background: #fefcf9; }
.shelter-cal-cell.today { background: #fff6ee; }
.shelter-cal-daynum {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-bottom: 4px;
}
.shelter-cal-cell.today .shelter-cal-daynum { color: var(--accent); }
.shelter-cal-event {
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 6px;
  margin-bottom: 3px;
  line-height: 1.4;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.shelter-cal-legend {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.shelter-cal-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.shelter-cal-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

@media (max-width: 700px) {
  .shelter-cal-cell { min-height: 70px; padding: 4px; }
  .shelter-cal-event { font-size: 10px; }
}

/* ═══════════════════════════════════════════════
   DOG PREVIEW MODAL – public-profile look
═══════════════════════════════════════════════ */
.dpv-shell { max-width: 1180px; padding: 28px 32px 40px; }
.dpv-back {
  background: none; border: none;
  color: #ff7a1a; font-weight: 700; font-size: 16px;
  cursor: pointer; padding: 4px 0; margin-bottom: 18px;
}
.dpv-back:hover { text-decoration: underline; }
.dpv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.dpv-main { display: flex; flex-direction: column; gap: 18px; }
.dpv-hero {
  width: 100%; height: 460px; object-fit: cover;
  border-radius: 22px; display: block;
}
.dpv-title { font-size: 38px; margin: 4px 0 0; line-height: 1.1; }
.dpv-subtitle { color: #888; font-size: 16px; margin: 0 0 4px; }
.dpv-data-grid {
  background: #fff;
  border: 1px solid #efe7dd;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.dpv-cell {
  padding: 16px 20px;
  border-right: 1px solid #efe7dd;
  border-bottom: 1px solid #efe7dd;
  background: #fff;
}
.dpv-cell:nth-child(3n) { border-right: none; }
.dpv-data-grid > .dpv-cell:nth-last-child(-n+3):not(:nth-child(3n+1)),
.dpv-data-grid > .dpv-cell:last-child { /* keep simple */ }
.dpv-cell-label { font-size: 13px; color: #999; margin-bottom: 6px; }
.dpv-cell-value { font-size: 16px; font-weight: 700; color: var(--text); }

.dpv-aside { display: flex; flex-direction: column; gap: 18px; }
.dpv-card {
  background: #fff;
  border: 1px solid #efe7dd;
  border-radius: 18px;
  padding: 22px 24px;
}
.dpv-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.dpv-card p {
  margin: 0;
  color: #444;
  line-height: 1.6;
  font-size: 15px;
  white-space: pre-line;
}
.dpv-info-line {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}
.dpv-info-line strong { color: var(--text); font-weight: 700; }
.dpv-org-name { font-weight: 700; margin-bottom: 6px !important; color: var(--text) !important; }

.dpv-map-card { padding: 22px 24px 18px; }
.dpv-map-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #efe7dd;
  height: 260px;
}
.dpv-map-wrap iframe {
  width: 100%; height: 100%; border: 0; display: block;
}
.dpv-map-link {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #fff; color: #1a73e8;
  border: 1px solid #dadce0; border-radius: 8px;
  padding: 8px 14px; font-weight: 600; font-size: 14px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.dpv-map-link:hover { background: #f6f8fc; }

@media (max-width: 960px) {
  .dpv-grid { grid-template-columns: 1fr; }
  .dpv-hero { height: 320px; }
  .dpv-data-grid { grid-template-columns: repeat(2, 1fr); }
  .dpv-cell:nth-child(3n) { border-right: 1px solid #efe7dd; }
  .dpv-cell:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .dpv-data-grid { grid-template-columns: 1fr; }
  .dpv-cell { border-right: none !important; }
}

/* ═══════════════════════════════════════════════
   SHELTER – DOG CARD (Meine Hunde, Vorlage)
═══════════════════════════════════════════════ */
.shelter-dog-card {
  background: #fff;
  border: 1px solid #efe7dd;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shelter-dog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 25, 10, 0.08);
}
.shelter-dog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.shelter-dog-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shelter-dog-card-name {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.shelter-dog-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: #444;
}
.shelter-dog-card-list strong {
  color: var(--text);
  font-weight: 700;
  margin-right: 4px;
}
.shelter-dog-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.sdc-btn {
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  line-height: 1.1;
}
.sdc-btn:hover { transform: translateY(-1px); }
.sdc-btn-primary {
  background: #ff7a1a;
  color: #fff;
  border-color: #ff7a1a;
}
.sdc-btn-primary:hover { background: #e76406; border-color: #e76406; }
.sdc-btn-outline {
  background: #fff;
  color: #ff7a1a;
  border-color: #ffd0ad;
}
.sdc-btn-outline:hover { background: #fff5ec; }
.sdc-btn-danger {
  background: #fff;
  color: #c74b4b;
  border-color: #f0b7b7;
}
.sdc-btn-danger:hover { background: #fff2f2; }

.dog-action-primary {
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.dog-action-primary:not(:disabled):hover {
  background: #e76406 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(231, 100, 6, 0.32) !important;
}
.dog-action-fav {
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.dog-action-fav:hover {
  background: #fff5ec !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 122, 26, 0.18);
}
