/*
 * Kreativ.Schule — Aquarell-Design
 * ══════════════════════════════════════════════════════════════
 * Schriften : Inter (Text) + DM Mono (Labels/Kicker)
 *             → lokal in /fonts/, DSGVO-konform, kein Google CDN
 * Aquarell  : img/watercolor-bg.jpg → in site/img/ ablegen
 *             Ohne Bild: Gradient Rosa → Türkis → Lila als Fallback
 * Sidebar   : --sidebar-w (240px Desktop, 0 Mobile via @media)
 * WCAG 2.1 AA: Kontrast, Fokus, Touch-Targets, Skip-Link
 * ══════════════════════════════════════════════════════════════
 */

/* ── SCHRIFTEN (lokal, DSGVO-konform) ───────────────────────── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/inter-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/inter-900.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/dm-mono-500.woff2') format('woff2'); }

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --white:         #FFFFFF;
  --off:           #F7F7F5;
  --dark:          #0A0A0A;
  --mid:           #5a5a5a;       /* 7.0:1 auf Weiß — AA für Fließtext */
  --light:         #DEDEDE;
  --col:           1px solid #E0E0E0;
  --accent:        #9a5b6e;       /* 4.64:1 auf Weiß — AA ✓ */
  --accent-dark:   #7a3d52;       /* 7.2:1 auf Weiß — AAA ✓, für kleine Labels */
  --accent-light:  #f8edf1;
  --sidebar-w:     240px;
  --nav-h:         64px;
  --radius:        2px;
  --ease:          cubic-bezier(.4,0,.2,1);
  /* Aquarell: Bild oben, Gradient als Fallback */
  --wc: url('../img/watercolor-bg.webp') center / cover no-repeat,
        linear-gradient(135deg, #f5c0cc 0%, #9ed8ce 38%, #c4b0e6 72%, #f0c8d8 100%);
}

/* ── TYPOGRAFIE ─────────────────────────────────────────────── */
body {
  background: var(--white);
  color: var(--dark);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { line-height: 1.15; letter-spacing: -0.02em; }
p { line-height: 1.75; }
a { color: inherit; }

/* ── FOKUS (WCAG 2.1 SC 2.4.7) ────────────────────────────── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}
/* Fokus im dunklen Kontext (Topbar, Newsletter) */
.topbar :focus-visible { outline-color: var(--white); }
.newsletter :focus-visible { outline-color: var(--accent); outline-offset: 3px; }

/* ── SKIP LINK ───────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--dark);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.1s;
}
.skip-link:focus-visible {
  top: 0;
  outline-color: var(--accent);
}

/* ── TOPBAR ──────────────────────────────────────────────────── */
.topbar {
  background: linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.18)), var(--wc);
  color: #fff;
  padding: 0.55rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
