/* =============================================
   Fishers Country – Startseite
   Einfaches, modernes Design für Web & Handy
   ============================================= */

/* Grund-Einstellungen */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-green-dark: #2d5016;
  --color-green: #4a7c2e;
  --color-green-light: #7cb356;
  --color-cream: #f5f0e8;
  --color-brown: #5c4033;
  --color-text: #2c2c2c;
  --color-white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--color-cream);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

/* ---- Premium-Test-Schalter (oben rechts) ---- */
.premium-schalter {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 9000;
  background: #ffffff;
  border: 2px solid #d97706;
  border-radius: 999px;
  padding: 0.35rem 0.75rem 0.35rem 0.9rem;
  box-shadow: var(--shadow);
}

.premium-schalter-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: #78350f;
}

#premium-status-label {
  min-width: 6.5rem;
}

.premium-schalter-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-block;
}

.premium-schalter-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.premium-schalter-knopf {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.premium-schalter-knopf::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.premium-schalter-toggle input:checked + .premium-schalter-knopf {
  background: #d97706;
}

.premium-schalter-toggle input:checked + .premium-schalter-knopf::before {
  transform: translateX(18px);
}

.premium-schalter-text {
  color: #92400e;
}

/* ---- Großes Bild ganz oben ---- */
.hero {
  width: 100%;
  overflow: hidden;
  background-color: #1a2e12;
  line-height: 0;
}

.hero-image {
  width: 100%;
  height: clamp(200px, 42vw, 520px);
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ---- Karten-Bereich ---- */
.map-section {
  padding: 0.75rem 1rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.map-section-kopf {
  text-align: center;
  margin-bottom: 0.65rem;
}

.map-section-kopf h2 {
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  color: var(--color-green-dark);
  margin-bottom: 0.45rem;
}

.map-section-steuerung {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(212, 203, 184, 0.65);
  text-align: center;
}

.map-section-steuerung .karten-werkzeugleiste {
  margin-top: 0.85rem;
  margin-bottom: 0.65rem;
}

.map-section-steuerung .admin-panel {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.map-section-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.map-section-header h2 {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  color: var(--color-green-dark);
  margin-bottom: 0.55rem;
}

.karten-statistik {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
}

.karten-statistik-kachel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 5.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  border: 2px solid #d4cbb8;
  background: linear-gradient(180deg, #faf8f4 0%, #f3efe6 100%);
  box-shadow: 0 2px 8px rgba(45, 80, 22, 0.06);
}

.karten-statistik-gewaesser {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
}

.karten-statistik-gewaesser .karten-statistik-zahl {
  color: #1d4ed8;
}

.karten-statistik-spots {
  border-color: #fdba74;
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
}

.karten-statistik-zahl {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-green-dark);
}

.karten-statistik-spots .karten-statistik-zahl {
  color: #c2410c;
}

.karten-statistik-label {
  margin-top: 0.12rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-brown);
}

.map-section-steuerung p,
.map-section-header p {
  color: var(--color-brown);
  font-size: 0.95rem;
}

#standort-hinweis {
  min-height: 1.4em;
}

.zoom-hinweis {
  font-size: 0.88rem;
  color: var(--color-green);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* ---- Karten-Werkzeugleiste ---- */
.karten-werkzeugleiste,
.admin-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.admin-panel {
  background: #fff8f0;
  border: 2px solid #f59e0b;
  border-radius: var(--radius);
  padding: 0.75rem;
}

.admin-panel-text {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-brown);
  margin-bottom: 0.25rem;
}

.admin-panel-hervorheben {
  animation: admin-panel-puls 1.5s ease-out 1;
}

@keyframes admin-panel-puls {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.8);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
  }

  100% {
    box-shadow: none;
  }
}

.admin-login-inhalt {
  max-width: 22rem;
}

.admin-pin-fehler {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: #b91c1c;
}

