
/*
Theme Name: DealDark Theme
Theme URI: https://example.com/dealdark
Author: You
Description: Dunkles Deal-Theme mit Kartenlayout (links Bild), Pagination, Header mit Logo/Titel-Fallback. Länder-Badges, Impressum/Datenschutz Seiten-Template.
Version: 1.4.2b
License: GPLv2 or later
Text Domain: dealdark
*/
:root {
  --bg: #0b0d10;
  --surface: #14171c;
  --text: #eaeef5;
  --muted: #9aa4b2;
  --accent: #4f7cff;
  --accent-contrast: #ffffff;
  --card-radius: 14px;
}

* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1100px, 92%); margin: 0 auto; }
.site-header { position: sticky; top:0; z-index: 50; background: rgba(20,23,28,.92); backdrop-filter: blur(6px); border-bottom:1px solid rgba(255,255,255,.06); }
.header-inner { display:flex; align-items:center; gap:16px; padding:14px 0; }
.site-logo img { max-height:42px; width:auto; display:block; }
.site-title a { color:var(--text); font-size:20px; font-weight:700; letter-spacing:.2px; }
.nav { margin-left:auto; display:flex; gap:14px; align-items:center; }
.nav a { color:var(--text); opacity:.9; }
.search-form { margin-left:12px; }
.search-form input[type=search]{ background:#0f1216; color:var(--text); border:1px solid rgba(255,255,255,.08); border-radius:10px; padding:8px 10px; outline:none; }

.cards { display:flex; flex-direction: column; gap:16px; padding:22px 0 28px; }
.card { display:flex; gap:16px; background:var(--surface); border:1px solid rgba(255,255,255,.06); border-radius:var(--card-radius); overflow:hidden; }
.card .thumb { width:180px; min-height:120px; background:#0f1216; display:flex; align-items:center; justify-content:center; }
.card .thumb img { width:100%; height:100%; object-fit: contain; object-position:center; background:#0f1216; }
.card .body { padding:14px 16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.card .meta { font-size:12px; color:var(--muted); display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.badge { font-size:11px; padding:3px 8px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }
.card .title a { color:var(--text); font-weight:700; font-size:18px; }
.card .excerpt { color:var(--muted); line-height:1.4; max-height: 3.6em; overflow:hidden; }
.btn { display:inline-block; background: var(--accent); color: var(--accent-contrast); padding:10px 14px; border-radius:10px; font-weight:600; }
.btn:hover { filter: brightness(1.05); text-decoration:none; }
.pagination { display:flex; gap:10px; justify-content:center; padding: 18px 0 30px; }
.pagination a, .pagination span { padding:8px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.1); background:#0f1216; color:var(--text); }
.site-footer { padding:28px 0 36px; border-top:1px solid rgba(255,255,255,.06); background:#0b0d10; color:var(--muted); }
.footer-disclaimer { white-space: pre-line; font-size:13px; line-height:1.4; }

@media (max-width: 720px) {
  .card { flex-direction: column; }
  .card .thumb { width:100%; height:200px; }
}
