/* ============================================================
   de.nrw · Lokalnetzwerk Nordrhein-Westfalen — "Rhein & Ruhr Editorial"
   Warmes Papier + tiefe Tinte, pro Stadt eine Akzentfarbe.
   Display: Fraunces · Body/UI: Mulish · Signatur: numerierte № Kacheln.
   Stadt-agnostisch: nur der :root-Akzentblock wird pro Subdomain getauscht.
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 300 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
}

:root {
  /* Netzwerk-Chrome (konstant über alle Städte) */
  --slate: #16202b;
  --slate-deep: #0e161f;
  --slate-soft: #24323f;
  /* Papier & Tinte */
  --paper: #f5f1ea;
  --paper-card: #fffdf9;
  --paper-sink: #ece5da;
  --ink: #1b1a17;
  --ink-soft: #5c574d;
  --line: rgba(27, 26, 23, .12);
  --line-strong: rgba(27, 26, 23, .2);
  /* Stadt-Akzent — pro Subdomain hier getauscht: */
  --accent: #2c8290;
  --accent-deep: #1e5c66;
  --accent-tint: #e4f1f2;
  --accent-rgb: 44,130,144;
  --accent-light: #a3d4dc;
  --accent-mist: #aed0d4;
  /* Type & Layout */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--slate-deep); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.eyebrow {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  font-weight: 800; color: var(--accent-deep); margin: 0 0 14px;
}
.eyebrow--light { color: var(--accent-mist); }

/* ----------------------------------------------------------- network bar */
.netbar {
  background: var(--slate-deep); color: rgba(255,255,255,.72);
  font-size: .74rem; letter-spacing: .04em;
}
.netbar-inner { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 20px; }
.netbar a { color: rgba(255,255,255,.72); }
.netbar a:hover { color: #fff; }
.netbar-cities { display: flex; gap: 16px; overflow: hidden; }
.netbar-cities a { white-space: nowrap; }
.netbar-cities a.is-live::after { content: "•"; color: #4ac57e; margin-left: 5px; }
.netbar-tag { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ----------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 241, 234, .9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 10px; line-height: 1; }
.brand-mark { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); letter-spacing: -.01em; }
.brand-mark .dot { color: var(--accent); }
.brand-city {
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 800;
  color: var(--accent-deep); padding: 4px 9px; border: 1px solid var(--accent); border-radius: 100px;
}
.header-nav { display: flex; gap: 28px; }
.header-nav a {
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  color: var(--ink-soft); padding: 6px 0; position: relative;
}
.header-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .3s ease;
}
.header-nav a:hover, .header-nav a[aria-current] { color: var(--ink); }
.header-nav a:hover::after, .header-nav a[aria-current]::after { width: 100%; }
.header-cta {
  font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 100px;
  transition: background .25s ease;
}
.header-cta:hover { background: var(--accent); }
.nav-toggle { display: none; }

/* ----------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #0e161f 0%, #16202b 52%, #101d2b 100%);
  color: #f4efe6;
}
.hero-sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; opacity: .9; }
.hero-glow {
  position: absolute; top: -30%; right: -14%; width: 62%; height: 130%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.32), transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 88px 28px 150px; }
.hero .eyebrow { color: var(--accent-mist); }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: .96; font-weight: 500; margin: 0 0 24px; color: #f8f2e8;
  letter-spacing: -.022em; max-width: 16ch;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--accent-light); }
.hero-sub { max-width: 52ch; font-size: clamp(1.04rem, 1.7vw, 1.22rem); color: rgba(244,239,230,.84); margin: 0; }
.hero-search {
  margin-top: 38px; display: flex; gap: 10px; max-width: 560px; flex-wrap: wrap;
}
.hero-search input {
  flex: 1 1 260px; min-width: 0; font-family: var(--sans); font-size: 1rem;
  padding: 15px 20px; border: 0; border-radius: 100px; background: #fffdf9; color: var(--ink);
}
.hero-search input::placeholder { color: #9a938a; }
.hero-search button {
  font-family: var(--sans); font-weight: 800; font-size: .92rem; letter-spacing: .03em;
  padding: 15px 28px; border: 0; border-radius: 100px; background: var(--accent); color: #fff; cursor: pointer;
  transition: background .25s ease;
}
.hero-search button:hover { background: var(--accent-deep); }
.hero-stats { display: flex; align-items: center; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: #fff; line-height: 1; }
.hero-stat span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(244,239,230,.6); }

/* ----------------------------------------------------------- section frame */
.section { padding: 84px 0; }
.section--sink { background: var(--paper-sink); }
.section-head { max-width: 62ch; margin: 0 0 46px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.04; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 14px 0 0; }

