:root {
  --bg:#faf7f2;
  --card:#fff;
  --ink:#111;
  --muted:#6b7280;
  --border:#efe7dd;
  --accent:#b79f87;
  --accent-ink:#1a1a1a;
  --shadow-soft: 0 6px 18px rgba(0,0,0,.07);
}

* { box-sizing:border-box }

body {
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}

h1,h2,h3 {
  font-family:"Playfair Display",Georgia,serif;
  letter-spacing:.2px;
  margin:0 0 .6rem;
}

/* === NAVIGATION === */
.nav {
  position:sticky;top:0;
  background:#fff;
  border-bottom:1px solid var(--border);
  z-index:40;
}
.nav .inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  height:56px;
}
.brand a {
  font-family:"Playfair Display";
  font-weight:800;
  text-decoration:none;
  color:var(--ink);
  font-size:1.2rem;
}
.nav .menu {
  display:flex;
  gap:.9rem;
  align-items:center;
  flex-wrap:wrap;
}
.nav .menu a {
  margin:0 10px;
  text-decoration:none;
  color:#333;
  white-space:nowrap;
}
.nav .menu a:hover { color:var(--ink) }
.burger {
  display:none;
  border:1px solid var(--border);
  border-radius:12px;
  padding:.4rem .6rem;
  background:#fff;
}
.burger span {
  display:block;
  width:20px;
  height:2px;
  background:#111;
  margin:4px 0;
}

/* Mobile Navigation */
@media (max-width: 920px){
  .nav .menu {
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:.6rem;
    padding:.6rem 0;
  }
  .nav .menu.open { display:flex; }
  .nav .burger {
    display:inline-flex;
    flex-direction:column;
    gap:4px;
    background:transparent;
    border:0;
    padding:.4rem;
    cursor:pointer;
  }
  .nav .burger span {
    width:22px;
    height:2px;
    background:#333;
    display:block;
  }
}

/* === LAYOUT === */
.container { max-width:1140px; margin:0 auto; padding:0 16px }
.fullbleed img { width:100%; height:auto; border-radius:18px }
.hero .controls {
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin:1rem 0;
}
.input,.select {
  border:1px solid var(--border);
  border-radius:12px;
  padding:.6rem .8rem;
  background:#fff;
}
.button {
  display:inline-block;
  background:var(--ink);
  color:#fff;
  text-decoration:none;
  padding:.7rem 1rem;
  border-radius:12px;
  font-weight:700;
  box-shadow:var(--shadow-soft);
  transition:transform .15s ease;
}
.button:hover {
  opacity:.92;
  transform:translateY(-2px);
}

/* === GRID & CARDS === */
.grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
@media (max-width:900px){ .grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px){ .grid{grid-template-columns:1fr} }

.card {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  text-decoration:none;
  color:inherit;
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.card .imgwrap img {
  display:block;
  width:100%;
  height:auto;
}
.card .pad { padding:12px }
.kicker {
  font-size:.8rem;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.6px;
}
.title { font-weight:800; margin:.2rem 0 .3rem }
.meta { font-size:.95rem; color:var(--muted) }
.badge {
  position:absolute; top:12px; left:12px;
  background:#111; color:#fff;
  padding:.25rem .5rem;
  border-radius:999px;
  font-size:.72rem; font-weight:700;
}
.rank {
  position:absolute; top:12px; right:12px;
  background:var(--accent); color:var(--accent-ink);
  padding:.25rem .5rem;
  border-radius:999px;
  font-size:.72rem; font-weight:700;
  border:1px solid #a89177;
}

/* === CONTENT === */
.thinhero img { width:100%; height:auto; border-radius:18px }
.article {
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
}
.tldr-box {
  background:#fff6d5;
  border:1px solid #ffe59a;
  border-radius:12px;
  padding:1rem;
  margin:1.2rem 0;
}
.footer { margin:2rem auto 3rem }
.small { color:var(--muted); font-size:.9rem }

/* === PERFORMANCE UTILITIES === */
img, svg, video { display:block; max-width:100%; height:auto }

/* Aspect-Ratio Helfer */
.ar-16x9 { aspect-ratio: 16/9; }
.ar-3x2  { aspect-ratio: 3/2; }
.ar-4x3  { aspect-ratio: 4/3; }
.ar-1x1  { aspect-ratio: 1/1; }
.media-cover { width:100%; height:100%; object-fit:cover }

/* Content-Visibility für lange Bereiche */
.cv-auto {
  content-visibility:auto;
  contain-intrinsic-size:800px;
}

/* Animations-Optimierung */
@media (prefers-reduced-motion: reduce) {
  * { animation:none !important; transition:none !important; }
}

/* Blur-Up Effekt für progressive Bild-Ladung */
.blur-up { filter:blur(8px); }
.blur-up.is-loaded {
  filter:blur(0);
  transition:filter .3s ease;
}

/* Mobile Grid-Abstände kompakter */
@media (max-width:600px){ .grid{ gap:14px } }
