/*
 * Helvetica Neue LT Std, die Hausschrift (Lizenz bei Advocat Finanz). Es gibt zwei Schnitte und eine
 * Kursive: Light trägt alles bis 500, Bold alles ab 600. Die Dateien in src/design/fonts sind aus den
 * gekauften .otf gemacht, mit einer anderen Zeile: Ober- und Unterlänge 950 und 250 statt 714 und 286.
 * So stehen die Versalien in Knöpfen und Zeilen in der Mitte, in jedem Browser (Safari kennt
 * ascent-override nicht, darum steht es in der Datei und nicht hier).
 */
@font-face {
  font-family: "Helvetica Neue Advocat";
  font-style: normal;
  font-weight: 100 500;
  font-display: swap;
  src: url("/fonts/helvetica-neue-300.woff2") format("woff2");
}
@font-face {
  font-family: "Helvetica Neue Advocat";
  font-style: italic;
  font-weight: 100 500;
  font-display: swap;
  src: url("/fonts/helvetica-neue-300-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Helvetica Neue Advocat";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("/fonts/helvetica-neue-700.woff2") format("woff2");
}
/* Manrope: die Schrift vor der Hausschrift. Unter «Allgemein», «Schrift» wählbar. */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-400.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-500.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-700.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/manrope-800.woff2") format("woff2");
}
@font-face {
  font-family: Marcellus;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/marcellus-400.woff2") format("woff2");
}

:root {
  --ink: #1f1e1b;
  --text: #3a3834;
  --muted: #716e67;
  --line: #e4e0d6;
  --paper: #f6f4ee;
  /* Das Gold der Wortmarke und des Baums (Logo_Advocat_Finanz_2c.ai). */
  --gold: #c8af87;
  --gold-dark: #7d6742;
  --serif: Marcellus, Georgia, serif;
  --sans: "Helvetica Neue Advocat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ui: var(--sans);
  --breite: 1120px;
  --rand: clamp(1.25rem, 4vw, 3.5rem);
  --rund: 6px;
  --rund-gross: 12px;
}

/* «Allgemein», «Schrift»: Manrope statt der Hausschrift. */
:root[data-schrift="manrope"] { --sans: Manrope, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }

/* «Allgemein», «Schrift der Titel»: die Hausschrift statt Marcellus. */
:root[data-titel="helvetica"] { --serif: "Helvetica Neue Advocat", "Helvetica Neue", Helvetica, Arial, sans-serif; }

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Kurze Seiten: der Fuss steht unten am Fenster. */
main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; }
/* Nur die Wahl des Formats: Das <img> darin liegt im Layout, als stünde es allein. */
picture { display: contents; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-variant-numeric: lining-nums;
  color: var(--ink);
  /* Lange Komposita («Finanzmarktinfrastrukturgesetz») sonst breiter als ein Handy. */
  hyphens: auto;
  overflow-wrap: break-word;
}

.prosa { overflow-wrap: break-word; }

/* Lange Adressen im Text (Datenschutz) dürfen überall umbrechen. */
.prosa a { overflow-wrap: anywhere; }

/* `.feld span { display: block }` schlägt sonst das hidden-Attribut der Fehlerzeilen. */
[hidden] { display: none !important; }

.nav a,
.btn,
.post-meta,
.suche button,
.feld span { font-family: var(--ui); }

a { color: var(--gold-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }

a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }

