/* findnix.eu — style.css */
/* Dark Theme · EU-Suchmaschine */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg:        #0a0a0f;
  --bg2:       #12121a;
  --bg3:       #1a1a26;
  --card:      #14141e;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.13);
  --text:      #f0f0f8;
  --muted:     #7777aa;
  --accent:    #5b8dee;
  --accent2:   #7c5bde;
  --green:     #3dd68c;
  --red:       #ff6b6b;
  --orange:    #ffa94d;
  --sans:      'DM Sans', system-ui, sans-serif;
  --mono:      'Space Mono', monospace;
  --radius:    10px;
  --radius-lg: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
}

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
}

.logo-eu {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  background: rgba(91,141,238,0.12);
  border: 1px solid rgba(91,141,238,0.25);
  padding: 2px 6px;
  border-radius: 4px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--text); }

.dsgvo-badge {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  border: 1px solid rgba(61,214,140,0.3);
  background: rgba(61,214,140,0.06);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 24px 48px;
  transition: padding 0.35s ease;
}

.hero.compact {
  padding: 20px 24px 16px;
}

.hero-logo-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.hero-logo {
  height: 130px;
  width: auto;
}

/* ── SEARCH BOX ─────────────────────────────────────────── */
.search-container {
  width: 100%;
  max-width: 680px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg3);
  border: 1.5px solid var(--border2);
  border-radius: 14px;
  padding: 6px 8px 6px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,141,238,0.1);
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  padding: 9px 0;
  min-width: 0;
}

.search-input::placeholder { color: var(--muted); }

.btn-search {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  flex-shrink: 0;
}
.btn-ki {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #5b8dee, #a855f7);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
  flex-shrink: 0;
  margin-left: 6px;
}
.btn-ki:hover  { opacity: 0.85; }
.btn-ki:active { transform: scale(0.97); }

