:root {
  --navy: #2e403d;        /* Dunkles Waldgrün (Slot 1) – Hintergrund, Navigation, Überschriften */
  --navy-light: #3c504c;  /* Zwischenton (Slot 1→3 gemischt) für alternierende Abschnitte */
  --navy-dark: #1d2d2a;   /* Slot 2 – dunkler für Footer/Hover */
  --ivory: #f0f5f2;       /* Slot 5 – Texte, Karten, Hervorhebungen */
  --ivory-dim: #c8d4cd;   /* Slot 4 – Rahmen/zweite Buttons */
  --ivory-soft: #ffffff;  /* Eingabefelder (Slot 5 ist bereits die hellste Palettenfarbe, daher Weiß als Kontrast dazu) */

  --text-on-dark: var(--ivory);
  --muted-on-dark: rgba(240, 245, 242, 0.72);
  --line-on-dark: rgba(240, 245, 242, 0.22);

  --text-on-light: var(--navy);
  --muted-on-light: #6f8b80; /* Slot 3 – gedämpfter Text auf hellem Grund */
  --line-on-light: #c8d4cd;  /* Slot 4 – Rahmenlinien auf hellem Grund */

  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--navy);
  color: var(--text-on-dark);
  margin: 0;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--ivory);
}

a { color: var(--ivory); }
a:hover { color: #fff; }

.text-muted { color: var(--muted-on-dark) !important; }

/* ===== Navigation ===== */
.navbar-tf {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(46,64,61,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-on-dark);
}
.navbar-tf .navbar-brand {
  font-weight: 800;
  color: var(--ivory) !important;
}
.navbar-tf .nav-link {
  color: var(--ivory) !important;
  font-weight: 600;
  opacity: 0.9;
}
.navbar-tf .nav-link:hover { opacity: 1; color: #fff !important; }
.navbar-tf .btn-report {
  background: var(--ivory);
  border: none;
  color: var(--navy) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 20px !important;
}
.navbar-tf .btn-report:hover { background: #fff; }
.navbar-toggler { border-color: var(--line-on-dark); }
.navbar-toggler-icon {
  filter: invert(92%) sepia(9%) saturate(400%) hue-rotate(342deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(46,64,61,0.82), rgba(46,64,61,0.6)),
    url('../img/hero-bg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-top: 90px;
}
@media (max-width: 768px) {
  .hero { background-attachment: scroll; min-height: 80vh; }
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--ivory);
  font-size: 0.9rem;
}
.hero h1 { color: #fff; font-size: 2.6rem; }
.hero p.lead { color: var(--muted-on-dark); font-size: 1.15rem; max-width: 620px; }
.hero-actions .btn { border-radius: 999px; padding: 12px 26px; font-weight: 700; }

.btn-pet {
  background: var(--ivory);
  border: 2px solid var(--ivory);
  color: var(--navy);
}
.btn-pet:hover { background: #fff; border-color: #fff; color: var(--navy); }

.btn-wild {
  background: transparent;
  border: 2px solid var(--ivory);
  color: var(--ivory);
}
.btn-wild:hover { background: var(--ivory); color: var(--navy); }

/* ===== Statistik-Band ===== */
.stats-band {
  background: var(--ivory);
  border-bottom: 1px solid var(--line-on-light);
}
.stat-tile { text-align: center; padding: 28px 10px; }
.stat-tile .num { font-size: 2rem; font-weight: 800; color: var(--navy); }
.stat-tile .label { color: var(--muted-on-light); font-size: 0.9rem; }

/* ===== Abschnitte ===== */
.section { padding: 80px 0; position: relative; background: var(--navy); }
.section-alt { background: var(--navy-light); }
.section-title { text-align: center; margin-bottom: 12px; color: var(--ivory); }
.section-sub { text-align: center; color: var(--muted-on-dark); max-width: 700px; margin: 0 auto 40px; }

.parallax-strip {
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(46,64,61,0.88), rgba(46,64,61,0.88)),
    url('../img/parallax-paws.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ivory);
  padding: 60px 0;
  text-align: center;
}
.parallax-strip h3 { color: #fff; }
@media (max-width: 768px) { .parallax-strip { background-attachment: scroll; } }

/* ===== Karte ===== */
.map-wrap { padding: 0 50px; }
@media (max-width: 576px) { .map-wrap { padding: 0 12px; } }
#karte {
  width: 100%;
  height: 800px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line-on-dark);
}
.leaflet-popup-content { font-size: 0.92rem; color: var(--navy); }
.leaflet-popup-content-wrapper { background: var(--ivory); }
.leaflet-popup-tip { background: var(--ivory); }
.case-icon-marker {
  font-size: 26px;
  text-align: center;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
}

/* ===== Karten/Cards ===== */
.card-tf {
  background: var(--ivory);
  color: var(--text-on-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line-on-light);
  padding: 34px;
}
.card-tf h1, .card-tf h2, .card-tf h3, .card-tf h4, .card-tf h5 { color: var(--navy); }
.card-tf a { color: var(--navy); text-decoration: underline; }
.card-tf a:hover { color: #000; }
.card-tf .text-muted { color: var(--muted-on-light) !important; }

.form-label { font-weight: 600; color: var(--navy); }
.form-control, .form-select {
  background: var(--ivory-soft);
  border-radius: 10px;
  border: 1px solid var(--line-on-light);
  padding: 10px 14px;
  color: var(--navy);
}
.form-control:focus, .form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(46,64,61,0.14);
  background: #fff;
}
.form-text { color: var(--muted-on-light); }
.form-check-label { color: var(--navy); }

.mini-map {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  border: 1px solid var(--line-on-light);
  margin-top: 10px;
}

.btn-locate {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  border-radius: 10px;
}
.btn-locate:hover { background: var(--navy); color: var(--ivory); }

.btn-submit-pet { background: var(--navy); border: none; color: var(--ivory); }
.btn-submit-pet:hover { background: var(--navy-dark); color: #fff; }

.btn-submit-wild { background: var(--ivory-dim); border: 1px solid var(--navy); color: var(--navy); }
.btn-submit-wild:hover { background: var(--navy); color: var(--ivory); }

.badge-type-ht { background: var(--navy); color: var(--ivory); }
.badge-type-wt { background: var(--ivory-dim); color: var(--navy); border: 1px solid var(--navy); }

/* ===== Footer ===== */
footer.site-footer {
  background: var(--navy-dark);
  color: var(--muted-on-dark);
  padding: 50px 0 24px;
  border-top: 1px solid var(--line-on-dark);
}
footer.site-footer a { color: var(--ivory); text-decoration: underline; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer h5 { color: var(--ivory); }
footer.site-footer hr { border-color: var(--line-on-dark) !important; }

/* ===== Status-Verlauf (innerhalb Karten, daher navy-Akzente) ===== */
.status-timeline { list-style: none; padding: 0; margin: 0; }
.status-timeline li {
  border-left: 3px solid var(--navy);
  padding: 4px 0 22px 20px;
  position: relative;
}
.status-timeline li::before {
  content: "";
  position: absolute;
  left: -9px; top: 2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--ivory);
}
.status-timeline .date { font-size: 0.82rem; color: var(--muted-on-light); }

.reveal { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Scroll-Fortschrittsleiste ===== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--ivory), #fff);
  z-index: 1100;
  transition: width 0.1s ease-out;
}

/* ===== "Live"-Pulspunkt im Hero ===== */
.live-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #7CFFB2;
  box-shadow: 0 0 0 0 rgba(124,255,178,0.7);
  animation: live-pulse 1.8s infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(124,255,178,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(124,255,178,0); }
  100% { box-shadow: 0 0 0 0 rgba(124,255,178,0); }
}

/* ===== Schwebende Partikel im Hero (dezente Atmosphäre) ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-particles span {
  position: absolute;
  bottom: -20px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,245,242,0.9), rgba(240,245,242,0));
  opacity: 0.7;
  animation: float-up 14s linear infinite;
}
.hero-particles span:nth-child(1) { left: 6%;  width: 4px; height: 4px; animation-duration: 12s; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 16%; width: 7px; height: 7px; animation-duration: 17s; animation-delay: 2s; }
.hero-particles span:nth-child(3) { left: 28%; width: 5px; height: 5px; animation-duration: 15s; animation-delay: 5s; }
.hero-particles span:nth-child(4) { left: 42%; width: 3px; height: 3px; animation-duration: 11s; animation-delay: 1s; }
.hero-particles span:nth-child(5) { left: 58%; width: 6px; height: 6px; animation-duration: 18s; animation-delay: 4s; }
.hero-particles span:nth-child(6) { left: 71%; width: 4px; height: 4px; animation-duration: 13s; animation-delay: 7s; }
.hero-particles span:nth-child(7) { left: 84%; width: 5px; height: 5px; animation-duration: 16s; animation-delay: 3s; }
.hero-particles span:nth-child(8) { left: 93%; width: 3px; height: 3px; animation-duration: 19s; animation-delay: 6s; }
@keyframes float-up {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  50%  { transform: translateY(-45vh) translateX(12px); }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-90vh) translateX(-8px); opacity: 0; }
}
.hero .container { position: relative; z-index: 1; }

/* ===== Besucherzähler-Kachel leicht hervorgehoben ===== */
.stat-tile-visitors .num { color: var(--navy); }
.stat-tile-visitors { position: relative; }

/* ===== Feine Hover-Mikrointeraktionen ===== */
.card-tf { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card-tf:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,0.32); }

.btn { transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.stat-tile { transition: transform 0.25s ease; }
.stat-tile:hover { transform: scale(1.05); }

/* Bewegungsreduktion respektieren */
@media (prefers-reduced-motion: reduce) {
  .hero-particles span { animation: none; display: none; }
  .live-dot { animation: none; }
  .reveal { transition: none; }
  .card-tf:hover, .btn:hover, .stat-tile:hover { transform: none; }
}

/* ===== Hero: Scroll-Pfeil ===== */
.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: var(--ivory);
  opacity: 0.85;
  font-size: 1.6rem;
  animation: bob 2.2s ease-in-out infinite;
  z-index: 1;
  text-decoration: none;
}
.scroll-cue:hover { color: #fff; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== Hero: hervorgehobenes Wort (statisch, ohne Animation) ===== */
.rotating-word {
  display: inline-block;
  font-weight: 800;
  color: #fff;
  border-bottom: 2px solid var(--ivory);
}

/* ===== "Zuletzt gemeldet"-Laufband ===== */
.ticker-wrap {
  background: var(--navy-dark);
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-on-dark);
  font-size: 0.9rem;
  white-space: nowrap;
}
.ticker-item strong { color: var(--ivory); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ===== 7-Tage-Balkendiagramm ===== */
.mini-barchart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-top: 10px;
}
.mini-barchart .bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  height: 100%;
}
.mini-barchart .bar {
  width: 100%;
  max-width: 26px;
  background: var(--navy);
  border-radius: 6px 6px 2px 2px;
  transition: height 1s ease;
  height: 0;
}
.mini-barchart .bar-label {
  font-size: 0.7rem;
  color: var(--muted-on-light);
}

/* ===== Karten-Filter-Buttons ===== */
.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}
.map-filter-btn {
  background: transparent;
  border: 1.5px solid var(--ivory);
  color: var(--ivory);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.map-filter-btn:hover { background: rgba(240,245,242,0.12); }
.map-filter-btn.active { background: var(--ivory); color: var(--navy); }

/* ===== Karten-Skeleton-Loader ===== */
.map-skeleton {
  width: 100%; height: 800px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--navy-light) 25%, #3a4256 37%, var(--navy-light) 63%);
  background-size: 400% 100%;
  animation: skeleton-shine 1.4s ease infinite;
  position: absolute; top:0; left:0;
}
@keyframes skeleton-shine {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
.map-container { position: relative; }

/* Leaflet Cluster-Icons in Markenfarben */
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large {
  background: rgba(240,245,242,0.35) !important;
}
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div {
  background: var(--navy) !important;
  color: var(--ivory) !important;
  font-weight: 700;
}
.popup-thumb { width: 100%; max-height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }

/* ===== Formular-Wizard ===== */
.wizard-progress {
  height: 6px;
  background: var(--line-on-light);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.wizard-progress-bar {
  height: 100%;
  background: var(--navy);
  border-radius: 999px;
  transition: width 0.35s ease;
  width: 33.33%;
}
.wizard-steps-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted-on-light);
  margin-bottom: 26px;
  font-weight: 600;
}
.wizard-steps-labels span { display: flex; align-items: center; gap: 6px; }
.wizard-steps-labels span.active, .wizard-steps-labels span.done { color: var(--navy); }
.wizard-steps-labels span.done::before { content: "✓"; }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: step-in 0.35s ease; }
@keyframes step-in { from { opacity:0; transform: translateX(12px); } to { opacity:1; transform: translateX(0); } }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.wizard-nav .btn { flex: 1; }

