/* ===========================
   Minimalistisches Weiß‑Blau‑Theme
   =========================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-card: #ffffff;

  --accent: #0ea5e9;
  --accent-hover: #0284c7;

  --text: #1e293b;
  --text-soft: #64748b;

  --border: rgba(0, 0, 0, 0.12);

  --radius: 14px;
  --radius-lg: 20px;

  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg-soft);
  color: var(--text);
}

/* Layout */

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

/* Header */

header {
  max-width: 1120px;
  margin: 20px auto;
  padding: 14px 20px;
  background: var(--bg-card);
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  transition: 0.15s ease;
}

nav a:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

/* Hero */

.hero {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

.hero-title {
  font-size: 30px;
  margin: 0 0 12px;
}

.hero-subtitle {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 12px;
}

.hero-search {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-search input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  font-size: 14px;
}

.hero-quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-quick-label {
  font-size: 13px;
  color: var(--text-soft);
}

.hero-quick button {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 12px;
}

.hero-quick button:hover {
  background: var(--bg-soft);
  color: var(--text);
}

/* Hero Card */

.hero-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card-title {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.hero-event {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.hero-event-title {
  font-size: 13px;
  font-weight: 600;
}

.hero-event-meta {
  font-size: 11px;
  color: var(--text-soft);
  display: flex;
  gap: 6px;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--text-soft);
}

.hero-stat strong {
  display: block;
  font-size: 16px;
  color: var(--text);
}

/* Sections */

.section {
  margin-top: 48px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-soft);
}

.section-link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
}

/* Filters */

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filters select {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  font-size: 13px;
}

/* Events Grid */

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Event Card mit Bild */

.event-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.event-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.event-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-type {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--accent-hover);
}

.event-title {
  font-size: 15px;
  font-weight: 600;
}

.event-meta {
  font-size: 12px;
  color: var(--text-soft);
  display: flex;
  gap: 6px;
}

.event-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.event-tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-soft);
}

/* Herz-Icon */

.heart {
  width: 22px;
  height: 22px;
  cursor: pointer;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
  background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%230ea5e9" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 21s-6.7-4.35-9.33-8.7C-0.33 7.95 2.02 3 6.67 3 9.33 3 12 5 12 5s2.67-2 5.33-2c4.65 0 7 4.95 3.33 9.3C18.7 16.65 12 21 12 21z"/></svg>');
}

.heart.active {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%230ea5e9" stroke="%230ea5e9" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 21s-6.7-4.35-9.33-8.7C-0.33 7.95 2.02 3 6.67 3 9.33 3 12 5 12 5s2.67-2 5.33-2c4.65 0 7 4.95 3.33 9.3C18.7 16.65 12 21 12 21z"/></svg>');
  transform: scale(1.25);
}

.heart.pop {
  animation: pop 0.25s ease;
}

@keyframes pop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.interest-count-box {
  font-size: 12px;
  color: var(--text-soft);
}

/* Load more */

.load-more-box {
  margin-top: 20px;
  text-align: center;
}

/* Firmen */

.firms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.firm-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.firm-name {
  font-size: 15px;
  font-weight: 600;
}

.firm-meta {
  font-size: 12px;
  color: var(--text-soft);
}

/* Formular */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: var(--text-soft);
}

.card ul {
  margin: 8px 0 10px;
  padding-left: 18px;
}

.card li {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 4px;
  display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
  font-size: 14px;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-soft);
}

/* Footer */

footer {
  max-width: 1120px;
  margin: 40px auto 20px;
  padding: 12px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
}

/* Responsive */

@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  main {
    padding: 24px 12px 32px;
  }

  .hero-title {
    font-size: 24px;
  }

  .events-grid,
  .firms-grid {
    grid-template-columns: 1fr;
  }
}
.interest-btn.loading {
    opacity: 0.6;
    cursor: wait;
}

.interest-btn.interested {
    background-color: #2ecc71;
    color: white;
}

.interest-btn.already-interested {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.interest-text {
    margin-top: 6px;
    font-size: 14px;
    color: #555;
}
