/*
Theme Name: Hydro-Berlin
Theme URI: https://hydro-berlin.de
Author: HYB Hydro-Berlin GmbH
Author URI: https://hydro-berlin.de
Description: Block-Theme (Full Site Editing) im Design der neu gestalteten Hydro-Berlin-Website: Schiefer-zu-Stahlblau-Verlauf, Marineblau und Aqua, Raleway als einzige Schrift (lokal eingebunden, keine Verbindungen zu Dritten). Farben, Abstände, Kopf- und Fußzeile sowie Vorlagen lassen sich im Website-Editor ändern. Das Theme verändert keine Inhalte.
Version: 0.2.18
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hydro-berlin
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, accessibility-ready, translation-ready, wide-blocks

Der Code dieses Themes steht unter GPLv2 oder neuer. Die enthaltene Schrift Raleway (assets/fonts)
steht unter der SIL Open Font License 1.1 (assets/fonts/OFL-Raleway.txt).

Diese Datei enthält nur, was theme.json nicht ausdrücken kann (Portierung aus build/src/css der statischen Seite).
Alles andere (Farben, Schriftgrößen, Abstände, Schaltflächen, Layoutbreiten) steht in theme.json.
*/

/* ---------- Basis ---------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--wp--custom--header-height) + 1rem); }
body {
	font-variant-numeric: lining-nums;   /* Raleway hat Mediävalziffern: Jahreszahlen und Prozente stehen auf der Grundlinie */
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 { text-wrap: balance; hyphens: manual; overflow-wrap: anywhere; }
p:not(:has(br)) { text-wrap: pretty; }
@media (max-width: 47.99rem) { h1, h2, h3, h4, .wp-block-post-content p, .wp-block-post-content li { hyphens: auto; } }
strong, b { font-weight: 700; }
sup, sub { font-size: 0.75em; line-height: 0; }
img, video { max-width: 100%; height: auto; }
a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
.nowrap { white-space: nowrap; }

/* Fokus: immer sichtbar */
:focus-visible { outline: 3px solid var(--wp--custom--focus); outline-offset: 2px; border-radius: 2px; }
.has-slate-900-background-color :focus-visible, .has-slate-950-background-color :focus-visible,
.has-hero-gradient-background :focus-visible, .has-band-gradient-background :focus-visible,
.has-slate-900-background-color:focus-visible, .has-hero-gradient-background:focus-visible, .has-band-gradient-background:focus-visible,
.hyb-on-dark :focus-visible {
	/* Auf Verläufen: weißer Ring mit dunklem Innenring (mindestens 3:1 gegen Verlauf und gegen das Element) */
	outline: 3px solid #fff; outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--wp--preset--color--slate-950);
}
main:focus { outline: none; }

/* Sprunglink */
.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy);
	border-radius: 6px; box-shadow: var(--wp--preset--shadow--float);
	clip: auto; clip-path: none; height: auto; width: auto;
	left: 1rem; top: 1rem; padding: 0.9rem 1.2rem; z-index: 100000; font-weight: 600; text-decoration: none;
}

/* Hierhin springen: kein Text unter der klebenden Kopfzeile */
.wp-site-blocks > main { min-height: 40vh; }

/* ---------- Kopfzeile: klebend, helles Glas -------------------------------------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 30; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.hyb-header {
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--wp--preset--color--mist-200);
	min-height: var(--wp--custom--header-height);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.hyb-header { background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.hyb-brand { min-height: 2.75rem; }
.hyb-brand .wp-block-site-logo a { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; }
.hyb-brand .wp-block-site-logo img { width: auto; height: 2.5rem; border-radius: 0; }
.hyb-brand .wp-block-site-title a { min-height: 2.75rem; margin-block: -0.6rem; display: inline-flex; align-items: center; }   /* Tippfläche 44 px, Zeile bleibt eng */
.hyb-brand .wp-block-site-title { white-space: nowrap; hyphens: manual; position: relative; z-index: 1; }   /* Name nie trennen; Tippfläche liegt über dem Untertitel */
@media (max-width: 26rem) { .hyb-brand .wp-block-site-title { font-size: 0.95rem; letter-spacing: 0.01em; } .hyb-brand { gap: 0.5rem; } }   /* Handys: Name etwas kleiner statt Umbruch */
.hyb-brand .wp-block-site-tagline { display: none; margin: 0; white-space: nowrap; }
.hyb-header .wp-block-navigation__container { flex-wrap: nowrap; }
.hyb-header .wp-block-navigation-item { white-space: nowrap; }
@media (min-width: 80rem) { .hyb-brand .wp-block-site-tagline { display: block; } }
@media (max-width: 47.99rem) { .hyb-header { min-height: 4rem; } }