/* Live-Validierung */
.form-control.is-valid, .form-select.is-valid {
  border-color: #2f8f5b;
  background-image: none;
}
.field-valid-icon {
  color: #2f8f5b; font-weight: 700; margin-left: 6px; display:none;
}
.field-valid-icon.show { display: inline; }

/* ===== Drag & Drop Upload-Zone ===== */
.dropzone {
  border: 2px dashed var(--line-on-light);
  border-radius: 12px;
  padding: 26px;
  text-align: center;
  cursor: pointer;
  color: var(--muted-on-light);
  transition: all 0.2s ease;
  background: var(--ivory-soft);
}
.dropzone.dragover { border-color: var(--navy); background: #fff; color: var(--navy); }
.dropzone .dz-icon { font-size: 1.8rem; display:block; margin-bottom: 6px; }
.dropzone input[type=file] { display: none; }
.file-preview { margin-top: 14px; text-align:center; }
.file-preview img { max-height: 160px; border-radius: 10px; border: 1px solid var(--line-on-light); }
.file-preview .remove-file { display:block; margin: 6px auto 0; font-size:0.8rem; color:#a33; background:none; border:none; text-decoration:underline; cursor:pointer; }

/* ===== Portal: horizontaler Status-Stepper ===== */
.status-stepper { display:flex; justify-content:space-between; margin: 20px 0 10px; flex-wrap: wrap; gap: 8px; }
.status-stepper .step { flex:1; min-width:90px; text-align:center; position:relative; }
.status-stepper .step .dot {
  width: 34px; height:34px; border-radius:50%;
  background: var(--line-on-light); color: var(--muted-on-light);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 6px; font-size:1rem; font-weight:700;
  border: 2px solid var(--line-on-light);
}
.status-stepper .step.done .dot { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.status-stepper .step.current .dot { background: #fff; color: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 4px rgba(46,64,61,0.12); }
.status-stepper .step-label { font-size: 0.72rem; color: var(--muted-on-light); }
.status-stepper .step.done .step-label, .status-stepper .step.current .step-label { color: var(--navy); font-weight:600; }

.copy-btn {
  background: transparent; border: 1px solid var(--navy); color: var(--navy);
  border-radius: 8px; padding: 4px 10px; font-size: 0.8rem; cursor:pointer; margin-left: 8px;
}
.copy-btn:hover { background: var(--navy); color: var(--ivory); }
.copy-btn.copied { background:#2f8f5b; border-color:#2f8f5b; color:#fff; }

/* ===== Erfolgs-Animation (Danke-Seite) ===== */
.success-check {
  width: 84px; height:84px; border-radius:50%;
  background: #2f8f5b; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 2.4rem; margin: 0 auto 18px;
  animation: pop-in 0.5s cubic-bezier(.26,1.36,.53,1);
}
@keyframes pop-in { 0% { transform: scale(0); opacity:0; } 80% { transform: scale(1.12); } 100% { transform: scale(1); opacity:1; } }

/* ===== Nach-oben-Button ===== */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 46px; height:46px; border-radius:50%;
  background: var(--ivory); color: var(--navy);
  border:none; font-size:1.2rem;
  box-shadow: var(--shadow);
  opacity:0; pointer-events:none; transform: translateY(10px);
  transition: all 0.25s ease;
}
.back-to-top.show { opacity:1; pointer-events:auto; transform: translateY(0); }
.back-to-top:hover { background:#fff; }

/* ===== Toast-Benachrichtigungen (ersetzt Bootstrap-Alerts optisch) ===== */
[data-toast] { display: none; } /* Quelle: wird per JS in echten Toast umgewandelt */
.toast-stack { position: fixed; top: 90px; right: 18px; z-index: 1200; display:flex; flex-direction:column; gap:10px; }
.toast-tf {
  background: var(--ivory); color: var(--navy);
  border-left: 5px solid #2f8f5b;
  border-radius: 10px; box-shadow: var(--shadow);
  padding: 14px 18px; min-width: 260px; max-width: 340px;
  animation: toast-in 0.3s ease;
}
.toast-tf.error { border-left-color: #b23b3b; }
@keyframes toast-in { from { opacity:0; transform: translateX(30px);} to { opacity:1; transform: translateX(0);} }

/* ===== Admin: Kanban-Board ===== */
.kanban-board { display:flex; gap:16px; overflow-x:auto; padding-bottom: 12px; }
.kanban-col {
  background: rgba(240,245,242,0.06);
  border: 1px dashed var(--line-on-dark);
  border-radius: 12px;
  min-width: 260px; flex: 1;
  padding: 12px;
}
.kanban-col.dragover { background: rgba(240,245,242,0.18); border-color: var(--ivory); }
.kanban-col h4 { font-size: 0.85rem; color: var(--ivory); margin-bottom: 10px; }
.kanban-card {
  background: var(--ivory); color: var(--navy);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 10px;
  cursor: grab; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  font-size: 0.85rem;
}
.kanban-card:active { cursor: grabbing; }
.kanban-card .kc-num { font-weight:700; display:block; }
.kanban-card .kc-meta { color: var(--muted-on-light); font-size: 0.75rem; }

/* ===== Admin: Lightbox ===== */
.lightbox-overlay {
  position: fixed; inset:0; background: rgba(0,0,0,0.85);
  display:none; align-items:center; justify-content:center; z-index: 1300; padding: 30px;
}
.lightbox-overlay.open { display:flex; }
.lightbox-overlay img { max-width: 100%; max-height: 90vh; border-radius: 8px; cursor: zoom-in; transition: transform 0.25s ease; }
.lightbox-overlay img.zoomed { transform: scale(1.6); cursor: zoom-out; }
.lightbox-close { position:absolute; top:20px; right:26px; color:#fff; font-size:2rem; background:none; border:none; cursor:pointer; }

/* ===== Admin: kleines Dashboard ===== */
.dash-chart-wrap { background: var(--ivory); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }

/* Löschen-Buttons im Admin */
.btn-delete-mini {
  background: transparent; border: 1px solid #b23b3b; color:#b23b3b;
  border-radius: 8px; padding: 2px 9px; font-size: 0.75rem; cursor:pointer;
}
.btn-delete-mini:hover { background:#b23b3b; color:#fff; }

/* ===== Auffälliger gelber Hinweis-Button (Verhaltensseite) ===== */
.btn-attention {
  background: #F5C518;
  color: #2e403d !important;
  border: none;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(245,197,24,0.6);
  animation: attention-pulse 2.4s infinite;
}
.btn-attention:hover { background: #ffd23a; color: #2e403d !important; }
@keyframes attention-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245,197,24,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(245,197,24,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,197,24,0); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-attention { animation: none; }
}

/* ===== Verhaltens-/Info-Seite: Accordion im Marken-Look ===== */
.behavior-hero {
  background: var(--navy);
  padding: 150px 0 50px;
  text-align: center;
}
.behavior-hero .emoji-big { font-size: 3rem; display:block; margin-bottom: 10px; }
.behavior-intro-box {
  background: rgba(178,59,59,0.12);
  border: 1px solid rgba(178,59,59,0.4);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--ivory);
  max-width: 760px;
  margin: 0 auto 10px;
  text-align: left;
}
.behavior-intro-box strong { color: #ff8f8f; }

.accordion-tf .accordion-item {
  background: var(--ivory);
  border: 1px solid var(--line-on-light);
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-tf .accordion-button {
  background: var(--ivory);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: none !important;
}
.accordion-tf .accordion-button:not(.collapsed) {
  background: var(--navy);
  color: var(--ivory);
}
.accordion-tf .accordion-button::after {
  filter: none;
}
.accordion-tf .accordion-button:not(.collapsed)::after {
  filter: invert(92%) sepia(9%) saturate(400%) hue-rotate(342deg);
}
.accordion-tf .accordion-body {
  color: var(--navy);
  line-height: 1.65;
}
.accordion-tf .accordion-body h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-top: 20px;
}
.accordion-tf .accordion-body h3:first-child { margin-top: 0; }
.accordion-tf .accordion-body ul, .accordion-tf .accordion-body ol { padding-left: 22px; }
.accordion-tf .accordion-body li { margin-bottom: 4px; }
.accordion-tf .accordion-body blockquote {
  border-left: 4px solid var(--navy);
  padding: 10px 16px;
  background: var(--ivory-soft);
  border-radius: 0 8px 8px 0;
  font-weight: 700;
  margin: 14px 0;
}
.accordion-tf .accordion-body a { color: var(--navy); text-decoration: underline; }
.accordion-tf .accordion-body .source-note { font-size: 0.82rem; color: var(--muted-on-light); margin-top: 8px; }
.accordion-tf table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.92rem; }
.accordion-tf table th, .accordion-tf table td { border: 1px solid var(--line-on-light); padding: 8px 10px; text-align: left; }
.accordion-tf table th { background: var(--navy); color: var(--ivory); }
.emergency-box {
  background: #b23b3b; color: #fff; border-radius: 10px; padding: 14px 18px;
  font-weight: 700; margin: 14px 0; text-align: center;
}
.checklist-box {
  background: var(--navy); color: var(--ivory); border-radius: 12px; padding: 20px 24px;
}
.checklist-box ol { padding-left: 20px; }
.checklist-box li { margin-bottom: 6px; }

/* Paginierung im Admin-Bereich */
.pagination .page-link {
  background: var(--ivory); color: var(--navy); border: 1px solid var(--line-on-light);
}
.pagination .page-link:hover { background: #fff; color: var(--navy); }
.pagination .page-item.disabled .page-link { background: rgba(240,245,242,0.5); color: var(--muted-on-light); border-color: var(--line-on-light); }

/* ===== Sprachumschalter ===== */
.lang-switcher .btn {
  background: transparent; border: 1px solid var(--line-on-dark); color: var(--ivory);
  border-radius: 999px; font-size: 0.85rem; padding: 6px 14px;
}
.lang-switcher .btn:hover { background: rgba(240,245,242,0.12); }
.lang-switcher .dropdown-menu { background: var(--ivory); border: none; box-shadow: var(--shadow); }
.lang-switcher .dropdown-item { color: var(--navy); }
.lang-switcher .dropdown-item:hover { background: rgba(46,64,61,0.08); }
.lang-switcher .dropdown-item.active { background: var(--navy); color: var(--ivory); }

/* ===== Hotline-Anruf-Link ===== */
.hotline-link {
  background: #b23b3b; color: #fff !important; border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: 0.85rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.hotline-link:hover { background: #93302f; color:#fff !important; }

/* ===== Tierart-Kacheln (statt Dropdown) ===== */
.species-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.species-tile {
  background: var(--ivory-soft);
  border: 2px solid var(--line-on-light);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.78rem;
  color: var(--navy);
}
.species-tile .emoji { font-size: 1.7rem; display: block; margin-bottom: 4px; }
.species-tile:hover { border-color: var(--navy); background: #fff; }
.species-tile.selected { border-color: var(--navy); background: var(--navy); color: var(--ivory); }
.species-more-toggle { font-size: 0.85rem; text-decoration: underline; cursor: pointer; color: var(--navy); background: none; border: none; padding: 0; }
.species-select-full { display: none; margin-top: 10px; }
.species-select-full.show { display: block; }

/* ===== Adresssuche im Formular ===== */
.address-search { display: flex; gap: 8px; margin-bottom: 10px; }
.address-search input { flex: 1; }
.address-search-results {
  background: #fff; border: 1px solid var(--line-on-light); border-radius: 10px;
  margin-top: 4px; max-height: 200px; overflow-y: auto; display: none;
}
.address-search-results.show { display: block; }
.address-search-results div {
  padding: 8px 12px; cursor: pointer; font-size: 0.88rem; color: var(--navy);
  border-bottom: 1px solid var(--line-on-light);
}
.address-search-results div:last-child { border-bottom: none; }
.address-search-results div:hover { background: var(--ivory-soft); }

/* ===== Google-Maps-Link nach Standortwahl ===== */
.gmaps-link {
  display: inline-block; margin-top: 8px; font-size: 0.85rem;
  color: var(--navy); text-decoration: underline;
}

/* ===== Kartenlegende ===== */
.map-legend {
  background: var(--ivory);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 auto 18px;
  max-width: 700px;
  box-shadow: var(--shadow);
}
.map-legend summary {
  cursor: pointer; font-weight: 600; color: var(--navy); list-style: none;
}
.map-legend summary::-webkit-details-marker { display: none; }
.map-legend summary::before { content: "▸ "; }
.map-legend[open] summary::before { content: "▾ "; }
.map-legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px 14px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted-on-light);
}

/* ===== Sticky Melde-Button (Mobile) ===== */
.sticky-report-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: none;
  background: var(--navy);
  border-top: 1px solid var(--line-on-dark);
  padding: 10px 14px;
  gap: 10px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.3);
}
.sticky-report-bar a { flex: 1; text-align: center; border-radius: 999px; padding: 10px; font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.sticky-report-bar .sr-pet { background: var(--ivory); color: var(--navy); }
.sticky-report-bar .sr-wild { background: transparent; border: 1.5px solid var(--ivory); color: var(--ivory); }
@media (max-width: 767px) {
  .sticky-report-bar { display: flex; }
  body { padding-bottom: 62px; }
}

/* ===== Feedback-Smileys (Danke-Seite) ===== */
.feedback-widget { margin-top: 26px; }
.feedback-smileys { display: flex; justify-content: center; gap: 16px; margin-top: 10px; }
.feedback-smileys button {
  background: none; border: 2px solid var(--line-on-light); border-radius: 50%;
  width: 54px; height: 54px; font-size: 1.6rem; cursor: pointer; transition: all 0.15s ease;
}
.feedback-smileys button:hover { border-color: var(--navy); transform: scale(1.12); }
.feedback-smileys button.selected { border-color: var(--navy); background: var(--navy); }

.print-doc { font-family: Georgia, serif; }
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
}