html[data-theme="dark"] .topbar { background: #1a1a1a; }
.topbar p { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
html[data-theme="dark"] .topbar p { color: rgba(240,240,238,0.7); }
.topbar-social { display: flex; flex-direction: row; align-items: center; gap: 0.875rem; }
.topbar-icon { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.18s; line-height: 1; }
.topbar-icon:hover { color: #fff; }
.topbar-icon svg { width: 16px; height: 16px; flex-shrink: 0; display: block; }
html[data-theme="dark"] .topbar-icon { color: rgba(240,240,238,0.6); }
html[data-theme="dark"] .topbar-icon:hover { color: #F0F0EE; }

/* ── NAV ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 2px solid var(--dark);
}
.site-nav {
  display: grid;
  grid-template-columns: max-content 1fr auto;
  height: var(--nav-h);
}
.nav-logo-cell { display: flex; align-items: center; padding: 0 2rem; border-right: var(--col); }
.logo { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.04em; color: var(--dark); text-decoration: none; white-space: nowrap; }
.logo .dot { color: #8B0000; }
.nav-links { display: flex; align-items: stretch; list-style: none; }
.nav-links li { display: flex; }
.nav-links a {
  display: flex; align-items: center;
  padding: 0 1.5rem;
  text-decoration: none;
  font-size: 0.78rem; font-weight: 500;
  color: var(--mid);
  border-right: var(--col);
  letter-spacing: 0.01em;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  min-height: 44px; /* Touch-Target */
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--dark); background: var(--off); }
.nav-cta-cell { display: flex; align-items: center; padding: 0 2rem; border-left: var(--col); gap: 1rem; }
.nav-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  text-decoration: none;
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  min-height: 34px;
  display: flex; align-items: center;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(154,91,110,0.25);
}
.nav-cta:hover { background: var(--accent-dark); box-shadow: 0 3px 10px rgba(154,91,110,0.35); }

/* ── THEME TOGGLE ────────────────────────────────────────────── */
.theme-toggle {
  width: 34px; height: 34px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--mid);
  border-radius: 50%;
  transition: opacity 0.2s;
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle:hover { opacity: 0.55; }
.theme-toggle svg { width: 16px; height: 16px; pointer-events: none; }
/* Show moon in light mode (click → switch to dark) */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
/* Show sun in dark mode (click → switch to light) */
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-lang {
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-dark); text-decoration: none;
  background: var(--accent-light);
  border: 1.5px solid transparent;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  min-height: 34px;
  display: flex; align-items: center;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-lang:hover { border-color: var(--accent); background: #f0dde5; }

/* ── HAMBURGER (candy-box) ───────────────────────────────────── */
.nav-toggle {
  display: none; /* Sichtbar ab @media */
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 3px;
  align-content: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer; padding: 0;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 4px; height: 4px;
  background: var(--dark); border-radius: 50%;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute; width: 18px; height: 1.5px;
  background: var(--dark); top: 50%; left: 50%;
  border-radius: 1px; opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle::before { transform: translate(-50%,-50%) rotate(0deg); }
.nav-toggle::after  { transform: translate(-50%,-50%) rotate(0deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; transform: scale(0); }
.nav-toggle[aria-expanded="true"]::before { opacity: 1; transform: translate(-50%,-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after  { opacity: 1; transform: translate(-50%,-50%) rotate(-45deg); }

/* Mobile Nav Dropdown */
.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--light);
  background: var(--white);
}
.nav-mobile.open { display: flex; }
.nav-mobile ul, .sidebar-social ul { list-style: none; padding: 0; margin: 0; display: contents; }
.nav-mobile a {
  display: block; padding: 1rem 2rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--dark); text-decoration: none;
  border-bottom: var(--col);
  min-height: 44px; display: flex; align-items: center;
  transition: background 0.15s;
}
.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] { background: var(--off); color: var(--accent); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  border-bottom: 1px solid var(--light);
  min-height: 85vh;
}
.hero-sidebar {
  border-right: var(--col); padding: 3rem 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-sidebar .mono { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--mid); line-height: 1.8; }
.hero-sidebar .mono span { color: var(--accent-dark); }
.sidebar-social { display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-social a {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); text-decoration: none;
  transition: color 0.15s; min-height: 44px;
  display: flex; align-items: center;
}
.sidebar-social a:hover { color: var(--dark); }
.hero-main {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 4rem 3rem 3rem; position: relative; overflow: hidden;
}
.hero-wc-panel {
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  background: var(--wc); z-index: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-wc-content { padding: 3rem; color: var(--dark); z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.wc-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.6; margin-bottom: 1.25rem; display: block; }
.wc-cover { width: auto; max-width: 200px; max-height: 52vh; height: auto; display: block; margin-bottom: 1.25rem; box-shadow: 0 12px 40px rgba(0,0,0,0.28), 0 3px 10px rgba(0,0,0,0.14); border-radius: 2px; }
.wc-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1rem; }
.wc-sub { font-size: 0.78rem; opacity: 0.6; line-height: 1.6; margin-bottom: 1.5rem; }
.wc-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dark); text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.35); padding-bottom: 0.2rem;
  transition: border-color 0.15s;
}
.wc-link:hover { border-color: var(--dark); }
.hero-text-area { position: relative; z-index: 1; width: 55%; padding-right: 3rem; }
.hero-kicker { font-family: 'DM Mono', monospace; font-size: 0.62rem; color: var(--accent-dark); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(3rem, 6.5vw, 6.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 0.92; margin-bottom: 2rem; }
.hero h1 .light { font-weight: 300; color: var(--mid); }
.hero-desc { font-size: 0.9rem; line-height: 1.75; color: var(--mid); max-width: 45ch; margin-bottom: 2.5rem; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--dark); color: var(--white);
  text-decoration: none; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85rem 1.75rem; min-height: 44px;
  transition: background 0.15s;
  border: 2px solid var(--dark);
}
.hero-btn:hover { background: var(--accent); border-color: var(--accent); }

/* ── SECTION GEMEINSAM ───────────────────────────────────────── */
.section-header {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: var(--col);
  display: flex; justify-content: space-between; align-items: center;
}
.section-header a { font-size: 0.65rem; color: var(--accent-dark); text-decoration: none; font-weight: 700; letter-spacing: 0.08em; transition: opacity 0.15s; }
.section-header a:hover { opacity: 0.75; }
.article-cat { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: var(--accent-dark); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem; }