/* Für die Tastatur: erscheint erst mit Tab. */
.springen {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  padding: 10px 18px;
  border-radius: var(--rund);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.springen:focus { color: #fff; transform: none; }

main:focus { outline: none; }

/* Kopf */

.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}

.kopf-innen {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: 14px var(--rand);
}

.logo img { display: block; height: 40px; width: auto; }
.logo { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 2.2rem;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav a.btn::after { display: none; }

/* «Unser Angebot»: beim Darüberfahren wird der Kopf eine Zeile höher. Keine Karte, kein Pfeil. */

.nav-unter {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.2rem;
  /* site.js setzt --unter-x, damit die Zeile genau unter «Unser Angebot» beginnt. */
  padding: 0 var(--rand) 0 var(--unter-x, var(--rand));
  border-bottom: 1px solid var(--line);
  background: #fff;
  opacity: 0;
  visibility: hidden;
  /* Schliesst mit kurzer Verzögerung, damit die Zeile beim Hinüberfahren nicht flackert. */
  transition: opacity 0.15s ease 0.12s, visibility 0s linear 0.27s;
}

/* Brücke über den Abstand zwischen Wort und Zeile, damit die Maus sie nicht verliert. */
.nav-unter::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
}

.nav-gruppe:focus-within .nav-unter {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.15s ease, visibility 0s;
}

@media (hover: hover) {
  .nav-gruppe:hover .nav-unter {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.15s ease, visibility 0s;
  }
}

/* Escape schliesst die Zeile, bis Maus oder Fokus die Gruppe verlassen. */
.nav-gruppe.zu .nav-unter { opacity: 0; visibility: hidden; transition: none; }

.nav .nav-unter a {
  margin: 0.2rem 0 0.7rem;
  color: var(--text);
  font-weight: 400;
  transition: color 0.15s ease;
}

.nav .nav-unter a:hover,
.nav .nav-unter a[aria-current="page"] { color: var(--ink); }

.nav a.btn-solid,
.nav a.btn-solid:hover { color: #fff; }

/* Knöpfe */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--rund);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-solid {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-solid:hover { border-color: #3a3833; background: #3a3833; color: #fff; }

.btn-solid:disabled { opacity: 0.55; cursor: progress; }

.btn-ghost {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover { background: var(--ink); color: #fff; }

.kontakt-desktop { padding: 9px 20px; font-size: 14.5px; }

.kontakt-mobil { display: none; }

.burger {
  display: none;
  width: 40px;
  height: 36px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* Ganze Pixel: Mit 1.5px landeten die Striche zwischen den Pixeln und wurden ungleich dick. */
.burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }

.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Bühne */

.held {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(var(--breite), 100% - 2 * var(--rand));
  margin: 1.5rem auto 0;
  border-radius: var(--rund-gross);
  background: var(--ink);
  color: #fff;
}

.held-bild,
.karte-bild {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Abdunkeln, damit die Schrift auf jedem Bild lesbar bleibt. */
.held::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(24, 22, 19, 0.38) 0%, rgba(24, 22, 19, 0.58) 100%);
}

.held-start {
  display: flex;
  align-items: center;
  min-height: min(68vh, 620px);
  padding: 6rem 1.5rem;
}

.held-innen { max-width: 760px; margin: 0 auto; text-align: center; }

.held-baum {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 1.4rem;
}

.held-titel {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.held-untertitel {
  margin: 1.1rem 0 0;
  color: #fff;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.22em;
  /* Die feine Schrift bleibt auch auf hellen Stellen des Bilds lesbar. */
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.held-seite {
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
}

.held-seite h1 {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Inhaltsverzeichnis unter dem Titelbild: eine ruhige Zeile Text, keine Knöpfe. */

.sprung {
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
  width: min(var(--breite), 100% - 2 * var(--rand));
  margin: 1.75rem auto 0;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.sprung-titel {
  flex: none;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sprung-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sprung a,
.weitere a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
  color: var(--text);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.sprung-nr {
  color: var(--gold-dark);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.sprung a:hover,
.weitere a:hover { color: var(--ink); border-bottom-color: var(--gold); }

/* Am Seitenende: die anderen Angebote, gleich ruhig wie das Verzeichnis oben. */

.weitere {
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
  width: min(var(--breite), 100% - 2 * var(--rand));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.weitere-pfeil { color: var(--gold-dark); }

/* Sprungziele nicht unter dem klebenden Kopf verstecken. */
h2[id] { scroll-margin-top: 96px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Inhalt */

.inhalt {
  max-width: calc(760px + 2 * var(--rand));
  margin: 0 auto;
  padding: 4rem var(--rand) 2rem;
}

.inhalt + .inhalt { padding-top: 0; }

.inhalt-intro { padding-bottom: 5rem; }

.prosa h1,
.prosa h2,
.inhalt h1,
.inhalt h2,
.adresse h2 {
  margin: 1.8em 0 0.5em;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.prosa h1:first-child,
.prosa h2:first-child,
.kontakt-intro h2:first-child { margin-top: 0; }

.prosa h3 {
  margin: 1.6em 0 0.4em;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
}

.prosa p,
.kontakt-intro p,
.band p,
.adresse p {
  margin: 0 0 1.1em;
  font-size: 17px;
  line-height: 1.75;
}

.prosa strong { color: var(--ink); font-weight: 600; }

.prosa ul,
.prosa ol { margin: 0.4em 0 1.2em; padding-left: 1.3em; }

.prosa ul { list-style: disc; }

.prosa ol { list-style: decimal; }

/* Punkte stehen dicht: als Liste lesbar, nicht als Absätze mit Punkt davor. */
.prosa li { margin: 0.3em 0; font-size: 17px; line-height: 1.45; }

/* Milkdown setzt jeden Punkt in einen Absatz: Der bringt sonst Abstand und Zeilenhöhe des Fliesstexts mit. */
.prosa li > p { margin: 0; font-size: inherit; line-height: inherit; }

.prosa li > p + p { margin-top: 0.4em; }

.prosa li > :is(ul, ol) { margin: 0.3em 0 0.2em; }

.prosa li::marker { color: var(--gold); }

.prosa img { margin: 0.8em 0; }

.prosa img[src*="logo" i],
.prosa img[src*="Logo"] { max-width: 240px; }

.prosa img[src*="Portrait"] { max-width: 320px; }

.prosa blockquote {
  margin: 1.5em 0;
  padding-left: 1.2em;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.prosa hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--line); }

.prosa table { width: 100%; border-collapse: collapse; font-size: 15px; }

.prosa th,
.prosa td { padding: 0.6em 0.8em; border-bottom: 1px solid var(--line); text-align: left; }

.aktionen { margin: 2em 0; text-align: center; }

.band .aktionen { text-align: left; margin-bottom: 0; }

/* Karten */

.karten-band {
  padding: 4.5rem var(--rand);
  background: var(--paper);
}

.karten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.karten-home { max-width: var(--breite); margin: 0 auto; }

.karten-band .aktionen { margin: 2.5rem 0 0; }

.karten-seite {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 3rem auto;
  padding: 0 var(--rand);
}

.karte {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  padding: 1.4rem 1.5rem;
  overflow: hidden;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--rund-gross);
  background: var(--ink);
  isolation: isolate;
}

.karte::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(20, 18, 15, 0);
  background-image: linear-gradient(180deg, rgba(20, 18, 15, 0) 35%, rgba(20, 18, 15, 0.62) 100%);
  transition: background-color 0.25s ease;
}

.karte::after {
  content: "→";
  margin-left: auto;
  padding-left: 1rem;
  font-family: var(--ui);
  font-size: 1.1rem;
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.karte span { position: relative; }

.karte:hover { color: #fff; }

.karte:hover::before { background-color: rgba(20, 18, 15, 0.22); }

.karte:hover::after { opacity: 1; transform: translateX(4px); }

/* Beiträge */

.beitrag { padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid var(--line); }

.beitrag:last-child { border-bottom: 0; }

.beitraege { margin-top: 1.5rem; }

.entry-title,
.prosa .entry-title {
  margin: 0 0 0.3em;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.25;
}

.entry-title a { color: var(--ink); text-decoration: none; }

.entry-title a:hover { color: var(--gold-dark); }

.post-meta,
.prosa .post-meta {
  margin: 0 0 0.7em;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.post-content p,
.einzel .prosa p,
.antwort p {
  margin: 0 0 0.9em;
  font-size: 16px;
}

.einzel {
  max-width: calc(760px + 2 * var(--rand));
  margin: 0 auto;
  padding: 4rem var(--rand) 2rem;
  border-bottom: 0;
}

.einzel > h1 {
  margin: 0 0 0.3em;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.einzel > .post-meta { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }

.einzel .prosa p { font-size: 17px; }

/* Bild antippen, um es gross zu sehen (site.js). */
.bild-zoom {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.bild-zoom img { display: block; margin: 0; }

.bild-zoom::after {
  content: "⤢";
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(31, 30, 27, 0.75);
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.prosa p:has(> .bild-zoom) { margin: 0.8em 0; }

.bild-gross {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 18, 15, 0.92);
}

.bild-gross::backdrop { background: rgba(20, 18, 15, 0.6); }

.bild-gross-flaeche {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 3.5rem 1rem 1rem;
  overflow: auto;
}

.bild-gross-flaeche img { max-width: none; height: auto; margin: auto; background: #fff; }

.bild-gross-zu {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.zurueck { margin: 0 0 1.5rem; font-size: 14.5px; }

.zurueck a { color: var(--muted); text-decoration: none; }

.zurueck a:hover { color: var(--ink); }

.brief-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.brief-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--rund);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.brief-nav a:hover { border-color: var(--gold); }

.brief-nav-weiter { grid-column: 2; text-align: right; }

.brief-nav-label { color: var(--muted); font-size: 13.5px; font-weight: 500; }

.brief-nav-titel { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; line-height: 1.35; }

/* Neuigkeiten auf der Startseite */

.teaser-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.teaser {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--rund);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.teaser:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(20, 18, 15, 0.08);
  transform: translateY(-2px);
}

.teaser .post-meta { margin: 0 0 0.6rem; }

.abschnitt .teaser-titel {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  line-height: 1.3;
}

.teaser-titel a { color: var(--ink); text-decoration: none; }

/* Die ganze Karte ist der Link. */
.teaser-titel a::after { content: ""; position: absolute; inset: 0; }

.teaser-text {
  display: -webkit-box;
  margin: 0 0 1.2rem;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.teaser-mehr {
  margin-top: auto;
  color: var(--gold-dark);
  font-size: 14.5px;
  font-weight: 600;
}

.teaser:hover .teaser-mehr { color: var(--ink); }

.neuigkeiten-start .aktionen { margin: 2.5rem 0 0; }

/* Kontakt-Band */

.band {
  padding: 4.5rem var(--rand);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.band-innen {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 3rem;
  max-width: var(--breite);
  margin: 0 auto;
}

.band h2 {
  grid-column: 1;
  margin: 0 0 0.35em;
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 400;
}

.band p { grid-column: 1; margin: 0; color: rgba(255, 255, 255, 0.72); }

.band .aktionen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.band .band-direkt {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 14.5px;
  line-height: 1.5;
}

.band-direkt a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }

.band-direkt a:hover { color: #fff; text-decoration: underline; }

.band .btn-solid { border-color: #fff; background: #fff; color: var(--ink); }

.band .btn-solid:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }

/* Archiv */

.archiv {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  column-gap: 4rem;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: 4rem var(--rand) 3rem;
}

.archiv-kopf {
  grid-column: 1;
  margin: 0 0 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.archiv-kopf h1 {
  margin: 0 0 0.35em;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.archiv-intro { color: var(--muted); font-size: 16px; }

.archiv-intro > :first-child { margin-top: 0; }

.archiv-intro > :last-child { margin-bottom: 0; }

.archiv-intro p { margin: 0 0 0.6em; }

/* Bei Suche oder Jahr: was gezeigt wird, und zurück zu allen. */
.filter-status {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin: -0.75rem 0 2rem;
  color: var(--muted);
  font-size: 14px;
}

.filter-status[hidden] { display: none; }

.archiv .beitraege { grid-column: 1; margin-top: 0; }

.blaettern {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--ui);
  font-size: 14.5px;
}

/* Seitenzahlen als ruhiger Text; die aktuelle dunkel und unterstrichen. */
.blaettern a,
.blaettern span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.blaettern .neuer { margin-right: 0.75rem; padding-left: 0; }

.blaettern .aelter { margin-left: 0.75rem; }

.blaettern[hidden] { display: none; }

.blaettern a:hover { color: var(--ink); }

.blaettern [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline 1px var(--gold);
  text-underline-offset: 7px;
}

/* Im Archiv reichen drei Zeilen Vorschau; der Newsletter selbst ist einen Klick entfernt. */
.archiv .post-content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.archiv .beitrag { padding-bottom: 1.6rem; margin-bottom: 1.6rem; }

.seite {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: start;
  position: sticky;
  top: 96px;
}

.seite h2 {
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seite ul { margin: 0; padding: 0; list-style: none; }

.seite li { margin: 0; padding: 0.55rem 0; border-top: 1px solid var(--line); }

.jahre a { display: flex; align-items: baseline; justify-content: space-between; color: var(--text); }

.jahre .anzahl { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.jahre a:hover,
.jahre a[aria-current] { color: var(--ink); }

.jahre a[aria-current] > span:first-child { text-decoration: underline 1px var(--gold); text-underline-offset: 5px; }

.seite a { color: var(--ink); font-size: 14.5px; line-height: 1.5; text-decoration: none; }

.seite a:hover { color: var(--gold-dark); }

.seite p { margin: 0; font-size: 14.5px; }

.suche { display: flex; margin: 0 0 2.5rem; }

.suche input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--rund) 0 0 var(--rund);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
}

.suche input:focus { outline: none; border-color: var(--gold-dark); }

.suche button {
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 0 var(--rund) var(--rund) 0;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.leer { color: var(--muted); }

/* Kontaktformular */

.kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}

.inhalt:has(.kontakt-grid) { max-width: calc(var(--breite) + 2 * var(--rand)); }

.kontakt-intro { max-width: 640px; }

.feld { display: block; margin: 0 0 1.1rem; }

.feld span {
  display: block;
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.anfrage input,
.anfrage textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6d1c5;
  border-radius: var(--rund);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.anfrage textarea { min-height: 170px; resize: vertical; }

.anfrage [aria-invalid="true"] { border-color: #a1453a; }

.anfrage [aria-invalid="true"]:focus { border-color: #a1453a; box-shadow: 0 0 0 3px rgba(161, 69, 58, 0.18); }

.feld .feld-fehler { margin: 0.4rem 0 0; color: #8f3a30; font-size: 14px; font-weight: 500; }

.anfrage input:focus,
.anfrage textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(200, 175, 135, 0.25);
}

.feld-reihe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feld-falle {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.anfrage-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
  margin-top: 0.4rem;
}

.anfrage-hinweis {
  flex: 1 1 16rem;
  margin: 0;
  font-family: var(--ui);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.anfrage-hinweis a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.form-fehler,
.form-danke {
  margin: 1.2rem 0 0;
  padding: 0.8rem 1rem;
  border-left: 2px solid;
  font-size: 15px;
}

.form-fehler { border-color: #a1453a; background: #faf1ef; color: #7d3329; }

.form-danke { border-color: var(--gold-dark); background: var(--paper); color: var(--ink); }

.adresse {
  padding: 2rem;
  background: var(--paper);
}

.adresse h2 {
  margin: 1.6rem 0 0.3rem;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.adresse h2:first-child { margin-top: 0; }

.adresse p { margin: 0; color: var(--ink); font-size: 16px; }

.adresse a { color: var(--ink); }

.karte-voll {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 2rem auto 4rem;
  padding: 0 var(--rand);
}

.karte-frame {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.karte-platzhalter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--rand);
  background: var(--paper);
  text-align: center;
}

.karte-platzhalter p { max-width: 420px; margin: 0 0 1rem; font-size: 14.5px; }

.karte-platzhalter p:last-child { margin: 0; font-size: 14px; }

/* Spalten */

.abschnitt { padding: 4.5rem var(--rand); }

.abschnitt-ton { background: var(--paper); }

.abschnitt-innen {
  max-width: var(--breite);
  margin: 0 auto;
}

.abschnitt-innen > h2 {
  margin: 0 0 2.5rem;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
}

.spalten {
  display: grid;
  gap: 3.5rem;
  align-items: start;
}

.spalten + .spalten {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.spalten-2-1 { grid-template-columns: 2fr 1fr; }

.spalten-1-2 { grid-template-columns: 1fr 2fr; }

.spalten-1-1 { grid-template-columns: 1fr 1fr; }

.spalte-seite {
  padding-left: 2rem;
  border-left: 2px solid var(--gold);
}

.spalte-seite h3:first-child,
.spalte h2:first-child { margin-top: 0; }

/*
 * «Leistungen» neben einem Abschnitt: ein Verzeichnis mit feinen Linien, wie «Auf dieser Seite» und
 * die Seitenleiste der Neuigkeiten. Kein Punkt, eine Zeile je Leistung.
 */
.spalte-seite h3:first-child {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.spalte-seite ul { margin: 0; padding: 0; list-style: none; }

.spalte-seite li {
  margin: 0;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.4;
}

.spalte-seite li:last-child { padding-bottom: 0; }

/*
 * Lange Abschnitte auf dem Handy: «Mehr lesen» klappt den Text nach dem ersten Absatz auf, und eine
 * Leiste unter dem Kopf zeigt, in welchem Abschnitt man ist. Beides baut site.js; ohne Skript und
 * auf breiten Schirmen steht alles offen da.
 */
.mehr-knopf,
.sprung-fest { display: none; }

/* Der Titel «Leistungen» ist ein Knopf (site.js): auf breiten Schirmen nur Schrift, auf dem Handy klappt er die Liste auf. */
.leistungen-knopf {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
}

.leistungen-zahl { margin-left: 0.5em; color: var(--gold-dark); letter-spacing: 0.04em; }

/* Profil auf «Über uns»: Portrait, Name und Berufszeile als eine Einheit, darunter die Jahre als kleine Chronik. */
.spalte-profil img { display: block; width: 100%; max-width: 320px; margin: 0; border-radius: var(--rund-gross); }

.profil-bild p { margin: 0; }

.spalte-profil p { margin-bottom: 0.4em; }

.spalte-profil h2,
.spalte-profil h2:first-child { margin: 1.25rem 0 0.3rem; font-size: 1.75rem; }

.spalte-profil .profil-beruf {
  max-width: 320px;
  margin: 0;
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.profil-daten { max-width: 320px; margin: 1.4rem 0 0; font-size: 0.95rem; }

.profil-daten div {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  align-items: baseline;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.profil-daten div:last-child { border-bottom: 1px solid var(--line); }

/* Im HTML steht das Wort vor dem Wert (für Vorleseprogramme), gezeigt wird das Jahr vorn. */
.profil-daten dt { grid-column: 2; grid-row: 1; color: var(--text); }

.profil-daten dd {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 981px) {
  .spalte-profil { position: sticky; top: calc(var(--kopf-hoehe, 69px) + 2rem); }
}

/* Tablet: Name und Jahre rechts neben dem Portrait, statt darunter mit leerem Platz daneben. */
@media (min-width: 560px) and (max-width: 980px) {
  .spalte-profil {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: end;
    margin-bottom: 1rem;
  }

  .spalte-profil h2,
  .spalte-profil h2:first-child { margin-top: 0; }

  .spalte-profil .profil-beruf,
  .profil-daten { max-width: none; }
}

/* Handy: Portrait und Liste über die ganze Breite. */
@media (max-width: 559px) {
  .spalte-profil .profil-bild img,
  .spalte-profil .profil-beruf,
  .profil-daten { max-width: none; }
}

/* Partner auf «Über uns»: je eine Karte, das Logo oben auf getöntem Grund, der Link zur Website unten. */
.partner-raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.partner {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--rund-gross);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.partner:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(20, 18, 15, 0.08);
}

.partner-logo {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.partner-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2rem 2.25rem 1.75rem;
}

.partner-logo p { margin: 0; }

.partner-logo a {
  display: flex;
  align-items: center;
  height: 8.5rem;
  padding: 0 2.25rem;
}

/* Beide Logos sind liegend und etwa gleich lang: eine feste Höhe lässt sie gleich schwer wirken. */
.prosa .partner-logo img {
  width: auto;
  max-width: 100%;
  height: 2.75rem;
  margin: 0;
  object-fit: contain;
  object-position: left center;
}

.partner-text h2 { margin-bottom: 0.35em; font-size: 1.6rem; }

.partner-text h3 {
  margin: 0 0 1.1rem;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.prosa .partner-link {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 1rem;
}

.partner-link a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

.partner-link a::after { content: " \2192"; }

.partner-link a:hover { color: var(--gold-dark); }

/* Fuss */

.fuss {
  margin-top: 0;
  padding: 3rem var(--rand) 3.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.fuss-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--breite);
  margin: 0 auto;
}

.fuss-text p { margin: 0 0 0.5rem; font-size: 14px; line-height: 1.7; }

.fuss-text strong { color: var(--ink); font-weight: 600; }

.fuss a { color: var(--text); text-decoration: none; }

.fuss a:hover { color: var(--ink); }

.copy { color: var(--muted); }

.copy a { color: var(--muted); }

.fuss-claim img { display: block; width: 210px; height: auto; }

@media (max-width: 980px) {
  .kopf-innen { grid-template-columns: 1fr auto; }

  .kontakt-desktop { display: none; }

  .burger { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1rem var(--rand) 1.5rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .nav.offen { display: flex; }

  .nav a { font-size: 16px; }

  .nav a.btn { padding: 12px 24px; font-size: 15px; }

  /* Im Handymenü keine Aufklappzeile: die drei Angebote stehen eingerückt unter «Unser Angebot». */
  .nav-gruppe { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  .nav-unter,
  .nav-gruppe:focus-within .nav-unter,
  .nav-gruppe.zu .nav-unter {
    position: static;
    flex-direction: column;
    gap: 0;
    padding: 0 0 0.2rem 1rem;
    border-bottom: 0;
    border-left: 1px solid var(--line);
    background: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .nav-unter::before { display: none; }

  .nav .nav-unter a { margin: 0; padding: 4px 0; font-size: 15px; }

  .nav .nav-unter a::after { display: none; }

  .nav .nav-unter a[aria-current="page"] { color: var(--gold-dark); }

  .kontakt-mobil { display: inline-block; margin-top: 0.6rem; }

  .kontakt-grid,
  .teaser-raster,
  .partner-raster,
  .spalten,
  .archiv { grid-template-columns: minmax(0, 1fr); }

  .spalten { gap: 2rem; }

  .spalte-seite { padding-left: 1.25rem; }

  .partner-logo a { height: 7rem; padding: 0 1.5rem; }

  .partner-text { padding: 1.5rem 1.5rem 1.4rem; }

  .kontakt-grid { gap: 2.5rem; }

  /* Titel, dann Suche und Jahre als eine Zeile, dann die Liste. */
  .seite {
    position: static;
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 2.5rem;
  }

  .archiv-kopf { grid-row: 1; }

  .filter-status { grid-row: 3; margin-top: 0; }

  .archiv .beitraege { grid-row: 4; }

  .blaettern { grid-row: 5; }

  .seite .suche { margin-bottom: 1.25rem; }

  .jahre-nav { display: flex; align-items: baseline; gap: 1rem; }

  .jahre-nav h2 { flex: none; margin: 0; }

  .jahre { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; }

  .seite .jahre li { padding: 0; border: 0; }

  .jahre .anzahl { display: none; }

  .karten { gap: 1rem; }

  .karte { padding: 1rem 1.1rem; font-size: 1.15rem; }

  .karte::after { padding-left: 0.5rem; }
}

@media (max-width: 767px) {
  .held { width: 100%; margin-top: 0; border-radius: 0; }

  .held-start { min-height: min(56vh, 480px); padding: 3.5rem 1.25rem; }

  .held-seite { min-height: 180px; padding-bottom: 1.75rem; }

  /* Auf dem Handy untereinander, wie ein Verzeichnis: alles sichtbar, nichts zum Wischen. */
  .sprung,
  .weitere { flex-direction: column; gap: 0.6rem; }

  .sprung { margin-top: 1.5rem; padding-bottom: 0.9rem; }

  .weitere { padding: 2rem 0; }

  .sprung-liste { flex-direction: column; gap: 0; }

  .sprung a,
  .weitere a { padding: 0.45rem 0; }

  .held-untertitel { font-size: 12.5px; letter-spacing: 0.14em; }

  .entry-title,
  .prosa .entry-title { font-size: 1.35rem; }

  .archiv { padding-top: 2.75rem; }

  .inhalt,
  .einzel { padding-top: 2.75rem; }

  .mehr-text:not(.offen) { display: none; }

  .mehr-knopf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.25rem;
    padding: 0.45rem 0;
    border: 0;
    border-bottom: 1px solid var(--gold);
    background: none;
    color: var(--ink);
    font: 600 15px/1.3 var(--ui);
    cursor: pointer;
  }

  .mehr-knopf::after {
    content: "";
    width: 0.45em;
    height: 0.45em;
    margin-top: -0.2em;
    border-right: 1.5px solid var(--gold-dark);
    border-bottom: 1.5px solid var(--gold-dark);
    transform: rotate(45deg);
  }

  .mehr-knopf[aria-expanded="true"]::after { margin-top: 0.25em; transform: rotate(-135deg); }

  /* Im Einstieg folgt der Knopf zur Kontaktseite: mit Abstand, damit die zwei nicht als Paar wirken. */
  .mehr-knopf + .aktionen { margin-top: 1.75rem; }

  /* Die Leiste klebt unter dem Kopf, sobald das Verzeichnis oben aus dem Bild ist. */
  .sprung-fest {
    display: block;
    position: fixed;
    top: var(--kopf-hoehe, 69px);
    right: 0;
    left: 0;
    z-index: 15;
    border-bottom: 1px solid var(--line);
    background: #fff;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.2s ease, visibility 0.2s;
  }

  .sprung-fest.sichtbar { transform: none; visibility: visible; }

  .sprung-fest-knopf {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem var(--rand);
    border: 0;
    background: none;
    color: var(--ink);
    font: 500 14.5px/1.3 var(--ui);
    text-align: left;
    cursor: pointer;
  }

  .sprung-fest-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .sprung-fest-knopf::after {
    content: "";
    flex: none;
    align-self: center;
    width: 0.5em;
    height: 0.5em;
    margin-top: -0.25em;
    border-right: 1.5px solid var(--gold-dark);
    border-bottom: 1.5px solid var(--gold-dark);
    transform: rotate(45deg);
  }

  .sprung-fest-knopf[aria-expanded="true"]::after { margin-top: 0.25em; transform: rotate(-135deg); }

  .sprung-fest-liste { margin: 0; padding: 0 var(--rand) 0.6rem; list-style: none; }

  .sprung-fest-liste[hidden] { display: none; }

  .sprung-fest-liste a {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.6rem 0;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 14.5px;
    text-decoration: none;
  }

  .sprung-fest-liste a[aria-current="true"] { color: var(--ink); font-weight: 600; }

  /* Ein Sprung landet unter Kopf und Leiste, nicht dahinter. */
  h2[id] { scroll-margin-top: 132px; }

  /* «Leistungen» auf dem Handy: eine Zeile über die ganze Breite, die goldene Linie oben statt links. Antippen klappt die Liste auf. */
  .spalte-seite { padding: 0; border-left: 0; border-top: 2px solid var(--gold); border-bottom: 1px solid var(--line); }

  .spalte-seite h3:first-child { margin: 0; }

  .leistungen-knopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0;
    cursor: pointer;
  }

  .leistungen-knopf::after {
    content: "";
    flex: none;
    width: 0.6em;
    height: 0.6em;
    margin: -0.3em 0.2em 0 auto;
    border-right: 1.5px solid var(--gold-dark);
    border-bottom: 1.5px solid var(--gold-dark);
    transform: rotate(45deg);
  }

  .leistungen-knopf[aria-expanded="true"]::after { margin-top: 0.3em; transform: rotate(-135deg); }

  .leistungen-zahl { margin-right: auto; }

  .spalte-seite .leistungen-liste:not(.offen) { display: none; }

  .spalte-seite .leistungen-liste { padding-bottom: 0.4rem; }

  /* Lange Seiten (Angebote) auf dem Handy: weniger Luft zwischen den Teilen, der Text eine Spur dichter. */
  .inhalt-intro { padding-bottom: 3rem; }

  .abschnitt { padding-top: 2.75rem; padding-bottom: 2.75rem; }

  .spalten { gap: 1.5rem; }

  /* Die Zeile «Leistungen» schliesst jeden Abschnitt mit ihrer Linie ab: keine zweite darunter. */
  .spalten + .spalten { margin-top: 2.5rem; padding-top: 0; border-top: 0; }

  .prosa p { margin-bottom: 0.9em; line-height: 1.65; }

  .prosa li > p { margin-bottom: 0; line-height: inherit; }

  .prosa h1,
  .prosa h2,
  .inhalt h1,
  .inhalt h2 { margin-top: 1.4em; }

  .prosa h1:first-child,
  .prosa h2:first-child { margin-top: 0; }

  .band-innen { grid-template-columns: 1fr; }

  .band .aktionen { grid-column: 1; grid-row: auto; margin-top: 1.5rem; }

  .feld-reihe { grid-template-columns: 1fr; gap: 0; }

  .brief-nav { grid-template-columns: 1fr; }

  .brief-nav-weiter { grid-column: 1; text-align: left; }

  .brief-nav > span:empty { display: none; }

  .karte-frame { height: 320px; }

  .karten { grid-template-columns: 1fr; }

  .karte { aspect-ratio: 16 / 7; padding: 1.4rem 1.5rem; font-size: 1.45rem; }

  .fuss-innen { flex-direction: column; align-items: flex-start; }

  /* Fuss: Adresse, Telefon und Mail je auf eine Zeile, Rechtliches als Reihe. */
  .fuss-text .trenner { display: none; }

  .fuss-text p:first-child a { display: block; padding: 0.2rem 0; }

  .fuss-text strong { display: block; margin-bottom: 0.3rem; }

  .fuss-text strong + br { display: none; }

  .copy { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; margin-top: 1rem; }

  .copy span:first-child { flex-basis: 100%; }

  .copy a { padding: 0.35rem 0; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Für Suchmaschinen und Screenreader, nicht fürs Auge. */
.unsichtbar {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Newsletter: Themen, Drucken ---------- */

/* Unter Titel und Datum: die Themen des Newsletters und der Knopf zum Drucken. Der Strich, der sonst
   unter dem Datum steht, schliesst jetzt diese Zeile ab. */
.einzel > .post-meta { margin-bottom: 1rem; padding-bottom: 0; border-bottom: 0; }

.beitrag-leiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin: 0 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.beitrag-themen { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }

.beitrag-themen li { margin: 0; padding: 0; }

.beitrag-themen a {
  display: block;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--ui);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.beitrag-themen a:hover { border-color: var(--gold); color: var(--ink); }

/* In der Liste auf «Neuigkeiten»: unter Datum und Nummer, eine Spur kleiner. */
.archiv .beitrag > .beitrag-themen { margin: 0 0 0.9rem; }

.archiv .beitrag > .beitrag-themen a { padding: 0.2rem 0.65rem; font-size: 12.5px; }

.drucken {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0.3rem 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-family: var(--ui);
  font-size: 13.5px;
  cursor: pointer;
}

.drucken[hidden] { display: none; }

.drucken:hover { color: var(--ink); }

.drucken:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; border-radius: 3px; }

/* «Nach Thema» und darunter «Nach Jahr». */
.jahre-nav + .jahre-nav { margin-top: 2.25rem; }

@media (max-width: 980px) {
  .jahre-nav + .jahre-nav { margin-top: 0.75rem; }
}

/* Ein Newsletter auf Papier oder als PDF: das Logo, dann nur der Newsletter selbst: Titel, Datum,
   Text und Bilder. Menü, Knöpfe, die Karten zum Angebot, der Kontakt am Schluss und der Fuss bleiben weg. */
@media print {
  @page { margin: 16mm 16mm 18mm; }

  html, body { background: #fff; }

  body { color: #000; }

  .springen, .nav, .burger, .kontakt-desktop, .zurueck, .beitrag-leiste, .brief-nav, .karten, .band, .fuss, .bild-gross { display: none !important; }

  /* Was auch immer später unter einem Newsletter dazukommt: Gedruckt wird nur er. */
  main > .einzel ~ * { display: none !important; }

  .kopf { position: static; border-bottom: 0; background: none; backdrop-filter: none; }

  .kopf-innen { display: block; max-width: none; padding: 0 0 8mm; text-align: center; }

  .logo img { height: 12mm; width: auto; }

  main { display: block; }

  .einzel { max-width: none; margin: 0; padding: 0; }

  .einzel > h1 { font-size: 20pt; }

  .einzel > .post-meta { margin-bottom: 6mm; padding-bottom: 4mm; border-bottom: 0.5pt solid #bbb; color: #444; }

  .einzel .prosa p, .einzel .prosa li { font-size: 10.5pt; line-height: 1.5; color: #000; orphans: 3; widows: 3; }

  .einzel .prosa h2, .einzel .prosa h3, .einzel .prosa h4 { break-after: avoid; color: #000; }

  .einzel .prosa img { max-width: 100%; height: auto; break-inside: avoid; }

  /* Der Knopf zum Vergrössern ist auf Papier nur sein Bild. */
  .bild-zoom { display: block; cursor: default; }

  .bild-zoom::after { display: none !important; }

  .einzel .prosa a { color: #000; text-decoration: underline; }

}
