/*
Theme Name: rechennetz
Description: Block-Theme für rechennetz it consulting nach Entwurf 26046_RNETZ_Website RZ (Weg B, Handbuch Kapitel 05).
Requires at least: 7.0
Requires PHP: 8.1
Version: 1.0.0
Text Domain: rnetz
*/

/* ===== Grundlagen ===== */
/* Onepager: Sektionen stoßen aneinander (Handbuch 5.10 Nr. 2) */
.wp-site-blocks > *, .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
/* Fuß bodenbündig, auch wenn der Inhalt kürzer als das Fenster ist: Seite mindestens fensterhoch, main füllt den Rest
   (Admin-Leiste: 32 px, ab 782 px Breite abwärts 46 px) */
.wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.wp-site-blocks > main { flex: 1 0 auto; }
.admin-bar .wp-site-blocks { min-height: calc(100dvh - 32px); }
@media (max-width: 782px) { .admin-bar .wp-site-blocks { min-height: calc(100dvh - 46px); } }
html { scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { -webkit-font-smoothing: antialiased; }
:where(.wp-block-post-content, .rnetz-text) p { margin-block: 0 8px; }
:where(.wp-block-post-content, .rnetz-text) p:last-child { margin-block-end: 0; }
.wp-block-heading { overflow-wrap: break-word; hyphens: manual; margin-block: 0 16px; }
p, li { hyphens: auto; }
a { text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--wp--preset--color--orange); outline-offset: 2px;
}
.rnetz-sr-only, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rnetz-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; }
.rnetz-skip:focus { top: 8px; }

/* Aufzählung (Formate „RNETZ P aufz“): Quadrat 9×9 in Schriftfarbe, Einzug 22 px */
.wp-block-post-content ul:not([class*="rnetz-"], .pc_plugin_image-list) { list-style: none; padding-left: 22px; margin-block: 0 8px; }
.wp-block-post-content ul:not([class*="rnetz-"], .pc_plugin_image-list) > li { position: relative; margin-bottom: 8px; }
.wp-block-post-content ul:not([class*="rnetz-"], .pc_plugin_image-list) > li::before {
	content: ""; position: absolute; left: -22px; top: 8px; width: 9px; height: 9px; background: currentColor;
}

/* Icons als Masken: Farbe kommt aus currentColor bzw. --rnetz-icon (Block-Stile „Mit Icon: …“) */
[class*="is-style-icon-"] { position: relative; padding-left: 26px; }
[class*="is-style-icon-"]::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 20px;
	pointer-events: none;   /* liegt über dem Link: Klick muss durchgehen (Kopfleiste mobil nur Icon, 2.12.2026) */
	background: var(--rnetz-icon, var(--wp--preset--color--grau)); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.is-style-icon-telefon { --m: url(assets/svg/icon-tel.svg); }
.is-style-icon-fax     { --m: url(assets/svg/icon-fax.svg); }
.is-style-icon-ort     { --m: url(assets/svg/icon-ort.svg); }
.is-style-icon-web     { --m: url(assets/svg/icon-web.svg); }
.is-style-icon-mail    { --m: url(assets/svg/icon-mail.svg); }
.is-style-icon-werkzeug { --m: url(assets/svg/icon-werkzeug.svg); }
.is-style-icon-brief   { --m: url(assets/svg/icon-brief.svg); }
.is-style-icon-hoerer  { --m: url(assets/svg/icon-telefon-klein.svg); }
.is-style-icon-ort::before { width: 14px; top: 1px; }
.is-style-firma { font-weight: 700; }

