/* ── VARIABLEN ── */
:root[data-theme="dark"] {
  --bg: #0d0d0f;
  --bg2: #141418;
  --bg3: #1c1c22;
  --surface: #1e1e26;
  --border: rgba(255,255,255,0.07);
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --logo: #ffffff;
  --nav-link: #aaa;
  --nav-active: #fff;
  --card-bg: #1a1a22;
  --card-hover: #22222c;
  --toggle-bg: #2a2a35;
}

:root[data-theme="light"] {
  --bg: #f4f3ef;
  --bg2: #ede9e2;
  --bg3: #e8e4dc;
  --surface: #ffffff;
  --border: rgba(0,0,0,0.08);
  --text: #111111;
  --text-muted: #666;
  --text-dim: #aaa;
  --logo: #111111;
  --nav-link: #555;
  --nav-active: #111;
  --card-bg: #ffffff;
  --card-hover: #f9f8f5;
  --toggle-bg: #ddd9d0;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s, color 0.4s;
}
h1, .hero h1, .category-title, .featured-title, 
.category-featured-title, .single-article h1 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.5px;
}
/* ── HEADER ── */
.hamburger { display: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  transition: background 0.4s;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--logo);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.logo span { color: #3b9eff; }

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

nav a {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nav-link);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  transition: width 0.25s;
}
nav a.nav-drive::after { background: #3b9eff; }
nav a.nav-home::after  { background: #2ec98a; }
nav a.nav-work::after  { background: #b57bff; }
nav a:hover { color: var(--nav-active); }
nav a:hover::after { width: 100%; }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 6px;
  transition: color 0.2s;
}
.icon-btn:hover { color: var(--text); }

.theme-toggle {
  background: var(--toggle-bg);
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s, color 0.3s;
}
.theme-toggle:hover { color: var(--text); }

/* ── SUCHE ── */
.search-overlay {
  display: none;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 16px 40px;
}
.search-overlay.active { display: block; }
.search-overlay input[type="search"] {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
}
.search-overlay input:focus { border-color: #3b9eff; }

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: 60px 40px 48px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(59,158,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(46,201,138,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; animation: fadeUp 0.7s ease both; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-meta-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-meta-sep { color: var(--text-dim); font-size: 0.65rem; }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  max-width: 560px;
}
.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-image img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-drive { background: #3b9eff; color: #fff; }
.btn-home  { background: #2ec98a; color: #fff; }
.btn-work  { background: #b57bff; color: #fff; }

/* ── BADGES ── */
.rubric-badge {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.badge-drive { background: rgba(59,158,255,0.15);  color: #3b9eff; }
.badge-home  { background: rgba(46,201,138,0.15);  color: #2ec98a; }
.badge-work  { background: rgba(181,123,255,0.15); color: #b57bff; }
.badge-sponsored { background: rgba(255, 196, 0, 0.2) !important; color: #a07800 !important; border: 1px solid rgba(255, 196, 0, 0.3) !important; }
/* ── RUBRIC STRIP ── */
.rubric-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  animation: fadeUp 0.7s 0.15s ease both;
}
.rubric-col {
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.rubric-col:last-child { border-right: none; }
.rubric-col:hover { background: var(--bg3); }
.col-drive { border-top: 2px solid #3b9eff; }
.col-home  { border-top: 2px solid #2ec98a; }
.col-work  { border-top: 2px solid #b57bff; }

.rubric-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.rubric-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-drive { background: #3b9eff; }
.dot-home  { background: #2ec98a; }
.dot-work  { background: #b57bff; }

.rubric-col-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.rubric-article-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 8px;
}
.rubric-article-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 40px 20px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
}
.see-all {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  transition: color 0.2s;
}
.see-all:hover { color: var(--text); }

/* ── FEATURED BLOCK ── */
.featured-block {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.featured-main {
  background: var(--card-bg);
  padding: 32px;
  display: flex;
  gap: 28px;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.featured-main:hover { background: var(--card-hover); }
.featured-img {
  width: 220px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2ec98a;
  margin-bottom: 10px;
}
.featured-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
.featured-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2ec98a;
}
.featured-side {
  background: var(--card-bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.side-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.side-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 6px;
}
.side-link {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.side-link:hover { color: var(--text); }
.side-divider { height: 1px; background: var(--border); }

.text-drive { color: #3b9eff; }
.text-home  { color: #2ec98a; }
.text-work  { color: #b57bff; }

/* ── ARTICLE GRID ── */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-card {
  background: var(--card-bg);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.article-card:hover { background: var(--card-hover); }
.article-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
}
.article-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}
.article-date {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: auto;
}

/* ── NEWSLETTER ── */
.newsletter {
  padding: 56px 40px;
  text-align: center;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.newsletter-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(181,123,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #b57bff;
  margin-bottom: 12px;
  position: relative;
}
.newsletter h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 10px;
  position: relative;
}
.newsletter p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  position: relative;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}
.newsletter-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: #b57bff; }
.newsletter-input::placeholder { color: var(--text-dim); }
.btn-subscribe {
  background: #b57bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-subscribe:hover { opacity: 0.85; }

/* ── FOOTER ── */
.site-footer {
  padding: 28px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
}
.footer-claim {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-claim span { color: var(--text); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ── SINGLE ARTICLE ── */
.single-article {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 40px;
}
.single-article h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 20px 0 16px;
}
.single-article .article-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin: 24px 0;
}
.single-article .article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.single-article .article-body p { margin-bottom: 1.4em; }
.single-article .article-body h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.3px;
  color: var(--text);
  margin: 2em 0 0.6em;
}

/* ── ANIMATIONEN ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ── SINGLE ARTICLE ── */
.single-article {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 40px;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.single-date,
.single-author {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.single-article h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 32px;
}

.article-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
}
.article-body p { margin-bottom: 1.5em; }
.article-body h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.3px;
  color: var(--text);
  margin: 2.5em 0 0.8em;
}
.article-body h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.2px;
  color: var(--text);
  margin: 2em 0 0.6em;
}
.article-body img {
  width: 100%;
  border-radius: 8px;
  margin: 1.5em 0;
}
.article-body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-footer {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.back-link {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }

.related-section {
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
/* ── CATEGORY PAGE ── */
.category-header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 48px 40px 40px;
}
.category-header-inner {
  max-width: 800px;
}
.category-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 16px 0 12px;
}
.category-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 16px;
}
.category-count {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.category-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.category-featured:hover { background: var(--bg3); }

.category-featured-img {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.category-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.category-featured:hover .category-featured-img img {
  transform: scale(1.03);
}

.category-featured-text {
  padding: 40px;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.category-featured-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.category-featured-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.2;
}
.category-featured-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* PAGINATION */
.pagination {
  padding: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pagination a,
.pagination span {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.pagination a:hover { color: var(--text); border-color: var(--text-muted); }
.pagination .current { color: var(--text); border-color: var(--text); }

h1, h2, h3,
.hero h1,
.category-title,
.featured-title,
.category-featured-title,
.single-article h1,
.rubric-article-title,
.article-title,
.side-title,
.newsletter h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.logo-img {
  height: 28px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}
.logo-img:hover { opacity: 0.85; }

/* Im Light Mode bleibt das Orange, im Dark Mode aufhellen */
[data-theme="dark"] .logo-img {
  filter: brightness(1.1);
}
.single-article .article-body {
  overflow-wrap: break-word;
  word-break: break-word;
}
.article-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.hero-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 52px;
  }
  nav#main-nav {
    display: none;
  }
  nav#main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    z-index: 99;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    min-height: auto;
  }
  .hero-image {
    display: none;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .rubric-strip {
    grid-template-columns: 1fr;
  }
  .rubric-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .feed-grid {
    grid-template-columns: 1fr;
  }
  .featured-block {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .site-footer {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* ── ANZEIGEN ── */
.ad-leaderboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 40px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.ad-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.ad-placeholder {
  background: var(--bg3);
  border: 1px dashed var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-family: 'Syne', sans-serif;
}
.ad-placeholder-leaderboard {
  width: 728px;
  height: 90px;
  max-width: 100%;
}
.ad-placeholder-card {
  width: 100%;
  height: 200px;
}
.ad-card {
  cursor: default;
  position: relative;
}

@media (max-width: 768px) {
  .ad-leaderboard {
    padding: 16px 20px;
  }
  .ad-placeholder-leaderboard {
    width: 100%;
    height: 60px;
  }
}
/* ── KATEGORIE HEADER MIT MAGAZIN ── */
.cat-header-top {
  display: grid;
  grid-template-columns: 160px auto 1fr;
  gap: 32px;
  align-items: center;
}
.cat-header-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cat-mag-logo {
  width: 160px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.cat-mag-cover {
  height: 110px;
  width: auto;
  border-radius: 5px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: block;
  flex-shrink: 0;
}
.cat-header-divider {
  width: 1px;
  height: 100px;
  background: var(--border);
  flex-shrink: 0;
}
.cat-header-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-header-meta .category-count {
  margin-bottom: 0;
}
.cat-header-meta .category-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .cat-header-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cat-header-identity {
    flex-direction: row;
    align-items: flex-end;
  }
  .cat-mag-logo {
    width: 120px;
    max-height: 40px;
  }
  .cat-mag-cover {
    height: 80px;
  }
  .cat-header-divider {
    display: none;
  }
}
/* ── BUTTON VERBESSERUNGEN ── */
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.magazine-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  background: transparent;
  border: 1.5px solid currentColor;
  transition: background 0.25s, color 0.25s;
}
.magazine-btn:hover {
  color: #fff !important;
  background: currentColor;
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}
.featured-cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: width 0.25s;
}
.featured-main:hover .featured-cta::after {
  width: 100%;
}
/* ── HAMBURGER & MOBILE NAV ── */
.hamburger { display: none; }

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 101;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  nav#main-nav {
    display: none;
  }
  nav#main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    z-index: 99;
    gap: 16px;
  }
  .category-featured {
    grid-template-columns: 1fr;
  }
  .category-featured-text {
    padding: 24px 20px;
  }
  .category-header {
    padding: 32px 20px 28px;
  }
  .cat-header-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cat-header-identity {
    flex-direction: row;
    align-items: flex-end;
    gap: 16px;
  }
  .cat-mag-logo {
    width: 100px;
    max-height: 32px;
  }
  .cat-mag-cover {
    height: 70px;
  }
  .cat-header-divider {
    display: none;
  }
}
/* ── SINGLE ARTICLE BILDER UNKESCHNITT ── */
.single-article .article-body img {
  width: 100%;
  height: auto;
  aspect-ratio: unset;
  object-fit: unset;
  border-radius: 8px;
  margin: 1.5em 0;
}
.article-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: unset;
  object-fit: unset;
  border-radius: 12px;
  margin-bottom: 40px;
}
/* ── IN-CONTENT ANZEIGE ── */
.ad-incontent {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ad-placeholder-incontent {
  width: 100%;
  max-width: 680px;
  height: 120px;
}