/* Untermenü-Pfeil: dicht am Menüpunkt, trotzdem 44 px hoch zum Antippen */
.wp-block-navigation .wp-block-navigation__submenu-icon { width: 2.75rem; height: 2.75rem; margin: 0 -0.5rem 0 -0.5rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.wp-block-navigation .has-child > .wp-block-navigation-item__content { padding-right: 0; }
.wp-block-navigation .wp-block-navigation__submenu-icon svg { width: 0.75rem; height: 0.75rem; }

/* Kopfzeile: Inhalt mittig */
.hyb-header > .wp-block-group { align-items: center; min-height: var(--wp--custom--header-height); }

/* Navigation: 44-px-Ziele, aktive Seite mit Aqua-Strich, Untermenü als Karte */
.wp-block-navigation .wp-block-navigation-item__content { min-height: 2.75rem; display: inline-flex; align-items: center; padding: 0 0.5rem; border-radius: 6px; position: relative; hyphens: none; }
.wp-block-navigation .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--mist-100); }
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation [aria-current="page"] { color: var(--wp--preset--color--navy); font-weight: 650; }
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after,
.wp-block-navigation .wp-block-navigation-item__content[aria-current="page"]::after {
	content: ""; position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0.3rem; height: 3px; border-radius: 2px; background: var(--wp--preset--color--aqua);
}
.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
	min-width: 17.5rem; padding: 0.5rem; border: 1px solid var(--wp--preset--color--mist-200) !important;
	border-radius: 12px; box-shadow: var(--wp--preset--shadow--float);
}
.wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0 0.75rem; }
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close {
	min-width: 2.75rem; min-height: 2.75rem; border: 1.5px solid var(--wp--preset--color--mist-300); border-radius: 6px; background: #fff; color: var(--wp--preset--color--ink);
	align-items: center; justify-content: center;
}
.wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem var(--wp--custom--gutter); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { min-height: 3.25rem; font-size: 1.0625rem; font-weight: 550; }
.hyb-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.5rem; border: 1.5px solid var(--wp--preset--color--mist-300); border-radius: 6px; font-size: 0.9375rem; font-weight: 650; letter-spacing: 0.04em; text-decoration: none; color: var(--wp--preset--color--ink); }
.hyb-lang a:hover { border-color: var(--wp--preset--color--navy); color: var(--wp--preset--color--navy); }
.hyb-lang { margin: 0; }

/* ---------- Seitenkopf (Brotkrumen-Fläche) --------------------------------------- */
.hyb-page-head { border-bottom: 1px solid var(--wp--preset--color--mist-200); }
.hyb-page-head .wp-block-post-title, .hyb-page-head h1, .hyb-page-head .wp-block-post-date { margin-block: 0; }
.hyb-page-head .wp-block-post-title, .hyb-page-head h1 { max-width: 75rem; padding-right: 20%; box-sizing: border-box; }
.hyb-page-head--post .wp-block-post-title { padding-right: 15%; font-size: clamp(1.625rem, 1.05rem + 2.6vw, 3.2rem); }
.hyb-page-head .wp-block-post-date { margin-top: 0.5rem; }

/* ---------- Inhalt: Fließtext schmal, breite Blöcke (Spalten, Medien) breit ------- */
.wp-block-post-content > :is(p, ul, ol, h2, h3, h4, h5, h6, blockquote, pre, dl) {
	max-width: var(--wp--custom--measure);
	margin-inline: 0 !important;
}
.wp-block-post-content > :is(h2) { margin-top: 2.2em; }
.wp-block-post-content > :is(h3) { margin-top: 2em; }
.wp-block-post-content > :is(h4, h5) { margin-top: 1.8em; }
.wp-block-post-content > :is(h2, h3, h4):first-child { margin-top: 0; }
.wp-block-post-content > :is(h3, h4, h5) + * { margin-top: 0.6em; }
/* Aufzählung mit kleinem Tropfen */
.wp-block-post-content ul:not([class]) { list-style: none; padding: 0; }
.wp-block-post-content ul:not([class]) > li { position: relative; padding-left: 1.5rem; }
.wp-block-post-content ul:not([class]) > li::before {
	content: ""; position: absolute; left: 0.15rem; top: 0.72em; width: 0.5rem; height: 0.5rem;
	border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--wp--preset--color--steel-500);
}
.wp-block-post-content li + li { margin-top: 0.5em; }
.wp-block-post-content .wp-block-columns { gap: var(--wp--preset--spacing--60); }
.wp-block-post-content .wp-block-media-text { gap: var(--wp--preset--spacing--50); }
.wp-block-post-content figure img { border-radius: 12px; }
.wp-block-post-content figure.wp-block-table, .wp-block-post-content table { max-width: 100%; }
.wp-block-post-content .wp-block-table { overflow-x: auto; }
.wp-block-table th, .wp-block-table td { padding: 0.6rem 0.8rem; border: 1px solid var(--wp--preset--color--mist-200); }
.wp-block-table thead { border-bottom: 2px solid var(--wp--preset--color--mist-300); }
.wp-block-post-content .wp-block-button__link { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; text-align: center; hyphens: none; }
.wp-block-post-content .wp-block-buttons { gap: var(--wp--preset--spacing--30); }
@media (max-width: 39.99rem) { .wp-block-buttons .wp-block-button { flex: 1 1 100%; } .wp-block-buttons .wp-block-button__link { width: 100%; } }
hr, .wp-block-separator { margin-block: var(--wp--preset--spacing--60); }
/* Eingebettetes Video/iframe nie breiter als der Bildschirm */
.wp-block-post-content iframe, .wp-block-post-content video { max-width: 100%; }

