/* Rechtsanwalt Herden, Ergänzungen zur Vorlage Juris (09.10.2026)
   main.css ist die unveränderte Vorlage. Hier steht nur, was der Inhalt des Kunden verlangt:
   Wappen und Name statt Bildlogo, Verbände als Text statt Award-Logos, Bildausschnitt der
   Bühne am Handy, Sprungmarke und Fokus. Seit der Signet-Fassung (unten) kommen Farben und Schriften
   aus dem Kanzleiwappen, main.css erzeugt quellen/signet-css.py aus der Vorlage. */

/* Logo: Wappen plus Name, die Vorlage hat ein Bildlogo mit fester Breite */
.header-inner__logo,
.header--secondary .header-inner__logo {
	width: auto;
	display: flex;
	align-items: center;
	gap: 14px;
	color: #f7fafc;
}
.header--fixed .header-inner__logo { color: #17365d; }
.logo-wappen { position: relative; display: block; width: 38px; flex-shrink: 0; }
.logo-name {
	font-family: "Libre Caslon Display", Georgia, serif;
	font-size: 18px;
	line-height: 1.15;
	white-space: nowrap;
}
.logo-name small {
	display: block;
	font-family: "Libre Caslon Text", Georgia, serif;
	font-size: 13px;
	opacity: 0.85;
	margin-top: 3px;
}
@media (max-width: 1023px) {
	.logo-wappen { width: 30px; }
	.logo-name { font-size: 16px; }
}
.footer-logo { width: auto; display: flex; align-items: center; gap: 18px; color: #f7fafc; }
.footer-logo img { width: 56px; }
.footer-logo .logo-name { font-size: 20px; }

/* Bühne am Handy: Porträt nach rechts wie das Motiv der Vorlage, sonst zeigt der Ausschnitt nur Grund */
@media (max-width: 1023px) {
	.hero-slider .swiper-slide:first-child .bg-stretch img { object-position: 82% 50%; }
	/* Text liegt dort wie in der Demo auf dem Motiv, über dem weißen Hemd fehlt Kontrast: Verlauf darunter */
	.hero-slider .swiper-slide:first-child .bg-stretch::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(90deg, rgba(13, 33, 58, 0.82) 0%, rgba(13, 33, 58, 0.62) 60%, rgba(13, 33, 58, 0.35) 100%);
	}
}

/* Verbände als Text in den Feldern der Award-Logos, der Kunde hat keine Logos dafür */
.verband {
	margin: 0;
	max-width: 230px;
	font-size: 14px;
	line-height: 1.5;
}
.verband strong {
	display: block;
	font-family: "Libre Caslon Display", Georgia, serif;
	font-size: 17px;
	font-weight: 400;
	margin-bottom: 6px;
}
.verband-hinweis { margin: 24px 0 0; font-size: 14px; opacity: 0.75; }

/* Sprungmarke und sichtbarer Fokus, die Vorlage setzt outline: 0 */
.sprungmarke { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; background: #17365d; color: #f7fafc; }
.sprungmarke:focus { top: 16px; }
:focus-visible { outline: 2px solid #2a78b8; outline-offset: 3px; }
/* Sprungziele nicht unter dem festen Kopf */
[id] { scroll-margin-top: 96px; }

/* ---------- Prüfung 09.10.2026 gegen die Typografieregeln (rules/design.md) ----------
   Gemessen mit lesen.js und audit.js in 390, 768, 1280, 1536 px. Die Vorlage bleibt in Aufbau,
   Farbe und Schrift; korrigiert sind nur Maße, die unter den Regeln lagen. */

/* Fließtext 15 px mit aufgezogener Laufweite, Regel 16 bis 20 px und keine Laufweite */
body { font-size: 16px; line-height: 1.6; letter-spacing: normal; }

/* Kleintext 12 bis 13 px in Fuß, Etiketten und Zitatzeile, Regel mindestens 14 px */
.footer,
.footer-list__link,
.categories,
.listing-meta,
.testimonial-quote__author,
.team-position,
.contact-info__text,
.info-list__text,
.info-list__link,
.logo-name small { font-size: 14px; }
.footer { line-height: 1.5; }

/* Überschriften mit Zeilenhöhe 1,4, Regel 1,0 bis 1,15; zweizeilige Titel fielen auseinander */
h1, .h1, h2, .h2 { line-height: 1.15; }
h3, .h3, h4, .h4 { line-height: 1.3; }
h1, h2, h3, h4 { text-wrap: balance; }

/* Zeilen mit 87 bis 95 Zeichen (Credo, Zur Person, Anfrage am Tablet), Regel 55 bis 75 */
.about-wrap__text,
.section-headline p { max-width: 64ch; margin-left: auto; margin-right: auto; }
.cta-form > p { max-width: 64ch; }

/* Bühnentitel am Handy: der feste Umbruch ließ „Vereine,“ allein in der ersten Zeile */
@media (max-width: 767px) {
	.hero-tile__title br { display: none; }
}

/* Schwerpunktkarten am Tablet dreispaltig mit 22 Zeichen je Zeile und acht Zeilen: zweispaltig */
@media (min-width: 768px) and (max-width: 1023px) {
	#schwerpunkte .row-list__item { width: calc(50% - 2px); }
}

/* Verbände: Titel standen je nach Zeilenzahl auf verschiedener Höhe, am Handy 150 px Luft zwischen
   Einträgen von drei Zeilen; oben bündig, am Tablet zweispaltig, am Handy ohne Mindesthöhe */
.awards-img { align-items: flex-start; min-height: 0; }
@media (min-width: 768px) and (max-width: 1023px) {
	.col--3 .row-list__item { width: calc(50% - 15px); }
	.awards-img { min-height: 0; padding: 12px 0; }
}
@media (max-width: 767px) {
	.awards-img { min-height: 0; padding: 10px 0; }
	.verband-hinweis { margin-top: 12px; }
}

/* Personenbilder: Köpfe lagen im oberen Drittel und wurden in quadratischen Feldern angeschnitten */
.team-member__img img { object-position: 50% 30%; }
/* Personenangaben erscheinen nur beim Überfahren; ohne Maus (Handy, Tablet) waren sie unerreichbar.
   Dort stehen sie unter dem Bild. */
@media (hover: none), (max-width: 1023px) {
	.team-member__expanded {
		position: static;
		opacity: 1;
		pointer-events: auto;
		padding: 20px 16px 24px;
	}
	.team-member__expanded::before { display: none; }
	.team-member .team-title,
	.team-member .team-position,
	.team-member .contact-info { opacity: 1; transform: none; }
	/* Karten einer Reihe gleich hoch, zwischen den Reihen Luft statt Bild an Textkasten */
	.team { row-gap: 16px; }
	.team-member { height: 100%; }
	.team-member__expanded { flex: 1 1 auto; justify-content: flex-start; }
}

/* Zitate am Handy 24 px in neun Zeilen, ein Block aus Schlagzeilen */
@media (max-width: 767px) {
	.testimonial-quote { font-size: 20px; }
}

/* Fuß: Anschrift der Zweigstelle stand fett und weiß neben grauen Linklisten; im HTML jetzt
   mit der Klasse der Linklisten (footer-list__link), ohne Hover-Farbe, weil kein Link */
.footer-list__text:hover { color: #c9d8e6; }
/* Fuß am Handy: Impressum mittig, Copyright linksbündig darunter */
@media (max-width: 1023px) {
	.footer-under .footer-list--row { text-align: center; }
}

/* Schwerpunktkarten: Inhalt war senkrecht zentriert, bei fünf statt vier Textzeilen stand der Titel höher
   als in den Nachbarkarten; oben bündig stehen Icons und Titel einer Reihe auf einer Linie */
#schwerpunkte .card { justify-content: flex-start; }

/* ---------- Signet-Fassung 09.10.2026 abends ----------
   Max: „es muss viel mehr zu seinem Signet passen und nicht so eine moderne Seite sein, mit viel mehr
   Abstand, Feinheiten, edler“. Das Kanzleiwappen ist eine Strichzeichnung in Tinte auf Papier. Farben
   und Schriftnamen tauscht quellen/signet-css.py in main.css (Navy → Tinte, Blau → Siegelrot, Weiß →
   Papier, Libre Baskerville → Libre Caslon Display, Roboto → Libre Caslon Text). Hier stehen Größen,
   Abstände und die feinen Linien. Aufbau und Reihenfolge der Vorlage bleiben. */
:root {
	--papier: #f7fafc;
	--papier-2: #eaf1f7;
	--tinte: #17365d;
	--tinte-2: #4b5d70;
	--siegel: #004e9a;
	--linie: rgba(23, 54, 93, 0.16);
	--linie-hell: rgba(247, 250, 252, 0.24);
	--auf-tinte: #c9d8e8;
	--display: "Libre Caslon Display", Georgia, serif;
	--text: "Libre Caslon Text", Georgia, serif;
	--sektion: clamp(88px, 7vw + 60px, 160px);
	--titel: clamp(31px, 1.3vw + 26px, 42px);
}
::selection { background: var(--siegel); color: var(--papier); }

/* Grundschrift: Buch-Antiqua statt Roboto, eine Stufe größer, weil die Caslon kleiner läuft */
body {
	font-family: var(--text);
	font-size: 17px;
	line-height: 1.65;
	color: var(--tinte);
	background: var(--papier);
}
h1, .h1, h2, .h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0; line-height: 1.1; }
h1, .h1 { font-size: clamp(40px, 2.9vw + 29px, 66px); }
h2, .h2 { font-size: var(--titel); }
h3, .h3, h4, .h4 { letter-spacing: 0; }
p a { color: var(--siegel); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* Abschnittstitel: in der Vorlage kleine fette Versalien (h4), jetzt Titel in der Display-Caslon */
.section-headline h4,
.headtitle {
	font-family: var(--display);
	font-size: var(--titel);
	font-weight: 400;
	line-height: 1.1;
	text-transform: none;
	margin-bottom: 0;
}
.section-headline { max-width: 760px; margin-bottom: clamp(44px, 3vw + 32px, 76px); }
.section-headline p { margin-top: 28px; font-size: 18px; color: var(--tinte-2); }

/* Mehr Luft: Abschnitte 160 statt 50 bis 100 px, Regel mindestens 1,3 × h1 */
.section { padding: var(--sektion) 0; }
.section-testimonial { padding-top: var(--sektion); padding-bottom: calc(var(--sektion) - 20px); }
.mb--5 { margin-bottom: clamp(40px, 3vw + 24px, 64px) !important; }

/* Knöpfe: Haarlinie statt 2 px, Antiqua statt fetter Grotesk, keine Versalien */
.btn {
	font-family: var(--text);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.02em;
	border-width: 1px;
	padding: 14px 30px;
	transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}
.btn .icon { width: 17px; margin-left: 14px; }
.btn--white,
.btn--outline-white { color: var(--papier); background: transparent; border-color: rgba(247, 250, 252, 0.62); }
.btn--white:hover,
.btn--outline-white:hover { color: var(--tinte); background: var(--papier); border-color: var(--papier); }
.btn--outline-primary,
.btn--outline-secondary { color: var(--tinte); border-color: var(--tinte); }
.btn--outline-primary:hover,
.btn--outline-secondary:hover { color: var(--papier); background: var(--tinte); border-color: var(--tinte); }
.bg--gradient .btn--outline-secondary { color: var(--papier); border-color: rgba(247, 250, 252, 0.62); }
.bg--gradient .btn--outline-secondary:hover { color: var(--tinte); background: var(--papier); border-color: var(--papier); }
/* „Mehr erfahren“: Kursive mit feiner Unterstreichung statt blauem Punkt */
.btn--link {
	padding: 0;
	font-style: italic;
	letter-spacing: 0;
	color: var(--siegel);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}
.btn--link::before,
.btn--link::after { display: none; }
/* Kachel-Links: in der Vorlage ohne Rahmen und Innenabstand, die Knopfregel oben darf sie nicht einrücken */
.btn--outline { padding: 0; border: none; }
.btn--link:hover { color: var(--tinte); }

/* Kopf: Adresszeile ohne Fett, Wappen größer, Name wie ein Briefkopf */
.header-contact { font-size: 14px; }
.header-contact__link strong { font-weight: 400; }
.header--secondary:not(.header--fixed) .header-contact__link { color: rgba(247, 250, 252, 0.8); }
.header--secondary .header-upper { padding: 12px 0; border-bottom-color: var(--linie-hell); }
.logo-wappen { width: 46px; }
.logo-name { font-family: var(--display); font-size: 24px; letter-spacing: 0.01em; }
.logo-name small { font-family: var(--text); font-style: italic; font-size: 14px; opacity: 0.8; margin-top: 4px; }
.header-inner__tel { font-size: 26px; letter-spacing: 0.01em; }
.delimiter { opacity: 0.3; height: 40px; }
.header-inner .btn { padding: 11px 24px; font-size: 15px; }
.menu__link { font-family: var(--text); font-size: 16px; }
.header--fixed { background-color: var(--papier); box-shadow: none; border-bottom: 1px solid var(--linie); }
@media (max-width: 1023px) {
	.logo-wappen { width: 34px; }
	.logo-name { font-size: 19px; }
}

/* Bühne: größere, feinere Titelschrift, Text in Papierton, Folienpunkte als feine Striche */
.hero-tile__title { color: var(--papier); }
.hero-tile .text-wrap { max-width: 520px; margin-bottom: 36px; }
.hero-tile .text-wrap p { font-size: 18px; color: rgba(247, 250, 252, 0.86); }
@media (min-width: 1024px) {
	.hero-tile { min-height: 720px; }
}
/* Handy: Knopf endete 471 px, die Folienstriche standen bei 457 bis 485 px darüber */
@media (max-width: 1023px) {
	.hero-tile { padding-bottom: 104px; }
	/* Text liegt am Handy auf dem Porträt: deckendes Papier statt 86 %, sonst 4,1:1 (Messung 390 px) */
	.hero-tile .text-wrap p { font-size: 17px; color: var(--papier); }
	.hero-slider .swiper-slide:first-child .bg-stretch::after {
		background: linear-gradient(90deg, rgba(23, 54, 93, 0.84) 0%, rgba(23, 54, 93, 0.68) 60%, rgba(23, 54, 93, 0.42) 100%);
	}
}
.hero-slider .swiper-pagination { bottom: 36px; }
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 6px; }
.swiper-pagination-bullet { width: 30px; height: 2px; background: var(--papier); opacity: 0.4; }
.swiper-pagination-bullet-active { opacity: 1; }

/* Drei Kacheln: Papier mit Wasserzeichen aus dem Wappen statt Blau; Haarlinie trennt die Kacheln */
/* Titel immer zweizeilig wie in der Demo und oben bündig, sonst stand „Für Gemeinden und Bürger“ höher als die Nachbarn */
.service-card { justify-content: flex-start; }
.service-card__title { color: var(--tinte); font-family: var(--display); font-size: clamp(28px, 1vw + 24px, 36px); line-height: 1.12; max-width: 8em; margin-bottom: clamp(48px, 4vw, 72px); padding-bottom: 0; }
.service-card__title::before { display: none; }
.service-card .btn { color: var(--siegel); font-style: italic; }
.service-card .btn:hover { color: var(--tinte); }
.service-card::before { background: var(--tinte); }
.service-card:hover::before { opacity: 0.03; }
.service-list__item + .service-list__item { border-top: 1px solid var(--linie); }
@media (min-width: 1024px) {
	.service-list__item + .service-list__item { border-top: none; border-left: 1px solid var(--linie); }
	.service-card { padding: 12% 13%; }
}
/* Handy: Kachel 360 px hoch bei zwei Zeilen Titel und einem Link, unten 150 px leer */
@media (max-width: 1023px) {
	.service-card { min-height: 0; padding: 52px 20px 56px; }
	.service-card__title { margin-bottom: 28px; }
}
.service-list { border-bottom: 1px solid var(--linie); }

/* Schwerpunkte: ohne Icons, linksbündig wie ein Register, Titel in Siegelrot beim Überfahren statt
   dunkler Fläche */
#schwerpunkte .card { align-items: flex-start; text-align: left; padding: 40px 38px 44px; }
#schwerpunkte .card__title { font-family: var(--text); font-size: 21px; font-weight: 400; line-height: 1.3; margin-bottom: 14px; }
#schwerpunkte .text-wrap p { font-size: 16px; color: var(--tinte-2); margin: 0; }
.card--overlay::before { background: var(--papier); }
.card--overlay::after { background: var(--papier); }
.card--overlay:hover,
.card--overlay:hover .card__title { color: var(--siegel); }
.row-list.gap--1 { gap: 1px; }
@media (min-width: 768px) {
	.gap--1 .row-list__item { width: calc(33.333% - 1px); }
}
@media (min-width: 768px) and (max-width: 1023px) {
	#schwerpunkte .row-list__item { width: calc(50% - 1px); }
}
#schwerpunkte .row-list { margin-bottom: clamp(48px, 4vw, 72px); }

/* Arbeitscredo: Wappen darüber, Credo als Kursive */
.credo-wappen { display: block; width: 54px; height: auto; margin: 0 auto 32px; }
.about-wrap h3 {
	font-family: var(--text);
	font-style: italic;
	font-size: clamp(22px, 0.8vw + 19px, 28px);
	line-height: 1.45;
	max-width: 34em;
	margin: 36px auto 28px;
}
.about-wrap__text p { font-size: 18px; color: var(--tinte-2); }
.divider { height: 1px; background-color: var(--linie) !important; margin: clamp(64px, 6vw, 112px) 0 !important; }
.verband strong { font-family: var(--display); font-size: 23px; margin-bottom: 8px; }
.verband { font-size: 15px; color: var(--tinte-2); max-width: 240px; }
.verband-hinweis { font-style: italic; color: var(--tinte-2); opacity: 1; margin-top: 48px; }

/* Zur Person: auf Papier; Bilder bleiben graustufig wie in der Vorlage, Angaben auf Papier */
#person .section-headline p { color: var(--tinte-2); }
.team-member__expanded { color: var(--tinte); }
.team-member__expanded::before { background-color: var(--papier); }
.team-title { font-family: var(--text); font-size: 20px; line-height: 1.3; }
.team-position { font-weight: 400; font-style: italic; }
.contact-info__text { text-transform: none; font-style: italic; }
.contact-info__link { font-weight: 400; }
.contact-info.top--line::before { margin: 20px auto; }
#person .btn { margin-top: clamp(16px, 2vw, 32px); }
@media (hover: none), (max-width: 1023px) {
	.team-member { background: var(--papier); }
}

/* Schriften: Verlag und Jahr kursiv statt fetter Versalien, Pfeile mit Haarlinie statt Schatten */
.categories,
.listing-meta { font-family: var(--text); font-size: 15px; font-weight: 400; font-style: italic; text-transform: none; letter-spacing: 0; }
.categories { color: var(--siegel); }
/* Trenner als Komma direkt am Wort; am Span hing das Komma hinter dem Zeilenumbruch („SWR Kultur ,“) */
.categories > span::after { content: ","; padding: 0; }
.listing-meta__item::after { display: none; }
.listing-meta__item:not(:last-child) a::after { content: ","; }
.stories-card__content { padding: 28px 40px 30px; }
.stories-card__title { font-family: var(--display); font-size: 26px; line-height: 1.2; text-align: left; }
.stories-card__title a,
.post-card__title a { color: inherit; }
.slider-btn { background: var(--papier); box-shadow: none; border: 1px solid var(--linie); }
.slider-btn::before { border-width: 0 0 1px 1px; }

/* Altrecht: Zitate kursiv in der Textschrift, Quelle ohne Versalien und ohne Zierstrich */
.testimonial-quote {
	font-family: var(--text);
	font-style: italic;
	font-size: clamp(20px, 0.6vw + 18px, 25px);
	line-height: 1.55;
	max-width: 34em;
	margin: 0 auto;
	padding-top: 76px;
}
.testimonial-quote::before {
	content: "\201C";
	background: none;
	width: auto;
	height: auto;
	/* Detail-Fassung: bei top -28px schnitt der Slider (overflow hidden) das Zeichen ab, sichtbar waren nur
	   die beiden Tropfen als „˘˘“; jetzt steht es ganz im Innenabstand des Zitats */
	top: 0;
	transform: translateX(-50%);
	font-family: var(--display);
	font-style: normal;
	font-size: 96px;
	line-height: 1;
	opacity: 0.55;
}
.testimonial-quote__author { font-weight: 400; font-size: 15px; text-transform: none; letter-spacing: 0.02em; padding-top: 0; margin-top: 32px; opacity: 0.8; }
.testimonial-quote__author::before { display: none; }
.section-testimonial .swiper-pagination { position: static; margin-top: 56px; }

/* Anfrage und Medien: Fläche in Tinte, feine Linien, mehr Höhe */
.section-tile__item { padding-top: var(--sektion); padding-bottom: var(--sektion); }
@media (min-width: 1024px) {
	.section-tile__item { min-height: 680px; }
}
.cta-form h2 { margin-bottom: 28px; }
.bg--gradient .cta-form > p { color: var(--auf-tinte); }
.bg--gradient input.form-control,
.bg--gradient textarea { font-family: var(--text); font-size: 16px; border-bottom-color: var(--linie-hell); }
.bg--gradient input.form-control::placeholder,
.bg--gradient textarea::placeholder { color: rgba(247, 250, 252, 0.72); }
.form-row__field--btn { margin-top: 20px; }
#medien .headtitle { margin-bottom: 40px; }
.post-list__item { border-top: 1px solid var(--linie); padding: 26px 0; }
.listing-meta { color: var(--tinte-2); padding: 0 0 6px; }
.post-card__title { font-family: var(--display); font-size: 25px; line-height: 1.2; margin-bottom: 10px; }

/* Fuß: Tinte, Spaltentitel in der Display-Caslon statt Versalien, mehr Abstand */
.footer-upper { padding-top: clamp(72px, 5vw + 40px, 120px); padding-bottom: clamp(56px, 4vw + 32px, 96px); }
.footer-upper__title { font-family: var(--display); font-size: 21px; text-transform: none; margin-bottom: 20px; }
.footer-list__link { font-weight: 400; font-size: 15px; color: var(--auf-tinte); }
.footer-upper .footer-list > li + li { margin-top: 4px; }
.footer-list__link:hover { color: var(--papier); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.footer-list__text:hover { color: var(--auf-tinte); text-decoration: none; }
/* Linien: die Vorlage zieht unter der Kontaktzeile 2 px, darunter lag eine zweite Linie */
.footer-upper { border-bottom: 1px solid var(--linie-hell); }
.footer-contact { border-top: none; border-bottom: 1px solid var(--linie-hell); }
.footer-under { border-top: none; padding: 28px 0 36px; }
.info-list__text { text-transform: none; font-style: italic; font-size: 14px; }
.info-list__link { font-weight: 400; font-size: 15px; }
.footer-logo .logo-name { font-size: 24px; }
.footer-logo img { width: 60px; }
/* Handy: Schwerpunktkarten mit 38 px Innenabstand ließen 34 Zeichen je Zeile */
@media (max-width: 767px) {
	#schwerpunkte .card { padding: 32px 22px 36px; }
}

/* ===== Detail-Fassung 09.10.2026 abends (Max: „passende Ästhetik und Detail-Assets“) =====
   Historische Ansichten aus dem Generallandesarchiv Karlsruhe (Strich wie das Wappen), ein Bildvermerk
   wie unter einem Stich im Buch, feines Papierkorn. Mediävalziffern und Kapitälchen hat die Libre Caslon
   in der Google-Fassung nicht (Pixelprobe 09.10.2026), deshalb keine font-feature-settings. */

/* Bildvermerk unter dem Stich, unten rechts in Bühne und Zitatband; am Handy steht der Nachweis nur im Fuß,
   dort bräuchte der Vermerk Platz, den Text und Knopf belegen */
.stich-vermerk {
	position: absolute; right: max(20px, calc((100vw - 1130px) / 2)); bottom: 26px; z-index: 2;
	/* nur rechts der Mitte, sonst läuft der Vermerk in die Folienstriche (1024 px, Prüfbild 09.10.2026) */
	max-width: min(44em, calc(50vw - 100px - max(20px, (100vw - 1130px) / 2))); margin: 0; text-align: right;
	font-family: var(--text); font-style: italic; font-size: 14px; line-height: 1.4; color: rgba(247, 250, 252, 0.74);
	text-wrap: balance;
}
.section-testimonial { position: relative; }
@media (max-width: 1023px) {
	.stich-vermerk { display: none; }
}

/* Nachweis der Ansichten im Fuß (CC BY 4.0 verlangt Quelle, Lizenz und Hinweis auf die Bearbeitung) */
.footer-nachweis { flex-basis: 100%; margin-top: 10px; font-style: italic; font-size: 14px; color: var(--auf-tinte); }

/* Papierkorn über der ganzen Seite, höchstens 4 % Deckkraft; auf Tinte und Fotos unsichtbar */
body::after {
	content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
	background: url(../img/papier-korn.png) repeat;
}

/* ===== Schwerpunkte mit Wappenzier (09.10.2026 abends, überarbeitet 10.10.2026) =====
   Max zu den Schwerpunkten: „zu einfach, aber auch übersichtlich, nur passt es noch nicht ganz zum Stil“,
   Vorbild die Kacheln unter der Bühne mit dem Wappenausschnitt im Grund. Deshalb je Karte ein anderes
   Stück des Wappens (quellen/bilder-juris.py, ZIER), Titel in der Display-Caslon wie bei den Kacheln und
   der Pfeil der Kachellinks in Siegelrot. Aufteilung und Texte bleiben, die Übersicht auch.
   Max am 10.10.2026: die Zier überschneidet den Text und ist „etwas zu groß, etwas zu unelegant“. Gemessen
   lag sie bei 1440 in vier, bei 390 in drei von sechs Karten unter der letzten Textzeile, 84 bis 190 px
   hoch und an der Kartenkante abgeschnitten. Jetzt ist jedes Stück vollständig, höchstens 52 px hoch und
   steht in einer eigenen Zeile mit dem Pfeil: Pfeil links, Zier rechts, beide auf einer Achse. Die Zeile
   hält die Zier vom Text fern, egal wie viele Zeilen der Text hat. Größe je Stück nach gleicher Fläche
   (rund 48 × 48 px), damit die schmale Fackel nicht kleiner wirkt als die breite Waage.
   Tempo der Zustandswechsel steht in bewegung.css. */
#schwerpunkte .card { --rand-x: 40px; --rand-u: 40px; --zeile: 52px; padding: 44px var(--rand-x) var(--rand-u); }
/* Handy: die Regel von oben (32 px 22 px) wurde vom Block der Detail-Fassung überschrieben, Text stand auf 270 px */
@media (max-width: 767px) {
	#schwerpunkte .card { --rand-x: 24px; --rand-u: 36px; padding-top: 36px; }
}
#schwerpunkte .card__title { font-family: var(--display); font-size: clamp(25px, 0.4vw + 21px, 28px); line-height: 1.12; margin-bottom: 16px; }
#schwerpunkte .card--zier::before {
	inset: auto var(--rand-x) calc(var(--rand-u) + (var(--zeile) - var(--zier-h)) / 2) auto;
	width: var(--zier-b); height: var(--zier-h);
	background: no-repeat right center / contain;
	opacity: 0.2; transition-property: opacity;
}
#schwerpunkte .card--zier:hover::before { opacity: 0.32; }
#schwerpunkte .card--zier-kette  { --zier-b: 64px; --zier-h: 36px; }
#schwerpunkte .card--zier-blatt  { --zier-b: 49px; --zier-h: 47px; }
#schwerpunkte .card--zier-fackel { --zier-b: 29px; --zier-h: 52px; }
#schwerpunkte .card--zier-helm   { --zier-b: 33px; --zier-h: 52px; }
#schwerpunkte .card--zier-kreuz  { --zier-b: 46px; --zier-h: 50px; }
#schwerpunkte .card--zier-waage  { --zier-b: 65px; --zier-h: 35px; }
#schwerpunkte .card--zier-kette::before  { background-image: url(../img/zier-kette.png); }
#schwerpunkte .card--zier-blatt::before  { background-image: url(../img/zier-blatt.png); }
#schwerpunkte .card--zier-fackel::before { background-image: url(../img/zier-fackel.png); }
#schwerpunkte .card--zier-helm::before   { background-image: url(../img/zier-helm.png); }
#schwerpunkte .card--zier-kreuz::before  { background-image: url(../img/zier-kreuz.png); }
#schwerpunkte .card--zier-waage::before  { background-image: url(../img/zier-waage.png); }
/* Zeile für Pfeil und Zier: 24 px Abstand zum Text, dann so hoch wie die größte Zier */
.card__pfeil { position: relative; z-index: 1; display: inline-flex; align-items: center; margin-top: auto; padding-top: 24px; height: calc(24px + var(--zeile, 12px)); color: var(--siegel); transition-property: transform; }
.card__pfeil .icon { width: 21px; height: 12px; fill: currentColor; }
#schwerpunkte .card--zier:hover .card__pfeil { transform: translateX(6px); }

/* ===== Kacheln: Wasserzeichen als eigenes Motiv (10.10.2026) =====
   Vorher war der Wappenausschnitt ins Kachelbild gerechnet und wurde mit object-fit: cover je nach Breite
   anders angeschnitten, bei 768 mit 600 px Höhe in einer Kachel von 230 px. Jetzt liegt im Bild nur der
   Papierverlauf, das Motiv steht vollständig unten rechts und ist höchstens zwei Drittel so hoch wie die
   Kachel. Motive wie in den Schwerpunkten nach Thema: Öffentliches Recht Säule, Vereinsrecht Kette,
   Erb- und Nachbarrecht Waage. */
.service-card__bg::after {
	content: ""; position: absolute;
	right: 9%; bottom: 12%; width: min(30%, 190px); height: min(64%, 240px);
	background: no-repeat right bottom / contain;
	opacity: 0.075;
}
.service-card__bg--saeule::after { background-image: url(../img/zier-saeule.png); }
.service-card__bg--kette::after  { background-image: url(../img/zier-kette.png); }
.service-card__bg--waage::after  { background-image: url(../img/zier-waage.png); }
/* Handy: Titel und Link reichen bis 245 px, das Motiv bleibt rechts davon */
@media (max-width: 767px) {
	.service-card__bg::after { right: 6%; bottom: 10%; width: 26%; height: 60%; }
}

/* ===== Feinschliff 10.10.2026 (Max: „stilistisch etwas hübscher“) =====
   Befunde aus den Ganzseitenbildern 1440 und 390 vom 10.10.2026, je Regel unten genannt. */

/* Zur Person: Die Angaben unter den Fotos (Bürgermeister, Lehrauftrag, Historiker, Gartenfreund) erschienen
   am Desktop nur beim Überfahren, ohne Maus und im PDF standen vier Fotos ohne Erklärung nebeneinander.
   Jetzt in jeder Breite unter dem Bild wie am Handy, die vier Karten mit Abstand statt Kante an Kante. */
.team-member__expanded {
	position: static; opacity: 1; pointer-events: auto;
	padding: 22px 18px 26px;
	flex: 1 1 auto; justify-content: flex-start;
}
.team-member__expanded::before { display: none; }
.team-member .team-title,
.team-member .team-position,
.team-member .contact-info { opacity: 1; transform: none; }
.team-member { height: 100%; background: var(--papier); }
.team { row-gap: 16px; }
@media (min-width: 1024px) {
	.team { flex-wrap: nowrap; column-gap: 24px; }
	.team__item { width: auto; flex: 1 1 0; min-width: 0; }
	.team-member__img { height: 330px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.team { column-gap: 16px; }
	.team__item { width: calc(50% - 8px); }
}

/* Schriften: Am Desktop liegt die Textplatte über dem unteren Teil des Kartenbilds (Vorlage). Beim
   Weihenmaier-Umschlag endete das Sichtbare an der Nase. Buchkarten zeigen den Umschlag jetzt ganz,
   per contain in der freien Fläche über der Platte, mit Schatten wie ein Buch auf dem Tisch.
   --platte ist der sichtbare Teil der Textplatte bei dreizeiligem Titel (gemessen 170 px bei 1024 bis
   1440); die Karte wird dafür 470 statt 376 px hoch, der Umschlag steht dann rund 240 px hoch. */
.stories-card--buch .stories-card__img { background: var(--papier-2); }
.stories-card--buch .stories-card__img img {
	object-fit: contain; object-position: 50% 50%;
	padding: 28px 0;
	filter: drop-shadow(8px 12px 14px rgba(13, 33, 58, 0.28));
}
@media (min-width: 1024px) {
	.stories-slider { --platte: 170px; }
	.stories-card { min-height: 470px; }
	.stories-card--buch .stories-card__img img { padding: 30px 0 calc(var(--platte) + 28px); }
}

/* Anfrage und Medien: beide Spalten waren senkrecht zentriert, „Ihre Anfrage“ stand 47 px höher als
   „TV und Vorträge“. Oben bündig stehen beide Titel auf einer Linie. */
@media (min-width: 1024px) {
	.section-tile__item { justify-content: flex-start; }
}

/* Credo: zwei Zeilen zu je rund 90 Zeichen, für ein Zitat zu lang; schmaler gesetzt sind es drei
   ruhige Zeilen um 60 Zeichen */
.about-wrap h3 { max-width: 27em; text-wrap: balance; }

/* Fuß am Handy: drei Linklisten untereinander, 1800 px Fuß. Zwei Spalten nebeneinander halbieren ihn,
   die längste Zeile („Texte und Vorträge“) passt bei 390 px in eine halbe Spalte. */
@media (max-width: 767px) {
	.footer-upper { column-gap: 16px; }
	.footer-upper__col.col--2 { width: calc(50% - 8px); }
}

/* Fuß: Der Grund ist nur das Bild in .bg-stretch. Im PDF blieb an der Kante zum Anfragefeld (Lage
   7576,16 px) ein 2 px heller Spalt, weil beide Flächen auf halben Pixeln enden. Tinte als Grundfarbe
   darunter schließt ihn, am Bildschirm ändert sich nichts. */
.footer { background-color: var(--tinte); }
