/* ==========================================================================
   EDITORIAL LAYER — Hanseatisches Kontor / Zeitungs-Editorial
   Appended after style.css. Only NEW components. Reuses existing --tokens.
   Squared corners, hairline gold/red rules, framed parchment panels.
   No gradients, no pills, no soft drop-shadows.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hairline rules
   -------------------------------------------------------------------------- */
.rule { border: none; border-top: 1px solid var(--line-strong); margin: 2.2em 0; }
.rule--dbl { border: none; border-top: 3px solid var(--gold); position: relative; margin: 2.4em 0; }
.rule--dbl::after { content: ""; display: block; border-top: 1px solid var(--line-strong); margin-top: 3px; }

/* --------------------------------------------------------------------------
   1. Masthead — centered newspaper masthead band
   -------------------------------------------------------------------------- */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); padding: 30px 24px 26px; text-align: center; }
.masthead > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.masthead__rule { border: none; border-top: 3px solid var(--gold); position: relative; height: 4px; margin: 0 auto; }
.masthead__rule::after { content: ""; display: block; border-top: 1px solid var(--line-strong); margin-top: 3px; }
.masthead__name { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: clamp(2rem, 5.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.01em; margin: 0.5em auto 0.28em; }
.masthead__tag { display: block; font-family: var(--sans); font-weight: 700; font-size: clamp(0.72rem, 1.3vw, 0.86rem); text-transform: uppercase; letter-spacing: 0.22em; color: var(--red); margin: 0 auto 1.1em; }
.masthead__line { display: flex; justify-content: space-between; align-items: center; gap: 1em; max-width: var(--container); margin: 1.1em auto 0; padding-top: 0.85em; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 0.86rem; }
.masthead__line > * { padding: 0 0.2em; }
.masthead__line .masthead__status { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.masthead__line a { color: var(--red); font-weight: 700; font-family: var(--serif); font-size: 1.04rem; letter-spacing: 0; }
.masthead__line a:hover { text-decoration: none; color: var(--red-deep); }

/* --------------------------------------------------------------------------
   2. Lead — front-page lead feature
   -------------------------------------------------------------------------- */
.lead { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.lead__main { min-width: 0; }
.lead__title { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.14; letter-spacing: -0.01em; margin: 0 0 0.6em; max-width: 22ch; }
.lead__body { font-family: var(--serif); font-size: 1.04rem; line-height: 1.72; color: var(--text); text-align: justify; hyphens: auto; }
.lead__body p { margin: 0 0 1.05em; }
.lead__body p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .lead__body { column-count: 2; column-gap: 36px; column-rule: 1px solid var(--line); }
}
.dropcap::first-letter { font-family: var(--serif); font-weight: 700; color: var(--red); float: left; font-size: 3.4em; line-height: 0.82; padding: 0.04em 0.1em 0 0; margin: 0.02em 0.02em 0 0; }
.lead__aside { min-width: 0; }

/* --------------------------------------------------------------------------
   Kontor — framed soforthilfe box
   -------------------------------------------------------------------------- */
.kontor { background: var(--cream); border: 1px solid var(--line-strong); border-top: 4px solid var(--gold); padding: 26px 24px 24px; position: relative; }
.kontor::before { content: ""; position: absolute; inset: 4px 4px 4px 4px; border: 1px solid var(--line); pointer-events: none; }
.kontor > * { position: relative; }
.kontor__title { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.4rem; margin: 0 0 0.2em; padding-bottom: 0.5em; border-bottom: 1px solid var(--line); }
.kontor .btn, .kontor .btn--accent { width: 100%; justify-content: center; margin: 0.9em 0 0.2em; }
.kontor .checklist { margin: 1.1em 0 1em; }
.kontor__link { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 0.94rem; color: var(--red); border-bottom: 1px solid var(--gold-soft); padding-bottom: 1px; }
.kontor__link:hover { text-decoration: none; color: var(--red-deep); border-bottom-color: var(--red); }

/* Kontor banner — full-width closing CTA band */
.kontor--banner { background: var(--paper); border: none; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); padding: 52px 24px; text-align: center; }
.kontor--banner::before { content: none; }
.kontor--banner > * { position: static; max-width: var(--container-narrow); margin-left: auto; margin-right: auto; }
.kontor--banner .kontor__rule { border: none; border-top: 1px solid var(--line-strong); max-width: 220px; margin: 0 auto 1.6em; }
.kontor--banner h2 { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.5em; }
.kontor--banner p { color: var(--text); font-size: 1.06rem; max-width: 60ch; margin: 0 auto 1.5em; }
.kontor--banner .btn--accent { display: inline-flex; }
.kontor--banner__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.kontor--banner__actions a:not(.btn) { font-family: var(--serif); font-weight: 700; color: var(--red); border-bottom: 1px solid var(--gold-soft); padding-bottom: 1px; }
.kontor--banner__actions a:not(.btn):hover { text-decoration: none; color: var(--red-deep); border-bottom-color: var(--red); }

/* --------------------------------------------------------------------------
   3. Ressorts — services as a printed register
   -------------------------------------------------------------------------- */
.ressorts { border-top: 1px solid var(--line-strong); margin: 1.4em 0 0; }
@media (min-width: 800px) {
  .ressorts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; }
  .ressorts .ressort:nth-child(2) { border-top: none; }
}
.ressort { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title link" "desc link"; column-gap: 18px; align-items: baseline; padding: 16px 0 15px; border-top: 1px solid var(--line); }
.ressort:first-child { border-top: none; }
.ressort__title { grid-area: title; font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.12rem; line-height: 1.25; margin: 0; }
.ressort__title a { color: var(--ink); }
.ressort__title a:hover { color: var(--red); text-decoration: none; }
.ressort__desc { grid-area: desc; font-family: var(--sans); color: var(--muted); font-size: 0.92rem; line-height: 1.5; margin: 0.25em 0 0; }
.ressort__link { grid-area: link; align-self: center; font-family: var(--sans); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); white-space: nowrap; }
.ressort__link::after { content: " \203A"; }
.ressort__link:hover { text-decoration: none; color: var(--red-deep); }