.karten-btn {
  background: var(--color-green);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.karten-btn:hover {
  background: var(--color-green-dark);
}

.karten-btn.aktiv {
  box-shadow: inset 0 0 0 2px var(--color-white);
  background: var(--color-green-dark);
}

.karten-btn-admin {
  background: #92400e;
}

.karten-btn-admin:hover,
.karten-btn-admin.aktiv {
  background: #78350f;
}

.karten-btn-verbot {
  background: #b91c1c;
}

.karten-btn-verbot:hover,
.karten-btn-verbot.aktiv {
  background: #991b1b;
}

.karten-btn-shop {
  background: #7c3aed;
}

.karten-btn-shop:hover,
.karten-btn-shop.aktiv {
  background: #6d28d9;
}

.karten-btn-secondary {
  background: #6b7280;
}

.karten-btn-secondary:hover {
  background: #4b5563;
}

.versteckt {
  display: none !important;
}

/* ---- Formular-Fenster (Modal) ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-hintergrund {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.modal-inhalt {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.1rem 1.2rem 1.2rem;
}

.modal-inhalt h3 {
  color: var(--color-green-dark);
  margin-bottom: 0.4rem;
}

.modal-info {
  font-size: 0.82rem;
  color: var(--color-brown);
  margin-bottom: 0.85rem;
}

.modal-inhalt label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.65rem;
  margin-bottom: 0.2rem;
  color: var(--color-green-dark);
}

.modal-inhalt input,
.modal-inhalt textarea,
.modal-inhalt select {
  width: 100%;
  border: 1px solid #c9bc9e;
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  font: inherit;
  user-select: text;
  -webkit-user-select: text;
}

.feld-kontextmenue {
  position: fixed;
  z-index: 10001;
  min-width: 160px;
  background: #ffffff;
  border: 1px solid #c9bc9e;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  padding: 0.25rem;
}

.feld-kontext-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  color: var(--color-text);
}

.feld-kontext-btn:hover,
.feld-kontext-btn:focus {
  background: #f0ebe0;
  color: var(--color-green-dark);
}

.feld-kontext-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.formular-gruppe-titel {
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--color-green-dark);
}

.modal-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* ---- Popups: Community & Verbotszonen ---- */
.spot-popup-titel,
.verbots-popup-titel {
  color: var(--color-green-dark);
  margin-bottom: 0.4rem;
}

.spot-popup-abschnitt,
.spot-popup-datum {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.spot-popup-liste {
  margin-left: 1rem;
}

/* ---- Werbefläche in Spot-Ansicht ---- */
.spot-popup-wrapper .leaflet-popup-content-wrapper {
  border-radius: 10px;
  padding: 0;
}

.spot-popup-wrapper .leaflet-popup-content {
  margin: 0;
  line-height: 1.45;
}

.spot-popup {
  padding: 0.85rem 1rem 0.5rem;
  font-size: 0.9rem;
}

.werbung-bereich {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 2px dashed #d4cbb8;
}

.werbung-bereich-titel {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #92400e;
  margin-bottom: 0.5rem;
}

.werbung-karte {
  background: linear-gradient(135deg, #fff8eb 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: 10px;
  padding: 0.65rem 0.75rem 0.75rem;
  margin-bottom: 0.55rem;
}

.werbung-karte:last-child {
  margin-bottom: 0;
}

.werbung-bild {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.45rem;
  display: block;
}

.werbung-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #92400e;
  background: #fde68a;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  margin-bottom: 0.35rem;
}

.werbung-titel {
  font-weight: 700;
  color: #78350f;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.werbung-titel::before {
  content: "[WERBUNG] ";
  color: #b45309;
}

.werbung-text {
  font-size: 0.82rem;
  color: #57534e;
  margin-bottom: 0.45rem;
}

.werbung-link {
  display: inline-block;
  background: #d97706;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.werbung-link:hover {
  background: #b45309;
}

/* ---- Display-Werbebanner (Platzhalter & echte Banner) ---- */
.werbe-banner-slot {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin: 0.65rem 0;
}

.werbe-banner-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.werbe-banner-platzhalter {
  background-color: #f4f5f7;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(107, 114, 128, 0.06) 10px,
      rgba(107, 114, 128, 0.06) 11px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(107, 114, 128, 0.04) 10px,
      rgba(107, 114, 128, 0.04) 11px
    ),
    radial-gradient(circle at 20% 30%, rgba(74, 124, 46, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(45, 80, 22, 0.03) 0%, transparent 40%);
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.werbe-banner-aktiv {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.werbe-banner-bild {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.werbe-banner-label {
  position: absolute;
  top: 0.35rem;
  right: 0.4rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  line-height: 1.2;
  pointer-events: none;
}

.werbe-banner-aktiv .werbe-banner-label {
  color: #6b7280;
  background: rgba(255, 255, 255, 0.88);
}

.werbe-banner-leaderboard {
  aspect-ratio: 320 / 50;
  max-height: 72px;
  min-height: 50px;
}

.werbe-banner-medium {
  aspect-ratio: 300 / 250;
  max-height: 220px;
}

.gewaesser-popup .werbe-banner-slot,
.spot-popup .werbe-banner-slot {
  margin-top: 0.75rem;
  margin-bottom: 0.15rem;
}

.tipps-magazin-liste .werbe-banner-slot {
  margin: 0.15rem 0 0.35rem;
}

.partner-liste .werbe-banner-slot {
  margin: 0.35rem 0 0.55rem;
}

.spot-popup-datum {
  margin-top: 0.65rem;
}

/* ---- Spot: Anfahrt & Zugang ---- */
.spot-anfahrt-box {
  margin: 0.65rem 0 0.75rem;
  padding: 0.7rem 0.75rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: 10px;
}

.spot-anfahrt-titel {
  font-weight: 800;
  color: #92400e;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.spot-anfahrt-zeile {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.spot-anfahrt-icon {
  font-size: 1.25rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.spot-anfahrt-zeile strong {
  display: block;
  font-size: 0.82rem;
  color: #78350f;
  margin-bottom: 0.1rem;
}

.spot-anfahrt-zeile p {
  font-size: 0.88rem;
  color: #451a03;
  line-height: 1.4;
  margin: 0;
}

.spot-anfahrt-hinweis {
  font-size: 0.8rem;
  color: #92400e;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  margin: 0 0 0.45rem 1.85rem;
}

.spot-parkplatz-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  text-align: center;
}

.spot-parkplatz-btn:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.spot-parkplatz-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.spot-popup-kopf {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.spot-popup-kopf .spot-popup-titel {
  margin-bottom: 0;
  flex: 1;
}

.spot-favorit-btn {
  border: none;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  color: #d1d5db;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.spot-favorit-btn.aktiv {
  color: #f59e0b;
}

.premium-fang-stats {
  margin: 0.65rem 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 10px;
}

.premium-fang-stats.premium-gesperrt {
  background: #f3f4f6;
  border: 2px dashed #9ca3af;
}

.premium-fang-stats-titel {
  font-weight: 800;
  color: #92400e;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.premium-gesperrt .premium-fang-stats-titel {
  color: #4b5563;
}

.premium-stat-zeile {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.premium-stat-zeile:last-child {
  margin-bottom: 0;
}

.premium-stat-icon {
  font-size: 1.1rem;
  line-height: 1.2;
}

.premium-stat-zeile strong {
  display: block;
  font-size: 0.8rem;
  color: #78350f;
}

.premium-stat-zeile p {
  font-size: 0.84rem;
  color: #451a03;
  margin: 0.1rem 0 0;
}

.premium-sperr-hinweis {
  font-size: 0.82rem;
  color: #6b7280;
  font-weight: 600;
}

.gewaesser-offline-bereich {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #c9ddb8;
}

.gewaesser-offline-bereich .btn-offline-speichern {
  width: 100%;
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  color: #ffffff;
}

.gewaesser-offline-bereich .btn-offline-speichern.gespeichert {
  background: linear-gradient(135deg, #166534, #15803d);
}

.offline-info {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.35rem;
}

.favoriten-info {
  font-size: 0.84rem;
  color: var(--color-brown);
  margin-bottom: 0.55rem;
}

.favoriten-liste {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.favorit-karte {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #e5dcc8;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
}

.favorit-text {
  flex: 1;
  min-width: 0;
}

.favorit-text strong {
  display: block;
  color: var(--color-green-dark);
  font-size: 0.88rem;
}

.favorit-text span {
  font-size: 0.78rem;
  color: #6b7280;
}

.favorit-route-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #1d4ed8;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  white-space: nowrap;
}

.favorit-route-btn:hover {
  color: #ffffff;
  background: #1e40af;
}

.favorit-entfernen-btn {
  border: none;
  background: #fee2e2;
  color: #b91c1c;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.premium-gesperrt-text {
  color: #6b7280;
}

.spot-status-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

.status-hotspot {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.fang-statistik li {
  font-size: 0.86rem;
}

.fang-melden-box {
  margin-top: 0.65rem;
  padding: 0.55rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
}

.fang-melden-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.fang-melden-form input {
  flex: 1 1 100px;
  border: 1px solid #c9bc9e;
  border-radius: 6px;
  padding: 0.35rem 0.45rem;
  font: inherit;
}

.fang-melden-form .karten-btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
}

.fang-melden-form select {
  flex: 1 1 140px;
  border: 1px solid #c9bc9e;
  border-radius: 6px;
  padding: 0.35rem 0.45rem;
  font: inherit;
}

/* ---- Wetter & Luftdruck (Premium) ---- */
.wetter-bereich {
  margin-top: 0.75rem;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
}

.wetter-premium {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #3b82f6;
}

.wetter-gesperrt {
  background: #f3f4f6;
  border: 2px dashed #9ca3af;
  text-align: center;
}

.wetter-bereich-titel {
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.wetter-gesperrt .wetter-bereich-titel {
  color: #4b5563;
}

.wetter-statistik-text {
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

.wetter-sperr-hinweis {
  font-size: 0.86rem;
  color: #6b7280;
  font-weight: 600;
}

.wetter-vorhersage-titel {
  font-size: 0.84rem;
  margin-bottom: 0.2rem;
  color: #1e3a8a;
}

.wetter-vorhersage-info {
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 0.45rem;
}

.wetter-link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wetter-link-btn {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
}

.wetter-link-btn:hover {
  background: #1d4ed8;
}

.wetter-link-btn-secondary {
  background: #0ea5e9;
}

.wetter-link-btn-secondary:hover {
  background: #0284c7;
}

/* ---- Live-Beißindex (Premium) ---- */
.beissindex-bereich {
  margin: 0.65rem 0 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
}

.beissindex-premium {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2px solid var(--color-green);
}

.beissindex-gesperrt {
  background: #f3f4f6;
  border: 2px dashed #9ca3af;
  text-align: center;
}

.beissindex-titel {
  font-weight: 800;
  color: var(--color-green-dark);
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.beissindex-gesperrt .beissindex-titel {
  color: #4b5563;
}

.beissindex-anzeige {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.beissindex-label {
  font-size: 0.84rem;
  color: var(--color-green-dark);
  font-weight: 700;
}

.beissindex-detail {
  font-size: 0.78rem;
  color: #4b5563;
}

.beissindex-sperr-hinweis {
  font-size: 0.86rem;
  color: #6b7280;
  font-weight: 600;
}

.beissindex-sim-hinweis {
  font-size: 0.72rem;
  color: #92400e;
  background: #fef3c7;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  margin-top: 0.35rem;
  display: inline-block;
}

.beissindex-test-panel {
  margin-top: 0.85rem;
  padding: 0.75rem;
  background: #f0fdf4;
  border: 2px solid var(--color-green-light);
  border-radius: 10px;
}

.beissindex-test-kopf {
  color: var(--color-green-dark);
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
}

.beissindex-test-info {
  font-size: 0.8rem;
  color: var(--color-brown);
  margin-bottom: 0.55rem;
}

.beissindex-test-panel label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-green-dark);
  margin-top: 0.45rem;
  margin-bottom: 0.2rem;
}

.beissindex-sim-checkbox {
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  cursor: pointer;
}

.beissindex-sim-checkbox input {
  width: auto;
  margin: 0;
}

.beissindex-sim-select {
  width: 100%;
  border: 1px solid #c9bc9e;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font: inherit;
}

.beissindex-sim-range {
  width: 100%;
  accent-color: var(--color-green);
}

.beissindex-test-vorschau {
  margin-top: 0.65rem;
  padding: 0.55rem 0.65rem;
  background: #ffffff;
  border: 1px solid #c9ddb8;
  border-radius: 8px;
}

.beissindex-test-titel {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 0.2rem;
}

.hotspot-gesperrt-popup {
  text-align: center;
  padding: 0.5rem 0.25rem;
}

.hotspot-schloss {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hotspot-gesperrt-popup h3 {
  color: #374151;
  margin-bottom: 0.35rem;
}

.hotspot-upgrade-hinweis {
  font-size: 0.82rem;
  color: #92400e;
  margin-top: 0.45rem;
}

.spot-medien-bereich {
  margin-top: 0.65rem;
}

.spot-medien-liste {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.spot-medium {
  background: #f8fafc;
  border: 1px solid #d4cbb8;
  border-radius: 8px;
  padding: 0.45rem;
}

.medium-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 0.25rem;
}

.medium-bild {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.medium-video {
  width: 100%;
  max-height: 200px;
  border-radius: 6px;
  display: block;
}

.medium-youtube iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 6px;
}

.medium-link {
  color: var(--color-green);
  font-weight: 600;
  word-break: break-word;
}

.modal-info-klein {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.modal-inhalt input[type="file"] {
  width: 100%;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

/* ---- Admin-Freigabe (Moderation) ---- */
.admin-moderation {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}

.admin-moderation h3 {
  color: var(--color-green-dark);
  margin-bottom: 0.35rem;
}

.moderation-info {
  font-size: 0.88rem;
  color: var(--color-brown);
  margin-bottom: 0.85rem;
}

.moderation-leer,
.moderation-keine-medien {
  font-size: 0.88rem;
  color: #6b7280;
}

.moderation-karte {
  border: 1px solid #d4cbb8;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.75rem;
  background: #fffdf8;
}

.moderation-karte-kopf {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.moderation-karte-kopf h4 {
  color: var(--color-green-dark);
  font-size: 0.98rem;
}

.status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}

.moderation-medien-liste {
  margin: 0.45rem 0 0.55rem 1rem;
  font-size: 0.82rem;
}

.moderation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.btn-freigeben {
  background: var(--color-green);
}

.verbots-popup-titel {
  color: #b91c1c;
}

.btn-loeschen {
  margin-top: 0.65rem;
  background: #b91c1c;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-loeschen:hover {
  background: #991b1b;
}

.gewaesser-admin-bereich {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #c4a882;
}

.gewaesser-admin-hinweis {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--color-brown, #6b5344);
  line-height: 1.4;
}

.gewaesser-admin-hinweis code {
  font-size: 0.76rem;
}

.btn-gewaesser-verschieben,
.btn-gewaesser-kopieren,
.btn-gewaesser-reset,
.btn-gewaesser-loeschen {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-gewaesser-verschieben {
  background: var(--color-green, #2d5016);
  color: white;
}

.btn-gewaesser-verschieben:hover {
  background: #234012;
}

.btn-gewaesser-kopieren {
  background: #2563eb;
  color: white;
}

.btn-gewaesser-kopieren:hover {
  background: #1d4ed8;
}

.btn-gewaesser-reset {
  background: #6b7280;
  color: white;
}

.btn-gewaesser-reset:hover {
  background: #4b5563;
}

.btn-gewaesser-loeschen {
  background: #dc2626;
  color: white;
}

.btn-gewaesser-loeschen:hover {
  background: #b91c1c;
}

.gewaesser-verschieben-modus,
.staustufen-verschieben-modus,
.gewaesser-kopieren-modus,
.gewaesser-anlegen-modus,
.gewaesser-vorschlag-modus,
.verbotszone-verschieben-modus {
  cursor: crosshair;
}

.karten-btn-abmelden {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.karten-btn-abmelden:hover {
  filter: brightness(1.05);
}

.tresor-leer-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 9rem;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #f8fafc 0%, #ecfdf5 100%);
  border: 1px dashed rgba(15, 118, 110, 0.35);
  text-align: center;
}

.tresor-leer-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.5rem;
}

.admin-hotspot-limits-panel,
.admin-partner-panel {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 118, 110, 0.15);
}

.admin-hotspot-zeile {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.admin-hotspot-input {
  width: 4.5rem;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.admin-partner-zeile {
  margin-bottom: 0.75rem;
  padding: 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.admin-partner-anleitung {
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}

.luftdruck-trend-svg {
  width: 100%;
  height: 3.5rem;
  margin: 0.35rem 0 0.5rem;
  background: rgba(15, 118, 110, 0.06);
  border-radius: 8px;
}

.mondphasen-liste {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.55;
}

.eigener-shop-banner-platzhalter {
  border-style: dashed;
}

.eigener-shop-platzhalter-hinweis {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: #64748b;
}

.btn-verbotszone-verschieben {
  display: block;
  width: 100%;
  margin: 0.35rem 0;
  padding: 0.45rem 0.65rem;
  border: none;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.karten-btn-gewaesser {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}

.karten-btn-gewaesser.aktiv {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.karten-btn-gewaesser-vorschlag,
.karten-btn-gewaesser-vorschlag-admin {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
}

.karten-btn-gewaesser-vorschlag.aktiv,
.karten-btn-gewaesser-vorschlag-admin.aktiv {
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.35);
}

.gewaesser-vorschlag-modal-inhalt {
  max-height: 90vh;
  overflow-y: auto;
}

.gewaesser-vorschlag-leitfaden {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
}

.gewaesser-vorschlag-leitfaden-titel {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.gewaesser-vorschlag-leitfaden-liste {
  margin: 0;
  padding-left: 1.1rem;
  color: #115e59;
  font-size: 0.86rem;
  line-height: 1.45;
}

.gewaesser-vorschlag-text {
  white-space: pre-wrap;
  line-height: 1.45;
}

.gewaesser-vorschlag-text-leer {
  color: #64748b;
}

.gewaesser-vorschlag-buttons {
  flex-wrap: wrap;
}

/* Küsten-Warnungen & EU-Meldepflicht (RecFishing) */
.kuesten-warnung-box {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #7c2d12;
  font-size: 0.88rem;
  line-height: 1.45;
}

.kuesten-warnung-titel {
  margin: 0 0 0.35rem;
}

.kuesten-rechtlich-modal {
  max-width: 34rem;
}

.kuesten-rechtlich-text {
  margin: 0 0 1rem;
  line-height: 1.5;
  color: #334155;
}

.kuesten-meldepflicht-art {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: #b45309;
}

.kuesten-recfishing-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.kuesten-recfishing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.25;
  padding: 0.55rem 0.75rem;
}

.kuesten-recfishing-ios {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
}

.kuesten-recfishing-android {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
}

.kuesten-btn-bestaetigen {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #fff;
}

.kuesten-warnung-links {
  margin-top: 0.65rem;
}

.gewaesser-modal-inhalt {
  max-height: 90vh;
  overflow-y: auto;
}

.gewaesser-modal-position {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: #4b5563;
}

/* Fischarten-Icons (überall in der App) */
.fischart-zeile,
.fischart-liste-item,
.fischart-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  vertical-align: middle;
  max-width: 100%;
}

.fischart-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.fischart-name {
  line-height: 1.2;
}

.fischart-listen-eintrag {
  display: flex;
  align-items: center;
}

.gewaesser-popup-liste .fischart-listen-eintrag,
.spot-popup-liste .fischart-listen-eintrag,
.fang-statistik li {
  align-items: center;
  gap: 0.35rem;
}

.fang-statistik li {
  display: flex;
  flex-wrap: wrap;
}

.fischart-tabellen-zelle {
  gap: 0.35rem;
}

.gewaesser-popup-tabelle td:first-child {
  min-width: 8.5rem;
}

.schonzeit-checker-art-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schonzeit-checker-art-icon {
  flex-shrink: 0;
}

.schonzeit-ergebnis-art {
  display: flex;
  margin-bottom: 0.35rem;
}

.favorit-fischarten {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.tagebuch-details .fischart-inline {
  margin-right: 0.15rem;
}

.gewaesser-kopie-counter-hinweis {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  margin: 0 0 1rem;
}

.gewaesser-info-point-hinweis {
  color: #1d4ed8;
}

.admin-panel-hinweis-klein {
  font-size: 0.82rem;
  margin-top: 0.35rem;
  line-height: 1.45;
}

.fischerkarte-btn-erlaubnis {
  background: linear-gradient(135deg, #059669, #047857);
}

.karten-btn-staustufe {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
}

.karten-btn-staustufe.aktiv {
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.35);
}

.staustufe-admin-popup-wrapper .leaflet-popup-content-wrapper {
  border-radius: 12px;
}

.staustufe-admin-popup h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #92400e;
}

.staustufe-admin-koordinaten {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: #4b5563;
}

.btn-staustufe-verschieben,
.btn-staustufe-reset {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-staustufe-verschieben {
  background: #d97706;
  color: white;
}

.btn-staustufe-verschieben:hover {
  background: #b45309;
}

.btn-staustufe-reset {
  background: #6b7280;
  color: white;
}

.btn-staustufe-reset:hover {
  background: #4b5563;
}

.detail-popup h3 {
  color: #1d4ed8;
  margin-bottom: 0.35rem;
}

/* ---- Gewässer-Marker (Wellen-Icon) auf der Karte ---- */
.gewaesser-marker-leaflet {
  background: transparent;
  border: none;
}

.gewaesser-marker-pin {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.45);
  color: #ffffff;
}

.gewaesser-marker-welle {
  width: 24px;
  height: 24px;
  display: block;
}

/* ---- Shop-Marker auf der Karte ---- */
.shop-marker-leaflet {
  background: transparent;
  border: none;
}

.shop-marker-pin {
  width: 38px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 12px rgba(91, 33, 182, 0.45);
}

.shop-marker-symbol {
  transform: rotate(45deg);
  font-size: 1.05rem;
  line-height: 1;
}

.shop-popup-wrapper .leaflet-popup-content-wrapper {
  border-radius: 10px;
  padding: 0;
}

.shop-popup-wrapper .leaflet-popup-content {
  margin: 0;
}

.shop-popup {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.9rem;
}

.shop-popup-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #ede9fe;
  color: #5b21b6;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  margin-bottom: 0.4rem;
}

.shop-popup-titel {
  color: #5b21b6;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.shop-popup-adresse {
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
}

.shop-popup-abschnitt {
  color: var(--color-green-dark);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.shop-popup-services {
  margin: 0 0 0.55rem 1.1rem;
  font-size: 0.86rem;
}

.shop-popup-link {
  display: inline-block;
  background: #7c3aed;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.35rem;
}

.shop-popup-link:hover {
  background: #6d28d9;
  color: #ffffff;
}

.map-karte-wrapper {
  position: relative;
  margin: 0;
}

.fisch-filter-leiste {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  width: calc(100% - 1rem);
  max-width: 640px;
  pointer-events: none;
}

.fisch-filter-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: auto;
}

.fisch-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(45, 80, 22, 0.25);
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-green-dark);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(4px);
}

.fisch-filter-pill.aktiv {
  background: var(--color-green-dark);
  color: #ffffff;
  border-color: var(--color-green-dark);
}

.fisch-filter-pill.fisch-filter-gesperrt {
  opacity: 0.72;
}

.fisch-filter-hinweis {
  font-size: 0.65rem;
  text-align: center;
  color: #78350f;
  margin-top: 0.25rem;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.offline-hinweis {
  position: absolute;
  bottom: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: rgba(30, 64, 175, 0.92);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  max-width: calc(100% - 1rem);
  text-align: center;
}

.fang-sync-hinweis {
  position: absolute;
  bottom: 2.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: rgba(120, 53, 15, 0.92);
  color: #fffbeb;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  max-width: calc(100% - 1rem);
  text-align: center;
  pointer-events: none;
}

.mitglied-nahe-hinweis {
  margin: 0.5rem 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(14, 116, 144, 0.1);
  color: #0e7490;
  font-size: 0.85rem;
  line-height: 1.4;
}

.map-container {
  width: 100%;
  height: clamp(360px, 58vh, 620px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 3px solid var(--color-white);
  overflow: hidden;
  z-index: 1;
}

/* ---- Info-Fenster für Gewässer (Admin-Inhalte) ---- */
.gewaesser-popup-wrapper .leaflet-popup-content-wrapper {
  border-radius: 10px;
  padding: 0;
}

.gewaesser-popup-wrapper .leaflet-popup-content {
  margin: 0;
  line-height: 1.45;
}

.gewaesser-popup {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  max-height: 70vh;
  overflow-y: auto;
}

.gewaesser-popup-titel {
  color: var(--color-green-dark);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-green-light);
}

.gewaesser-popup-zeile {
  margin-bottom: 0.5rem;
}

.gewaesser-popup-abschnitt {
  margin-top: 0.65rem;
  margin-bottom: 0.25rem;
  color: var(--color-green-dark);
}

.gewaesser-popup-liste {
  margin-left: 1.1rem;
  margin-bottom: 0.25rem;
}

.gewaesser-popup-tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.gewaesser-popup-tabelle th,
.gewaesser-popup-tabelle td {
  border: 1px solid #d4cbb8;
  padding: 0.35rem 0.4rem;
  text-align: left;
  vertical-align: top;
}

.gewaesser-popup-tabelle th {
  background-color: var(--color-cream);
  color: var(--color-green-dark);
  font-weight: 600;
}

.gewaesser-popup-link {
  color: var(--color-green);
  font-weight: 600;
  text-decoration: underline;
}

.gewaesser-popup-link:hover {
  color: var(--color-green-dark);
}

.fischerkarte-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.25rem;
  margin-bottom: 0.15rem;
}

.fischerkarte-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: #ffffff;
  line-height: 1.3;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.fischerkarte-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.fischerkarte-btn-online {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.fischerkarte-btn-stationaer {
  background: linear-gradient(135deg, #059669, #047857);
}

.fischerkarte-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.fischerkarte-hinweis {
  font-size: 0.78rem;
  color: var(--color-brown);
  margin-top: 0.15rem;
  margin-bottom: 0.25rem;
}

/* ---- Schonzeiten-Grafik im Gewässer-Popup ---- */
.schonzeiten-regelungen {
  margin: 0.5rem 0 0.65rem;
  padding: 0.65rem;
  background: #f8faf5;
  border: 1px solid #c9ddb8;
  border-radius: 10px;
}

.gewaesser-abschnitt-regelungen {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--color-green-dark);
  font-size: 0.95rem;
}

.schonzeiten-grafik-text {
  font-size: 0.84rem;
  color: var(--color-brown);
  margin-bottom: 0.45rem;
}

.schonzeiten-bild-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #d4cbb8;
  background: #ffffff;
}

.schonzeiten-bild {
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: contain;
  display: block;
  background: #ffffff;
}

.schonzeiten-zoom-hinweis {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  margin-top: 0.35rem;
  margin-bottom: 0.15rem;
}

.schonzeiten-pdf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #374151, #1f2937);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  text-align: center;
}

.schonzeiten-pdf-btn:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1f2937, #111827);
}

.schonzeiten-pdf-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.gewaesser-schonzeiten-kurz {
  margin-top: 0.65rem;
  margin-bottom: 0.25rem;
  font-size: 0.84rem;
}

.gewaesser-shop-liste {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.gewaesser-shop-karte {
  background: #f8faf5;
  border: 1px solid #c9ddb8;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.5rem;
}

.gewaesser-shop-karte:last-child {
  margin-bottom: 0;
}

.gewaesser-shop-name {
  color: var(--color-green-dark);
  margin-bottom: 0.15rem;
}

.gewaesser-shop-adresse {
  font-size: 0.84rem;
  color: var(--color-brown);
  margin-bottom: 0.2rem;
}

.gewaesser-shop-hinweis {
  font-size: 0.84rem;
  margin-bottom: 0.35rem;
}

.gewaesser-shop-link {
  display: inline-block;
  font-size: 0.84rem;
}

/* ---- Mosel: Fischereikarten Staustufen-Abschnitte ---- */
.fischereikarte-bereich-popup-wrapper .leaflet-popup-content-wrapper {
  border-radius: var(--radius);
  border: 2px solid #86efac;
}

.fischereikarte-bereich-popup {
  font-size: 0.88rem;
  line-height: 1.45;
}

.fischereikarte-bereich-badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.fischereikarte-bereich-popup h3 {
  margin: 0 0 0.45rem;
  color: var(--color-green-dark);
  font-size: 1rem;
}

.fischereikarte-bereich-grenzen {
  margin: 0 0 0.5rem;
  padding: 0.45rem 0.55rem;
  background: #f0fdf4;
  border-radius: 8px;
  font-size: 0.82rem;
}

.fischereikarte-bereich-hinweis {
  margin: 0 0 0.65rem;
  color: #374151;
  font-size: 0.82rem;
}

.staustufe-tooltip {
  font-size: 0.75rem;
  font-weight: 600;
  color: #92400e;
  border: 1px solid #fbbf24;
  background: #fffbeb;
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
}

/* ---- App-Ansichten & untere Navigation ---- */
.app-view {
  display: none;
}

.app-view.aktiv {
  display: block;
}

.app-seite {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1rem 1.5rem;
}

.app-seite-kopf {
  text-align: center;
  margin-bottom: 1.25rem;
}

.app-seite-kopf h2 {
  color: var(--color-green-dark);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
}

.app-seite-kopf p {
  color: var(--color-brown);
  font-size: 0.92rem;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9500;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border-top: 1px solid #d4cbb8;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
}

.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.15;
  padding: 0.35rem 0.15rem;
  cursor: pointer;
  border-radius: 10px;
  min-height: 3.4rem;
}

.bottom-nav-btn .nav-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.bottom-nav-btn.aktiv {
  color: var(--color-green-dark);
  background: #eef5e8;
}

.bottom-nav-btn.aktiv .nav-label {
  color: var(--color-green-dark);
}

/* ---- Profil & Fangtagebuch ---- */
.profil-bereich {
  margin-bottom: 1.25rem;
}

.profil-bereich h3 {
  color: var(--color-green-dark);
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.profil-karte {
  background: #ffffff;
  border: 1px solid #d4cbb8;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.profil-name-zeile {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.profil-karte label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-green-dark);
  margin-bottom: 0.25rem;
}

.profil-karte input {
  width: 100%;
  border: 1px solid #c9bc9e;
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  font: inherit;
  margin-bottom: 0.65rem;
}

.profil-status-zeile {
  margin-bottom: 0.75rem;
}

.profil-status-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.status-standard {
  background: #e5e7eb;
  color: #4b5563;
  border: 1px solid #9ca3af;
}

.status-premium-gold {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 45%, #f59e0b 100%);
  color: #78350f;
  border: 1px solid #d97706;
  box-shadow: 0 1px 4px rgba(217, 119, 6, 0.25);
}

.status-pionier-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fcd34d 35%, #f59e0b 70%, #b45309 100%);
  color: #451a03;
  border: 1px solid #b45309;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.3);
}

.status-premium {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

.profil-abschnitt-info {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: var(--color-brown);
  line-height: 1.45;
}

.profil-tresor-bereich {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 1rem;
}

.profil-tresor-bereich h3 {
  margin-bottom: 0.35rem;
}

.tresor-grid {
  display: grid;
  gap: 1rem;
}

.tresor-karte {
  background: #ffffff;
  border: 1px solid #d4cbb8;
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow: var(--shadow);
}

.tresor-karte h4 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--color-green-dark);
}

.tresor-vorschau {
  margin-bottom: 0.75rem;
  min-height: 120px;
}

.tresor-leer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
  padding: 0.85rem;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  text-align: center;
}

.tresor-leer p {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.tresor-leer-hinweis {
  margin-top: 0.35rem !important;
  font-size: 0.8rem !important;
}

.tresor-lade {
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  color: #64748b;
  font-size: 0.88rem;
}

.tresor-vorschau-figur {
  margin: 0;
}

.tresor-vorschau-bild {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 10px;
  border: 2px solid #166534;
  background: #000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.tresor-vorschau-figur figcaption {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
}

.tresor-upload-label {
  display: block;
  width: 100%;
  text-align: center;
  cursor: pointer;
  margin-bottom: 0.45rem;
}

.tresor-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.tresor-loeschen-btn {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  color: #b91c1c;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem;
}

.tresor-hybrid-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.tresor-hybrid-actions .tresor-upload-label {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
}

.tresor-digital-btn {
  width: 100%;
  min-height: 2.65rem;
}

.tresor-digital-vorschau {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 140px;
  padding: 0.85rem;
  border: 2px solid #93c5fd;
  border-radius: 10px;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.tresor-digital-oeffnen-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border: 2px solid #2563eb;
  border-radius: 10px;
  background: #ffffff;
  color: #1e3a8a;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  padding: 0.85rem 0.9rem;
  cursor: pointer;
}

.tresor-digital-oeffnen-btn:hover,
.tresor-digital-oeffnen-btn:focus {
  background: #dbeafe;
}

.tresor-digital-icon {
  font-size: 1.65rem;
  line-height: 1;
  flex-shrink: 0;
}

.tresor-digital-meta {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: #475569;
  text-align: center;
}

.tresor-digital-hinweis {
  margin: 0.25rem 0 0;
  font-size: 0.76rem;
  color: #64748b;
  text-align: center;
}

.tresor-digital-modal-inhalt {
  width: min(520px, 100%);
}

.tresor-viewer-modal {
  z-index: 10020;
}

.tresor-viewer-inhalt {
  width: min(920px, 100%);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.tresor-viewer-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #d4cbb8;
}

.tresor-viewer-kopf h3 {
  margin: 0;
}

.tresor-viewer-schliessen {
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-brown);
  padding: 0.15rem 0.35rem;
}

.tresor-viewer-body {
  flex: 1 1 auto;
  min-height: 55vh;
  background: #f8fafc;
}

.tresor-viewer-iframe {
  width: 100%;
  height: 100%;
  min-height: 55vh;
  border: none;
}

.tresor-viewer-actions {
  padding: 0.75rem 1rem 1rem;
  margin-top: 0;
  flex-wrap: wrap;
}

@media (max-width: 520px) {
  .tresor-hybrid-actions {
    grid-template-columns: 1fr;
  }
}

/* ---- Profil: Zielfische (Tag-Suche + Dropdown) ---- */
.profil-zielfische-bereich h3 {
  margin-bottom: 0.55rem;
}

.profil-zielfische-limit-hinweis {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: var(--color-brown);
  line-height: 1.4;
}

.profil-zielfische-limit-hinweis:empty {
  display: none;
}

.zielfisch-picker {
  position: relative;
}

.zielfisch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 0;
  margin-bottom: 0.55rem;
}

.zielfisch-tags-leer {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.4;
}

.zielfisch-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.45rem 0.28rem 0.6rem;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: var(--color-green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.zielfisch-tag-entfernen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

.zielfisch-tag-entfernen:hover,
.zielfisch-tag-entfernen:focus {
  background: #a7f3d0;
}

.zielfisch-suche-wrap {
  position: relative;
}

.zielfisch-suche-input {
  width: 100%;
  border: 2px solid #d4cbb8;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--color-text);
  background: #fff;
}

.zielfisch-suche-wrap-offen .zielfisch-suche-input {
  border-color: var(--color-green);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.zielfisch-suche-input:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 2px rgba(22, 101, 52, 0.12);
}

.zielfisch-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  max-height: 11.5rem;
  overflow-y: auto;
  border: 2px solid var(--color-green);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.zielfisch-dropdown-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid #eef2f0;
  background: #fff;
  padding: 0.52rem 0.75rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-green-dark);
  cursor: pointer;
}

.zielfisch-dropdown-option:last-child {
  border-bottom: none;
}

.zielfisch-dropdown-option:hover,
.zielfisch-dropdown-option:focus {
  background: #f0fdf4;
}

.zielfisch-dropdown-option.ist-gewaehlt {
  color: #64748b;
  background: #f8fafc;
  cursor: default;
}

.zielfisch-dropdown-leer {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.84rem;
  color: var(--color-brown);
  text-align: center;
}

.profil-hotspots-bereich .favoriten-liste {
  margin-bottom: 0.75rem;
}

.fangtagebuch-toggle-btn {
  width: 100%;
  margin-bottom: 0.75rem;
}

.fangtagebuch-panel {
  background: #ffffff;
  border: 1px solid #d4cbb8;
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow: var(--shadow);
}

.fangtagebuch-panel h4 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--color-green-dark);
}

.favorit-hotspot-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.68rem;
  font-weight: 700;
  vertical-align: middle;
}

.profil-tresor-limit-hinweis {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: #475569;
}

.profil-unterabschnitt-titel {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: var(--color-green-dark);
}

.profil-premium-zone {
  margin-bottom: 0.85rem;
}

.profil-feature-teaser-wrap {
  margin-bottom: 0.5rem;
}

.profil-feature-teaser {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 0.85rem;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  cursor: pointer;
  font: inherit;
  color: #64748b;
  opacity: 0.92;
  transition: border-color 0.15s, background 0.15s;
}

.profil-feature-teaser:hover,
.profil-feature-teaser:focus-visible {
  border-color: #94a3b8;
  background: #eef2f7;
  outline: none;
}

.profil-teaser-schloss {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.profil-feature-teaser strong {
  display: block;
  color: #475569;
  margin-bottom: 0.25rem;
}

.profil-feature-teaser p {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  line-height: 1.4;
}

.profil-teaser-cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b45309;
}

.tresor-karte-gesperrt {
  opacity: 0.88;
}

.tresor-upload-gesperrt {
  opacity: 0.65;
  cursor: pointer;
  pointer-events: auto;
}

.profil-upgrade-modal-inhalt {
  text-align: center;
  max-width: 22rem;
}

.profil-upgrade-icon {
  font-size: 2rem;
  margin: 0 0 0.35rem;
}

.profil-upgrade-modal-inhalt h3 {
  margin-bottom: 0.5rem;
}

.profil-upgrade-modal-inhalt p {
  margin-bottom: 1rem;
  color: var(--color-brown);
  line-height: 1.45;
}

.profil-upgrade-buttons {
  flex-direction: column;
  gap: 0.5rem;
}

.profil-fangbuch-stats {
  margin-top: 0.85rem;
}

/* ---- Premium-Dashboard ---- */
.profil-premium-dashboard-bereich {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  padding: 1rem;
}

.profil-premium-dashboard-bereich h3 {
  margin-bottom: 0.35rem;
}

.premium-dashboard-grid {
  display: grid;
  gap: 0.85rem;
}

.premium-dash-karte {
  margin: 0;
}

.premium-dash-widget {
  background: #ffffff;
  border: 1px solid #e5dcc8;
  border-radius: 12px;
  padding: 0.85rem;
  box-shadow: var(--shadow);
}

.premium-dash-widget-kopf {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--color-green-dark);
  font-size: 0.95rem;
}

.premium-dash-meta {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: #64748b;
}

.koeder-kompass-empfehlung strong {
  display: block;
  color: #92400e;
  margin-bottom: 0.25rem;
}

.koeder-kompass-empfehlung p {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  line-height: 1.4;
}

.koeder-farben-leiste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.koeder-farbe-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #f59e0b;
  font-size: 0.72rem;
  font-weight: 700;
  color: #78350f;
}

.koeder-kompass-tipp {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  font-style: italic;
}

.schonzeit-checker-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.45rem 0 0.2rem;
  color: var(--color-green-dark);
}

.schonzeit-checker-form select,
.schonzeit-checker-form input {
  width: 100%;
  border: 1px solid #c9bc9e;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font: inherit;
}

.schonzeit-checker-form button {
  width: 100%;
  margin-top: 0.65rem;
}

.schonzeit-checker-ergebnis {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  border: 2px solid #cbd5e1;
}

.schonzeit-checker-ergebnis strong {
  display: block;
  margin-bottom: 0.25rem;
}

.schonzeit-checker-ergebnis p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
}

