.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow { max-width: 820px; }

main { display: block; }

/* ---------- Seiten-Einstieg ---------- */

.hero { padding-top: 56px; }

.hero h1 {
  margin: 8px 0 0;
  max-width: 760px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 14px 0 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted-2);
}

.page-head { padding-top: 56px; }

.page-head h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -0.03em;
}

.page-head__meta { margin: 10px 0 0; font-size: 16px; color: var(--muted); }

/* ---------- Karten-Fläche ---------- */

.card {
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--line-page);
}

.panel {
  margin-top: 32px;
  padding: 32px 36px;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--line-page);
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 17px;
  line-height: 1.6;
}

.panel p { max-width: 68ch; }

.panel section > h2 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.panel section > p { margin: 0; }

.panel--prose section > h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.panel--prose { line-height: 1.65; }
.panel--prose p { color: var(--ink-2); }

.legal-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

.toc {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--r-xl);
  background: var(--accent-soft-2);
  border: 1px solid #d3dceb;
}

.toc__list {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px 24px;
  font-size: 15px;
}

.toc__list a { font-weight: 600; }

/* ---------- Blog ---------- */

.featured {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--line-page);
  overflow: hidden;
  box-shadow: var(--sh-raised);
}

.featured__media {
  flex: 1 1 520px;
  min-height: 320px;
  max-height: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.featured__body {
  flex: 1 1 420px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.featured__body h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
}

.featured__body h2 a { color: var(--ink); text-decoration: none; }
.featured__body h2 a:hover { color: var(--accent); }

.featured__teaser { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted-2); }
.featured__cta { align-self: flex-start; margin-top: 6px; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tile__caption { font-size: 13px; font-weight: 600; color: var(--ink-4); }

.ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
}

.topics a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid #d5dae3;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.topics a:hover { border-color: var(--accent); color: var(--accent); }

.topics a[aria-current='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line-page);
  overflow: hidden;
  transition: box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}

.post-card:hover { box-shadow: var(--sh-raised); transform: translateY(-2px); }

.post-card__media { height: 190px; text-decoration: none; }

.post-card__body {
  flex: 1;
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-card__body h3 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.post-card__body h3 a { color: var(--ink); text-decoration: none; }
.post-card__body h3 a:hover { color: var(--accent); }
.post-card__teaser { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted-2); }

.post-card__more {
  margin-top: auto;
  padding-top: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.empty-note { margin: 24px 0 0; font-size: 16px; color: var(--muted); }

/* ---------- Artikel ---------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumbs a { font-weight: 700; text-decoration: none; }

.article-head { max-width: 820px; margin-top: 18px; }

.article-head h1 {
  margin: 14px 0 0;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.article-head__lead { margin: 16px 0 0; font-size: 20px; line-height: 1.5; color: var(--muted-2); }

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 15px;
  color: var(--muted);
}

.byline__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--accent);
}

.byline strong { color: var(--ink); }

.article-cover {
  margin-top: 32px;
  height: clamp(150px, 16vw, 220px);
  border-radius: var(--r-2xl);
}

.article-layout {
  padding-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 56px;
}

.prose {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 660px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}

.prose > :first-child { margin-top: 0; }
.prose p { margin: 14px 0 0; }

.prose h2 {
  margin: 40px 0 0;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  color: var(--ink);
}

.prose h3 { margin: 28px 0 0; font-size: 21px; color: var(--ink); }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose strong { font-weight: 700; color: var(--ink); }

.prose blockquote {
  margin: 44px 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--accent);
}

.prose blockquote p { margin: 0; }

.prose img { max-width: 100%; height: auto; border-radius: var(--r-lg); }

.prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--wash);
  font-size: 0.9em;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-page);
}

.article-aside {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 24px;
}

.nearby { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line-page); overflow: hidden; }
.nearby__body { padding: 18px 20px 20px; }
.nearby__body h2 { margin: 0; font-size: 20px; }
.nearby__sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

.nearby__list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; }

.nearby__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eef0f3;
}

.nearby__rank {
  flex: 0 0 30px;
  height: 30px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.nearby__link {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
}

.nearby__name { font-size: 15px; font-weight: 700; }

.nearby__all {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nearby__all:hover { text-decoration: underline; }
.nearby__meta { font-size: 13px; color: var(--muted); }

.promo {
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--deep);
  color: #fff;
}

.promo__title { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.promo p { margin: 6px 0 14px; font-size: 14px; line-height: 1.5; color: var(--deep-soft); }

.more-posts { margin-top: 64px; }
.more-posts h2 { margin: 0; font-size: 28px; }

.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.more-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-page);
  color: var(--ink);
  text-decoration: none;
}

.more-card:hover { color: var(--ink); box-shadow: var(--sh-raised); }

.more-card__tile {
  flex: 0 0 96px;
  height: 96px;
  border-radius: var(--r-md);
}

.more-card__text { display: flex; flex-direction: column; gap: 6px; }
.more-card__topic { font-size: 13px; font-weight: 800; }
.more-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; }

/* ---------- Hof melden ---------- */

.report {
  padding-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 56px;
}

.report__intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }

.report__intro h1 {
  margin: 10px 0 0;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.report__lead { margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted-2); }

.steps {
  padding: 22px;
  border-radius: var(--r-xl);
  background: var(--deep);
  color: #fff;
}

.steps__title { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--deep-muted); }
.steps ol { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }

.steps__n {
  flex: 0 0 30px;
  height: 30px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--deep);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.steps__text { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.steps__text strong { font-size: 15px; font-weight: 700; }
.steps__text span { font-size: 14px; line-height: 1.45; color: var(--deep-soft); }

.report__card {
  flex: 999 1 560px;
  min-width: 0;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--line-page);
  box-shadow: var(--sh-raised);
}

.report__form { padding: 36px 40px 40px; display: flex; flex-direction: column; gap: 20px; }
.report__form h2 { margin: 0; font-size: clamp(24px, 3vw, 28px); }
.report__form-note { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.report__row { display: flex; flex-wrap: wrap; gap: 16px; }
.report__row .field { flex: 1 1 240px; }

.report__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 8px; }
.report__privacy { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

.form-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: #fdecea;
  color: #8b1d14;
  font-size: 15px;
  font-weight: 600;
}

.form-alert .icon { flex: 0 0 auto; }

/* ---------- Ergebnis-Zustände ---------- */

.result {
  padding: 64px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.result__mark {
  width: 72px;
  height: 72px;
  border-radius: var(--r-pill);
  background: var(--ok-soft);
  display: grid;
  place-items: center;
}

.result__mark--warn { background: var(--new-soft); }

.result h1, .result h2 { margin: 0; font-size: clamp(24px, 3.4vw, 30px); }
.result p { margin: 0; max-width: 440px; font-size: 16px; line-height: 1.55; color: var(--muted-2); }
.result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

.standalone { max-width: 680px; margin: 72px auto 0; padding: 0 24px; }
.standalone .card { padding: 8px; }

@media (max-width: 860px) {
  .article-aside { position: static; }
  .featured__media { flex-basis: 100%; min-height: 200px; }
  .post-card__media { height: 160px; }
  .report__form { padding: 24px 22px 28px; }
  .panel { padding: 24px 22px; }
  .featured__body { padding: 24px 22px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .site-header__inner { padding: 12px 16px; }
  .site-footer__top { padding: 36px 16px 24px; }
  .site-footer__bottom { padding: 16px 16px 24px; }
  .nl-band { padding: 0 16px; }
  .brand__name { font-size: 19px; }
  .result { padding: 40px 20px; }
}