/* ---------- Karten (Archiv „Aktuelles“) ------------------------------------------ */
.hyb-cards { gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50); }
.hyb-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.hyb-card .wp-block-post-featured-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--mist-100); margin: 0; }
.hyb-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.hyb-card:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.hyb-card .wp-block-post-title { margin: 0.9rem 0 0; font-size: 1.25rem; line-height: 1.28; font-weight: 650; hyphens: auto; }
.hyb-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }   /* ganze Karte klickbar */
.hyb-card .wp-block-post-title a { padding-block: 0.6rem; margin-block: -0.6rem; }   /* Tippfläche mindestens 44 px, Zeilenabstand unverändert */
.hyb-card .wp-block-post-date { margin: 0.4rem 0 0; }

/* ---------- Hero (Muster) -------------------------------------------------------- */
.hyb-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.hyb-hero h1, .hyb-hero h2, .hyb-hero .wp-block-heading { color: #fff; }
.hyb-hero h1 { font-size: var(--wp--preset--font-size--hero); line-height: 1.02; letter-spacing: -0.032em; font-weight: 700; hyphens: none; max-width: 12em; }
.hyb-hero__lead { max-width: 36rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.hyb-hero a:not(.wp-block-button__link) { color: #fff; }
.hyb-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--wp--preset--color--slate-900); }
.hyb-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--wp--preset--color--steel-200); color: var(--wp--preset--color--slate-950); }
.hyb-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.85); background: transparent; }
.hyb-hero .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--slate-900); }
.hyb-hero .wp-block-image img { border-radius: 28px 6px 28px 6px; }

/* Aktionsband */
.hyb-cta { border-radius: 28px 6px 28px 6px; color: #fff; }
.hyb-cta h2, .hyb-cta h3 { color: #fff; max-width: 24ch; }
.hyb-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--wp--preset--color--slate-900); }
.hyb-cta .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.85); background: transparent; }
.hyb-cta .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--slate-900); }