/* --------------------------------------------------------------------------
   4. Verzeichnis — Stadtteil index/register
   -------------------------------------------------------------------------- */
.verzeichnis__heading { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.08rem; text-transform: none; letter-spacing: 0; margin: 0 0 0.6em; padding-bottom: 0.4em; border-bottom: 1px solid var(--line-strong); }
.verzeichnis { list-style: none; margin: 1.2em 0 0; padding: 0; column-count: 4; column-gap: 36px; border-top: 3px solid var(--gold); padding-top: 1.1em; }
.verzeichnis li { break-inside: avoid; margin: 0 0 0.55em; }
.verzeichnis a { display: flex; align-items: baseline; gap: 0.4em; font-family: var(--serif); font-size: 0.98rem; color: var(--ink); text-decoration: none; }
.verzeichnis a::before { content: ""; flex: none; width: 0.42em; height: 0.42em; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg) translateY(-0.12em); }
.verzeichnis a:hover { color: var(--red); text-decoration: none; }
.verzeichnis a:hover::before { border-color: var(--red); }
.verzeichnis__note { font-family: var(--sans); font-size: 0.92rem; color: var(--muted); margin: 1.2em 0 0; padding-top: 1em; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   5. Pullquote — large centered serif quote, gold rules top & bottom
   -------------------------------------------------------------------------- */
.pullquote { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink); font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.4; text-align: center; max-width: 30ch; margin: 0 auto; padding: 1.1em 0 1.05em; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.pullquote cite { display: block; font-style: normal; font-family: var(--sans); font-weight: 700; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red); margin-top: 0.9em; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .masthead { padding: 22px 16px 20px; }
  .masthead__name { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .masthead__tag { letter-spacing: 0.16em; }
  .masthead__line { flex-direction: column; gap: 0.5em; align-items: center; text-align: center; }

  .lead { grid-template-columns: 1fr; gap: 28px; }
  .lead__body { column-count: 1; column-rule: none; }
  .lead__title { max-width: none; }

  .ressorts { grid-template-columns: 1fr; }
  .ressort { column-gap: 12px; }

  .verzeichnis { column-count: 2; column-gap: 22px; }

  .kontor--banner { padding: 40px 18px; }
}

/* ==========================================================================
   SITE-WIDE / INNER-PAGE OVERRIDES
   --------------------------------------------------------------------------
   Brings the shared inner-page components (services + districts) into line
   with the light, Hanseatic newspaper-editorial homepage. The base style.css
   ships a DARK .hero (var(--ink)) plus dark .section--dark / .cta-banner
   slabs that clash with the parchment masthead look. These overrides flip
   them to light, framed, squared, serif-consistent panels.
   STRICT traditional: no gradients, no border-radius > 3px, no pills,
   no soft drop-shadows. Reuses existing --tokens only. Appended — nothing
   above is removed or duplicated.
   ========================================================================== */

/* --------------------------------------------------------------------------
   (a) HERO — light parchment editorial header with a double gold rule
   -------------------------------------------------------------------------- */
.hero {
  background: var(--paper);
  color: var(--text);
  /* double rule: 3px gold over 1px line-strong (see ::after below) */
  border-bottom: 3px solid var(--gold);
  box-shadow: none; /* kill any dark-only glow */
}
.hero::after {
  content: "";
  display: block;
  border-top: 1px solid var(--line-strong);
}
.hero__inner { position: relative; }

.hero__kicker {
  font-family: var(--sans);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-bottom: 1px solid var(--line-strong);
}
.hero__title {
  font-family: var(--serif);
  color: var(--ink);
}
.hero__lead { color: var(--text); }

/* USP row → dark text, red check-marks on the light background */
.hero__usps li { color: var(--ink); }
.hero__usps li::before { background-color: var(--red); }

/* Ghost button must read as dark on parchment */
.hero .btn--ghost { color: var(--ink); border-color: var(--line-strong); }
.hero .btn--ghost:hover { background: rgba(36,30,24,0.05); border-color: var(--gold); }

/* Trust chips inside the hero: framed cream, not translucent-on-dark */
.hero .chip {
  background: var(--cream);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.hero .chip .ico { color: var(--red); }

/* --------------------------------------------------------------------------
   (b) CARDS — keep flat & framed: squared, gold top rule, hairline border,
   NO soft drop-shadow (base already does this; lock radius <= 2px).
   -------------------------------------------------------------------------- */
.card {
  border-radius: var(--radius); /* 2px */
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   (c) CTA-BANNER — reframe the dark red slab as a parchment "Kontor" band
   with double gold rules top & bottom, squared.
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--paper);
  color: var(--text);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  position: relative;
  box-shadow: none;
}
/* inner hairlines complete the double rule top & bottom */
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 0;
  border-top: 1px solid var(--line-strong);
}
.cta-banner::before { top: 3px; }
.cta-banner::after  { bottom: 3px; }
.cta-banner__inner { position: relative; text-align: center; }
.cta-banner h2 { color: var(--ink); font-family: var(--serif); }
.cta-banner p  { color: var(--text); }
.cta-banner .hero__ctas { justify-content: center; }
/* primary CTA back to brick-red ink-on-light; ghost reads dark */
.cta-banner .btn--accent { background: var(--red); color: #f7efe0; border-color: var(--red); }
.cta-banner .btn--accent:hover { background: var(--red-dark); border-color: var(--red-dark); }
.cta-banner .btn--ghost { color: var(--ink); border-color: var(--line-strong); }
.cta-banner .btn--ghost:hover { background: rgba(36,30,24,0.05); border-color: var(--gold); }

/* --------------------------------------------------------------------------
   (d) SECTION--DARK — turn the dark inner band into an alt parchment band
   framed with double gold rules, so it harmonises with the masthead.
   -------------------------------------------------------------------------- */
.section--dark {
  background: var(--cream);
  color: var(--text);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.section--dark h2, .section--dark h3, .section--dark strong { color: var(--ink); }
.section--dark a { color: var(--red); }
.section--dark .section__kicker { color: var(--red); }
.section--dark .section__lead { color: var(--muted); }
.section--dark .card,
.section--dark .step,
.section--dark .stat {
  background: var(--paper);
  border-color: var(--line-strong);
}
.section--dark .stat { border-bottom-color: var(--red); }
.section--dark .stat__num { color: var(--red); }
.section--dark .stat__label { color: var(--muted); }
.section--dark .chip {
  background: var(--cream);
  border-color: var(--line-strong);
  color: var(--ink);
}
.section--dark .badge {
  background: var(--paper-2);
  border-color: var(--line-strong);
  color: var(--ink);
}
.section--dark .prices th, .section--dark .table th { background: var(--ink); }

/* --------------------------------------------------------------------------
   Squared, framed, serif-consistent: faq / quote / notice / split / stats /
   step. Lock radius to <= 2px and ensure no soft shadows creep in.
   -------------------------------------------------------------------------- */
.faq__item,
.quote,
.notice,
.step,
.stat,
.card {
  border-radius: var(--radius);
  box-shadow: none;
}
.faq__item summary,
.faq__item[open] summary,
.quote p,
.step__title {
  font-family: var(--serif);
}
/* split halves stay flush & framed */
.split__aside .card,
.split__aside .notice { box-shadow: none; }

/* Tables: keep the ink header band squared (it reads as a print rule) */
.prices, .table, .hours { border-radius: 0; }

/* Breadcrumbs already parchment in base; ensure the active crumb is ink */
.breadcrumbs__current { color: var(--ink); }
/* ===== END SITE-WIDE / INNER-PAGE OVERRIDES ============================== */