/* ----------------------------------------------------------- category grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  position: relative; background: var(--paper-card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 22px 22px; overflow: hidden;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(27,26,23,.4); border-color: var(--line-strong); }
.cat-num {
  font-family: var(--serif); font-size: .78rem; font-weight: 600; color: var(--accent);
  letter-spacing: .04em;
}
.cat-ico { font-size: 1.7rem; line-height: 1; margin: 10px 0 14px; display: block; }
.cat h3 { font-size: 1.24rem; margin: 0 0 4px; }
.cat p { font-size: .86rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.cat-count { display: block; margin-top: 14px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.cat::after {
  content: "→"; position: absolute; top: 24px; right: 22px; font-size: 1.1rem; color: var(--accent);
  opacity: 0; transform: translateX(-6px); transition: opacity .28s ease, transform .28s ease;
}
.cat:hover::after { opacity: 1; transform: translateX(0); }

/* ----------------------------------------------------------- today / utility strip */
.today { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; }
.today-card {
  background: var(--slate); color: #f4efe6; border-radius: var(--r); padding: 34px 32px;
  position: relative; overflow: hidden;
}
.today-card .eyebrow { color: var(--accent-mist); }
.today-card h3 { color: #fff; font-size: 1.7rem; margin: 0 0 18px; }
.today-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.today-list li { display: flex; gap: 14px; align-items: baseline; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.today-list li:first-child { border-top: 0; padding-top: 0; }
.today-when { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-light); white-space: nowrap; min-width: 78px; }
.today-what { color: rgba(244,239,230,.9); font-size: .96rem; }
.notdienst {
  background: var(--accent-tint); border: 1px solid rgba(var(--accent-rgb),.22); border-radius: var(--r);
  padding: 30px 30px; display: flex; flex-direction: column;
}
.notdienst h3 { color: var(--accent-deep); font-size: 1.4rem; margin: 0 0 8px; }
.notdienst p { font-size: .92rem; color: var(--ink-soft); margin: 0 0 18px; }
.notdienst-row { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid rgba(var(--accent-rgb),.16); font-size: .94rem; }
.notdienst-row:first-of-type { border-top: 0; }
.notdienst-row b { font-weight: 800; }

/* ----------------------------------------------------------- answer-first (AEO) */
.answer {
  background: var(--paper-card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0; padding: 28px 30px; max-width: 74ch;
}
.answer .eyebrow { margin-bottom: 10px; }
.answer p { margin: 0; font-size: 1.14rem; line-height: 1.6; color: var(--ink); }
.answer p + p { margin-top: 12px; font-size: 1rem; color: var(--ink-soft); }

/* ----------------------------------------------------------- filter bar */
.filterbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 34px; }
.chip {
  font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  padding: 9px 17px; border-radius: 100px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink-soft); cursor: pointer; transition: all .2s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ----------------------------------------------------------- 7 Insider tier */
.insider-head { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; }
.insider-head .seal {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; flex: none;
}
.insider-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.insider-head p { margin: 2px 0 0; font-size: .9rem; color: var(--ink-soft); }

.insider-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ins-card {
  display: flex; gap: 18px; background: var(--paper-card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px; transition: box-shadow .26s ease, transform .26s ease, border-color .26s;
}
.ins-card:hover { box-shadow: 0 16px 36px -22px rgba(27,26,23,.4); transform: translateY(-3px); border-color: var(--line-strong); }
.ins-rank {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--accent);
  line-height: 1; min-width: 42px; letter-spacing: -.02em;
}
.ins-body { flex: 1; }
.ins-body h3 { font-size: 1.18rem; margin: 0 0 3px; }
.ins-meta { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin: 0 0 8px; }
.ins-body p { font-size: .9rem; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.5; }
.ins-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 5px; background: var(--paper-sink); color: var(--ink-soft); }
.tag--member { background: var(--accent); color: #fff; }
.tag--werbung { background: #e9dcc2; color: #7a6535; }

/* ----------------------------------------------------------- main list */
.list-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 22px; flex-wrap: wrap; gap: 12px; }
.list-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.list-head span { font-size: .84rem; color: var(--ink-soft); font-weight: 700; }
.rows { display: grid; gap: 12px; }
.row {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 20px; align-items: center;
  background: var(--paper-card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.row:hover { border-color: var(--line-strong); box-shadow: 0 10px 26px -20px rgba(27,26,23,.5); }
.row.is-pinned { border-color: rgba(var(--accent-rgb),.35); background: linear-gradient(0deg, var(--accent-tint), var(--paper-card) 60%); }
.row-num { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-soft); font-weight: 600; }
.row-main h3 { font-size: 1.08rem; margin: 0 0 3px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row-main p { font-size: .84rem; color: var(--ink-soft); margin: 0; }
.row-meta { text-align: right; font-size: .8rem; color: var(--ink-soft); }
.row-meta .stars { color: var(--accent); letter-spacing: .08em; font-size: .82rem; }
.row-cta { font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-deep); white-space: nowrap; }

/* embed placeholder note */
.embed-note {
  margin: 22px 0 0; padding: 14px 18px; border: 1px dashed var(--line-strong); border-radius: 10px;
  font-size: .8rem; color: var(--ink-soft); background: rgba(255,255,255,.4);
}
.embed-note code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82em; color: var(--accent-deep); }

/* ----------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; max-width: 80ch; }
.faq details {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 1.04rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; color: var(--accent); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--ink-soft); font-size: .98rem; }

/* ----------------------------------------------------------- CTA band */
.band {
  background: linear-gradient(160deg, var(--accent-deep), var(--accent)); color: #fff;
  border-radius: 20px; padding: 54px 48px; display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 30px; align-items: center;
}
.band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 10px; }
.band p { color: rgba(255,255,255,.9); margin: 0; font-size: 1.04rem; }
.band-cta { justify-self: end; }
.band-cta a {
  display: inline-block; background: #fff; color: var(--accent-deep); font-weight: 800;
  padding: 15px 30px; border-radius: 100px; font-size: .95rem; transition: transform .2s ease;
}
.band-cta a:hover { transform: translateY(-2px); }