/* ---------- Fußzeile ------------------------------------------------------------- */
.hyb-footer { margin-block-start: 0; color: #fff; }
.hyb-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.5); }
.hyb-footer a:hover { color: #fff; text-decoration-color: #fff; }
.hyb-footer__mark img { width: auto; height: 4.25rem; padding: 0.5rem 0.65rem; box-sizing: border-box; border-radius: 12px; background: #fff; }   /* Originallogo auf weißer Platte */
.hyb-footer .wp-block-navigation .wp-block-navigation-item__content { color: #fff; font-size: 1rem; font-weight: 550; min-width: 2.75rem; padding: 0; justify-content: center; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 0.18em; }
.hyb-footer .wp-block-navigation .wp-block-navigation-item__content:hover { background: transparent; text-decoration-color: #fff; }
.hyb-footer__tag { max-width: 34ch; color: rgba(255, 255, 255, 0.88); }
.hyb-footer__copy { color: rgba(255, 255, 255, 0.82); margin: 0; }
.hyb-footer .wp-block-social-links .wp-social-link a { min-width: 2.75rem; min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 6px; }

/* Seitenzahlen: 44-px-Ziele */
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; }
.wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: 0.25rem; }

/* ---------- Suche, 404 ----------------------------------------------------------- */
.wp-block-search__input { min-height: 3rem; border: 1.5px solid #7a8ba0; border-radius: 6px; padding: 0 0.9rem; }
.wp-block-search__button { min-height: 3rem; }

/* ---------- Bewegung reduzieren -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Druck ---------------------------------------------------------------- */
@media print {
	.wp-site-blocks > header.wp-block-template-part, .hyb-footer .wp-block-navigation, .hyb-cta { display: none !important; }
	body { color: #000; background: #fff; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; word-break: break-all; }
}

/* Abstand zwischen den Hauptbereichen der Seite (Kopf, Inhalt, Fuß) kommt nur aus den Bereichen selbst */
body .wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
.wp-block-post-navigation-link a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.hyb-footer > * { margin-block: 0 !important; }

/* ==========================================================================================================
   Bausteine für Seiteninhalte (Kernblöcke mit Klassen, Muster in patterns/). Portiert aus build/src/css.
   ========================================================================================================== */

/* Abstand zwischen Bereichen kommt nur aus den Bereichen selbst, nie aus dem Blockabstand */
.wp-block-post-content > .hyb-section, .wp-block-post-content > .hyb-hero, .wp-block-post-content > .hyb-page-head { margin-block: 0; }
.hyb-section { box-sizing: border-box; }
.wp-block-post-content > :first-child:not(.alignfull) { margin-top: clamp(2.25rem, 5vw, 4.25rem); }
.single-post .wp-block-post-content > :first-child:not(.alignfull) { margin-top: 0; }   /* Beiträge: der Bereich darüber hat schon Innenabstand (sonst große Lücke über dem Text) */
.wp-block-post-content > :last-child:not(.alignfull) { margin-bottom: clamp(3rem, 7vw, 5rem); }

/* Schmale Elemente in Bereichen stehen linksbündig (das Layout würde sie sonst mittig setzen) */
.hyb-section > :is(h1, h2, h3, h4, .hyb-accordion-list, .hyb-leadfig) { margin-left: max(0px, calc((100% - 75rem) / 2)) !important; margin-right: auto !important; }
.hyb-prose > * { margin-inline: 0 !important; }
.hyb-pre > .wp-block-separator { margin-left: max(0px, calc((100% - 75rem) / 2)) !important; margin-right: auto !important; }

/* Auf dunklem Grund: Text und Links weiß */
.hyb-on-dark :is(h1, h2, h3, h4, p, li, strong, figcaption) { color: #fff; }
.hyb-on-dark a:not(.wp-block-button__link) { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.hyb-on-dark a:not(.wp-block-button__link):hover { text-decoration-color: #fff; }

/* Schaltfläche als Textlink (Blockstil "Textlink") */
.wp-block-button.is-style-hyb-link .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--navy); border-color: transparent;
	padding-inline: 0.25rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em;
}
.wp-block-button.is-style-hyb-link .wp-block-button__link:hover { color: var(--wp--preset--color--navy-700); text-decoration-thickness: 2px; background: transparent; }
.hyb-hero .wp-block-button.is-style-hyb-link .wp-block-button__link, .hyb-on-dark .wp-block-button.is-style-hyb-link .wp-block-button__link { color: #fff; background: transparent; }
.hyb-hero .wp-block-button.is-style-hyb-link .wp-block-button__link:hover { background: transparent; color: #fff; }

/* ---------- Hero (Startseite) ---------- */
.hyb-hero { padding: 0; }
.hyb-hero__main .wp-block-columns { gap: clamp(2rem, 5vw, 5rem); margin: 0; }
.hyb-hero__copy { max-width: 100%; }
.hyb-hero__copy > * { margin-block: 0; }
.hyb-hero__copy h1 { max-width: 10.2em; text-wrap: balance; }
.hyb-hero__brand { margin-top: clamp(1rem, 2.2vw, 1.75rem) !important; margin-bottom: clamp(0.5rem, 1.4vw, 1rem) !important; }   /* ENOLA-Logo: Luft zur Überschrift und zum Text */
.hyb-hero__brand img { height: clamp(3.2rem, 5.6vw, 5.2rem); width: auto; max-width: 100%; border-radius: 0 !important; }
.hyb-hero__lead { margin-top: 1.9rem !important; line-height: 1.65; }
.hyb-hero__copy .wp-block-buttons { margin-top: 2rem; align-items: center; }
.hyb-hero .hyb-hero__photo { margin: 0; border-radius: 28px 6px 28px 6px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 40px 70px -34px rgba(8, 16, 30, 0.7); background: var(--wp--preset--color--slate-800); }
.hyb-hero .hyb-hero__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; }
@media (min-width: 40rem) and (max-width: 63.99rem) { .hyb-hero .hyb-hero__photo { aspect-ratio: 16 / 9; } }

/* Kennzahlenband */
.hyb-ledger { border-top: 1px solid rgba(255, 255, 255, 0.16); background: rgba(14, 24, 40, 0.55); }
.hyb-ledger .wp-block-columns { gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70); margin: 0; }
.hyb-ledger__badge { margin: 0; max-width: 19rem; padding: 0.7rem 1rem; background: #fff; border-radius: 10px; }
.hyb-ledger__badge img { width: 100%; height: auto; border-radius: 0 !important; }
.hyb-stat > * { margin-block: 0; }
.hyb-stat__fig { font-size: clamp(2.5rem, 1.7rem + 2.8vw, 3.9rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; hyphens: none; }
.hyb-stat__txt { margin-top: 0.3rem !important; font-weight: 500; font-size: 1.0625rem; line-height: 1.4; max-width: 30ch; hyphens: manual !important; }
.hyb-gauge { position: relative; margin-top: 0.55rem !important; max-width: 18rem; border-radius: 999px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.hyb-gauge::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 90%; background: linear-gradient(90deg, var(--wp--preset--color--aqua), #92ecef); border-radius: inherit; }
.hyb-gauge::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(20, 32, 47, 0.5) calc(10% - 1px) 10%); }
@media (max-width: 47.99rem) { .hyb-ledger__badge { max-width: 15rem; } }

/* Einleitung, Paar, Aktuelles, Partner (Startseite) */
.hyb-intro__brand { margin: 0; }
.hyb-intro__brand img { width: min(100%, 22rem); height: auto; border-radius: 0 !important; }
.hyb-intro__cols, .hyb-hung__cols { gap: clamp(2rem, 5vw, 5rem); margin-bottom: 0; }
.hyb-intro h2 { max-width: 25ch; margin-top: 0; }
.hyb-intro .wp-block-column > p { margin-top: 1rem; max-width: 44rem; line-height: 1.65; }
.hyb-pair__cols { gap: var(--wp--preset--spacing--60); margin-bottom: 0; }
.hyb-pair__plain { padding-top: calc(var(--wp--preset--spacing--60) - 2px); border-top: 2px solid var(--wp--preset--color--steel-500); box-sizing: border-box; }
.hyb-pair__plain h2, .hyb-pair__cta h2 { margin-top: 0; max-width: 28ch; }
.hyb-pair__plain > p, .hyb-pair__cta > p { margin-top: 0.75rem; max-width: 44rem; }
.hyb-pair__cta { border-radius: 28px 6px 28px 6px; box-sizing: border-box; }
.hyb-pair__cta > p { color: rgba(255, 255, 255, 0.92); }
.hyb-news { border-block: 1px solid var(--wp--preset--color--mist-200); }
.hyb-news__head { margin-bottom: var(--wp--preset--spacing--60); gap: 0.75rem 1.5rem; }
.hyb-news__head > * { margin: 0; }
.hyb-news__more { font-weight: 600; }
.hyb-news__more a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.hyb-logos__label { margin: 0 0 var(--wp--preset--spacing--40); font-weight: 600; font-size: 1.1875rem; }
.hyb-logos__row { gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--70); }
.hyb-logos .wp-block-image { margin: 0; }
.hyb-logos .wp-block-image img { height: 2.75rem; width: auto; max-width: min(12.5rem, 44vw); border-radius: 0; object-fit: contain; object-position: left center; background: transparent; }
@media (min-width: 48rem) { .hyb-logos .wp-block-image img { height: 3.25rem; } }
.hyb-logos .hyb-logo--heavy img { height: 2.35rem; }
.hyb-logos .hyb-logo--tall img { height: 4rem; }
@media (min-width: 48rem) { .hyb-logos .hyb-logo--heavy img { height: 2.75rem; } .hyb-logos .hyb-logo--tall img { height: 5rem; } }
.hyb-logos__sep.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { width: 100%; max-width: 75rem; margin-block: var(--wp--preset--spacing--60) !important; border: 0; border-top: 1px solid var(--wp--preset--color--mist-200); background: none; height: 0; opacity: 1; }

/* ---------- Beitragskarten mit Platzhalter ---------- */
.hyb-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px 12px 4px 4px; background: var(--wp--preset--gradient--band); margin: 0; }
.hyb-card__media::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 5rem; aspect-ratio: 1; transform: translate(-50%, -50%);
	border-radius: 14px; background: #fff url("assets/img/hyb-logo.png") center / 62% no-repeat;
}
.hyb-card__media .wp-block-post-featured-image { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; background: transparent; }
.hyb-card__media .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.hyb-card:hover .hyb-card__media .wp-block-post-featured-image img { transform: scale(1.03); }
.hyb-cards > li, .hyb-cards > .wp-block-post { margin-block: 0; }
.hyb-card__body { padding-top: 0.9rem; flex: 1; display: flex; flex-direction: column; }
.hyb-card__body > * { margin-block: 0; }
.hyb-card__date { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-3); }
.hyb-card__body .wp-block-post-title { margin: 0.4rem 0 0; }
.hyb-card__body .wp-block-read-more { margin-top: auto; padding-top: 0.75rem; display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; position: relative; z-index: 1; }

/* ---------- Seitenbereiche ---------- */
.hyb-stack h2:first-child, .hyb-faq h2:first-child { margin-top: 0; margin-bottom: var(--wp--preset--spacing--60); max-width: 36ch; }
.hyb-stack > * + * { margin-top: var(--wp--preset--spacing--60); }
.hyb-stack > h2 + h3 { margin-top: calc(var(--wp--preset--spacing--60) * -0.4); }
.hyb-prose > * { max-width: var(--wp--custom--measure); margin-inline: 0 !important; }
.hyb-prose > * + * { margin-top: 1.1em; }
.hyb-prose > h3 { margin-top: 0; }
.hyb-prose > h3 + * { margin-top: 0.6em; }
.hyb-prose a { font-weight: 500; overflow-wrap: anywhere; }
.hyb-hung { border-top: 1px solid var(--wp--preset--color--mist-200); }
.hyb-pre + .hyb-hung { border-top: 0; }
.hyb-hung h2 { margin: 0; max-width: 23ch; font-size: clamp(1.75rem, 1.1rem + 1vw, 2.25rem); }
@media (min-width: 48.75rem) { .hyb-hung__cols > .wp-block-column:first-child { position: sticky; top: calc(var(--wp--custom--header-height) + 1.5rem); align-self: flex-start; } }
.hyb-pre img { border-radius: 0; }

/* Überschriften im Inhalt: Silbentrennung statt Wortbruch mitten im Wort */
.wp-block-post-content :is(h1, h2, h3, h4) { hyphens: auto; overflow-wrap: break-word; }

/* Marke und Fotos */
.hyb-brandfig { margin: 0; }
.hyb-brandfig img { width: min(100%, 26rem); height: auto; border-radius: 0 !important; }
.hyb-groupphoto { margin: 0; }
.hyb-groupphoto img { width: 100%; height: auto; border-radius: 12px; display: block; }
.hyb-pre > hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { margin-top: var(--wp--preset--spacing--60) !important; margin-bottom: 0 !important; width: 37rem; max-width: 100%; border: 0; border-top: 1px solid var(--wp--preset--color--mist-300); height: 0; background: none; opacity: 1; }
.hyb-leadfig { margin: 0 0 var(--wp--preset--spacing--60); max-width: min(100%, 46.5rem); }
.hyb-leadfig img { border-radius: 12px; display: block; width: 100%; height: auto; }
.hyb-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.5; color: var(--wp--preset--color--ink-2); max-width: 52ch !important; }

/* Produkte: Kästchen, Merkmale, Pakete */
.hyb-boxes { gap: var(--wp--preset--spacing--50); margin-bottom: 0; }
.hyb-box { height: 100%; padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50) var(--wp--preset--spacing--50); background: var(--wp--preset--color--mist-50); border: 1px solid var(--wp--preset--color--mist-200); border-radius: 12px; box-sizing: border-box; }
.hyb-box > p { margin: 0 0 0.9rem; }
.hyb-box strong { font-weight: 600; font-size: 1.125rem; }
.hyb-box img { max-width: 100%; height: auto; border-radius: 0 !important; opacity: 0.92; }
.hyb-stack .wp-block-video { margin-top: var(--wp--preset--spacing--60); }
.hyb-stack video { width: 100%; height: auto; aspect-ratio: 2122 / 1080; object-fit: cover; border-radius: 12px; background: var(--wp--preset--color--slate-900); display: block; }
.hyb-features-sec { border-top: 1px solid var(--wp--preset--color--mist-200); }
.hyb-features { gap: var(--wp--preset--spacing--70) var(--wp--preset--spacing--70); }
.hyb-feature { padding-top: var(--wp--preset--spacing--40); border-top: 2px solid var(--wp--preset--color--steel-500); max-width: 40rem; }
.hyb-feature > * { margin-block: 0; }
.hyb-feature h2 { margin-bottom: 0.75rem; max-width: 28ch; }
.hyb-actions { padding-bottom: 0; }
.hyb-saas { border-block: 1px solid var(--wp--preset--color--mist-200); }
.hyb-saas > h2 { margin-top: 0; margin-bottom: var(--wp--preset--spacing--60); }
.hyb-saas .hyb-prose { margin-bottom: var(--wp--preset--spacing--60); }
.hyb-packages { gap: var(--wp--preset--spacing--50); margin-bottom: 0; align-items: stretch; }
.hyb-packages .wp-block-column { display: flex; }
.hyb-package { position: relative; display: flex; flex-direction: column; gap: 1rem; width: 100%; padding: var(--wp--preset--spacing--50); background: #fff; border: 1px solid var(--wp--preset--color--mist-200); border-radius: 12px; box-sizing: border-box; }
.hyb-package > * { margin-block: 0 !important; }
.hyb-package::before { content: ""; position: absolute; top: -1px; left: var(--wp--preset--spacing--50); width: 3.5rem; height: 3px; border-radius: 0 0 3px 3px; background: var(--wp--preset--color--steel-500); }
.hyb-package > p { flex: 1; }
.hyb-package .wp-block-buttons { padding-top: 0.5rem; }
.hyb-package .wp-block-button, .hyb-package .wp-block-button__link { width: 100%; }

/* Akkordeon (Kernblock Details) */
.hyb-accordion-list { border-top: 1px solid var(--wp--preset--color--mist-300); max-width: 56rem; }
.hyb-accordion-list > .wp-block-details { margin: 0; border-bottom: 1px solid var(--wp--preset--color--mist-300); }
.wp-block-details > summary {
	box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: 0.85rem 0.25rem;
	list-style: none; cursor: pointer; font-weight: 600; font-size: 1.1875rem; line-height: 1.35; letter-spacing: -0.01em;
	overflow-wrap: anywhere; hyphens: auto;   /* lange Wörter (Grundwassermanagement) brechen um statt die Seite zu verbreitern (320 px) */
}
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::marker { content: ""; }
.wp-block-details > summary::after {
	content: ""; flex: none; width: 1.5rem; height: 1.5rem; transition: transform 0.25s;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%233f7aa6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.wp-block-details[open] > summary::after { transform: rotate(180deg); }
.hyb-accordion-list > .wp-block-details > summary:hover { background: var(--wp--preset--color--mist-50); }
.wp-block-details > :not(summary) { padding-inline: 0.25rem; }
.wp-block-details[open] > :last-child { padding-bottom: 1.5rem; }
.wp-block-details > :not(summary) + :not(summary) { margin-top: 1em; }
.wp-block-details.hyb-more { border-top: 1px solid var(--wp--preset--color--mist-200); }
.wp-block-details.hyb-more > summary { min-height: 3rem; font-size: 1rem; color: var(--wp--preset--color--navy); padding-inline: 0; }
.wp-block-details.hyb-more > summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230a13a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.wp-block-details.hyb-more > :not(summary) { padding-inline: 0; font-size: 1rem; }
.wp-block-details a { overflow-wrap: anywhere; }

/* Listen: Tropfen-Aufzählung, Chips */
.wp-block-post-content ul.wp-block-list:not(.hyb-chips) { list-style: none; padding: 0; }
.wp-block-post-content ul.wp-block-list:not(.hyb-chips) > li { position: relative; padding-left: 1.5rem; }
.wp-block-post-content ul.wp-block-list:not(.hyb-chips) > li::before {
	content: ""; position: absolute; left: 0.15rem; top: 0.72em; width: 0.5rem; height: 0.5rem;
	border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--wp--preset--color--steel-500);
}
.wp-block-post-content ol.wp-block-list { padding-left: 1.6rem; }
.wp-block-post-content ol.wp-block-list > li { padding-left: 0.3rem; }
.wp-block-post-content ol.wp-block-list > li::marker { color: var(--wp--preset--color--ink-3); font-weight: 600; }
.wp-block-post-content ul.wp-block-list.hyb-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.wp-block-post-content ul.wp-block-list.hyb-chips > li { position: relative; display: inline-flex; align-items: center; margin: 0; padding: 0.4rem 0.85rem 0.4rem 2.1rem; border-radius: 6px; background: var(--wp--preset--color--mist-100); font-weight: 550; }
.wp-block-post-content ul.wp-block-list.hyb-chips > li::before {
	content: ""; position: absolute; left: 0.8rem; top: 50%; width: 0.8rem; height: 0.45rem;
	border-left: 2px solid var(--wp--preset--color--aqua-700); border-bottom: 2px solid var(--wp--preset--color--aqua-700);
	transform: translateY(-65%) rotate(-45deg); background: none; border-radius: 0;
}

/* Team: Personenkarten (Foto links, Text rechts, zwei Spalten) */
.hyb-team h2 { margin-top: 0; }
.hyb-team .hyb-prose { margin-top: 0.6rem; margin-bottom: var(--wp--preset--spacing--60); }
.hyb-persons { gap: var(--wp--preset--spacing--70) var(--wp--preset--spacing--80); }
.hyb-person.wp-block-media-text { align-items: start; gap: var(--wp--preset--spacing--50); margin: 0; }
.hyb-person .wp-block-media-text__media, .hyb-person .wp-block-media-text__content { margin: 0; align-self: start !important; }
.hyb-person .wp-block-media-text__media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px 4px 16px 4px; background: var(--wp--preset--color--mist-100); display: block; }
.hyb-person .wp-block-media-text__content { padding: 0; hyphens: auto; max-width: 62ch; }
.hyb-person .wp-block-media-text__content > * + * { margin-top: 0.8em; }
.hyb-person strong { display: block; margin-bottom: 0.3rem; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.hyb-person__links { margin-top: 0.75rem; }
.hyb-person__links .wp-social-link a { min-width: 2.75rem; min-height: 2.75rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--wp--preset--color--mist-300); border-radius: 6px; }
@media (max-width: 37.5rem) { .hyb-person.wp-block-media-text > .wp-block-media-text__media { width: 8rem; } .hyb-person.wp-block-media-text { gap: 1rem; } }
.hyb-person .wp-block-media-text__content > :last-child { margin-bottom: 0; }

/* Aktionsband auf Seiten */
.hyb-ctasec .hyb-cta { margin: 0; }

/* ---------- Zeitleiste (Blockstil "Zeitleiste" für Beitragsschleifen, z. B. ENOLA-Releases) ----------
   Eine Liste (ul/li), senkrechte Linie navy -> aqua, Punkte je Eintrag. Auf allen Breiten eine Linie links, Einträge rechts davon. */
.is-style-hyb-timeline .wp-block-post-template { position: relative; list-style: none; margin: 0; padding: 0 0 0 2.25rem; }
.is-style-hyb-timeline .wp-block-post-template::before {
	content: ""; position: absolute; top: 0.9rem; bottom: 0.9rem; left: 0.4375rem; width: 3px; border-radius: 2px;
	background: linear-gradient(180deg, var(--wp--preset--color--aqua), var(--wp--preset--color--navy));
}
.is-style-hyb-timeline .wp-block-post-template > li { position: relative; margin: 0 0 var(--wp--preset--spacing--60); padding: 0; }
.is-style-hyb-timeline .wp-block-post-template > li:last-child { margin-bottom: 0; }
.is-style-hyb-timeline .wp-block-post-template > li::before {   /* Punkt */
	content: ""; position: absolute; left: -2.25rem; top: 0.3rem; box-sizing: border-box; width: 1.25rem; height: 1.25rem; border-radius: 50%;
	background: var(--wp--preset--color--white); border: 4px solid var(--wp--preset--color--navy);
}
.is-style-hyb-timeline .wp-block-post-template > li:first-child::before { background: var(--wp--preset--color--aqua); }   /* neuester Eintrag */
.is-style-hyb-timeline .hyb-tl__entry { display: block; margin: 0; }
.is-style-hyb-timeline .hyb-tl__date { margin: 0 0 0.5rem; font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; color: var(--wp--preset--color--navy); font-variant-numeric: lining-nums; }
.is-style-hyb-timeline .hyb-tl__card {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; min-width: 0; padding: 1.25rem 1.4rem 0.75rem;
	background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--mist-200); border-radius: 12px;
	box-shadow: 0 14px 30px -24px rgba(18, 30, 48, 0.45);
}
.is-style-hyb-timeline .hyb-tl__card > * { margin-block: 0; max-width: 100%; }
.is-style-hyb-timeline .hyb-tl__card .wp-block-post-title { font-weight: 650; line-height: 1.25; hyphens: auto; }
.is-style-hyb-timeline .hyb-tl__card .wp-block-post-title a { text-decoration: none; padding-block: 0.6rem; margin-block: -0.6rem; }
.is-style-hyb-timeline .hyb-tl__card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* ganze Karte klickbar */
.is-style-hyb-timeline .hyb-tl__card .wp-block-post-title a:focus-visible { outline: none; }
.is-style-hyb-timeline .hyb-tl__card .wp-block-post-title a:focus-visible::after { outline: 3px solid var(--wp--custom--focus); outline-offset: 2px; }
.is-style-hyb-timeline .hyb-tl__card:hover { border-color: var(--wp--preset--color--steel-300); }
.is-style-hyb-timeline .hyb-tl__img { width: 100%; max-width: 15rem; margin: 0; border-radius: 8px; overflow: hidden; background: var(--wp--preset--color--mist-100); }
.is-style-hyb-timeline .hyb-tl__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.is-style-hyb-timeline .hyb-tl__card .wp-block-read-more { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.is-style-hyb-timeline .wp-block-query-pagination { margin-top: var(--wp--preset--spacing--70); }
@media (prefers-reduced-motion: no-preference) { .is-style-hyb-timeline .hyb-tl__card { transition: border-color 0.2s ease; } }
@media (min-width: 48rem) {   /* Desktop: weiter nur eine Linie links, Karten rechts davon mit angenehmer Breite */
	.is-style-hyb-timeline .wp-block-post-template { max-width: 52rem; }
}