/* ===== K01 · Kopfleiste Schnellkontakt ===== */
.rnetz-kopfleiste { background: var(--wp--preset--color--grau); color: #fff; }
.rnetz-kopfleiste .rnetz-kopfleiste__innen { display: flex; flex-wrap: wrap; align-items: center; gap: 0 44px; min-height: 40px; }
.rnetz-kopfleiste p { margin: 0; line-height: 22px; --rnetz-icon: #fff; padding-left: 27px; }
.rnetz-kopfleiste a { color: #fff; text-decoration: none; }
.rnetz-kopfleiste a:hover, .rnetz-kopfleiste a:focus-visible { text-decoration: underline; }
/* Fokusrahmen auf dunklem Grund weiß: Orange auf Grau 1,1:1, auf Dunkelrot 2,3:1 (Code-Review B-19) */
.rnetz-kopfleiste a:focus-visible, .wp-block-cover.is-style-band-dunkel a:focus-visible { outline-color: #fff; }

/* ===== K02 · Logo-Zeile ===== */
.rnetz-logozeile, .rnetz-fuss__innen, .rnetz-fuss .pc_plugin_container { box-sizing: content-box; max-width: var(--wp--style--global--content-size); margin-inline: auto;
	padding-inline: var(--wp--custom--rand); }
.rnetz-logozeile { padding-block: 27px 29px; }
.rnetz-logozeile .rnetz-logo { display: inline-block; line-height: 0; }
.rnetz-logozeile .rnetz-logo img { width: 361px; max-width: 100%; height: auto; }

/* ===== K03 · Hero-Slider ===== */
.rnetz-hero { background: linear-gradient(#fff 0 20px, var(--wp--preset--color--grau-hell) 20px); }
.rnetz-hero__buehne { position: relative; max-width: var(--wp--style--global--content-size); margin-inline: auto; overflow: hidden;
	background: var(--wp--preset--color--dunkelrot); height: clamp(282px, 28.8vw, 337px); }
.rnetz-slide { position: absolute; inset: 0; }
.rnetz-slide[hidden] { display: none; }
.rnetz-slide__bild, .rnetz-slide__bild figure { position: absolute; inset: 0; margin: 0; }
.rnetz-slide__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; display: block; }
.rnetz-slide__kachel { position: absolute; left: 51px; top: 92px; width: min(688px, calc(100% - 102px)); min-height: 152px;
	box-sizing: border-box; padding: 4px 14px 14px; background: rgb(236 97 52 / .8); color: #fff; }
.rnetz-slide__kachel .wp-block-heading, .rnetz-slide__titel { color: #fff; font-size: clamp(24px, calc(9px + 4vw), 36px);
	line-height: 1.05; letter-spacing: .06em; margin: 0 0 4px; }
.rnetz-slide__kachel p, .rnetz-slide__text { font-size: var(--wp--preset--font-size--subline); line-height: 1; letter-spacing: .03em; margin: 0; color: #fff; }
/* Steuerelemente (Gestaltung 30.10.): mindestens 30 px von der Seitenkante. --rnetz-hero-aussen = Abstand der Bühne zur
   Seitenkante (0, sobald sie die volle Breite einnimmt). Pfeilglyphe auf dem Bild 23 px vom Bildrand (Entwurf), bei voller
   Breite 30 px; die Kachel weicht entsprechend nach innen. */
.rnetz-hero { container-type: inline-size; --rnetz-hero-aussen: max(0px, (100cqw - var(--wp--style--global--content-size)) / 2);
	--rnetz-hero-pfeil: max(23px, 30px - var(--rnetz-hero-aussen)); }
.rnetz-hero__pfeil { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 54px; padding: 0;
	border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.rnetz-hero__pfeil svg { width: 19px; height: 34px; }
.rnetz-hero__fuellung { fill: #fff; }
.rnetz-hero__kontur { fill: var(--wp--preset--color--orange-dunkel); }
.rnetz-hero__pfeil--zurueck { left: calc(var(--rnetz-hero-pfeil) - 12.5px); }
.rnetz-hero__pfeil--vor { right: calc(var(--rnetz-hero-pfeil) - 12.5px); }
.rnetz-hero__pfeil:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.rnetz-hero { --rnetz-kachel-links: max(51px, 61px - var(--rnetz-hero-aussen)); }
.rnetz-hero .rnetz-slide__kachel { left: var(--rnetz-kachel-links); width: min(688px, 100% - 2 * var(--rnetz-kachel-links)); }
/* Folienpunkte („header zaehler aktiv/inaktiv.svg“): Quadrat 13 px mit 1 px weißem Rand, aktiv RNETZ Orange h1 #ec6134 wie
   die SVG (Gestaltung 30.10., K-12a: gegen die weiße Kontur 3,3:1, gegen Grau 15 % 2,8:1), inaktiv #bababa; Trefferfläche
   24 px (Handbuch 6.11) */
.rnetz-hero__punkte { max-width: var(--wp--style--global--content-size); margin: 0 auto; box-sizing: border-box; display: flex;
	align-items: center; padding-left: max(0px, 30px - var(--rnetz-hero-aussen)); }
.rnetz-hero__punkte > :first-child { margin-left: -5.5px; }   /* Quadrat bündig mit Bildrand bzw. 30 px */
.rnetz-hero__punkt { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.rnetz-hero__punkt::before { content: ""; width: 13px; height: 13px; box-sizing: border-box; border: 1px solid #fff; background: #bababa; }
.rnetz-hero__punkt[aria-current="true"]::before { background: var(--wp--preset--color--orange-hell); }
.rnetz-hero__punkt:focus-visible { outline: 2px solid var(--wp--preset--color--orange-dunkel); outline-offset: -2px; }
/* Pause/Play des Autoplays (WCAG 2.2.2), rechts neben den Punkten; erst sichtbar, wenn hero.js das Autoplay startet */
.rnetz-hero__wiedergabe { width: 24px; height: 24px; margin-left: 8px; padding: 0; border: 0; background: none; cursor: pointer;
	color: var(--wp--preset--color--grau-dunkel); display: grid; place-items: center; }
.rnetz-hero__wiedergabe[hidden] { display: none; }
.rnetz-hero__wiedergabe svg { width: 13px; height: 13px; }
.rnetz-hero__wiedergabe .rnetz-hero__play, .rnetz-hero__wiedergabe.ist-angehalten .rnetz-hero__pause { display: none; }
.rnetz-hero__wiedergabe.ist-angehalten .rnetz-hero__play { display: block; }
.rnetz-hero__wiedergabe:hover { color: var(--wp--preset--color--orange-dunkel); }
.rnetz-hero__wiedergabe:focus-visible { outline: 2px solid var(--wp--preset--color--orange-dunkel); outline-offset: -2px; }
/* Übergänge (hero.js setzt .ist-weich + .ist-blende/.ist-schieben; ohne JS gilt [hidden]) */
.rnetz-hero.ist-blende .rnetz-slide { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.rnetz-hero.ist-blende .rnetz-slide.ist-aktiv { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; }
.rnetz-hero.ist-schieben .rnetz-slide { transition: transform .6s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
	.rnetz-hero .rnetz-slide, .rnetz-hero .rnetz-slide.ist-aktiv { transition: none !important; }
}

/* ===== K04 · Leistungs-Kacheln ===== */
.rnetz-kacheln-band { background: var(--wp--preset--color--grau-hell); padding-block: 39px 37px; }
/* Kachel-Reihe als eigener Abschnitt (Vorlage ab 30.10.): Seitenrand wie die frühere Gruppe (has-global-padding) */
.wp-block-rnetz-kacheln.rnetz-kacheln-band { padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right); }
.rnetz-hero + .rnetz-kacheln-band, .rnetz-hero + * .rnetz-kacheln-band { padding-top: 39px; }
.rnetz-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 30px;
	max-width: var(--wp--style--global--content-size); margin-inline: auto; }
.rnetz-kachel { background: #fff; padding: 8px 26px 33px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.rnetz-kachel__bild { margin: 0; line-height: 0; }
.rnetz-kachel__bild img { width: 176px; height: 134px; object-fit: contain; margin-top: 17px; }
.rnetz-kachel__inhalt { width: 100%; }
.rnetz-kachel .wp-block-heading { color: var(--wp--preset--color--orange-dunkel); margin: 10px 0 9px; }
.rnetz-kachel p { margin: 0; }

/* ===== K05 · Band dunkelrot ===== */
.wp-block-cover.is-style-band-dunkel { min-height: 0; padding: 31px var(--wp--custom--rand) 33px; background: var(--wp--preset--color--dunkelrot); }
.wp-block-cover.is-style-band-dunkel .wp-block-cover__inner-container { width: 100%; max-width: var(--wp--style--global--content-size); margin-inline: auto; color: #fff; }
.wp-block-cover.is-style-band-dunkel .wp-block-heading { color: #fff; }
.wp-block-cover.is-style-band-dunkel p { color: #fff; letter-spacing: .01em; }
.rnetz-zweispaltig { column-count: 2; column-gap: 65px; }
.rnetz-zweispaltig p { break-inside: avoid-column; margin: 0 0 8px; }

/* ===== K06 · Text + Bild (Fernwartung) ===== */
.rnetz-band-grau, .wp-block-group.is-style-band-grau { background: var(--wp--preset--color--grau-hell); }
.rnetz-text-bild { padding-block: 17px 25px; }
.rnetz-text-bild .wp-block-columns { gap: 60px; margin: 0; align-items: flex-start; }
.rnetz-text-bild .wp-block-column:last-child { padding-top: 6px; }
.rnetz-text-bild .wp-block-image { margin: 0; }
.rnetz-text-bild .wp-block-image img { width: 100%; aspect-ratio: 409 / 306; object-fit: cover; display: block; }
.wp-block-button.is-style-fastviewer { margin-top: 21px; }
.wp-block-button.is-style-fastviewer .wp-block-button__link { display: flex; flex-direction: column; width: 161px; padding: 0;
	background: #fff; color: #fff; box-shadow: 0 0 18px rgb(0 0 0 / .29); text-decoration: none; }
.wp-block-button.is-style-fastviewer .wp-block-button__link::before { content: ""; display: block; height: 59px;
	background: url(assets/img/fastviewer-logo.webp) center / 150px auto no-repeat; }
.wp-block-button.is-style-fastviewer .wp-block-button__link { font-size: 18px; font-weight: 700; letter-spacing: .035em;
	text-transform: uppercase; line-height: 26px; text-align: center; background-color: #fff; }
/* Streifen „Fernwartung“ in Orange dk1: Weiß darauf 4,53:1 (Orange #d94e28 nur 4,14:1, K-29, Vorgabe Skalden 11.11.) */
.wp-block-button.is-style-fastviewer .wp-block-button__link { background-image: linear-gradient(to top, var(--wp--preset--color--orange-dunkel) 26px, #fff 26px); }

/* ===== K07 · Kontakt ===== */
.rnetz-kontakt { padding-block: 19px 15px; }
.rnetz-kontaktzeile { display: grid; grid-template-columns: 287px 282px 239px 1fr; margin: 0 0 46px; }
.rnetz-kontaktzeile .wp-block-column, .rnetz-kontaktzeile p { margin: 0; }
.rnetz-kontaktzeile .is-style-icon-ort { padding-left: 23px; }
.rnetz-formular { --gap: 31px; }
.rnetz-formular__reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.rnetz-formular label, .rnetz-formular .rnetz-formular__label { display: block; margin-bottom: 4px; }
.rnetz-formular input[type="text"], .rnetz-formular input[type="email"], .rnetz-formular textarea {
	width: 100%; box-sizing: border-box; height: 39px; border: 1px solid var(--wp--preset--color--grau-rahmen);
	background: var(--wp--preset--color--feld); font: inherit; color: inherit; padding: 6px 10px; border-radius: 0; }
.rnetz-formular textarea { height: 184px; resize: vertical; }
.rnetz-formular__feld { margin-bottom: 21px; }
.rnetz-formular__fuss { display: flex; justify-content: flex-end; align-items: center; gap: 33px; flex-wrap: wrap; margin-top: 18px; }
.rnetz-formular__senden { background: var(--wp--preset--color--orange-dunkel); color: #fff; border: 0; font: inherit; width: 195px; height: 44px; }
.rnetz-formular__senden[disabled] { cursor: not-allowed; }
.rnetz-formular__fehlerliste, .rnetz-formular__danke { margin: 0 0 20px; padding: 12px 16px; border-left: 4px solid var(--wp--preset--color--dunkelrot); background: var(--wp--preset--color--grau-hell); }
.rnetz-formular__fehlerliste p { margin: 0 0 6px; }
.rnetz-formular__fehlerliste ul { margin: 0; padding-left: 20px; }
.rnetz-formular__fehlerliste a, .rnetz-formular__fehler { color: var(--wp--preset--color--dunkelrot); }   /* 9,5:1 auf Weiß, 8,0:1 auf Grau 15 % */
.rnetz-formular__fehler { display: block; margin-top: 4px; font-size: 14px; }
.rnetz-formular .rnetz-formular__feld--fehler input, .rnetz-formular .rnetz-formular__feld--fehler textarea { border: 2px solid var(--wp--preset--color--dunkelrot); }   /* gleiche Spezifität wie die Grundregel der Felder, steht danach */
.rnetz-formular__danke { border-left-color: var(--wp--preset--color--orange-dunkel); }
.rnetz-formular__fehlerliste:focus, .rnetz-formular__danke:focus { outline: 2px solid var(--wp--preset--color--orange); outline-offset: 2px; }
.rnetz-formular__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* Honeypot: nicht display:none, das erkennen Bots */
.rnetz-formular__pflicht { margin-top: 28px; }
.rnetz-formular fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* ===== K08 · Fuß ===== */
.rnetz-fuss { padding: 0; }
.rnetz-fuss__streifen { height: 39px; background: var(--wp--preset--color--grau-hell); }
.rnetz-fuss__innen { display: grid; grid-template-columns: 277px 1fr; padding-top: 22px; position: relative; }
.rnetz-fuss__logo { padding: 4px 0 0 26px; line-height: 0; }
.rnetz-fuss__logo img { width: 219px; height: auto; }   /* Original 11.11. (K-15): Schrift so groß wie die PDF-Ableitung mit 194 px */
.rnetz-fuss .wp-block-columns { margin: 0; gap: 0; }
.rnetz-fuss .wp-block-column:nth-child(1) { flex-basis: 281px; flex-grow: 0; }
.rnetz-fuss .wp-block-column:nth-child(2) { flex-basis: 252px; flex-grow: 0; }
.rnetz-fuss p { margin: 0; }
.rnetz-fuss p + p.rnetz-abstand { margin-top: 12px; }
.rnetz-fuss a { color: inherit; text-decoration: none; }
.rnetz-fuss a:hover, .rnetz-fuss a:focus-visible { text-decoration: underline; }
.rnetz-fuss .rnetz-linkliste p { margin-bottom: 8px; }
/* Seite „Bildquellen“ ([picture_credits_list]): Abstand zum Einleitungstext, Text oben bündig */
.wp-block-post-content .picture-credits-List { margin-top: 24px; }
.pc_plugin_image-list li { align-items: flex-start; }
.pc_plugin_image-list img { flex: 0 0 200px; }   /* feste Breite: Text beginnt bei allen Einträgen an derselben Stelle */
.pc_plugin_credits strong { display: block; }
/* Bildquellen im Fuß (Plugin Bildquellenangaben): Überschrift wie die Fußspalten, Liste in Fußschrift */
.rnetz-fuss .pc_plugin_container_head { padding-top: 22px; margin-bottom: 6px; }   /* Abstand im Inneren: zugeklappt 0 px hoch */
.rnetz-fuss .pc_plugin_all { display: inline-block; margin-bottom: 12px; }
.rnetz-fuss .pc_plugin_close { color: var(--wp--preset--color--grau-dunkel); }
.rnetz-fuss .pc_plugin_image-list li { margin: 0; }
.rnetz-fuss .pc_plugin_credits p { margin: 2px 0 0; }
.wp-block-heading.is-style-fuss, .rnetz-fuss .pc_plugin_container_heading { font-family: var(--wp--preset--font-family--roboto); font-size: var(--wp--preset--font-size--fuss);
	line-height: 24px; letter-spacing: .035em; color: var(--wp--preset--color--orange-dunkel); margin: 0 0 2px; }
.rnetz-fuss__unten { position: relative; height: 43px; margin-top: 16px; }
.rnetz-fuss__linie { position: absolute; left: 0; right: 0; top: 24px; height: 11px; background: var(--wp--preset--color--grau-linie); }
/* Wortmarke (Original 11.11., K-15) im Maßstab der Linie: Quadrate so hoch wie die Linie (10,63 von 15,67 Einheiten = 11 px) und
   bündig darauf, Abstand zur Linie 6 Einheiten – wie „rechennetz fusszeile desktop test 1.svg“ der Gestaltung */
.rnetz-fuss__wortmarke { position: absolute; right: calc(var(--wp--custom--rand) + 7px); top: 18.8px; background: #fff; padding: 0 6px; line-height: 0; }
.rnetz-fuss__wortmarke img { width: 206px; height: auto; }
.rnetz-nach-oben { position: fixed; right: calc(var(--wp--custom--rand) - 41px); bottom: 26px; z-index: 50; width: 49px; height: 49px;
	border-radius: 50%; background: rgb(102 102 102 / .85); display: grid; place-items: center; color: #fff; }
/* Gestaltung 30.10.: Pfeil weiß, kein Schatten, Kreis mindestens 3:1 gegen RNETZ Grau 15 % – bei 85 % Deckkraft 3,6:1
   (Weiß/Kreis 4,3:1); auf Weiß 4,1:1 */
.rnetz-nach-oben svg { width: 24px; height: 14px; color: #fff; }   /* am SVG: „.rnetz-fuss a { color: inherit }“ wiegt mehr als die Klasse */
.rnetz-nach-oben:hover { background: rgb(102 102 102 / .95); }
.rnetz-nach-oben:focus-visible { outline: 2px solid var(--wp--preset--color--orange); outline-offset: 2px; }
/* Schwebender Knopf (FAB): erst ab der Mindest-Scrollhöhe (assets/js/nach-oben.js setzt .ist-sichtbar), gleitet von unten
   herein; verborgen nicht fokussierbar (visibility). Ohne JavaScript (keine Klasse rnetz-js) immer sichtbar. */
.rnetz-js .rnetz-nach-oben { opacity: 0; visibility: hidden; transform: translateY(calc(100% + 26px));
	transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s; }
.rnetz-js .rnetz-nach-oben.ist-sichtbar { opacity: 1; visibility: visible; transform: none;
	transition: transform .35s ease, opacity .35s ease, visibility 0s; }
/* „Bewegung reduzieren“: immer an seiner Stelle sichtbar – keine Mindest-Scrollhöhe, kein Ein- und Ausgleiten */
@media (prefers-reduced-motion: reduce) {
	.rnetz-js .rnetz-nach-oben, .rnetz-js .rnetz-nach-oben.ist-sichtbar { opacity: 1; visibility: visible; transform: none; transition: none; }
}

/* ===== K09 · Unterseiten (Formate für Beispielseite) ===== */
.rnetz-seitenkopf { padding-block: 40px 0; }
.rnetz-seitenkopf .wp-block-post-title { margin: 0 0 16px; }
.rnetz-seite { padding-block: 0 48px; }
/* Suche und Archiv (templates/search.html, archive.html; Code-Review B-19): Trefferliste ohne eigene Gestaltungsvorgabe,
   im Stil der Textseiten */
.rnetz-treffer .wp-block-search { margin-block: 8px 32px; }   /* volle Inhaltsbreite wie die Überschrift, Feld selbst begrenzt */
.rnetz-treffer .wp-block-search__inside-wrapper { max-width: 560px; }
.rnetz-treffer .wp-block-search__input { border: 1px solid var(--wp--preset--color--grau-rahmen); background: var(--wp--preset--color--feld); padding: 6px 10px; font: inherit; }
.rnetz-treffer .wp-block-search__button { background: var(--wp--preset--color--orange-dunkel); color: #fff; border: 0; font: inherit; padding: 8px 18px; }
.rnetz-treffer__liste .wp-block-post-template { list-style: none; padding: 0; margin: 0; }
.rnetz-treffer__liste .wp-block-post-template > li { padding-block: 16px; border-bottom: 1px solid var(--wp--preset--color--grau-linie); }
.rnetz-treffer__liste .wp-block-post-title { font-size: 1.25rem; margin: 0 0 6px; }
.rnetz-treffer__liste .wp-block-post-excerpt__excerpt { margin: 0; }
.rnetz-treffer__liste .wp-block-query-pagination { margin-top: 24px; gap: 12px; }
.rnetz-textabschnitt { padding-block: 36px; }
.rnetz-seite > .rnetz-textabschnitt:first-child, .rnetz-textabschnitt + .rnetz-textabschnitt { padding-top: 0; }
.rnetz-textabschnitt .wp-block-heading:not(:first-child) { margin-top: 24px; }
.rnetz-textabschnitt h3.wp-block-heading { margin-bottom: 8px; }

/* ===== Breakpoints (Desktop-first; Core-Spalten stapeln ≤ 781) ===== */
@media (max-width: 1100px) {
	.rnetz-kontaktzeile { grid-template-columns: 1fr 1fr; gap: 16px 30px; }
}
/* Fuß zwischen Desktop und Mobil (Gestaltung 30.10.): „Rechtliches“ nicht stauchen, sondern unter „Services“ */
@media (min-width: 782px) and (max-width: 1100px) {
	.rnetz-fuss .wp-block-columns { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 22px 30px; }
	.rnetz-fuss .wp-block-column:nth-child(1) { grid-row: span 2; }
}
@media (max-width: 900px) {
	.rnetz-kacheln { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.rnetz-kachel { flex-direction: row; align-items: flex-start; text-align: left; padding: 19px 21px 21px 21px; gap: 19px; }
	.rnetz-kachel__bild img { width: 129px; height: auto; aspect-ratio: 176 / 134; margin-top: 0; }   /* Kasten wie oben: gleicher Maßstab für alle drei */
	.rnetz-kachel .wp-block-heading { margin-top: 0; }
	.rnetz-zweispaltig { column-count: 1; }
	.rnetz-nach-oben { right: 8px; }
}
@media (max-width: 781px) {
	.rnetz-formular__reihe { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.rnetz-fuss__innen { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
	.rnetz-fuss__logo { padding-left: 0; }
	.rnetz-fuss__logo img { width: min(219px, 100%); }
	.rnetz-fuss .wp-block-columns { flex-direction: column; flex-wrap: nowrap !important; gap: 22px; }
	.rnetz-fuss .wp-block-column { flex-basis: auto !important; }
	.pc_plugin_image-list img { flex-basis: 120px; width: 120px; }   /* Bildquellen (Fuß und Seite): mehr Platz für den Text */
	.rnetz-text-bild .wp-block-columns { gap: 24px; }
}
@media (max-width: 480px) {
	.rnetz-kachel { flex-direction: column; align-items: center; text-align: center; }
	.rnetz-kachel__bild img { width: 150px; }
}
@media (max-width: 600px) {
	h2.wp-block-heading { line-height: 1.06; }
	.rnetz-kopfleiste .rnetz-kopfleiste__innen { gap: 0 24px; }
	.rnetz-logozeile { padding-block: 22px 24px; }
	.rnetz-logozeile .rnetz-logo img { width: min(312px, 100%); }
	.rnetz-slide__kachel { top: 40px; min-height: 0; padding: 2px 11px 12px; }
	.rnetz-hero .rnetz-slide__kachel { left: 61px; width: min(322px, 100% - 122px); }   /* rechts der Pfeilglyphe (30 + 19 + 12 px) */
	.rnetz-slide__kachel p, .rnetz-slide__text { line-height: 26px; }
	.rnetz-formular__fuss { justify-content: flex-start; }
	.rnetz-fuss__wortmarke { right: 0; }
}
/* sehr schmal: Kopfleiste nur Icons (Name bleibt für Screenreader, Handbuch 6.4), Kontakt und Fuß einspaltig */
@media (max-width: 575px) {
	.rnetz-kopfleiste .rnetz-kopfleiste__innen { gap: 0 18px; justify-content: space-between; }
	.rnetz-kopfleiste .rnetz-nur-icon-mobil { font-size: 0; padding-left: 22px; }
	.rnetz-kopfleiste .rnetz-nur-icon-mobil a { display: inline-block; width: 22px; height: 22px; margin-left: -22px; }
}
@media (max-width: 360px) {
	.rnetz-kopfleiste p { font-size: 14px; }
	.rnetz-kopfleiste .rnetz-kopfleiste__innen { gap: 0 12px; }
}
@media (max-width: 480px) {
	.rnetz-kontaktzeile { grid-template-columns: minmax(0, 1fr); }
	.rnetz-fuss__innen { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
