:root {
  --bg: #f5f5f7;
  --card-bg: #ffffff;
  --primary: #2563eb;
  --primary-soft: rgba(37,99,235,0.08);
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius-lg: 18px;
  --shadow-soft: 0 12px 30px rgba(15,23,42,0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e0edff 0, #f5f5f7 45%, #f5f5f7 100%);
  color: var(--text);
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

header {
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37,99,235,0.06);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 500;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
}

h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 10px 0 6px;
  letter-spacing: -0.03em;
}

.subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.5;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
  align-items: stretch;
}

.search-wrapper {
  flex: 1 1 220px;
  min-width: 0;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 10px 34px 10px 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  outline: none;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37,99,235,0.2);
  background: #fff;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
}

.clear-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  display: none;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 7px 12px;
  background: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.chip span {
  font-size: 0.9em;
}

.chip.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: #1d4ed8;
  font-weight: 500;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--muted);
}

.chip.active .chip-dot {
  background: #2563eb;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  gap: 8px;
  flex-wrap: wrap;
}

.result-count {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(148,163,184,0.3);
}

.sort-select {
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 6px 10px;
  background: rgba(255,255,255,0.9);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148,163,184,0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15,23,42,0.12);
  border-color: rgba(37,99,235,0.25);
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.tag-pill {
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(37,99,235,0.09);
  color: #1d4ed8;
  white-space: nowrap;
}

.card-address {
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-note {
  font-size: 0.85rem;
  color: #4b5563;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.small-tag {
  font-size: 0.7rem;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  color: #4b5563;
  background: rgba(249,250,251,0.9);
}

.card-footer {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: true;
}

.btn-link {
  font-size: 0.8rem;
  border-radius: 999px;
  border: none;
  padding: 6px 10px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-link:hover {
  background: #1d4ed8;
}

.btn-link svg {
  width: 14px;
  height: 14px;
}

.label-pill {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(148,163,184,0.08);
}

.empty-state {
  margin-top: 24px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(148,163,184,0.7);
  background: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148,163,184,0.3);
  background: #f9fafb;
  padding: 14px 16px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

.footer-text {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 2px 0 0;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.8rem;
  color: #4b5563;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .page {
    padding-inline: 14px;
  }

  header {
    margin-bottom: 18px;
  }

  .card {
    padding: 14px 14px 12px;
  }

  .footer-inner {
    align-items: flex-start;
  }
}
/* Cookie-Banner */

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: none; /* wird per JS auf block gesetzt */
  padding: 12px 8px;
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(10px);
}

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: #f9fafb;
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1 1 220px;
  min-width: 0;
}

.cookie-banner-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: #111827;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.8rem;
  color: #4b5563;
}

.cookie-link {
  color: #2563eb;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 7px 14px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.cookie-btn.primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.cookie-btn.primary:hover {
  background: #1d4ed8;
}

.cookie-btn.secondary {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.cookie-btn.secondary:hover {
  background: #f3f4f6;
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
/* PARTNER SECTION */

.partner-section {
  max-width: 1120px;
  margin: 40px auto 20px;
  padding: 20px 16px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.partner-header h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.partner-header p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: #6b7280;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.4);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.4);
}

.partner-logo-wrapper {
  flex: 0 0 60px;
  height: 60px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-info {
  min-width: 0;
}

.partner-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.partner-tagline {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .partner-card {
    padding: 10px;
  }

  .partner-logo-wrapper {
    flex: 0 0 50px;
    height: 50px;
  }
}