.btn-search:hover  { background: #4a7de0; }
.btn-search:active { transform: scale(0.97); }

.search-actions {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

/* ── FILTER BAR ─────────────────────────────────────────── */
.filter-bar {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-tab {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-tab:hover  { border-color: var(--border2); color: var(--text); }
.filter-tab.active { border-color: var(--accent); color: var(--accent); background: rgba(91,141,238,0.08); }

/* ── Suchverlauf ─────────────────────────────────────────── */
.search-history { margin-top: 8px; min-height: 0; }
.history-label { font-size: 11px; color: var(--muted); font-family: var(--mono); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.history-clear { background: none; border: none; color: var(--muted); font-size: 11px; cursor: pointer; padding: 0; }
.history-clear:hover { color: var(--red); }
.history-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.history-chip { background: var(--bg3); border: 1px solid var(--border2); border-radius: 20px; color: var(--text); font-size: 12px; padding: 4px 12px; cursor: pointer; transition: all .15s; }
.history-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ── UI-Sprachumschalter ─────────────────────────────────── */
.ui-lang-bar {
  margin-top: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ui-lang-prev, .ui-lang-next {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  opacity: 0.2;
}
.ui-lang-prev:hover, .ui-lang-next:hover { background: var(--bg3); opacity: 1; }

.ui-lang-scroll {
  flex: 1;
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-wrap: nowrap;
  padding: 2px 0 4px;
  cursor: grab;
}
.ui-lang-scroll.is-dragging { cursor: grabbing; }
.ui-lang-scroll::-webkit-scrollbar { display: none; }

.ui-lang-btn {
  font-size: 20px;
  line-height: 1;
  padding: 4px 5px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s;
  flex-shrink: 0;
  opacity: 0.45;
  user-select: none;
}
.ui-lang-btn:hover  { opacity: 1; background: var(--bg3); border-color: var(--border); }
.ui-lang-btn.active { opacity: 1; background: rgba(91,141,238,0.12); border-color: rgba(91,141,238,0.4); }

/* ── Filter-Bar ─────────────────────────────────────────── */
.filter-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 6px;
}

.filter-tab {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-tab:hover  { border-color: var(--border2); color: var(--text); }
.filter-tab.active { border-color: var(--accent); color: var(--accent); background: rgba(91,141,238,0.08); }

/* ── Ergebnissprache-Dropdown ───────────────────────────── */
.result-lang-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.rlf-label {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--muted);
  white-space: nowrap;
}

.rlf-select {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text);
  font-family: var(--mono);
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.rlf-select:focus { border-color: var(--accent); }
.rlf-select option { background: var(--bg2); }

.header-register {
  background: var(--accent);
  color: #fff !important;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  transition: background 0.15s;
}
.header-register:hover { background: #4a7de0 !important; color: #fff !important; }

/* ── QUICK SUGGESTIONS ──────────────────────────────────── */
.quick-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
  max-width: 680px;
}

.quick-suggestions button {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.quick-suggestions button:hover {
  border-color: var(--border2);
  color: var(--text);
  background: var(--bg3);
}

/* ── LOADING ────────────────────────────────────────────── */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 24px;
  color: var(--muted);
  font-size: 13px;
  font-family: var(--mono);
}

.spinner {
  width: 26px;
  height: 26px;
  border: 2px solid var(--border2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── ERROR BOX ──────────────────────────────────────────── */
.error-box {
  max-width: 700px;
  margin: 24px auto;
  padding: 14px 18px;
  background: rgba(255,107,107,0.08);
  border: 1px solid rgba(255,107,107,0.25);
  border-radius: var(--radius);
  color: var(--red);
  font-size: 13px;
}

/* ── RESULTS SECTION ────────────────────────────────────── */
#resultsSection {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* KI-Zusammenfassung */
.ai-summary {
  background: var(--bg2);
  border: 1px solid rgba(91,141,238,0.18);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.ai-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.ai-badge {
  font-size: 9px;
  background: rgba(91,141,238,0.15);
  border: 1px solid rgba(91,141,238,0.3);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--accent);
}

.ai-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

.ai-sources {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.ai-source {
  font-size: 11px;
  color: var(--accent);
  background: rgba(91,141,238,0.07);
  border: 1px solid rgba(91,141,238,0.18);
  border-radius: 4px;
  padding: 2px 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.ai-source:hover { background: rgba(91,141,238,0.15); }

/* Stats-Zeile */
.result-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  padding: 6px 0 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.stat-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
}

.ad-card {
  border-color: rgba(255,169,77,0.25) !important;
  background: rgba(255,169,77,0.03) !important;
  position: relative;
  margin-bottom: 12px !important;
}

.ad-label {
  font-size: 9px;
  font-family: var(--mono);
  color: var(--orange);
  background: rgba(255,169,77,0.1);
  border: 1px solid rgba(255,169,77,0.25);
  padding: 2px 7px;
  border-radius: 3px;
  position: absolute;
  top: 10px;
  right: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Direkter Sitemap-Treffer — normales Design */
.result-sitemap-direct { }

/* Hervorgehobenes Ergebnis — nur 2px blauer Rand, sonst normales Design */
.result-highlighted {
  border: 2px solid rgba(91,141,238,0.55) !important;
}

/* highlight-label nicht mehr verwendet — leer lassen */
.highlight-label { display: none; }

.badge-sitemap {
  color: #ffa94d;
  border-color: rgba(255,169,77,0.3);
  background: rgba(255,169,77,0.06);
}

/* Ergebnisliste */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Ergebniskarte */
.result-card {
  display: flex;
  gap: 14px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.15s;
  background: transparent;
}

.result-card:last-child { border-bottom: none; }

.result-card:hover { background: var(--bg2); }

.result-pos {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  min-width: 18px;
  padding-top: 3px;
  text-align: right;
}

.result-body { flex: 1; min-width: 0; }

.result-domain {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--green);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-title {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 6px;
  transition: color 0.15s;
}
.result-title:hover { color: #8ab8ff; text-decoration: underline; }

.result-snippet {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  font-size: 10px;
  font-family: var(--mono);
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid;
}

.badge-eu  { color: #ffd43b; border-color: rgba(255,212,59,0.3); background: rgba(255,212,59,0.06); }
.badge-src { color: var(--muted); border-color: var(--border); }

.score-bar {
  width: 60px;
  height: 3px;
  background: var(--bg3);
  border-radius: 2px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.score-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.result-age {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}

.no-results {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ── PAGINATION ─────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.page-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.page-btn:hover,
.page-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(91,141,238,0.07);
}

/* ── COOKIE BANNER ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 500;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}

.cookie-text a { color: var(--accent); }
.cookie-text strong { color: var(--text); }

.btn-cookie-ok {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-cookie-ok:hover { background: #4a7de0; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-dsgvo {
  font-family: var(--mono);
  font-size: 11px;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
/* ── Hamburger ───────────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Responsive / Mobile ─────────────────────────────────── */
@media (max-width: 768px) {
  /* Hamburger sichtbar */
  .hamburger { display: flex; }

  /* Header */
  .header-inner { padding: 10px 16px; gap: 8px; }
  .dsgvo-badge { display: none; }

  /* Nav — ausgeklappt als Dropdown */
  .header-nav {
    display: none;
    position: fixed;
    top: 52px;
    left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    z-index: 150;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .header-nav.open { display: flex; }
  .header-nav a {
    padding: 12px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text) !important;
  }
  .header-nav a:last-child { border-bottom: none; }
  .header-nav .header-register {
    margin: 8px 16px;
    text-align: center;
    border-radius: 8px;
    border-bottom: none;
  }

  /* Hero */
  .hero { padding: 32px 16px 24px; }
  .hero-logo { width: 80px; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 13px; }

  /* Suchbox */
  .search-input { font-size: 15px; padding: 14px 16px; }
  .btn-search { padding: 10px 14px; font-size: 13px; }

  /* Filter */
  .filter-tab { font-size: 12px; padding: 5px 10px; }

  /* Suchergebnisse */
  #resultsSection { padding: 0 12px 60px; }
  .result-card { padding: 12px 8px; }
  .result-title { font-size: 15px; }
  .result-snippet { font-size: 12px; }
  .result-pos { display: none; }
  .score-bar, .score-num { display: none; }
  .result-age { display: none; }

  /* Footer — nur Pflichtlinks */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
    text-align: center;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    font-size: 12px;
  }
  /* Nicht-Pflichtlinks im Footer auf Mobil ausblenden */
  .footer-links a.footer-hide-mobile { display: none; }
  .footer-dsgvo { font-size: 11px; }

  /* User Dashboard */
  .udash-sidebar { transform: translateX(-100%); position: fixed; z-index: 100; }
  .udash-main { margin-left: 0; width: 100%; }
  .udash-topbar { padding: 12px 16px; }
  .udash-topbar h1 { font-size: 18px; }
  .topbar-right { display: none; }
  .udash-content { padding: 16px; }
  .dash-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .section-card { padding: 14px; }
  .plan-grid { grid-template-columns: 1fr !important; }

  /* Pages */
  .page-wrap { padding: 0 16px; }
  .page-content { max-width: 100%; }
  .page-lang-switcher { flex-wrap: wrap; gap: 6px; }

  /* Forms */
  .form-row input, .form-row select, .form-row textarea { font-size: 14px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 22px; }
  .stat-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr; }
  .header-register { padding: 6px 12px; font-size: 13px; }
  .badge { font-size: 10px; padding: 2px 6px; }
}

/* ── Bilder-Grid ─────────────────────────────────────────── */
.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  padding: 8px 0;
}
.image-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.image-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.image-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg3); }
.image-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-card-info { padding: 8px 10px; }
.image-card-title { font-size: 12px; color: var(--text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-card-src { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }

/* ── Video-Cards ─────────────────────────────────────────── */
.video-card {
  display: flex;
  gap: 14px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s;
  align-items: flex-start;
}
.video-card a[style="display:contents"] { display: contents; }
.video-card:hover { background: var(--bg2); border-radius: var(--radius); cursor: pointer; }
.video-thumb {
  flex-shrink: 0;
  width: 160px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg3);
  position: relative;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--muted); }
.video-duration {
  position: absolute;
  bottom: 4px; right: 6px;
  background: rgba(0,0,0,.8);
  color: #fff;
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 3px;
  font-family: var(--mono);
}
.video-info { flex: 1; min-width: 0; }
.video-title { font-size: 15px; font-weight: 600; color: var(--accent); line-height: 1.4; margin-bottom: 6px; }
.video-meta { display: flex; gap: 10px; margin-bottom: 6px; }
.video-source { font-size: 12px; color: var(--green); }
.video-date { font-size: 12px; color: var(--muted); }
.video-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

@media (max-width: 768px) {
  .images-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
  .video-thumb { width: 120px; height: 68px; }
  .video-title { font-size: 14px; }
}

/* ── Shopping-Grid ───────────────────────────────────────── */
.shopping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 8px 0;
}
.shop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  border-radius: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  gap: 12px;
}
.shop-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.shop-card-logo { font-size: 36px; line-height: 1; }
.shop-card-info { display: flex; flex-direction: column; gap: 4px; }
.shop-card-name { font-size: 16px; font-weight: 700; }
.shop-card-desc { font-size: 12px; color: var(--muted); }
.shop-card-query { font-size: 13px; color: var(--accent); margin-top: 8px; }

/* ── Produkt-Cards (eBay) ────────────────────────────────── */
.product-card {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s;
  align-items: flex-start;
}
.product-card:hover { background: var(--bg2); border-radius: var(--radius); }
.product-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.product-info { flex: 1; min-width: 0; }
.product-title {
  font-size: 14px;
  color: var(--accent);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