/* ── ARTIKEL-SEKTION (Featured) ──────────────────────────────── */
.articles-section {
  display: grid; grid-template-columns: var(--sidebar-w) 1fr;
  border-bottom: 1px solid var(--light);
}
.articles-sidebar { border-right: var(--col); padding: 3rem 2rem; }
.articles-sidebar h3 { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); margin-bottom: 2rem; }
.articles-sidebar-list { display: flex; flex-direction: column; }
.sidebar-article {
  padding: 1.25rem 0; border-bottom: var(--col);
  text-decoration: none; color: inherit; display: block;
}
.sidebar-article:first-child { border-top: var(--col); }
.sidebar-art-tag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 0.4rem; }
.sidebar-art-title { font-size: 0.82rem; font-weight: 500; line-height: 1.35; color: var(--dark); transition: color 0.15s; }
.sidebar-article:hover .sidebar-art-title { color: var(--accent); }
.articles-main { padding: 3rem; }
.main-articles-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.main-article-featured { padding-right: 2rem; border-right: var(--col); }
.main-article-featured h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1rem; }
.main-article-featured h2 a { color: inherit; text-decoration: none; transition: color 0.15s; }
.main-article-featured h2 a:hover { color: var(--accent); }
.main-article-featured > p { font-size: 0.88rem; line-height: 1.75; color: var(--mid); margin-bottom: 1.5rem; }
.article-read {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--dark); text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: 0.15rem;
  transition: color 0.15s;
}
.article-read:hover { color: var(--accent); }
.article-secondary { display: flex; flex-direction: column; gap: 1.5rem; }
.small-article { padding-bottom: 1.5rem; border-bottom: var(--col); }
.small-article:last-child { border-bottom: none; padding-bottom: 0; }
.small-article h3 { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 0.5rem; }
.small-article h3 a { color: inherit; text-decoration: none; transition: color 0.15s; }
.small-article h3 a:hover { color: var(--accent); }
.small-article > p { font-size: 0.78rem; color: var(--mid); line-height: 1.6; }

/* ── ARTIKEL-RASTER (3 Spalten) ──────────────────────────────── */
/*
 * NEUEN ARTIKEL HINZUFÜGEN:
 * <article class="article-tile"> Block kopieren.
 * Älteste Artikel nach unten schieben / entfernen.
 */
.grid-section { display: grid; grid-template-columns: var(--sidebar-w) 1fr; border-bottom: var(--col); }
.grid-sidebar { border-right: var(--col); padding: 3rem 2rem; }
.grid-sidebar .label { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: var(--mid); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.8; }
.grid-main { padding: 3rem; }
.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem 2rem; }
.article-tile { padding-bottom: 1.75rem; border-bottom: var(--col); }
.article-tile .article-cat { margin-bottom: 0.5rem; }
.article-tile h3 { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 0.5rem; }
.article-tile h3 a { color: inherit; text-decoration: none; transition: color 0.15s; }
.article-tile h3 a:hover { color: var(--accent); }
.article-tile > p { font-size: 0.78rem; color: var(--mid); line-height: 1.6; margin-bottom: 0.75rem; }
.article-meta { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: var(--mid); letter-spacing: 0.05em; }

/* ── PRODUKT-SEKTION ─────────────────────────────────────────── */
.product-section { display: grid; grid-template-columns: var(--sidebar-w) 1fr; border-bottom: var(--col); background: var(--accent-light); }
.product-sidebar { border-right: var(--col); padding: 3rem 2rem; }
.product-sidebar .label { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: var(--mid); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.8; }
.product-main { padding: 3rem; }
.product-card { display: grid; grid-template-columns: 140px 1fr; gap: 3rem; align-items: start; }
.product-cover { width: 140px; background: var(--wc); display: flex; align-items: flex-start; justify-content: center; flex-shrink: 0; }
.product-cover img { width: 140px; height: auto; display: block; }
.product-cover-text { font-family: 'DM Mono', monospace; font-size: 0.55rem; color: rgba(10,10,10,0.5); text-align: center; padding: 1rem; line-height: 1.5; }
.product-info .article-cat { margin-bottom: 0.75rem; }
.product-info h2 { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1rem; }
.product-info > p { font-size: 0.88rem; line-height: 1.75; color: var(--mid); max-width: 55ch; margin-bottom: 1.5rem; }
.product-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.product-tag { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.6rem; border: 1px solid var(--light); color: var(--mid); }
.product-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--dark); color: var(--white);
  text-decoration: none; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85rem 1.75rem; min-height: 44px;
  transition: background 0.15s;
  border: 2px solid var(--dark);
}
.product-btn:hover { background: var(--accent); border-color: var(--accent); }