/* ----------------------------------------------------------- footer */
.site-footer { background: var(--slate-deep); color: rgba(244,239,230,.66); padding: 66px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand .brand-mark { color: #fff; font-size: 1.6rem; }
.footer-brand p { font-size: .9rem; margin: 14px 0 0; max-width: 34ch; }
.footer-col h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-light); margin: 0 0 16px; font-family: var(--sans); font-weight: 800; }
.footer-col a { display: block; font-size: .9rem; padding: 5px 0; color: rgba(244,239,230,.66); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem;
}
.footer-bottom a { color: rgba(244,239,230,.66); }
.footer-bottom a:hover { color: #fff; }

/* ----------------------------------------------------------- whatsapp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ----------------------------------------------------------- breadcrumb */
.crumb { font-size: .78rem; color: var(--ink-soft); padding: 20px 0 0; letter-spacing: .02em; }
.crumb a:hover { color: var(--accent-deep); }
.crumb span { color: var(--accent-deep); font-weight: 700; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .today { grid-template-columns: 1fr; }
  .insider-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .band-cta { justify-self: start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .netbar-cities { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .header-nav { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 64px 20px 120px; }
  .row { grid-template-columns: 30px 1fr; }
  .row-meta { grid-column: 2; text-align: left; margin-top: 6px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .band { padding: 40px 28px; }
}