.schonzeit-ergebnis-gruen {
  background: #ecfdf5;
  border-color: #22c55e;
  color: #166534;
}

.schonzeit-ergebnis-rot {
  background: #fef2f2;
  border-color: #ef4444;
  color: #991b1b;
}

.schonzeit-ergebnis-grau {
  background: #f8fafc;
  color: #64748b;
}

.luftdruck-kurve {
  width: 100%;
  height: 90px;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.luftdruck-beiss-banner {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: #fef2f2;
  border: 2px solid #ef4444;
  color: #991b1b;
  font-weight: 800;
  font-size: 0.82rem;
  text-align: center;
  margin-bottom: 0.45rem;
}

.luftdruck-banner-aktiv {
  animation: luftdruck-banner-blink 1.1s ease-in-out infinite;
}

@keyframes luftdruck-banner-blink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  }
  50% {
    opacity: 0.82;
    box-shadow: 0 0 12px 2px rgba(239, 68, 68, 0.35);
  }
}

.luftdruck-alarm-info {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.profil-modus-premium .profil-premium-dashboard-bereich,
.profil-modus-pionier .profil-premium-dashboard-bereich {
  border-color: #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
}

.profil-impressum {
  font-size: 0.84rem;
  color: var(--color-brown);
  border-top: 1px solid #e5dcc8;
  padding-top: 0.65rem;
}

.profil-datenschutz {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.profil-rechtliches-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 1.25rem 0 calc(4.75rem + env(safe-area-inset-bottom, 0px));
  padding: 0.85rem 0.5rem 0.5rem;
  border-top: 1px solid #e5dcc8;
  position: relative;
  z-index: 1;
}

.rechtliches-link {
  background: none;
  border: none;
  padding: 0.15rem 0.25rem;
  font-size: 0.82rem;
  color: #6b5344;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.rechtliches-link:hover,
.rechtliches-link:focus-visible {
  color: var(--color-green-dark, #2d5016);
}

.rechtliches-trenner {
  color: #c4a882;
  font-size: 0.82rem;
  user-select: none;
}

.rechtliches-modal-inhalt {
  max-width: 42rem;
  width: calc(100% - 1.5rem);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
}

.rechtliches-inhalt {
  overflow-y: auto;
  flex: 1 1 auto;
  padding-right: 0.25rem;
  margin-bottom: 0.75rem;
}

.rechtliches-kopf {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5dcc8;
}

.rechtliches-kopf h3 {
  margin: 0 0 0.35rem;
  color: var(--color-green-dark, #2d5016);
}

.rechtliches-untertitel {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-brown, #6b5344);
}

.rechtliches-stand {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #6b7280;
}

.rechtliches-abschnitt {
  margin-bottom: 1rem;
}

.rechtliches-abschnitt h4 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: var(--color-green-dark, #2d5016);
}

.rechtliches-abschnitt p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #374151;
}

.rechtliches-liste {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #374151;
}

.rechtliches-volltext {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #374151;
}

body.rechtliches-modal-offen {
  overflow: hidden;
}

#rechtliches-modal:not(.versteckt) {
  display: flex !important;
}

.fangtagebuch-liste,
.partner-liste {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tagebuch-karte,
.partner-karte {
  background: #ffffff;
  border: 1px solid #d4cbb8;
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  box-shadow: var(--shadow);
}

.tagebuch-kopf {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  color: var(--color-green-dark);
}

.tagebuch-datum {
  font-size: 0.78rem;
  color: #6b7280;
  white-space: nowrap;
}

.tagebuch-ort {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.tagebuch-details {
  font-size: 0.86rem;
  color: var(--color-brown);
}

.partner-kategorie {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  margin-bottom: 0.35rem;
}

.partner-karte h3 {
  color: var(--color-green-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.partner-karte p {
  font-size: 0.88rem;
  color: var(--color-brown);
  margin-bottom: 0.45rem;
}

.seiten-link-btn {
  display: inline-block;
  background: var(--color-green);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
}

.seiten-link-btn:hover {
  background: var(--color-green-dark);
}

.seiten-leer {
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  padding: 1rem 0.5rem;
}

/* ---- Premium-Seite ---- */
.premium-seite {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  text-align: center;
}

.premium-seite h2 {
  color: var(--color-green-dark);
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 0.35rem;
}

.premium-untertitel {
  color: var(--color-brown);
  margin-bottom: 1rem;
}

.premium-hauptvorteil-kopf {
  margin-bottom: 1rem;
}

.premium-hauptvorteil-kopf .premium-vorteil-karte {
  margin: 0;
}

.premium-vorteile-liste {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0;
}

.premium-vorteile-liste > li {
  list-style: none;
}

.premium-vorteil-karte {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
}

.premium-vorteil-karte-haupt {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #dc2626;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.15);
}

.premium-hauptvorteil-badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.premium-vorteil-karte-haupt strong {
  color: #991b1b;
}

.premium-vorteil-karte-haupt p {
  color: #7f1d1d;
}

.premium-vorteil-karte strong {
  display: block;
  color: #92400e;
  margin-bottom: 0.2rem;
}

.premium-vorteil-karte p {
  font-size: 0.88rem;
  color: #78350f;
}

.premium-preis {
  font-size: 0.84rem;
  color: #6b7280;
  margin-bottom: 0.85rem;
}

.karten-btn-premium {
  background: linear-gradient(135deg, #d97706, #b45309);
  font-size: 1rem;
  padding: 0.65rem 1.2rem;
}

.karten-btn-premium:hover {
  background: linear-gradient(135deg, #b45309, #92400e);
}

/* ---- Premium-Kauf & Gutschein ---- */
.premium-upgrade-bereich {
  margin-top: 1.25rem;
  padding: 1.1rem 1rem;
  background: #ffffff;
  border: 2px solid #d4cbb8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.premium-upgrade-bereich.premium-upgrade-aktiv {
  border-color: #d97706;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
  text-align: center;
}

.premium-upgrade-badge {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.premium-preis-karten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.premium-preis-karten-drei {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-preis-karte {
  position: relative;
  padding: 0.95rem 0.55rem 0.85rem;
  border-radius: 12px;
  border: 2px solid #d4cbb8;
  background: #faf8f4;
  text-align: center;
}

.premium-preis-karte-jahr {
  border-color: #d97706;
  background: linear-gradient(180deg, #fffbeb 0%, #faf8f4 100%);
}

.premium-preis-karte-pionier {
  border-color: #15803d;
  background: linear-gradient(180deg, #ecfdf5 0%, #fffbeb 55%, #faf8f4 100%);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.12);
}

.premium-preis-karte-pionier .premium-preis-karte-badge {
  background: linear-gradient(135deg, #15803d, #166534);
}

.premium-preis-karte-pionier .premium-preis-karte-betrag {
  font-size: 1.25rem;
}

.premium-preis-karte-untertitel {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.premium-preis-karte-meta {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #4b5563;
}

.premium-preis-karte-badge {
  position: absolute;
  top: -0.45rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #d97706;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.premium-preis-karte-label {
  margin: 0.15rem 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-brown);
}

.premium-preis-karte-betrag {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-green-dark);
  line-height: 1.1;
}

.premium-preis-karte-intervall {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  color: #6b7280;
}

.premium-preis-karte-spar {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #92400e;
}

.premium-gruender-box {
  margin: 0 0 1rem;
  padding: 1rem 0.95rem;
  border-radius: 14px;
  border: 2px solid #86efac;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 45%, #fffbeb 100%);
  box-shadow: 0 4px 18px rgba(45, 80, 22, 0.08);
}

.premium-gruender-box-aktion {
  border-color: #15803d;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 35%, #fffbeb 70%, #fef3c7 100%);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.14);
}

.premium-gruender-box-aktion p {
  font-size: 0.9rem;
  font-weight: 500;
}

.premium-gruender-box p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #1f3d12;
}

.premium-kauf-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.premium-kauf-buttons .btn-premium-jahr {
  background: linear-gradient(135deg, #15803d, #166534);
}

.premium-kauf-buttons .btn-premium-pionier {
  background: linear-gradient(135deg, #166534, #14532d);
  border: 2px solid #fbbf24;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.22);
}

.premium-kauf-buttons .btn-premium-pionier:hover {
  background: linear-gradient(135deg, #14532d, #134e28);
}

.premium-laufzeit-hinweis {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #86efac;
  font-size: 0.84rem;
  color: #166534;
  line-height: 1.45;
}

.premium-upgrade-preis {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-green-dark);
}

.premium-upgrade-anbieter {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: #6b7280;
  text-transform: capitalize;
}

.premium-upgrade-hinweis {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: var(--color-brown);
  line-height: 1.45;
}

.premium-upgrade-bereich label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-green-dark);
}

.premium-gutschein-zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.premium-gutschein-input {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid #d4cbb8;
  border-radius: 8px;
  font-size: 0.9rem;
}

.premium-upgrade-bereich .karten-btn-premium {
  width: 100%;
}

@media (max-width: 720px) {
  .premium-preis-karten-drei {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .premium-preis-karten {
    grid-template-columns: 1fr;
  }
}

.premium-kauf-status {
  margin: 0.75rem 0 0;
  min-height: 1.25rem;
  font-size: 0.84rem;
}

.premium-kauf-status-laden {
  color: #1d4ed8;
}

.premium-kauf-status-erfolg {
  color: #166534;
  font-weight: 600;
}

.premium-kauf-status-fehler {
  color: #b91c1c;
  font-weight: 600;
}

/* ---- Admin: Premium verschenken ---- */
.admin-premium-verwaltung {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #d4a574;
}

.admin-premium-kopf {
  margin-bottom: 0.35rem;
  color: #92400e;
  font-size: 0.95rem;
}

.admin-premium-kopf strong {
  color: var(--color-green-dark);
}

.admin-premium-info {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--color-brown);
  line-height: 1.45;
}

.admin-premium-liste {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 16rem;
  overflow-y: auto;
}

.admin-premium-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  padding: 0.65rem 0.75rem;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e5dcc8;
}

.admin-premium-user {
  flex: 1 1 8rem;
  min-width: 0;
}

.admin-premium-user strong {
  display: block;
  color: var(--color-green-dark);
  font-size: 0.88rem;
}

.admin-premium-id {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
  font-family: monospace;
}

.admin-premium-select-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.72rem;
  color: var(--color-brown);
  font-weight: 600;
}

.admin-premium-select {
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  border: 1px solid #d4cbb8;
  font-size: 0.82rem;
  min-width: 6.5rem;
}

.admin-premium-schenken-btn {
  padding: 0.4rem 0.65rem !important;
  font-size: 0.78rem !important;
  white-space: nowrap;
}

.admin-premium-zeile .profil-status-badge {
  font-size: 0.72rem;
}

/* ---- Shop-Banner & Social Media ---- */
.social-leiste {
  display: flex;
  justify-content: center;
  padding: 0.65rem 1rem;
}

.social-werbung-karte {
  margin: 1rem 0 0.25rem;
  padding: 0 0.15rem;
}

.social-werbung-inhalt {
  background: linear-gradient(135deg, #ffffff 0%, #f8f4ec 100%);
  border: 2px solid #d4cbb8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1rem 1.1rem;
  text-align: center;
}

.social-werbung-badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.social-werbung-inhalt h3 {
  margin: 0 0 0.35rem;
  color: var(--color-green-dark);
  font-size: 1.05rem;
}

.social-werbung-text {
  margin: 0 0 0.85rem;
  color: var(--color-brown);
  font-size: 0.88rem;
  line-height: 1.45;
}

.social-werbung-inhalt .social-icons {
  justify-content: center;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.social-link-youtube {
  background: #ff0000;
}

.social-link-instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.social-svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.social-profil-bereich h3 {
  color: var(--color-green-dark);
  font-size: 1rem;
  margin-bottom: 0.65rem;
  text-align: center;
}

.social-profil-bereich .social-icons {
  margin-bottom: 0.25rem;
}

.eigener-shop-banner {
  background: linear-gradient(135deg, #2d5016 0%, #4a7c2e 55%, #7cb356 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1.15rem;
  margin-bottom: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid #fef3c7;
}

.eigener-shop-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fef3c7;
  color: #92400e;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.45rem;
}

.eigener-shop-banner h3 {
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  margin-bottom: 0.35rem;
}

.eigener-shop-banner p {
  font-size: 0.92rem;
  opacity: 0.95;
  margin-bottom: 0.85rem;
}

.eigener-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #ffffff;
  color: var(--color-green-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}

.eigener-shop-btn:hover {
  transform: scale(1.03);
  color: var(--color-green-dark);
}

.eigener-shop-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* ---- Community-Chat & Mitgliedersuche ---- */
.support-kontakt-btn {
  width: 100%;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #374151, #1f2937);
  color: #ffffff;
  border: none;
  font-size: 0.92rem;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.support-kontakt-hinweis {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}

.support-kontakt-btn:hover {
  background: linear-gradient(135deg, #1f2937, #111827);
}

.kontakt-modal-inhalt {
  max-width: 520px;
}

.kontakt-status {
  min-height: 1.25rem;
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
}

.kontakt-status-erfolg {
  color: #166534;
}

.kontakt-status-fehler {
  color: #b91c1c;
}

.community-chat-bereich {
  background: #ffffff;
  border: 1px solid #d4cbb8;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.community-chat-info {
  font-size: 0.86rem;
  color: var(--color-brown);
  margin-bottom: 0.85rem;
}

.admin-chat-zentrale-btn {
  width: 100%;
  margin-bottom: 1rem;
}

.community-unterbereich {
  margin-bottom: 1.1rem;
}

.community-unterbereich h4 {
  color: var(--color-green-dark);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.mitgliedersuche-input {
  width: 100%;
  border: 1px solid #c9bc9e;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  margin-bottom: 0.55rem;
}

.mitgliedersuche-liste,
.meine-chats-liste,
.admin-chat-liste {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 280px;
  overflow-y: auto;
}

.mitglied-such-karte,
.chat-inbox-karte {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  border: 1px solid #e5dcc8;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: #faf8f4;
  cursor: pointer;
  font: inherit;
  color: inherit;
  position: relative;
}

.mitglied-such-karte:hover,
.chat-inbox-karte:hover {
  background: #f0ebe0;
  border-color: #c9bc9e;
}

.mitglied-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mitglied-avatar.klein {
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
}

.mitglied-avatar.admin-avatar {
  background: linear-gradient(135deg, #374151, #1f2937);
}

.mitglied-such-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.mitglied-such-text strong {
  color: var(--color-green-dark);
  font-size: 0.92rem;
}

.mitglied-such-text span {
  font-size: 0.8rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mitglied-badge-demo {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: #dbeafe;
  color: #1e40af;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.chat-inbox-text {
  flex: 1;
  min-width: 0;
}

.chat-inbox-kopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.chat-inbox-kopf strong {
  color: var(--color-green-dark);
  font-size: 0.9rem;
}

.chat-inbox-zeit {
  font-size: 0.72rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.chat-inbox-typ {
  font-size: 0.72rem;
  color: var(--color-green);
  font-weight: 600;
}

.chat-inbox-vorschau {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-ungelesen-punkt {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dc2626;
}

.nav-chat-badge {
  position: absolute;
  top: 0.15rem;
  right: 0.35rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav-btn {
  position: relative;
}

.mitglied-profil-modal-inhalt {
  max-width: 420px;
}

.mitglied-profil-kopf {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.mitglied-profil-kopf h3 {
  color: var(--color-green-dark);
  margin-bottom: 0.15rem;
}

.mitglied-seit {
  font-size: 0.82rem;
  color: #6b7280;
}

.mitglied-bio {
  font-size: 0.88rem;
  color: var(--color-brown);
  margin-bottom: 0.75rem;
}

.mitglied-demo-hinweis {
  font-size: 0.8rem;
  color: #1e40af;
  background: #eff6ff;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  margin-bottom: 0.65rem;
}

.mitglied-stats {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.mitglied-stat {
  flex: 1;
  text-align: center;
  background: #f8faf5;
  border: 1px solid #c9ddb8;
  border-radius: 10px;
  padding: 0.55rem;
}

.mitglied-stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--color-green-dark);
}

.mitglied-stat span {
  font-size: 0.78rem;
  color: #6b7280;
}

.chat-nachricht-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.admin-chat-zentrale-inhalt {
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
}

.admin-chat-filter {
  width: 100%;
  border: 1px solid #c9bc9e;
  border-radius: 8px;
  padding: 0.5rem;
  font: inherit;
  margin-bottom: 0.75rem;
}

body.chat-offen {
  overflow: hidden;
}

.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  background: #ece5dd;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--color-green-dark);
  color: #ffffff;
  padding: 0.65rem 0.75rem;
  padding-top: calc(0.65rem + env(safe-area-inset-top, 0px));
  flex-shrink: 0;
}

.chat-zurueck-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.25rem 0.45rem;
  line-height: 1;
}

.chat-header-text h3 {
  font-size: 1rem;
  margin-bottom: 0.05rem;
}

.chat-header-text p {
  font-size: 0.75rem;
  opacity: 0.85;
}

.chat-nachrichten {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background-image: linear-gradient(rgba(236, 229, 221, 0.92), rgba(236, 229, 221, 0.92));
}

.chat-leer {
  text-align: center;
  color: #6b7280;
  font-size: 0.88rem;
  margin-top: 2rem;
}

.chat-blase {
  max-width: 82%;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.chat-blase-eigen {
  align-self: flex-end;
  background: #dcf8c6;
  border-bottom-right-radius: 4px;
}

.chat-blase-fremd {
  align-self: flex-start;
  background: #ffffff;
  border-bottom-left-radius: 4px;
}

.chat-absender {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 0.15rem;
}

.chat-blase-eigen .chat-absender {
  color: #166534;
}

.chat-text {
  font-size: 0.9rem;
  word-wrap: break-word;
  margin-bottom: 0.2rem;
}

.chat-zeit {
  font-size: 0.68rem;
  color: #9ca3af;
  display: block;
  text-align: right;
}

.chat-eingabe-leiste {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  padding-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: #f0f0f0;
  border-top: 1px solid #d1d5db;
  flex-shrink: 0;
}

.chat-eingabe-leiste textarea {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  resize: none;
  max-height: 100px;
  background: #ffffff;
}

.chat-senden-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--color-green);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.chat-senden-btn:hover {
  background: var(--color-green-dark);
}

/* ---- Tipps & Tricks – Angler-Akademie ---- */
.tipps-bereich {
  background: #ffffff;
  border: 1px solid #d4cbb8;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.tipps-kopf h3 {
  color: var(--color-green-dark);
  margin-bottom: 0.25rem;
}

.tipps-untertitel {
  font-size: 0.86rem;
  color: var(--color-brown);
  margin-bottom: 0.85rem;
}

.tipps-kategorie-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.tipps-filter-btn {
  border: 1px solid #c9bc9e;
  background: #faf8f4;
  color: var(--color-green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.tipps-filter-btn.aktiv,
.tipps-filter-btn:hover {
  background: var(--color-green-dark);
  color: #ffffff;
  border-color: var(--color-green-dark);
}

.tipps-magazin-liste {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tipps-karte {
  border: 1px solid #e5dcc8;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(135deg, #faf8f4 0%, #f5f0e8 100%);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.tipps-karte:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(45, 80, 22, 0.12);
  border-color: #c9bc9e;
}

.tipps-kategorie-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #dcfce7;
  color: var(--color-green-dark);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.tipps-karte h4 {
  color: var(--color-green-dark);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.tipps-teaser {
  font-size: 0.84rem;
  color: #4b5563;
  line-height: 1.45;
  margin-bottom: 0.4rem;
}

.tipps-karte-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.tipps-karte-mehr {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-green);
}

.tipps-detail {
  margin-top: 0.5rem;
}

.tipps-zurueck-btn {
  background: transparent;
  border: none;
  color: var(--color-green-dark);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-bottom: 0.65rem;
  font-family: inherit;
}

.tipps-detail-inhalt h3 {
  color: var(--color-green-dark);
  font-size: 1.15rem;
  margin: 0.35rem 0 0.65rem;
}

.tipps-youtube {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: #000000;
}

.tipps-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tipps-detail-bild-box {
  margin-bottom: 0.75rem;
}

.tipps-detail-bild {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #d4cbb8;
  display: block;
}

.tipps-detail-text p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
  color: var(--color-text);
}

.tipps-loeschen-btn {
  margin-top: 0.75rem;
}

.tipps-admin-bereich {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px dashed #c9ddb8;
}

.tipps-admin-bereich h4 {
  color: var(--color-green-dark);
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

.tipps-admin-formular label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-green-dark);
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
}

.tipps-admin-formular input,
.tipps-admin-formular select,
.tipps-admin-formular textarea {
  width: 100%;
  border: 1px solid #c9bc9e;
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  font: inherit;
}

.tipps-admin-formular button {
  margin-top: 0.75rem;
  width: 100%;
}

/* ---- Fußzeile ---- */
.site-footer {
  background-color: var(--color-green-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
}

/* ---- Handy-Optimierung ---- */
@media (max-width: 600px) {
  .map-section {
    padding: 0.5rem 0.65rem 1.75rem;
  }

  .map-section-kopf {
    margin-bottom: 0.5rem;
  }

  .map-container {
    height: clamp(340px, 52vh, 480px);
    border-radius: 12px;
  }

  .map-section-steuerung {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
  }

  .hero-image {
    height: clamp(140px, 32vw, 220px);
  }

  .premium-schalter {
    top: auto;
    bottom: calc(4.8rem + env(safe-area-inset-bottom, 0px));
    right: 0.5rem;
    left: 0.5rem;
    border-radius: 12px;
    justify-content: center;
  }

  .bottom-nav-btn .nav-label {
    font-size: 0.58rem;
  }
}

/* ---- Registrierung / Auth ---- */

.auth-karte-hinweis {
  position: absolute;
  inset: auto 0.75rem 0.75rem 0.75rem;
  z-index: 450;
  pointer-events: none;
}

.auth-karte-hinweis-inhalt {
  pointer-events: auto;
  max-width: 22rem;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 118, 110, 0.25);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.auth-karte-badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-karte-hinweis-inhalt h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--color-text);
}

.auth-karte-hinweis-inhalt p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
}

.auth-modal-inhalt {
  position: relative;
  max-width: 24rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}

.auth-tab-btn {
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: #f8fafc;
  color: #334155;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-tab-btn.aktiv {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}

.auth-formular label {
  display: block;
  margin-top: 0.55rem;
}

.auth-fehler {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: #b91c1c;
}

.auth-modal-buttons {
  margin-top: 1rem;
}

.auth-passwort-vergessen-zeile {
  margin: 0.35rem 0 0;
  text-align: right;
}

.auth-link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: #2563eb;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
}

.auth-link-btn:hover {
  color: #1d4ed8;
}

.reset-password-seite {
  min-height: 100vh;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.reset-password-wrap {
  width: min(480px, 100%);
}

.reset-password-karte {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.reset-password-karte h1 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

.reset-password-info,
.reset-token-status {
  color: #475569;
  margin: 0 0 1rem;
}

.reset-password-formular label {
  display: block;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.reset-password-formular input {
  width: 100%;
}

.reset-password-erfolg {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  font-size: 0.92rem;
}

.modal-schliessen-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.profil-auth-gate {
  margin-bottom: 1rem;
}

.auth-gate-karte {
  text-align: center;
}

.auth-gate-karte h3 {
  margin-top: 0;
}

.profil-email-zeile {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.9rem;
  color: #475569;
}

.profil-abmelden-btn {
  margin: 0.5rem 0 0.75rem;
}

.spot-popup-gesperrt-wrapper .leaflet-popup-content-wrapper {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
}

.spot-hotspot-paywall {
  margin: 0.35rem 0 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: rgba(107, 114, 128, 0.15);
  color: #374151;
  font-weight: 700;
  text-align: center;
}

.spot-popup-gesperrt .spot-popup-hinweis {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.45;
}

.fang-gesamt-zeile {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
}

/* ---- Personal Best & Users Best ---- */

.users-best-karte-kompakt {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.88rem;
  color: #475569;
}

.users-best-kompakt {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
  font-weight: 600;
}

.users-best-kompakt-leer {
  background: #f1f5f9;
  color: #64748b;
  font-weight: 500;
}

.users-best-karte {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(234, 88, 12, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.users-best-karte.users-best-leer {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.users-best-label {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #92400e;
}

.users-best-wert {
  margin: 0;
  font-size: 1.05rem;
  color: #1f2937;
}

.users-best-meta {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.personal-best-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.personal-best-eintrag {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.personal-best-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.personal-best-text span {
  font-size: 0.82rem;
  color: #64748b;
}

.pb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.pb-badge-gross {
  min-width: 2.2rem;
  height: 2.2rem;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.fang-melden-form .fang-laenge-input {
  min-width: 5.5rem;
}

.users-best-bereich,
.personal-best-bereich {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

/* ---- Gewässer-Freund ---- */

.gewaesser-freund {
  margin-top: 0.75rem;
}

.gewaesser-freund-titel {
  margin-bottom: 0.35rem !important;
}

.gewaesser-freund-hinweis {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: #64748b;
}

.gewaesser-freund-grid {
  display: grid;
  gap: 0.65rem;
}

.gewaesser-freund-karte {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.gewaesser-freund-karte h4 {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: #0f766e;
}

.gewaesser-freund-liste {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gewaesser-freund-liste li {
  margin: 0.25rem 0;
  font-size: 0.84rem;
  line-height: 1.4;
}

.gewaesser-freund-liste a {
  color: var(--color-green-dark);
  word-break: break-word;
}

@media (min-width: 640px) {
  .gewaesser-freund-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---- Gamification: Ränge & Sterne ---- */

.profil-rang-anzeige {
  margin: 0.85rem 0 1rem;
}

.profil-rang-karte {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(15, 118, 110, 0.12), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(15, 118, 110, 0.22);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.profil-rang-karte-leer {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.profil-rang-karte-leer p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.profil-rang-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f766e;
}

.profil-rang-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.profil-rang-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.rang-sterne {
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.rang-sterne-leer {
  color: #94a3b8;
  font-size: 1rem;
}

.profil-rang-stats {
  margin: 0.55rem 0 0.75rem;
  font-size: 0.84rem;
  color: #475569;
}

.rang-fortschritt-balken {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 118, 110, 0.15);
  overflow: hidden;
}

.rang-fortschritt-balken span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #f59e0b);
  transition: width 0.35s ease;
}

.rang-fortschritt-text {
  margin: 0.55rem 0 0.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
}

.rang-fortschritt-detail {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* ---- Premium-Challenge ---- */

.premium-challenge-bereich {
  background: linear-gradient(160deg, rgba(109, 40, 217, 0.06), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(109, 40, 217, 0.18);
  border-radius: 14px;
  padding: 1rem 1.05rem;
}

.premium-challenge-bereich-kopf {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.premium-challenge-bereich-kopf h3 {
  margin: 0 0 0.25rem;
}

.premium-challenge-bereich-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.premium-challenge-inhalt {
  display: grid;
  gap: 0.85rem;
}

.premium-challenge-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.premium-challenge-geschenk {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
}

.premium-challenge-geschenk-icon {
  font-size: 2rem;
  z-index: 1;
}

.premium-challenge-geschenk-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    #7c3aed calc(var(--challenge-fill, 0) * 1%),
    #e2e8f0 0
  );
  mask: radial-gradient(farthest-side, transparent calc(100% - 0.45rem), #000 calc(100% - 0.44rem));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.45rem), #000 calc(100% - 0.44rem));
}

.premium-challenge-geschenk-text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #5b21b6;
}

.premium-challenge-monat {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.premium-challenge-info,
.premium-challenge-erfolg {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.premium-challenge-erfolg {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
}

.premium-challenge-ziel {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.premium-challenge-ziel-kopf {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}

.premium-challenge-ziel-kopf strong {
  flex: 1;
}

.premium-challenge-ziel-zahlen {
  font-weight: 700;
  color: #0f766e;
}

.premium-challenge-ziel-icon {
  font-size: 1.1rem;
}

.premium-challenge-balken {
  height: 0.5rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.premium-challenge-balken span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #f59e0b);
  transition: width 0.35s ease;
}

.premium-challenge-ziel-text {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.profil-premium-erspielt-info {
  margin: 0.35rem 0 0.75rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.1);
  color: #5b21b6;
  font-size: 0.88rem;
  font-weight: 600;
}

.profil-status-badge.status-premium-challenge {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}

/* ---- Social Fishing ---- */

.social-fishing-suche {
  margin-bottom: 1rem;
}

.mitglied-such-rang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.45rem;
  margin: 0.15rem 0;
  font-size: 0.78rem;
}

.mitglied-such-rang-name {
  color: #0f766e;
  font-weight: 700;
}

.social-fishing-nah {
  margin: 0.75rem 0 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(15, 118, 110, 0.06);
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.social-fishing-nah-titel {
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f766e;
}

.social-fishing-nah-info,
.social-fishing-nah-leer {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  color: #64748b;
}

.social-fishing-nah-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.social-angler-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-align: left;
}

.social-angler-foto {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
  display: grid;
  place-items: center;
}

.social-angler-foto-bild {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-angler-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
}

.social-angler-link:hover {
  background: #fff;
  border-color: rgba(15, 118, 110, 0.35);
}

.social-angler-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
}

.social-angler-rang {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f766e;
  white-space: nowrap;
}

.social-profil-rang {
  margin: 0.85rem 0;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.social-profil-rang-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #92400e;
}

.social-profil-rang-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.social-profil-pb {
  margin: 0.85rem 0;
}

.social-profil-pb h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.social-profil-pb-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.social-profil-pb-liste li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.social-profil-pb-leer {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.social-profil-verifizierte-faenge {
  margin: 0.85rem 0;
}

.social-profil-verifizierte-faenge h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.social-profil-fang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.social-profil-fang-karte {
  padding: 0.45rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.social-profil-fang-karte .fang-foto-vorschau {
  max-width: none;
}

.social-profil-fang-ort {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  color: #64748b;
}

.mitglied-profil-modal-inhalt .social-profil-rang .rang-sterne {
  font-size: 1rem;
}

/* ---- Fang-Verifizierung ---- */

.fang-foto-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.fang-foto-input {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.82rem;
}

.fang-foto-hinweis {
  margin: 0.25rem 0 0.45rem;
  font-size: 0.76rem;
  color: #64748b;
}

.fang-foto-vorschau-wrap {
  margin-bottom: 0.55rem;
}

.fang-foto-vorschau {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
}

.fang-foto-bild {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fang-verifiziert-badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 700;
}

.moderation-hinweis {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.35rem 0;
}

/* ---- Karten-Seitenleiste (Spot/Gewässer-Infos) ---- */
.map-karte-wrapper {
  position: relative;
}

.map-sidebar {
  position: absolute;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}

.map-sidebar:not(.versteckt) {
  pointer-events: auto;
}

.map-sidebar-hintergrund {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.25);
}

.map-sidebar-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 24px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(0);
}

.map-sidebar-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.map-sidebar-kopf h3 {
  margin: 0;
  font-size: 1.05rem;
}

.map-sidebar-schliessen {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.map-sidebar-inhalt {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.spot-marker-leaflet {
  background: transparent;
  border: 0;
}

.spot-marker-pin svg {
  width: 28px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.nutzer-standort-leaflet {
  background: transparent;
  border: 0;
}

.nutzer-standort-punkt {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
}

.admin-hotspot-suche {
  width: 100%;
  margin: 0.5rem 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.admin-equipment-panel,
.admin-equipment-liste {
  margin-top: 1rem;
}

.admin-equipment-zeile {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.65rem;
}

.equipment-ads-bereich {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #cbd5e1;
}

.equipment-ad-karte {
  display: block;
  margin-top: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
  text-decoration: none;
}

.equipment-ad-karte span {
  display: block;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.fang-moderation-karte {
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .map-sidebar-panel {
    width: 100%;
  }
}