/* ── ÜBER UNS ─────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: var(--sidebar-w) 1fr; border-bottom: var(--col); background: var(--off); }
.about-sidebar { border-right: var(--col); padding: 3rem 2rem; }
.about-sidebar .label { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: var(--mid); letter-spacing: 0.12em; text-transform: uppercase; }
.about-main { padding: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.about-text h2 { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 1.5rem; }
.about-text h2 .r { color: var(--accent); }
.about-text p { font-size: 0.88rem; line-height: 1.75; color: var(--mid); margin-bottom: 1rem; }
.about-stats { display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
.stat-row { display: flex; gap: 2rem; align-items: baseline; }
.stat-n { font-size: 3.5rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1; color: var(--dark); min-width: 5rem; }
.stat-l { font-size: 0.82rem; color: var(--mid); line-height: 1.4; }

/* ── NEWSLETTER ──────────────────────────────────────────────── */
.newsletter {
  display: grid; grid-template-columns: var(--sidebar-w) 1fr;
  background: #0f0f0f;
}
.newsletter-sidebar {
  border-right: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  display: flex; align-items: center; justify-content: center; padding: 3rem 2rem;
}
.newsletter-sidebar p {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.22); writing-mode: vertical-rl; transform: rotate(180deg);
}
.newsletter-main { padding: 4rem 3rem; }
.newsletter-main h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 1rem; color: #f5f5f3;
}
.newsletter-main > p { font-size: 0.88rem; color: rgba(245,245,243,0.55); line-height: 1.75; margin-bottom: 2rem; max-width: 55ch; }
/* Sichtbares Label für Screenreader und Sehende */
.nl-label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 0.5rem; color: rgba(245,245,243,0.6); }
.nl-form { display: flex; max-width: 480px; }
.nl-form input {
  flex: 1; padding: 0.9rem 1.25rem; min-height: 48px;
  border: 1.5px solid rgba(255,255,255,0.18); border-right: none;
  font-size: 0.88rem; color: #f5f5f3; outline: none;
  background: rgba(255,255,255,0.06);
  transition: border-color 0.15s;
}
.nl-form input::placeholder { color: rgba(245,245,243,0.28); }
.nl-form input:focus { border-color: var(--accent); }
.nl-form button {
  padding: 0.9rem 1.75rem; min-height: 48px;
  background: var(--accent); border: 1.5px solid var(--accent);
  color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, border-color 0.2s; white-space: nowrap;
}
.nl-form button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.nl-consent {
  margin-top: 0.9rem; font-size: 0.72rem; color: rgba(245,245,243,0.4);
  display: flex; align-items: flex-start; gap: 0.6rem;
  max-width: 480px; line-height: 1.6;
}
.nl-consent input[type="checkbox"] { margin-top: 0.2rem; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.nl-consent a { color: rgba(245,245,243,0.65); text-decoration: none; border-bottom: 1px solid rgba(245,245,243,0.25); }
.nl-consent a:hover { color: var(--accent); border-bottom-color: var(--accent); }
/* ── Toast notification ──────────────────────────────────────── */
.nl-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: #1c1c1e;
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: 0.625rem;
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.35s ease;
  white-space: nowrap;
  max-width: calc(100vw - 2rem);
  text-align: center;
}
.nl-toast.nl-toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.nl-toast.nl-toast-ok  { border-left: 4px solid #86efac; }
.nl-toast.nl-toast-err { border-left: 4px solid #fca5a5; }

/* ── Eduki product cards ─────────────────────────────────────── */
.eduki-section {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.75rem;
  background: var(--accent);
  border-radius: 8px;
}
.eduki-section-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.875rem;
}
.eduki-cards { display: flex; flex-direction: column; gap: 0.5rem; }
.eduki-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.eduki-card:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.eduki-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s var(--ease);
}
.eduki-card:hover .eduki-card-icon { background: rgba(255,255,255,0.3); }
.eduki-card-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.eduki-card-btn {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 0.3rem 0.875rem;
  border-radius: 2rem;
  flex-shrink: 0;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.eduki-card:hover .eduki-card-btn {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}
@media (max-width: 540px) {
  .eduki-card-btn { display: none; }
  .eduki-section { padding: 1.25rem; }
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer { border-top: 2px solid var(--dark); }
.site-footer .footer-inner { display: grid; grid-template-columns: var(--sidebar-w) 1fr; }
.f-logo-cell { border-right: var(--col); padding: 1.5rem 2rem; }
.f-logo { font-size: 0.9rem; font-weight: 900; letter-spacing: -0.03em; color: var(--dark); text-decoration: none; }
.f-logo .dot { color: #8B0000; }
.f-main { padding: 1.5rem 3rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.f-main p { font-size: 0.75rem; color: var(--mid); }
.f-nav { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.f-nav a { font-size: 0.75rem; color: var(--mid); text-decoration: none; transition: color 0.15s; min-height: 44px; display: inline-flex; align-items: center; }
.f-nav a:hover { color: var(--dark); }
.f-lang { font-size: 0.68rem !important; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent) !important; border-bottom: 1px solid var(--accent); padding-bottom: 0.1rem; transition: opacity 0.15s !important; }
.f-lang:hover { opacity: 0.7; color: var(--accent) !important; }
.f-main p a { color: var(--mid); text-decoration: none; border-bottom: 1px solid var(--border); transition: color 0.15s, border-color 0.15s; }
.f-main p a:hover { color: var(--dark); border-color: var(--dark); }

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb { padding: 1rem min(3.5rem, 5vw); border-bottom: var(--col); }
.breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; list-style: none; }
.breadcrumb li { display: flex; align-items: center; font-size: 0.7rem; color: var(--mid); }
.breadcrumb li:not(:last-child)::after { content: '→'; padding: 0 0.5rem; color: var(--light); font-size: 0.65rem; }
.breadcrumb a { color: var(--mid); text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li[aria-current="page"] { color: var(--dark); font-weight: 500; }

/* ── ARTIKEL-SEITE ───────────────────────────────────────────── */
.article-body { border-bottom: var(--col); }

/* HERO: Aquarell-Fallback (Artikel ohne Bild) */
.article-page-header {
  min-height: 420px;
  background: var(--wc);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 3rem min(4rem, 6vw) 2.5rem;
}
.article-page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(247,247,245,0.6) 55%,
    var(--off) 100%
  );
  pointer-events: none;
}

/* HERO: Foto-Version – Bild 100% sichtbar, Text darunter */
.article-page-header:has(.article-hero-img) {
  display: block;
  min-height: unset;
  padding: 0;
  background: var(--off);
  overflow: visible;
}
.article-page-header:has(.article-hero-img)::before { display: none; }

.article-hero-img {
  width: 100%; height: auto;
  display: block;
  border-bottom: 3px solid var(--dark);
}
.article-hero-text {
  padding: 2.5rem min(4rem, 6vw) 2rem;
  background: var(--white);
  border-bottom: var(--col);
}

/* Kicker, Titel, Meta — funktionieren in beiden Varianten */
.article-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; color: var(--accent-dark);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1rem; display: block;
  position: relative; z-index: 1;
}
.article-page-header h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.05;
  color: var(--dark);
  margin-bottom: 1rem; max-width: 22ch;
  position: relative; z-index: 1;
}
.article-subtitle {
  font-size: 1.05rem; line-height: 1.65; color: var(--mid);
  max-width: 52ch; margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.article-page-header .article-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem; color: var(--mid); letter-spacing: 0.05em;
  position: relative; z-index: 1;
}

