:root {
  color-scheme: light;
  --green: #13a538;
  --green-dark: #0c6c28;
  --blue: #1277b2;
  --yellow: #f7a608;
  --ink: #20241f;
  --muted: #5b625c;
  --paper: #ffffff;
  --soft: #f5f7f3;
  --line: #d9ded8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --measure: 46rem;
  --wide: 76rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1.16rem/1.72 var(--serif); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--green-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .65rem .9rem; transform: translateY(-150%); background: var(--ink); color: white; font: 700 .9rem var(--sans); }
.skip-link:focus { transform: none; }
.wrap { width: min(calc(100% - 2rem), var(--wide)); margin-inline: auto; }
.measure { max-width: var(--measure); }

.site-header { border-top: .45rem solid var(--green); border-bottom: 1px solid var(--line); background: #fff; }
.header-row { min-height: 7.15rem; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
.brand { display: grid; grid-template-columns: 6.3rem auto; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; color: var(--ink); text-decoration: none; line-height: 1.05; }
.brand::before { content: ""; grid-row: 1 / 3; width: 6.3rem; aspect-ratio: 445 / 251; background: url("images/freie-buerger-header-logo.png") center / contain no-repeat; }
.brand strong { display: block; align-self: end; font: 400 1.65rem/1.05 var(--serif); letter-spacing: -.02em; }
.brand span { display: block; align-self: start; margin-top: .38rem; color: var(--muted); font: 400 .67rem/1.25 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.desktop-nav a { color: var(--ink); font: 400 1rem/1.3 var(--serif); letter-spacing: .005em; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--green-dark); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .16rem; text-underline-offset: .5rem; }
.mobile-nav { display: none; }

main { overflow: hidden; }
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(20rem, .92fr); align-items: stretch; min-height: 41rem; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 5.5rem clamp(2rem, 6vw, 6rem) 5.5rem 0; }
.eyebrow { margin: 0 0 1.2rem; color: var(--green-dark); font: 700 .78rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); line-height: 1.08; text-wrap: balance; }
h1 { max-width: 13ch; font-size: clamp(2.8rem, 6vw, 5.7rem); font-weight: 400; letter-spacing: -.035em; }
h2 { font-size: clamp(2.15rem, 4vw, 3.7rem); font-weight: 400; letter-spacing: -.025em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.hero-lede { max-width: 38rem; margin: 2rem 0 0; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .75rem 1.1rem; border: 2px solid var(--green-dark); background: var(--green-dark); color: #fff; font: 700 .88rem/1.2 var(--sans); text-decoration: none; }
.button:hover { border-color: var(--green-dark); background: var(--green-dark); color: #fff; }
.button.secondary { border-color: var(--blue); background: #fff; color: var(--blue); }
.button.secondary:hover { background: #eef7fb; color: var(--green-dark); }
.hero-photo { min-height: 41rem; background: #e5e7e2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 23%; }
.date-strip { padding: 1.05rem 0; border-bottom: 1px solid var(--line); font: 700 .83rem/1.4 var(--sans); letter-spacing: .035em; text-align: center; }
.date-strip span { margin-inline: .65rem; color: var(--yellow); }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: minmax(12rem, .55fr) minmax(0, 1fr); gap: 2rem 5rem; }
.section-kicker { color: var(--green-dark); font: 700 .76rem/1.45 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.35rem; }
.prose h2 { margin: 3.7rem 0 1.35rem; }
.prose h3 { margin: 2.7rem 0 1rem; }
.prose .lead { font-size: clamp(1.28rem, 2.3vw, 1.62rem); line-height: 1.55; }
.marker { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .22em; text-underline-offset: .12em; }
.quote { margin: 3rem 0; padding: .3rem 0 .3rem 2rem; border-left: .35rem solid var(--yellow); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.4; }
.editorial-list { margin: 2.4rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.editorial-list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.editorial-list b { color: var(--green-dark); font: 700 1rem var(--sans); }
.editorial-list span { display: block; }
.link-list { margin: 2rem 0 0; padding: 0; list-style: none; }
.link-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.link-list a { font-weight: 700; }
.image-wide { margin: 3.5rem 0 0; }
.image-wide img { width: 100%; max-height: 42rem; object-fit: cover; }
.image-wide figcaption { margin-top: .7rem; color: var(--muted); font: .78rem/1.5 var(--sans); }

.page-head { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 17ch; }
.page-head .lead { max-width: 43rem; margin: 1.8rem 0 0; font-size: clamp(1.22rem, 2.3vw, 1.55rem); }
.meta { margin: 1rem 0 0; color: var(--muted); font: 700 .78rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.topic { padding: 3.2rem 0; border-top: 1px solid var(--line); }
.topic:first-child { border-top: 0; }
.topic-number { display: block; margin-bottom: .85rem; color: var(--green-dark); font: 700 .82rem var(--sans); }
.next { padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: .45rem solid var(--yellow); background: var(--soft); }
.next .wrap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.next p { max-width: 40rem; margin: .8rem 0 0; }
.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); font: .82rem/1.6 var(--sans); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-note { max-width: 48rem; margin: 1.5rem 0 0; color: var(--muted); }

@media (max-width: 850px) {
  body { font-size: 1.08rem; }
  .header-row { min-height: 5.7rem; gap: .75rem; }
  .brand { grid-template-columns: 4.7rem auto; column-gap: .7rem; }
  .brand::before { width: 4.7rem; }
  .brand strong { font-size: 1.35rem; }
  .brand span { font-size: .58rem; letter-spacing: .09em; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { cursor: pointer; font: 400 1rem var(--serif); list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] nav { position: absolute; right: 0; top: 2.1rem; z-index: 20; width: min(20rem, calc(100vw - 2rem)); padding: 1rem; border: 1px solid var(--line); background: #fff; box-shadow: 0 1rem 2rem rgb(0 0 0 / .12); }
  .mobile-nav ul { margin: 0; padding: 0; list-style: none; }
  .mobile-nav li + li { border-top: 1px solid var(--line); }
  .mobile-nav a { display: block; padding: .75rem .25rem; color: var(--ink); font: 400 1rem/1.35 var(--serif); text-decoration: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-copy { padding: 4.5rem 0 3.5rem; }
  .hero-photo { min-height: 31rem; margin-inline: -1rem; }
  .section-intro { grid-template-columns: 1fr; gap: 1rem; }
  .next .wrap, .footer-grid { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 480px) {
  .brand span { max-width: 10rem; }
  h1 { font-size: 2.65rem; }
  .hero-photo { min-height: 27rem; }
  .editorial-list li { grid-template-columns: 2.4rem 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .mobile-nav, .desktop-nav, .hero-actions, .next, .skip-link { display: none !important; } body { font-size: 11pt; } }
