/* ==========================================================================
   STYLE.CSS — Zentrale Styles für wo-bist-du.ch
   Zusammengeführt aus: main.css + grok-styles.css + view.php (inline)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS-Variablen (Design-Tokens)
   -------------------------------------------------------------------------- */
:root {
  --bg:           #0b0f19;
  --card:         #111827;
  --text:         #e5e7eb;
  --text-light:   #9ca3af;
  --accent:       #3b82f6;
  --accent-dark:  #2563eb;
  --border:       #374151;
  --error-bg:     #7f1d1d;
  --error-text:   #fecaca;
  --success-bg:   #064e3b;
  --success-text: #6ee7b7;
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. Navigation
   -------------------------------------------------------------------------- */
.navbar {
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.hero {
  height: 85vh;
  min-height: 600px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
    url('/images/hero-bg-train-station.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 1.5rem;
  margin-top: 4.5rem; /* Platz für fixed Navbar */
}

/* Varianten für Sub-Seiten */
.hero--sm {
  height: 50vh;
  min-height: 300px;
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  margin: 0 0 1.2rem;
  line-height: 1.1;
}

.hero p {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  max-width: 720px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.2rem;
  background: var(--accent);
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s;
}

.cta-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. Hauptlayout mit Sidebar
   -------------------------------------------------------------------------- */
.main-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 3fr 1fr;
    max-width: 100%;
  }
  
  /* City-content bleibt in main-column, NICHT über volle Breite */
}

.main-column {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   6. Sidebar & Werbung
   -------------------------------------------------------------------------- */
.sidebar-promo {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar-promo {
    display: block;
  }
}

.sticky-promo-wrapper {
  position: sticky;
  top: 8rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  height: fit-content;
  padding: 1rem;
}

.promo-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile Promo - erscheint nach Content */
.mobile-promo {
  margin: 2.5rem 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .mobile-promo {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mobile-promo {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. Sections (Rahmen-Karten)
   -------------------------------------------------------------------------- */
.form-section,
.entries-section,
.faq-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   8. Überschriften
   -------------------------------------------------------------------------- */
h1 {
  font-size: 1.6rem;
  margin: 0 0 1rem;
  color: white;
  text-align: center;
  line-height: 1.25;
}

h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  h2 {
    font-size: 2.75rem;
  }
}

/* --------------------------------------------------------------------------
   9. Formular – allgemein
   -------------------------------------------------------------------------- */
.form-wrapper {
  max-width: 100%;
  padding: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 840px) {
  .form-grid {
    grid-template-columns: 280px 1fr;
  }
}

/* Bild-Spalte links */
.image-column {
  text-align: center;
}

.circle-image-preview {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--border);
  background: #1f2937;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.circle-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-hint {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* Formular-Spalte rechts */
.form-column {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: 100%;
}

.form-field {
  width: 100%;
}

label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 600;
  color: #d1d5db;
}

label small {
  font-weight: normal;
  color: var(--text-light);
  display: block;
  margin-top: 0.3rem;
  font-size: 0.95rem;
}

.required {
  color: #f87171;
}

input[type="text"],
input[type="email"],
input[type="date"],
.file-input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: #1f2937;
  color: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
.file-input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

textarea {
  width: 100%;
  min-height: 200px;
  padding: 1rem 1.1rem;
  background: #1f2937;
  color: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  font-family: inherit;
}

textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.honeypot {
  display: none !important;
}

/* Buttons */
.submit-btn {
  padding: 1.15rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: var(--accent-dark);
}

/* Feedback-Meldungen */
.form-errors {
  background: var(--error-bg);
  color: var(--error-text);
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.form-success {
  background: var(--success-bg);
  color: var(--success-text);
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
}

/* Kontaktformular: Inline-Status */
.form-msg {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  font-size: 0.97rem;
}

.form-msg.success {
  background: var(--success-bg);
  color: var(--success-text);
}

.form-msg.error {
  background: var(--error-bg);
  color: var(--error-text);
}

/* --------------------------------------------------------------------------
   10. Hilferuf-Karten (entries-view.php)
   -------------------------------------------------------------------------- */
.entries-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card.expanded {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Farbige Akzent-Streifen oben */
.card-color-1 { border-top: 4px solid hsl(70,  80%, 62%); }
.card-color-2 { border-top: 4px solid hsl(140, 80%, 62%); }
.card-color-3 { border-top: 4px solid hsl(210, 80%, 62%); }
.card-color-4 { border-top: 4px solid hsl(280, 80%, 62%); }
.card-color-5 { border-top: 4px solid hsl(350, 80%, 62%); }

.teaser-content {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.teaser-date {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.teaser-text {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #1e293b;
  font-weight: 500;
}

.full-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.card.expanded .full-content {
  max-height: 1200px;
  padding: 1.5rem;
}

.full-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  white-space: pre-wrap;
  margin-bottom: 1.25rem;
}

.thumbnail-wrapper {
  margin: 1rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-info {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
  padding: 0.75rem 1rem;
  background: #f1f5f9;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

.expand-indicator {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: #94a3b8;
  transition: transform 0.3s ease;
}

.card.expanded .expand-indicator {
  transform: rotate(180deg);
}

/* Like-Bereich */
.like-and-contact {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.like-section-bottom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.like-button {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 9999px;
  padding: 0.45rem 1.1rem;
  font-weight: 500;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.93rem;
}

.like-button:hover:not(:disabled) {
  background: #fee2e2;
  border-color: #fda4af;
}

.like-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #9ca3af;
}

.like-count {
  font-weight: 700;
  color: #ef4444;
  min-width: 2ch;
  font-size: 0.95rem;
}

.no-entries {
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
}

/* --------------------------------------------------------------------------
   11. City Content (SEO-Bereiche auf Startseite)
   -------------------------------------------------------------------------- */
.city-content {
  margin: 3rem 0;
}

.city-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.8rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.city-block h2 {
  color: var(--accent);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: left;
}

.city-block p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text);
}

.city-locations-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.city-locations-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  line-height: 1.6;
}

.city-locations-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.city-steps {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.city-steps li {
  counter-increment: step-counter;
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.city-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.75rem;
  background: var(--accent);
  color: white;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.city-quote {
  background: rgba(59, 130, 246, 0.1);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text);
  border-radius: 4px;
}

.city-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.9rem 1.8rem;
  background: var(--accent);
  color: white;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s;
}

.city-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */
.faq-item {
  background: #1f2937;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  background: #2d3748;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.4rem 1.4rem;
  display: none;
  line-height: 1.6;
}

.faq-answer.open {
  display: block;
}

.more-faqs {
  text-align: center;
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   13. AGB / statische Inhaltsseiten
   -------------------------------------------------------------------------- */
.agb-content {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  line-height: 1.7;
  font-size: 1.05rem;
  color: var(--text);
  white-space: pre-wrap;
}

/* Impressum Stack & Cards */
.agb-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.agb-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(107, 114, 128, 0.6);
  border-radius: 0.75rem;
  padding: 1.2rem 1.5rem;
  line-height: 1.6;
}

.agb-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.agb-card a:hover {
  text-decoration: underline;
}

.agb-card--light {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(107, 114, 128, 0.8);
}

.agb-address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
}

.agb-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.8rem;
  color: var(--accent);
}

.agb-meta {
  text-align: center;
  font-size: 0.95rem;
  color: #9ca3af;
  margin-top: 1.5rem;
}

.back-btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.back-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
footer {
  background: #0a0e17;
  border-top: 1px solid #1f2937;
  padding: 3rem 1.5rem 2rem;
  color: var(--text-light);
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem 1.5rem;
}

.footer-col h3 {
  color: white;
  margin-bottom: 1.1rem;
  font-size: 1.15rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: var(--text-light);
  text-decoration: none;
}

.footer-col a:hover {
  color: #60a5fa;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1f2937;
  text-align: center;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   15. Responsive – mobile (≤ 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .entries-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .like-and-contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .entries-container {
    padding: 0;
    margin: 0;
    gap: 0.5rem;
  }

  .card {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .teaser-content,
  .full-content {
    padding: 1rem 0.8rem;
  }

  .teaser-text  { font-size: 1rem; }
  .full-text    { font-size: 0.97rem; line-height: 1.55; }

  .contact-info,
  .like-and-contact {
    padding: 0.6rem 0.8rem;
    margin: 0.4rem 0;
  }
}

/* --------------------------------------------------------------------------
   10b. Flip-Karten
   -------------------------------------------------------------------------- */

.entries-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 0.5rem;
  align-items: start;
}

.flip-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ── Vorderseite ── */
.flip-front {
  padding: 1.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
}

.flip-front:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

.flip-card.flipped .flip-front { display: none !important; }

.flip-color-1 { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.flip-color-2 { background: linear-gradient(135deg, #3d1a6e, #7c3aed); }
.flip-color-3 { background: linear-gradient(135deg, #0f4c3a, #059669); }
.flip-color-4 { background: linear-gradient(135deg, #7c1d1d, #dc2626); }
.flip-color-5 { background: linear-gradient(135deg, #1a3a4c, #0891b2); }

.flip-front-date { font-size: 0.82rem; opacity: 0.75; font-weight: 500; }
.flip-front-text { flex: 1; font-size: 1.05rem; line-height: 1.55; font-weight: 500; margin: 0.8rem 0; }
.flip-hint       { font-size: 0.8rem; opacity: 0.65; text-align: right; }

/* ── Rückseite ── */
.flip-back {
  display: none !important;
  background: white;
}

.flip-card.flipped .flip-back {
  display: block !important;
  animation: flipIn 0.35s ease;
}



@keyframes flipIn {
  from { opacity: 0; transform: scaleX(0.9); }
  to   { opacity: 1; transform: scaleX(1);   }
}

.flip-back-inner { display: flex; flex-direction: column; }

/* Oberer Bereich – klickbar zum Zuklappen */
.flip-back-top {
  padding: 1.5rem 1.5rem 1rem;
  cursor: pointer;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.15s;
}

.flip-back-top:hover { background: #f1f5f9; }

.flip-back-date {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.6rem;
}

.flip-back-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #1e293b;
  white-space: pre-wrap;
}

.flip-back-close-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: right;
  margin-top: 0.6rem;
}

/* Footer */
.flip-back-footer {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-info {
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
  user-select: text;
  cursor: text;
}

/* Herz-Button mit Zahl */
.like-button {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.like-button:hover:not(:disabled) { transform: scale(1.15); }

.like-button:disabled { cursor: not-allowed; opacity: 0.6; }

.heart-svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 4px rgba(239,68,68,0.3));
}

.heart-svg path {
  fill: #ef4444;
  transition: fill 0.2s;
}

.like-button.liked .heart-svg path { fill: #be123c; }

.like-number {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 800;
  color: white;
  pointer-events: none;
  line-height: 1;
  margin-top: -3px;
}

.thumbnail-wrapper { margin: 1rem 0; border-radius: 8px; overflow: hidden; }
.thumbnail         { width: 100%; height: auto; display: block; }
.no-entries        { color: var(--text-light); text-align: center; padding: 2rem; }

@media (max-width: 640px) {
  .entries-container { grid-template-columns: 1fr; }
  .flip-front        { min-height: 180px; }
}

/* --------------------------------------------------------------------------
   AGB, Datenschutz & Impressum Grid Layout (einheitliches Styling)
   -------------------------------------------------------------------------- */

/* Gemeinsame Styles für alle drei Seiten */
.agb-grid,
.impressum-grid {
  margin-top: 2rem;
}

/* AGB-Container Styling */
.agb-grid .agb-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #2d3748;
  border-radius: 12px;
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.agb-grid .agb-container h1 {
  color: #e5e7eb;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.agb-grid .agb-container .version {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  display: block;
}

.agb-grid .agb-container > ol {
  counter-reset: section;
  list-style: none;
  padding: 0;
}

.agb-grid .agb-container > ol > li {
  margin-bottom: 2rem;
  color: #e5e7eb;
}

.agb-grid .agb-container > ol > li > strong {
  color: #60a5fa;
  font-size: 1.25rem;
  display: block;
  margin-bottom: 1rem;
}

.agb-grid .agb-container ol ol {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.agb-grid .agb-container ol ol li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.agb-grid .agb-container a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.agb-grid .agb-container a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Datenschutz-Container Styling */
.agb-grid .datenschutz-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #2d3748;
  border-radius: 12px;
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.agb-grid .datenschutz-container h1 {
  color: #e5e7eb;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.agb-grid .datenschutz-container .version {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  display: block;
}

.agb-grid .datenschutz-container h2 {
  color: #60a5fa;
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

.agb-grid .datenschutz-container p,
.agb-grid .datenschutz-container ul {
  color: #e5e7eb;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.agb-grid .datenschutz-container ul {
  padding-left: 1.5rem;
}

.agb-grid .datenschutz-container ul li {
  margin-bottom: 0.75rem;
}

.agb-grid .datenschutz-container a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.agb-grid .datenschutz-container a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.agb-grid .datenschutz-container strong {
  color: #f3f4f6;
  font-weight: 600;
}

/* Impressum Grid Layout */
.impressum-grid {
  margin-top: 2rem;
}

.impressum-grid .agb-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .impressum-grid .agb-stack {
    grid-template-columns: repeat(2, 1fr);
  }
}

.impressum-grid .agb-card {
  background: #2d3748;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.impressum-grid .agb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.impressum-grid .agb-card--light {
  background: #374151;
}

.impressum-grid .agb-title {
  color: #60a5fa;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.impressum-grid .agb-address {
  font-style: normal;
  line-height: 1.8;
  color: #e5e7eb;
}

.impressum-grid .agb-address a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.impressum-grid .agb-address a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.impressum-grid .agb-meta {
  margin-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  grid-column: 1 / -1;
}