/* INHALT: Editorial-Breite, zentriert */
.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 4rem;
}
/* Aquarell-Schmuckstreifen direkt unter dem Hero */
.article-content::before {
  content: '';
  display: block;
  height: 5px;
  background: var(--wc);
  margin-bottom: 3rem;
  border-radius: 1px;
}
/* Drop Cap für den ersten Absatz */
.article-content > p:first-of-type::first-letter {
  float: left;
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 0.8;
  padding: 0.05em 0.14em 0.05em 0;
  color: var(--accent-dark);
}
.article-content h2 {
  font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.2;
  margin: 3rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}
.article-content h3 { font-size: 1.1rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.article-content p { font-size: 1rem; line-height: 1.85; color: var(--mid); margin-bottom: 1.4rem; }
.article-content p:last-child { margin-bottom: 0; }
.article-content strong { color: var(--dark); font-weight: 600; }
.article-content a { color: var(--accent-dark); text-decoration: none; border-bottom: 1px solid currentColor; transition: opacity 0.15s; }
.article-content a:hover { opacity: 0.75; }
/* Listen mit Akzent-Dashes */
.article-content ul, .article-content ol { padding-left: 0; margin-bottom: 1.4rem; list-style: none; }
.article-content li { font-size: 1rem; line-height: 1.75; color: var(--mid); margin-bottom: 0.65rem; padding-left: 1.5rem; position: relative; }
.article-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.article-content ol { counter-reset: ol-list; }
.article-content ol li::before { content: counter(ol-list) '.'; counter-increment: ol-list; position: absolute; left: 0; color: var(--accent-dark); font-size: 0.75rem; font-weight: 700; font-family: 'DM Mono', monospace; top: 0.15em; }
/* Blockquote */
.article-content blockquote { margin: 2.5rem 0; padding: 1.75rem 2rem 1.75rem 2.5rem; background: var(--accent-light); border-left: 4px solid var(--accent); position: relative; }
.article-content blockquote::before { content: '\201C'; position: absolute; top: -0.5rem; left: 1.25rem; font-size: 5rem; font-weight: 900; line-height: 1; color: var(--accent); opacity: 0.2; pointer-events: none; }
.article-content blockquote p { font-size: 1.1rem; font-style: italic; line-height: 1.7; color: var(--dark); margin: 0; }
.article-content hr { border: none; height: 1px; background: var(--light); margin: 3rem 0; }

/* FOOTER */
.article-footer { padding: 1.5rem min(4rem, 6vw); background: var(--off); border-top: var(--col); }
.article-category-tag { font-family: 'DM Mono', monospace; font-size: 0.62rem; color: var(--mid); letter-spacing: 0.05em; }
.article-category-tag a { color: var(--accent-dark); text-decoration: none; border-bottom: 1px solid currentColor; transition: opacity 0.15s; }
.article-category-tag a:hover { opacity: 0.75; }

/* ── RELATED ARTICLES ────────────────────────────────────────── */
.related-articles { padding: 3rem min(4rem, 6vw); background: var(--off); border-top: var(--col); }
.related-articles > h2 { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--dark); }
/* Karten-Grid für verwandte Artikel */
.related-articles .archive-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.related-articles .archive-item { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.25rem 1.5rem; border: var(--col); background: var(--white); transition: border-color 0.15s, box-shadow 0.15s; }
.related-articles .archive-item:first-child { border-top: var(--col); }
.related-articles .archive-item:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(154,91,110,0.08); }
.related-articles .archive-title { font-size: 0.9rem; font-weight: 600; line-height: 1.35; color: var(--dark); }
.related-articles .archive-item:hover .archive-title { color: var(--accent); }
.related-articles .archive-time { margin-top: auto; padding-top: 0.5rem; }
.btn-outline { display: inline-flex; align-items: center; margin-top: 1.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark); text-decoration: none; border: 2px solid var(--dark); padding: 0.65rem 1.25rem; min-height: 44px; transition: background 0.15s, color 0.15s; }
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* ── ARCHIV-SEITE ────────────────────────────────────────────── */
.archive-section { display: grid; grid-template-columns: var(--sidebar-w) 1fr; border-bottom: var(--col); }
.archive-sidebar { border-right: var(--col); padding: 3rem 2rem; position: sticky; top: calc(var(--nav-h) + 2px); align-self: start; }
.archive-sidebar h3 { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); margin-bottom: 1.5rem; }
.archive-cat-list { display: flex; flex-direction: column; gap: 0.25rem; }
.archive-cat-link { font-size: 0.8rem; color: var(--mid); text-decoration: none; padding: 0.4rem 0; transition: color 0.15s; display: flex; justify-content: space-between; align-items: center; }
.archive-cat-link:hover, .archive-cat-link[aria-current="true"] { color: var(--accent-dark); }
.archive-cat-count { font-family: 'DM Mono', monospace; font-size: 0.6rem; }
.archive-main { padding: 3rem; }
.archive-group { margin-bottom: 3rem; }
.archive-group-heading { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mid); padding-bottom: 0.75rem; border-bottom: 2px solid var(--dark); margin-bottom: 1.5rem; }
.archive-list { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; }
.archive-item {
  display: grid; grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1.5rem; row-gap: 0.35rem;
  align-items: baseline;
  padding: 1rem 0; border-bottom: var(--col);
  text-decoration: none; color: inherit;
}
.archive-item:first-child { border-top: var(--col); }
.archive-item-cat,
.archive-cat { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.archive-item-title,
.archive-title { font-size: 0.9rem; font-weight: 500; line-height: 1.35; color: var(--dark); text-decoration: none; transition: color 0.15s; }
.archive-item:hover .archive-item-title,
.archive-item:hover .archive-title { color: var(--accent); }
.archive-item-meta,
.archive-time { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: var(--mid); white-space: nowrap; }
.archive-item-excerpt { grid-column: 1 / -1; font-size: 0.8rem; color: var(--mid); line-height: 1.55; }

/* ── RECHTLICHE SEITEN ───────────────────────────────────────── */
.legal-wrap { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 60vh; }
.legal-sidebar { border-right: var(--col); padding: 3rem 2rem; }
.legal-sidebar .label { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: var(--mid); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.8; }
.legal-main { padding: 3rem 4rem; max-width: 760px; }
.legal-main h1 { font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--dark); }
.legal-main h2 { font-size: 1rem; font-weight: 700; margin: 2.5rem 0 0.75rem; }
.legal-main p { font-size: 0.88rem; line-height: 1.75; color: var(--mid); margin-bottom: 1rem; }
.legal-main a { color: var(--accent-dark); text-decoration: none; border-bottom: 1px solid currentColor; }
.legal-main ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-main ul li { font-size: 0.88rem; line-height: 1.75; color: var(--mid); margin-bottom: 0.25rem; }
.legal-main address { font-style: normal; }

/* ── HERO-PAGE (für Seiten ohne echten Hero) ─────────────────── */
.page-header {
  display: grid; grid-template-columns: var(--sidebar-w) 1fr;
  border-bottom: var(--col); background: var(--off);
}
.page-header-sidebar { border-right: var(--col); padding: 3rem 2rem; }
.page-header-main { padding: 3rem; }
.page-header-main h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 1rem; }
.page-header-main > p { font-size: 0.95rem; line-height: 1.7; color: var(--mid); max-width: 55ch; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  :root { --sidebar-w: 0px; --nav-h: 56px; }

  /* Nav — explizite Spalten-Platzierung, kein Overflow */
  .site-header { border-bottom: none; box-shadow: 0 1px 0 var(--light); }
  .site-nav { grid-template-columns: 1fr auto; height: var(--nav-h); align-items: center; position: relative; }
  .nav-logo-cell { grid-column: 1; grid-row: 1; border-right: none; padding: 0 0 0 1rem; position: static; transform: none; }
  .nav-links { display: none; }
  .nav-cta-cell { grid-column: 2; grid-row: 1; padding: 0 0.5rem; border-left: none; gap: 0.25rem; }
  .nav-lang { display: none; }   /* Im Mobile-Menü vorhanden – hier redundant */
  .nav-cta { display: none; }
  .theme-toggle { display: flex; }
  .nav-toggle { display: grid; }

  /* Topbar */
  .topbar { padding: 0.5rem 1.5rem; }
  .topbar-social { display: none; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-sidebar { display: none; }
  .hero-main { padding: 2.5rem 1.5rem; min-height: 60vw; }
  .hero-wc-panel { width: 40%; }
  .hero-text-area { width: 58%; padding-right: 0; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); margin-bottom: 1.5rem; }
  .hero-desc { font-size: 0.85rem; max-width: 30ch; }

  /* Sections */
  .articles-section,
  .grid-section,
  .product-section,
  .about,
  .newsletter,
  .archive-section,
  .page-header,
  .legal-wrap { grid-template-columns: 1fr; }

  .articles-sidebar,
  .grid-sidebar,
  .product-sidebar,
  .about-sidebar,
  .newsletter-sidebar,
  .archive-sidebar,
  .legal-sidebar,
  .page-header-sidebar { display: none; }

  /* Borders */
  .articles-sidebar,
  .grid-sidebar,
  .product-sidebar,
  .about-sidebar { border-right: none; }

  /* Article grid */
  .main-articles-grid { grid-template-columns: 1fr; gap: 2rem; }
  .main-article-featured { padding-right: 0; border-right: none; border-bottom: var(--col); padding-bottom: 2rem; }
  .main-article-featured h2 { font-size: 1.5rem; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Product */
  .product-card { grid-template-columns: 1fr; }
  .product-cover { width: 160px; margin: 0 auto 1.5rem; }
  .product-cover img { width: 160px; }

  /* About */
  .about-main { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .about-text h2 { font-size: 2rem; }

  /* Paddings */
  .articles-main,
  .grid-main,
  .product-main,
  .newsletter-main,
  .archive-main,
  .legal-main,
  .page-header-main { padding: 2rem; }

  /* Artikel-Hero & Content mobile */
  .article-page-header:not(:has(.article-hero-img)) { min-height: 280px; padding: 2rem 1.5rem; }
  .article-hero-text { padding: 1.5rem 1.25rem 1.25rem; }
  .article-content { padding: 2.5rem 1.5rem; }
  .article-content > p:first-of-type::first-letter { font-size: 3rem; }
  .related-articles { padding: 2rem 1.5rem; }
  .related-articles .archive-list { grid-template-columns: 1fr; }

  /* Footer */
  .site-footer .footer-inner { grid-template-columns: 1fr; }
  .f-logo-cell { border-right: none; border-bottom: var(--col); }
  .f-main { padding: 1.5rem 2rem; flex-direction: column; align-items: flex-start; }

  /* Archive */
  .archive-sidebar { position: static; }
}

@media (max-width: 560px) {
  /* Hero: watercolor panel als schmaler Streifen über dem Text */
  .hero-main { display: flex; flex-direction: column; min-height: auto; padding: 0 0 2.5rem; }
  .hero-wc-panel { position: static; width: 100%; height: auto; order: -1; }
  .hero-wc-content { flex-direction: row; padding: 1rem 1.5rem; gap: 1rem; text-align: left; }
  .wc-cover { max-height: 90px; max-width: 62px; margin-bottom: 0; flex-shrink: 0; }
  .wc-sub { display: none; }
  .hero-text-area { width: 100%; padding: 2rem 1.5rem 0; }

  .article-grid,
  .related-grid { grid-template-columns: 1fr; }

  .nl-form { flex-direction: column; max-width: 100%; }
  .nl-form input { border-right: 1.5px solid rgba(255,255,255,0.18); border-bottom: none; width: 100%; }
  .nl-form button { width: 100%; justify-content: center; }

  .main-article-featured h2 { font-size: 1.3rem; }
  .article-page-hero h1 { font-size: 1.6rem; }
}

/* ── PREFERS REDUCED MOTION ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── DARK MODE ───────────────────────────────────────────────── */
/*
 * Zwei Mechanismen:
 * 1. html[data-theme="dark"]  → manueller Toggle (JS setzt Attribut)
 * 2. @media prefers-color-scheme: dark → no-JS-Fallback (System-Präferenz)
 *    → greift nur wenn kein manuelles "light" gesetzt wurde
 */
html[data-theme="dark"] {
  --white:        #111111;
  --off:          #181818;
  --dark:         #F0F0EE;
  --mid:          #9a9a9a;
  --light:        #2a2a2a;
  --col:          1px solid #2a2a2a;
  --accent:       #d4899b;   /* heller als #9a5b6e → 7.2:1 auf #111 ✓ */
  --accent-dark:  #e8aab8;   /* für kleine Labels, Kicker */
  --accent-light: #2a1a20;
}
html[data-theme="dark"] .site-header { background: #111111; }
html[data-theme="dark"] nav { background: #111111; }
html[data-theme="dark"] .article-page-header:not(:has(.article-hero-img))::before { background: linear-gradient(to bottom, transparent 0%, rgba(24,24,24,0.6) 55%, #181818 100%); }
html[data-theme="dark"] .related-articles .archive-item { background: #181818; }
html[data-theme="dark"] .nav-toggle span { background: var(--dark); }
html[data-theme="dark"] .nav-toggle::before,
html[data-theme="dark"] .nav-toggle::after { background: var(--dark); }
html[data-theme="dark"] .hero-btn,
html[data-theme="dark"] .product-btn { color: #111111; }
html[data-theme="dark"] .hero-btn:hover,
html[data-theme="dark"] .product-btn:hover { color: var(--white); }
/* Aquarell-Panel: Bild ist immer hell → Text immer dunkel halten */
html[data-theme="dark"] .hero-wc-content { color: #1a1a1a; }
html[data-theme="dark"] .wc-link { color: #1a1a1a; border-color: rgba(0,0,0,0.5); }
html[data-theme="dark"] .wc-link:hover { background: #1a1a1a; color: #F0F0EE; border-color: #1a1a1a; }
/* Newsletter bleibt immer dunkel – kein Override nötig */

/* No-JS-Fallback: System-Dark-Präferenz (ignoriert wenn "light" manuell gesetzt) */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --white:        #111111;
    --off:          #181818;
    --dark:         #F0F0EE;
    --mid:          #9a9a9a;
    --light:        #2a2a2a;
    --col:          1px solid #2a2a2a;
    --accent:       #d4899b;
    --accent-dark:  #e8aab8;
    --accent-light: #2a1a20;
  }
  html:not([data-theme="light"]) .topbar { background: #1a1a1a; color: #fff; }
  html:not([data-theme="light"]) .site-header { background: #111111; }
  html:not([data-theme="light"]) nav { background: #111111; }
  html:not([data-theme="light"]) .article-page-header:not(:has(.article-hero-img))::before { background: linear-gradient(to bottom, transparent 0%, rgba(24,24,24,0.6) 55%, #181818 100%); }
  html:not([data-theme="light"]) .related-articles .archive-item { background: #181818; }
  html:not([data-theme="light"]) .nav-toggle span { background: var(--dark); }
  html:not([data-theme="light"]) .nav-toggle::before,
  html:not([data-theme="light"]) .nav-toggle::after { background: var(--dark); }
  html:not([data-theme="light"]) .hero-btn,
  html:not([data-theme="light"]) .product-btn { color: #111111; }
  html:not([data-theme="light"]) .hero-btn:hover,
  html:not([data-theme="light"]) .product-btn:hover { color: var(--white); }
  html:not([data-theme="light"]) .hero-wc-content { color: #1a1a1a; }
  html:not([data-theme="light"]) .wc-link { color: #1a1a1a; border-color: rgba(0,0,0,0.5); }
  html:not([data-theme="light"]) .wc-link:hover { background: #1a1a1a; color: #F0F0EE; border-color: #1a1a1a; }
}

/* ── PRINT ───────────────────────────────────────────────────── */
@media print {
  .topbar, .site-header, .newsletter, .site-footer,
  .nav-toggle, .skip-link { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .article-content { padding: 0; max-width: 100%; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
}
