/* HLS-Plugin – Gestaltung projekt-hls.de. Diese Datei wird automatisch zusammengestellt. */

/* ===== Ausgleich Kadence ===== */
/* Ausgleich zu Kadence: Kadence setzt im Inhaltsbereich (.entry-content.single-content) eigene Abstände
   (content.min.css). Hier werden genau diese Selektoren auf die Werte des HLS-Designs zurückgesetzt.
   Durch das vorangestellte „body“ eine Stufe spezifischer als Kadence → gilt unabhängig von der Ladereihenfolge. Steht bewusst am Anfang, damit alle
   folgenden Regeln des Plugins (Grundlayout, Bausteine) wie gewohnt darüber stehen. */
body .single-content p, body .single-content address, body .single-content pre,
body .single-content p:last-child, body .single-content address:last-child, body .single-content pre:last-child { margin-top: 1em; margin-bottom: 1em; }
body .single-content ul, body .single-content ol,
body .single-content ul:last-child, body .single-content ol:last-child { margin-top: 1em; margin-bottom: 1em; }
body .single-content ol { padding-left: 40px; }
body .single-content li > ol, body .single-content li > ul { margin: 0; }
body .single-content figure, body .single-content figure:last-child,
body .single-content table, body .single-content table:last-child,
body .single-content form, body .single-content form:last-child,
body .single-content .wp-block-media-text, body .single-content .wp-block-media-text:last-child,
body .single-content .entry-content-asset, body .single-content .entry-content-asset:last-child,
body .single-content .wp-block-button, body .single-content .wp-block-button:last-child,
body .single-content .wp-block-cover, body .single-content .wp-block-cover:last-child,
body .single-content .wp-block-group, body .single-content .wp-block-group:last-child { margin-top: 0; margin-bottom: 0; }
body .single-content hr, body .single-content hr:last-child { margin-top: 48px; margin-bottom: 48px; }
body .single-content .wp-block-buttons, body .single-content .wp-block-buttons:last-child { margin-top: 28px; margin-bottom: 8px; }
body .single-content .wp-block-columns { margin-top: 48px; margin-bottom: 48px; }
body .single-content .wp-block-image, body .single-content figure.wp-block-image,
body .single-content .wp-block-image:last-child, body .single-content figure.wp-block-image:last-child { margin-top: 0; margin-bottom: 1em; }
body .single-content .wp-block-quote p, body .single-content .wp-block-quote p:last-child { margin-top: 1em; margin-bottom: 1em; }
body .single-content h1, body .single-content h2, body .single-content h3, body .single-content h4, body .single-content h5, body .single-content h6,
body .single-content h1:first-child, body .single-content h2:first-child, body .single-content h3:first-child,
body .single-content h4:first-child, body .single-content h5:first-child, body .single-content h6:first-child,
body .single-content h1:last-child, body .single-content h2:last-child, body .single-content h3:last-child,
body .single-content h4:last-child, body .single-content h5:last-child, body .single-content h6:last-child { margin: 1.4em 0 .6em; }

body .single-content figure.wp-block-table, body .single-content figure.wp-block-table:last-child { margin: 0 0 1.5em; }

/* ===== Grundlayout ===== */
/* =====================================================================
   HLS-Plugin – Grundlayout
   Abstände, Breiten, Schrift und Grundformen der WordPress-Blöcke,
   so wie in der freigegebenen Design-Vorschau. Gilt nur für den
   Seiteninhalt (.entry-content), Kopf- und Fußbereich stellt Kadence.
   ===================================================================== */

body:not(#hls-k) {
  --wp--preset--spacing--30: 1.5rem;
  --wp--preset--spacing--40: 2.5rem;
  --wp--preset--spacing--50: 4rem;
  --inhalt: var(--global-content-width, 1140px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.entry-content:not(#hls-k) { font-size: 16px; line-height: 1.9; color: #5f5f5f; }
:where(.entry-content) a:not(#hls-k) { color: #89ba17; }
:where(.entry-content) strong:not(#hls-k), :where(.entry-content) b:not(#hls-k) { color: #4a4a4a; }
:where(.entry-content) h1:not(#hls-k), :where(.entry-content) h2:not(#hls-k), :where(.entry-content) h3:not(#hls-k), :where(.entry-content) h4:not(#hls-k) {
  font-family: inherit; color: #333; font-weight: 400; line-height: 1.25; margin: 1.4em 0 .6em;
}
:where(.entry-content) h1:not(#hls-k) { font-size: clamp(2rem, 3.4vw, 2.8rem); }
:where(.entry-content) h2:not(#hls-k) { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
:where(.entry-content) h3:not(#hls-k) { font-size: 1.4rem; }
:where(.entry-content) h4:not(#hls-k) { font-size: 1.25rem; }
:where(.entry-content) figure:not(#hls-k) { margin: 0; }

/* Vollbreite Bänder: Inhalt darin auf Seitenbreite begrenzen */
/* „body“ vorangestellt: muss die Breitenregel von WordPress für Gruppen (body .is-layout-constrained > …) schlagen */
body :where(.entry-content) .wp-block-group.alignfull > *:not(#hls-k), body :where(.entry-content) .wp-block-cover__inner-container:not(#hls-k) {
  max-width: calc(var(--inhalt) - 48px); margin-left: auto; margin-right: auto;
}
@media (max-width: 1188px) {
  body :where(.entry-content) .wp-block-group.alignfull > *:not(#hls-k), body :where(.entry-content) .wp-block-cover__inner-container:not(#hls-k) { margin-left: 24px; margin-right: 24px; }
}
:where(.entry-content) .wp-block-group.alignfull.has-background:not(#hls-k) { margin-top: 64px; margin-bottom: 64px; }
:where(.entry-content) .wp-block-group.alignfull.has-background + .wp-block-group.alignfull.has-background:not(#hls-k) { margin-top: -64px; }
:where(.entry-content) > .wp-block-group.alignfull:first-child:not(#hls-k) { margin-top: 0; }
:where(.entry-content) .wp-block-group.has-background:not(.alignfull):not(#hls-k) { padding: 40px 32px; margin: 32px auto; }

/* Spalten */
:where(.entry-content) .wp-block-columns:not(#hls-k) { display: flex; gap: 48px; margin: 48px auto; }
:where(.entry-content) .wp-block-group.alignfull > .wp-block-columns:not(#hls-k) { margin-top: 0; margin-bottom: 0; }
:where(.entry-content) .wp-block-column:not(#hls-k) { flex: 1 1 0; min-width: 0; }
@media (min-width: 801px) { :where(.entry-content) .wp-block-column[style*="flex-basis"]:not(#hls-k) { flex-grow: 0; } }
@media (max-width: 800px) {
  :where(.entry-content) .wp-block-columns:not(#hls-k) { flex-direction: column; gap: 16px; }
  :where(.entry-content) .wp-block-column:not(#hls-k) { flex-basis: auto !important; }
}

/* Buttons */
:where(.entry-content) .wp-block-buttons:not(#hls-k) { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
:where(.entry-content) .wp-block-button__link:not(#hls-k) { display: inline-block; text-decoration: none; }

/* Bilder */
:where(.entry-content) .wp-block-image:not(#hls-k) { margin: 0 0 1em; }
:where(.entry-content) .wp-block-image img:not(#hls-k) { max-width: 100%; height: auto; display: block; }
:where(.entry-content) .wp-block-image.aligncenter img:not(#hls-k) { margin: 0 auto; }

/* Cover (Bild/Video mit Text) */
:where(.entry-content) .wp-block-cover:not(#hls-k) { color: #fff; background: #3b3f36; }
:where(.entry-content) .wp-block-cover__background:not(.has-background-dim-0):not(#hls-k) {
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.1)) !important; opacity: 1 !important;
}

/* Galerie als gleichmäßiges Raster */
:where(.entry-content) .wp-block-gallery.has-nested-images:not(#hls-k) { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
:where(.entry-content) .wp-block-gallery.has-nested-images.columns-3:not(#hls-k) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:where(.entry-content) .wp-block-gallery.has-nested-images.columns-4:not(#hls-k) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:where(.entry-content) .wp-block-gallery.has-nested-images figure.wp-block-image:not(#hls-k) { width: auto !important; margin: 0 !important; }
:where(.entry-content) .wp-block-gallery.has-nested-images img:not(#hls-k) { width: 100% !important; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
@media (max-width: 800px) { :where(.entry-content) .wp-block-gallery.has-nested-images.columns-3:not(#hls-k), :where(.entry-content) .wp-block-gallery.has-nested-images.columns-4:not(#hls-k) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Tabelle, Zitat, Trennlinie */
:where(.entry-content) .wp-block-table:not(#hls-k) { margin: 0 0 1.5em; }
:where(.entry-content) .wp-block-table table:not(#hls-k) { border-collapse: collapse; width: 100%; }
:where(.entry-content) .wp-block-quote:not(#hls-k) { border-left: 3px solid #89ba17; margin: 1em 0; padding: .2em 1em; }
:where(.entry-content) .wp-block-separator:not(#hls-k) { border: 0; border-top: 1px solid #e6e6e6; margin: 48px auto; }

/* Farbige Bänder */
:where(.entry-content) .hls-akzent-flaeche:not(#hls-k) { padding-top: 72px !important; padding-bottom: 72px !important; }
@media (max-width: 1024px) { :where(.entry-content) .hls-akzent-flaeche:not(#hls-k) { padding-top: 52px !important; padding-bottom: 52px !important; } }
@media (max-width: 640px) { :where(.entry-content) .hls-akzent-flaeche:not(#hls-k) { padding-top: 40px !important; padding-bottom: 40px !important; } }
/* Titel im Band ohne eigene Außenabstände: Text steht mittig, auch bei zwei oder mehr Zeilen */
:where(.entry-content) .hls-akzent-flaeche > h1:not(#hls-k), :where(.entry-content) .hls-akzent-flaeche > h2:not(#hls-k) { margin-top: 0 !important; margin-bottom: 0 !important; }
/* Titel im Band immer in Großbuchstaben (wie .hls-gross), auch wo die Klasse fehlt (z. B. Aktuelles) */
:where(.entry-content) .hls-akzent-flaeche > h1:not(#hls-k), :where(.entry-content) .hls-akzent-flaeche > h2:not(#hls-k) { text-transform: uppercase; font-weight: 300; letter-spacing: .01em; }
:where(.entry-content) .hls-dunkel:not(#hls-k) { padding-top: 56px !important; padding-bottom: 56px !important; }

/* Beitrags-Listen und Abfragen */
:where(.entry-content) .wp-block-latest-posts.is-grid:not(#hls-k) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; }
:where(.entry-content) .wp-block-latest-posts.is-grid li:not(#hls-k) { width: auto !important; margin: 0 !important; }
@media (max-width: 800px) { :where(.entry-content) .wp-block-latest-posts.is-grid:not(#hls-k) { grid-template-columns: 1fr; } }
:where(.entry-content) .wp-block-query ul.wp-block-post-template:not(#hls-k) { margin: 0; padding: 0; list-style: none; }
@media (max-width: 800px) { :where(.entry-content) .wp-block-post-template:not(#hls-k) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
:where(.entry-content) .wp-block-post-template > *:not(#hls-k) { min-width: 0; }
:where(.entry-content) .wp-block-post-title:not(#hls-k) { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 520px) { :where(.entry-content) .hls-meldungen .wp-block-post-template:not(#hls-k) { grid-template-columns: minmax(0, 1fr) !important; } }

:where(.entry-content) .wp-block-details:not(#hls-k) { display: block; }

/* ===== Gestaltung ===== */
/* =========================================================
   Projekt-HLS – Gestaltung der Inhalts-Bausteine (hls-…-Klassen)
   im Stil der bisherigen Website
   ========================================================= */

/* Überschriften-Varianten aus der alten Seite */
.hls-gruen:not(#hls-k) { color: #89ba17; }
.hls-weiss:not(#hls-k) { color: #ffffff; }
.hls-gross:not(#hls-k) { text-transform: uppercase; font-weight: 300; letter-spacing: .01em; }

/* Buttons: umrandet (Standard der alten Seite) und gefüllt */
.wp-block-button__link:not(#hls-k) {
  border-radius: 2px; text-transform: uppercase; letter-spacing: .12em;
  font-size: 13px; font-weight: 700; padding: 13px 24px;
  background: #89ba17; color: #fff; border: 2px solid #89ba17;
  transition: background .2s, color .2s;
}
.wp-block-button__link:hover:not(#hls-k) { background: #659424; border-color: #659424; color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link:not(#hls-k) { background: transparent; color: #89ba17; border: 2px solid #89ba17; }
.wp-block-button.is-style-outline .wp-block-button__link:hover:not(#hls-k) { background: #89ba17; color: #fff; }

/* Video-Header */
.hls-hero-titel:not(#hls-k) { color: #89ba17; text-transform: uppercase; font-weight: 700; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; margin: 0 0 .4em; }
.wp-block-cover .hls-hero-titel + p:not(#hls-k) { color: #fff; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.6; }

/* Referenzen-Band (Startseite): 4 Bilder ohne Abstand, Name beim Überfahren */
.hls-referenzen-band .wp-block-post-template:not(#hls-k) { gap: 0 !important; margin: 0; }
.hls-referenzen-band .wp-block-post:not(#hls-k) { position: relative; overflow: hidden; }
.hls-referenzen-band .wp-block-post-featured-image:not(#hls-k) { margin: 0; }
.hls-referenzen-band .wp-block-post-featured-image img:not(#hls-k) { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .4s; }
.hls-referenzen-band .wp-block-post:hover img:not(#hls-k) { transform: scale(1.04); }
.hls-referenzen-band .wp-block-post-title:not(#hls-k) {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 20px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); font-size: 1rem; font-weight: 600;
  opacity: 0; transition: opacity .3s;
}
.hls-referenzen-band .wp-block-post-title a:not(#hls-k) { color: #fff; text-decoration: none; }
.hls-referenzen-band .wp-block-post:hover .wp-block-post-title:not(#hls-k), .hls-referenzen-band .wp-block-post:focus-within .wp-block-post-title:not(#hls-k) { opacity: 1; }
@media (hover: none) { .hls-referenzen-band .wp-block-post-title:not(#hls-k) { opacity: 1; } }

/* Abstände Referenzen-Band: Luft nach oben, schließt unten direkt an den Zahlenbalken an */
.hls-referenzen-band:not(#hls-k) { margin-top: 64px !important; margin-bottom: 0 !important; }
.hls-referenzen-band + .hls-dunkel:not(#hls-k) { margin-top: 0 !important; }

/* Referenz-Karten (Leistungsseiten und „Weitere Projekte“) */
.hls-referenzen .wp-block-post-template:not(#hls-k), .hls-weitere .hls-karten:not(#hls-k) { gap: 32px !important; }
.hls-referenzen .wp-block-post-featured-image:not(#hls-k), .hls-weitere figure:not(#hls-k) { margin: 0; overflow: hidden; border-radius: 4px; }
.hls-referenzen .wp-block-post-featured-image img:not(#hls-k), .hls-weitere img:not(#hls-k) { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .4s; }
.hls-referenzen .wp-block-post:hover img:not(#hls-k), .hls-weitere a:hover img:not(#hls-k) { transform: scale(1.04); }
.hls-referenzen .wp-block-post-title:not(#hls-k), .hls-weitere h3:not(#hls-k) {
  margin: 1em 0 0; font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hls-referenzen .wp-block-post-title a:not(#hls-k), .hls-weitere h3 a:not(#hls-k) { color: #6b6b6b; text-decoration: none; }
.hls-referenzen .wp-block-post-title a:hover:not(#hls-k), .hls-weitere h3 a:hover:not(#hls-k) { color: #89ba17; }

/* Zahlen-Balken */
.hls-dunkel:not(#hls-k) { color: #fff; }
.hls-zaehler p:first-child:not(#hls-k) { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 300; line-height: 1.1; margin: 0; color: #fff; }
.hls-zaehler p:last-child:not(#hls-k) { text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: #bdbdbd; font-size: .95rem; margin-top: .4em; }

/* Box mit Symbol (z. B. Kooperationen) */
.hls-iconbox:not(#hls-k) { text-align: center; }
.hls-iconbox .hls-icon:not(#hls-k) { color: #89ba17; display: flex; justify-content: center; margin-bottom: .5em; }
.hls-iconbox .wp-block-buttons:not(#hls-k) { justify-content: center; }

/* Liste mit grünen Plus-Zeichen und Trennlinien */
.hls-plusliste:not(#hls-k) { list-style: none; padding-left: 0 !important; }
.hls-plusliste li:not(#hls-k) { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid #e6e6e6; }
.hls-plusliste li:last-child:not(#hls-k) { border-bottom: 0; }
.hls-plusliste li:not(#hls-k)::before { content: "+"; position: absolute; left: 2px; top: 9px; color: #89ba17; font-weight: 700; font-size: 1.35rem; }

/* Aktuelles: Abschnittstitel und Karten */
.hls-abschnitt-titel:not(#hls-k) { margin-bottom: 40px; }
.hls-aktuelles.is-grid:not(#hls-k) { gap: 32px; margin-bottom: 8px; }
.hls-aktuelles li:not(#hls-k) { background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin: 0 !important; width: auto !important; transition: box-shadow .2s, transform .2s; }
.hls-aktuelles li:hover:not(#hls-k) { box-shadow: 0 8px 24px rgba(0,0,0,.10); transform: translateY(-2px); }
.hls-aktuelles .wp-block-latest-posts__featured-image:not(#hls-k) { margin: 0 0 1.4em; order: 0; }
.hls-aktuelles .wp-block-latest-posts__featured-image img:not(#hls-k) { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hls-aktuelles .wp-block-latest-posts__post-date:not(#hls-k) { order: 1; padding: 0 28px; margin-bottom: .5em; text-transform: uppercase; font-weight: 700; font-size: .78rem; letter-spacing: .08em; color: #89ba17; }
.hls-aktuelles .wp-block-latest-posts__post-title:not(#hls-k) { order: 2; padding: 0 28px; font-size: 1.3rem; line-height: 1.3; color: #333; text-decoration: none; }
.hls-aktuelles .wp-block-latest-posts__post-title:hover:not(#hls-k) { color: #89ba17; }
.hls-aktuelles .wp-block-latest-posts__post-excerpt:not(#hls-k) { order: 3; padding: 0 28px 28px; margin: .8em 0 0; flex: 1; display: flex; flex-direction: column; }
.hls-aktuelles .wp-block-latest-posts__read-more:not(#hls-k) { display: inline-block; margin-top: auto; padding-top: 1.2em; align-self: flex-start;
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: #89ba17; text-decoration: none; }
.hls-aktuelles .wp-block-latest-posts__read-more:not(#hls-k)::after { content: " →"; }
.hls-aktuelles .wp-block-latest-posts__read-more:hover:not(#hls-k) { color: #659424; }
.hls-aktuelles + .wp-block-buttons:not(#hls-k) { margin-top: 40px; }

/* Ansprechpartner */
.hls-person .wp-block-image img:not(#hls-k) { border-radius: 2px; }
.hls-person h3:not(#hls-k) { margin-bottom: .2em; }

/* Referenz-Detailseite: Kopf mit Hauptbild, Miniaturen und Titel (vom HLS-Plugin ausgegeben) */
.hls-ref-kopf:not(#hls-k) { margin-bottom: 8px; }
.hls-ref-hauptbild img:not(#hls-k) { width: 100%; height: auto; display: block; border-radius: 4px; }
.hls-ref-miniaturen:not(#hls-k) { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.hls-ref-miniaturen button:not(#hls-k) { padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer; width: 120px; overflow: hidden; opacity: .75; transition: opacity .2s, border-color .2s; }
.hls-ref-miniaturen button:hover:not(#hls-k), .hls-ref-miniaturen button[aria-current="true"]:not(#hls-k) { opacity: 1; border-color: #89ba17; }
.hls-ref-miniaturen img:not(#hls-k) { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hls-ref-kopf h1:not(#hls-k) { margin: .9em 0 .2em; }
:where(.entry-content) .hls-bildleiste:not(#hls-k) { display: none !important; } /* Bilder erscheinen oben als Miniaturen */

.hls-projekt-frage:not(#hls-k) { border-left: 4px solid #89ba17; }
.hls-projekt-frage h2:not(#hls-k) { margin-top: 0; }
.hls-weitere:not(#hls-k) { border-top: 1px solid #e6e6e6; margin-top: 64px; padding-top: 16px; }
.hls-weitere h2:not(#hls-k) { color: #4a4a4a; }

/* Projektdaten als Steckbrief-Kachel */
.hls-steckbrief:not(#hls-k) { background: #f3f6ec; border-top: 4px solid #89ba17; border-radius: 4px; padding: 32px 36px 20px; margin: 48px 0; }
.hls-steckbrief h2:not(#hls-k) { margin: 0 0 20px; font-size: 1.5rem; }
.hls-projektdaten:not(#hls-k) { margin: 0; }
.hls-projektdaten table:not(#hls-k), .hls-projektdaten tbody:not(#hls-k) { display: block; width: 100%; }
.hls-projektdaten tbody:not(#hls-k) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.hls-projektdaten tr:not(#hls-k) { display: flex; flex-direction: column; padding: 12px 0 16px; border-top: 1px solid rgba(0,0,0,.08); }
.hls-projektdaten td:not(#hls-k) { border: 0; padding: 0; }
.hls-projektdaten td:first-child:not(#hls-k) { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #7b7b7b; margin-bottom: 4px; }
.hls-projektdaten td:last-child:not(#hls-k) { font-size: 1.05rem; color: #333; line-height: 1.5; }
@media (max-width: 900px) { .hls-projektdaten tbody:not(#hls-k) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hls-projektdaten tbody:not(#hls-k) { grid-template-columns: 1fr; } .hls-steckbrief:not(#hls-k) { padding: 24px 20px 12px; } }

/* Aufzählungen: grüne Quadrate, immer innerhalb der Textspalte */
ul.wp-block-list:not(.hls-plusliste):not(#hls-k) { list-style: none; padding-left: 0; }
ul.wp-block-list:not(.hls-plusliste) > li:not(#hls-k) { position: relative; padding-left: 1.4em; margin-bottom: .2em; }
ul.wp-block-list:not(.hls-plusliste) > li:not(#hls-k)::before { content: ""; position: absolute; left: .15em; top: .78em; width: 6px; height: 6px; background: #89ba17; }

/* Kontakt-Abschnitt Startseite */
.hls-kontakt-karte:not(#hls-k) { background: #fff; gap: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,.06); align-items: stretch; margin: 0 auto !important; }
.hls-kontakt-karte > .wp-block-column:first-child:not(#hls-k) { min-height: 320px; }
.hls-kontakt-bild:not(#hls-k) { margin: 0 !important; height: 100%; }
.hls-kontakt-bild img:not(#hls-k) { width: 100%; height: 100%; object-fit: cover; }
.hls-kontakt-karte > .wp-block-column:last-child:not(#hls-k) { padding: 48px 48px 40px; align-self: center; }
.hls-kontakt-karte h2:not(#hls-k) { margin-top: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.hls-kontakt-daten:not(#hls-k) { font-size: 1.1rem; line-height: 1.9; }
.hls-kontakt-daten a:not(#hls-k) { color: #4a4a4a; text-decoration: none; font-weight: 700; }
.hls-kontakt-daten a:hover:not(#hls-k) { color: #89ba17; }

/* Gewerke-Symbole in Referenzen (Corporate Design) */
.hls-gewerke:not(#hls-k) { display: flex; flex-wrap: wrap; gap: 10px; margin: .5em 0 1.5em; }
.hls-gewerke img:not(#hls-k) { width: 72px; height: auto; display: block; }

/* Leistungsseiten: Gewerk-Symbol neben der ersten Zwischenüberschrift */
.hls-leistungskopf:not(#hls-k) { display: flex; align-items: center; gap: 22px; margin: 0 0 1.1em; }
.hls-leistungskopf .hls-gewerk-symbol:not(#hls-k) { margin: 0 !important; flex: 0 0 auto; }
.hls-leistungskopf .hls-gewerk-symbol img:not(#hls-k) { width: 76px; height: 76px; object-fit: contain; display: block; }
.hls-leistungskopf h2:not(#hls-k) { margin: 0 !important; }
@media (max-width: 600px) { .hls-leistungskopf:not(#hls-k) { gap: 14px; } .hls-leistungskopf .hls-gewerk-symbol img:not(#hls-k) { width: 56px; height: 56px; } }

/* Ansprechpartner-Karte in der Seitenspalte, bleibt beim Scrollen sichtbar */
.hls-person:not(#hls-k) { position: sticky; top: 110px; background: #f3f6ec; border-top: 4px solid #89ba17; border-radius: 4px; padding: 0 0 24px; overflow: hidden; }
.hls-person > *:not(#hls-k) { padding-left: 28px !important; padding-right: 28px !important; }
.hls-person .wp-block-image:not(#hls-k) { padding: 0 !important; margin: 0 0 20px !important; }
.hls-person .wp-block-image img:not(#hls-k) { width: 100%; border-radius: 0; }
.hls-person h3:not(#hls-k) { margin: 0 0 .2em; font-size: 1.35rem; }
.hls-person .wp-block-quote:not(#hls-k) { border: 0; margin: 1em 0 0; padding-top: 0; padding-bottom: 0; font-style: normal; }
.hls-person .wp-block-quote p:not(#hls-k) { margin: 0; }
.hls-person .wp-block-quote strong:not(#hls-k) { white-space: nowrap; }

/* Kontaktformular-Band */
.hls-formular-band h4:not(#hls-k) { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 0; line-height: 1.3; }
.hls-formular-band .wp-block-columns:not(#hls-k) { align-items: flex-start; }
.hls-formular-karte:not(#hls-k) { background: #fff; border-radius: 4px; padding: 36px 40px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.hls-formular-karte .wpcf7-form:not(#hls-k) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.hls-formular-karte .wpcf7-form > p:not(#hls-k) { grid-column: 1 / -1; margin: 0 0 18px; }
.hls-formular-karte .wpcf7-form > p:nth-of-type(1):not(#hls-k), .hls-formular-karte .wpcf7-form > p:nth-of-type(2):not(#hls-k) { grid-column: auto; }
.hls-formular-karte input[type=file]:not(#hls-k) { font: inherit; font-size: 14px; padding: 10px; border: 1px dashed #c9cfbd; border-radius: 3px; width: 100%; background: #fafbf8; }
.hls-formular-karte label:not(#hls-k) { display: block; font-size: 14px; font-weight: 700; color: #4a4a4a; line-height: 1.5; }
.hls-formular-karte .wpcf7-form-control-wrap:not(#hls-k) { display: block; margin-top: 6px; }
.hls-formular-karte input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=file]):not(#hls-k), .hls-formular-karte select:not(#hls-k), .hls-formular-karte textarea:not(#hls-k) {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: #333; background: #fafbf8;
  border: 1px solid #d9ddd2; border-radius: 3px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.hls-formular-karte textarea:not(#hls-k) { min-height: 140px; resize: vertical; }
.hls-formular-karte input:focus:not(#hls-k), .hls-formular-karte textarea:focus:not(#hls-k) { outline: none; border-color: #89ba17; box-shadow: 0 0 0 3px rgba(137,186,23,.2); background: #fff; }
.hls-formular-karte .wpcf7-acceptance label:not(#hls-k) { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: #6b6b6b; }
.hls-formular-karte .wpcf7-acceptance input:not(#hls-k) { margin-top: 4px; accent-color: #89ba17; }
.hls-formular-karte .wpcf7-submit:not(#hls-k) { background: #89ba17; color: #fff; border: 0; border-radius: 2px; padding: 15px 32px; font: inherit;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.hls-formular-karte .wpcf7-submit:hover:not(#hls-k) { background: #659424; }
@media (max-width: 700px) { .hls-formular-karte:not(#hls-k) { padding: 24px 20px; } .hls-formular-karte .wpcf7-form:not(#hls-k) { grid-template-columns: 1fr; } }

/* Abbinder unten auf Leistungsseiten */
.hls-abbinder:not(#hls-k) { text-align: center; }
body .hls-abbinder .hls-abbinder-text:not(#hls-k) { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; max-width: 760px; margin: 0 auto 28px; }
.hls-abbinder .wp-block-button__link:not(#hls-k) { background: #fff; color: #659424; border-color: #fff; }
.hls-abbinder .wp-block-button__link:hover:not(#hls-k) { background: #222; border-color: #222; color: #fff; }

/* Symbole vor Überschriften und Info-Boxen (Kontakt) */
.hls-ico:not(#hls-k) { --ico: none; }
h1.hls-ico:not(#hls-k)::before, h2.hls-ico:not(#hls-k)::before, h3.hls-ico:not(#hls-k)::before, .hls-iconbox-links:not(#hls-k)::before {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .45em; vertical-align: -0.1em;
  background: #89ba17; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }

/* Info-Karten (Kontaktdaten, Öffnungszeiten, Barrierefreiheit, Parkplätze) */
.hls-infokarte:not(#hls-k) { background: #f3f6ec; border-top: 4px solid #89ba17; border-radius: 4px; padding: 28px 32px 14px; }
.hls-infokarte h2:not(#hls-k), .hls-infokarte h3:not(#hls-k) { margin-top: 0; font-size: 1.45rem; display: flex; align-items: center; }
.hls-infokarte h2.hls-ico:not(#hls-k)::before, .hls-infokarte h3.hls-ico:not(#hls-k)::before { width: 1.25em; height: 1.25em; margin-right: .5em; flex: 0 0 auto; }
.wp-block-column:has(> .hls-infokarte):not(#hls-k) { display: flex; flex-direction: column; }

/* Karte */
.hls-karte iframe:not(#hls-k) { display: block; width: 100%; border: 0; }

/* Team (Geschäftsführung) */
.hls-team-raster:not(#hls-k) { flex-wrap: wrap !important; gap: 28px !important; }
.hls-team-raster > .wp-block-column:not(#hls-k) { flex: 1 1 calc(25% - 21px) !important; min-width: 0; }
@media (max-width: 1280px) { .hls-team-raster > .wp-block-column:not(#hls-k) { flex-basis: calc(50% - 14px) !important; } }
@media (max-width: 640px) { .hls-team-raster > .wp-block-column:not(#hls-k) { flex-basis: 100% !important; } }
.hls-team-karte:not(#hls-k) { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); height: 100%; padding-bottom: 20px; hyphens: auto; overflow-wrap: break-word; }
.hls-team-karte > *:not(#hls-k) { padding-left: 24px !important; padding-right: 24px !important; }
.hls-team-karte .wp-block-image:not(#hls-k) { padding: 0 !important; margin: 0 0 18px !important; }
.hls-team-karte .wp-block-image img:not(#hls-k) { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.hls-team-karte h3:not(#hls-k) { margin: 0; font-size: 1.3rem; hyphens: manual; }
.hls-team-karte .hls-rolle:not(#hls-k) { margin: .2em 0 .8em; color: #89ba17; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: .78rem; }
.hls-team-karte ul:not(#hls-k) { font-size: .93rem; line-height: 1.6; }
.hls-team-karte ul li:not(#hls-k) { margin-bottom: .45em; }
.hls-linkedin:not(#hls-k) { margin: .4em 0 0; }
.hls-linkedin .wp-social-link:not(#hls-k) { background: #0a66c2 !important; color: #fff !important; border-radius: 4px; }
.hls-linkedin .wp-social-link a:not(#hls-k) { width: 34px; height: 34px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
.hls-linkedin .wp-social-link svg:not(#hls-k) { width: 22px; height: 22px; }
.wp-block-column:has(> .hls-team-karte):not(#hls-k), .wp-block-column:has(> .hls-linkkarte):not(#hls-k) { display: flex; flex-direction: column; }
.wp-block-column > .hls-linkkarte:not(#hls-k), .wp-block-column > .hls-team-karte:not(#hls-k) { flex: 1; }

/* Verlinkte Karten (Jobs, Ausbildungsplätze, Hochschulen) */
a strong:not(#hls-k), a b:not(#hls-k) { color: inherit; }
.hls-linkkarte:not(#hls-k) { background: #fff; border-radius: 6px; padding: 26px 28px 24px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,.06); border: 1px solid #eceee8; position: relative; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.hls-linkkarte:not(#hls-k)::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: #89ba17; }
.hls-linkkarte:hover:not(#hls-k) { box-shadow: 0 12px 30px rgba(0,0,0,.10); transform: translateY(-3px); }
.hls-linkkarte h3:not(#hls-k) { margin: 0 0 .6em; font-size: 1.2rem; line-height: 1.35; font-weight: 600; }
.hls-linkkarte h3 a:not(#hls-k) { color: #333; text-decoration: none; }
.hls-linkkarte h3 a:hover:not(#hls-k) { color: #89ba17; }
.hls-linkkarte h4:not(#hls-k) { font-size: .95rem; font-weight: 700; margin: 1.2em 0 .2em; color: #333; }
.hls-linkkarte h4 a:not(#hls-k) { font-weight: 600; }
.hls-linkkarte p:not(#hls-k) { margin: 0 0 .8em; }
.hls-linkkarte ul:not(#hls-k) { margin: 0 0 .8em; }
.hls-linkkarte ul li:not(#hls-k) { margin-bottom: .35em; line-height: 1.5; }
.hls-linkkarte a:not(#hls-k) { color: #6f9a12; text-decoration: none; font-weight: 600; }
.hls-linkkarte a:hover:not(#hls-k) { text-decoration: underline; }
.hls-linkkarte .wp-block-spacer:not(#hls-k) { display: none; }
.hls-linkkarte .wp-block-separator:not(#hls-k) { margin: auto 0 0 !important; padding-top: 0; border-top: 1px solid #e6e6e6; width: 100%; }
/* Kartenfuß (Hochschulen): immer gleich hoch, Trennlinie auf einer Linie */
.hls-karten-fuss:not(#hls-k) { margin-top: auto !important; border-top: 1px solid #e6e6e6; padding-top: 16px !important; min-height: 6.4em; }
.hls-karten-fuss h4:not(#hls-k) { margin: 0 0 .3em; font-size: .95rem; }
.hls-karten-link:not(#hls-k) { margin: 0 !important; font-size: .95rem; line-height: 1.45; }
.hls-karten-link a:not(#hls-k)::before { content: "→ "; }
.hls-logokarte ul:not(#hls-k) { margin-bottom: 1.4em; }
.hls-tag:not(#hls-k) { display: inline-block; align-self: flex-start; background: #f3f6ec; color: #5d8510; font-size: .8rem; font-weight: 700; letter-spacing: .03em; padding: 4px 12px; border-radius: 999px; margin: 0 0 1em !important; }
.hls-bildkarte:not(#hls-k) { padding-top: 0; }
.hls-bildkarte .wp-block-image:not(#hls-k) { margin: 0 -28px 20px !important; }
.hls-bildkarte .wp-block-image img:not(#hls-k) { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hls-logokarte .wp-block-image:not(#hls-k) { margin: 6px 0 16px; height: 64px; display: flex; align-items: center; }
.hls-logokarte .wp-block-image img:not(#hls-k) { max-height: 64px; max-width: 180px; width: auto; height: auto; object-fit: contain; }
.hls-mehr:not(#hls-k) { margin-top: auto !important; padding-top: 1em; }
.hls-separator-folgt .hls-mehr:not(#hls-k) { margin-top: 0 !important; }
.hls-mehr a:not(#hls-k) { display: inline-block; background: #89ba17; color: #fff !important; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; padding: 10px 18px; border-radius: 2px; text-decoration: none !important; }
.hls-mehr a:hover:not(#hls-k) { background: #659424; }
.hls-mehr a:not(#hls-k)::after { content: " →"; }

/* Vorteile-Liste (Jobs) */
.hls-vorteile:not(#hls-k) { list-style: none; padding: 0 !important; columns: 2; column-gap: 56px; margin-top: 1.4em; }
.hls-vorteile > li:not(#hls-k) { break-inside: avoid; margin: 0 0 14px !important; }
.hls-vorteile > li:not(#hls-k) { position: relative; padding: 0 0 0 36px !important; line-height: 1.5; }
.hls-vorteile > li:not(#hls-k)::before { content: "" !important; position: absolute; left: 0 !important; top: 0 !important; width: 24px !important; height: 24px !important; border-radius: 50%; background: #89ba17 !important;
  -webkit-mask: none; mask: none; }
.hls-vorteile > li:not(#hls-k)::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@media (max-width: 700px) { .hls-vorteile:not(#hls-k) { columns: 1; } }

/* Initiativbewerbung: grünes Band über die volle Breite */
.hls-initiativ:not(#hls-k) { position: relative; overflow: hidden; margin-top: 64px !important; margin-bottom: 64px !important; }
.hls-initiativ > *:not(#hls-k) { position: relative; z-index: 1; }
@media (min-width: 801px) { .hls-initiativ > *:not(#hls-k) { padding-right: 300px !important; box-sizing: border-box; } }
.hls-initiativ:not(#hls-k)::after { content: ""; position: absolute; right: max(4vw, calc(50% - 560px)); top: 50%; width: 220px; height: 220px; transform: translateY(-50%) rotate(-8deg); background: #fff; opacity: .16;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 11.5 21.5 3 17 21l-5.2-4.6L9 19.5v-4.4l9.2-8.6-11 7.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 11.5 21.5 3 17 21l-5.2-4.6L9 19.5v-4.4l9.2-8.6-11 7.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hls-initiativ h2:not(#hls-k) { color: #fff !important; margin-top: 0; font-size: 2.2rem; }
.hls-initiativ p:not(#hls-k) { color: #fff; font-size: 1.1rem; line-height: 1.7; }
.hls-initiativ p strong:not(#hls-k) { color: #fff; }
.hls-initiativ .wp-block-button__link:not(#hls-k) { background: #fff !important; color: #5d8510 !important; }
.hls-initiativ .wp-block-button__link:hover:not(#hls-k) { background: #222 !important; color: #fff !important; }
@media (max-width: 800px) { .hls-initiativ:not(#hls-k)::after { width: 120px; height: 120px; top: 24px; transform: rotate(-8deg); } }

/* Bewerbungswege */
.hls-bewerbung:not(#hls-k) { margin: 56px auto !important; }
.hls-bewerbung > p:not(#hls-k) { max-width: 760px; }
.hls-bewerbung .wp-block-columns:not(#hls-k) { margin-top: 28px !important; }
.hls-weg:not(#hls-k) { background: #f3f6ec; border-radius: 6px; padding: 28px 28px 18px; height: 100%; position: relative; }
.hls-weg:not(#hls-k)::before { content: ""; display: block; width: 44px; height: 44px; border-radius: 50%; background: #89ba17; margin-bottom: 14px; }
.hls-weg:not(#hls-k)::after { content: ""; position: absolute; left: 39px; top: 39px; width: 22px; height: 22px; background: #fff; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.hls-weg-mail:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1 2.3V17h16V7.3l-8 5.2z M4.6 7l7.4 4.8L19.4 7z'/%3E%3C/svg%3E"); }
.hls-weg-post:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5-7 13-7 13S5 14 5 9a7 7 0 0 1 7-7zm0 4.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3C/svg%3E"); }
.hls-weg-online:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm1 2v8h14V6zM2 18h20v2H2z'/%3E%3C/svg%3E"); }
.hls-weg h3:not(#hls-k) { margin: 0 0 .4em; font-size: 1.25rem; }
.hls-weg p:not(#hls-k) { margin: 0 0 .6em; }
.hls-weg-detail:not(#hls-k) { font-weight: 700; color: #333; }

/* Reiter (Ablauf Duales Studium): ohne JavaScript aufklappbar, mit JavaScript als Reiter */
.hls-reiter-leiste:not(#hls-k) { display: flex; gap: 0; border-bottom: 2px solid #e3e6dc; margin-bottom: 0; }
.hls-reiter-leiste button:not(#hls-k) { font: inherit; font-weight: 700; font-size: .95rem; color: #6b6b6b; background: none; border: 0; padding: 12px 20px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.hls-reiter-leiste button[aria-selected="true"]:not(#hls-k) { color: #333; border-bottom-color: #89ba17; }
.hls-reiter-leiste button:hover:not(#hls-k) { color: #89ba17; }
.hls-reiter.ist-aktiv .wp-block-details:not(#hls-k) { border: 0; border-radius: 0; margin: 0; background: #fff; }
.hls-reiter.ist-aktiv .wp-block-details summary:not(#hls-k) { display: none; }
.hls-reiter.ist-aktiv .wp-block-details > :not(summary):not(#hls-k) { padding: 18px 4px 4px; }
.hls-reiter.ist-aktiv .wp-block-details:not([open]):not(#hls-k) { display: none; }

/* Aufklapp-Elemente */
.wp-block-details:not(#hls-k) { border: 1px solid #e3e6dc; border-radius: 4px; margin: 0 0 10px; background: #fff; }
.wp-block-details summary:not(#hls-k) { cursor: pointer; padding: 14px 18px; font-weight: 700; color: #333; list-style: none; position: relative; }
.wp-block-details summary:not(#hls-k)::-webkit-details-marker { display: none; }
.wp-block-details summary:not(#hls-k)::after { content: "+"; position: absolute; right: 18px; top: 9px; font-size: 1.4rem; color: #89ba17; }
.wp-block-details[open] summary:not(#hls-k)::after { content: "–"; }
.wp-block-details[open] summary:not(#hls-k) { border-bottom: 1px solid #e3e6dc; }
.wp-block-details > :not(summary):not(#hls-k) { padding: 0 18px; }

/* News-Detailseite */
.hls-news-datum:not(#hls-k) { color: #89ba17; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .85rem; margin: 1.6em 0 .3em; }
.hls-zurueck a:not(#hls-k) { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; text-decoration: none; }

/* Grünes Titelband: Schrift weiß, schließt direkt an Header und Folgeelement an */
.hls-akzent-flaeche:not(#hls-k) { margin-top: 0 !important; margin-bottom: 0 !important; }
.hls-akzent-flaeche h1:not(#hls-k), .hls-akzent-flaeche h2:not(#hls-k) { color: #fff; }
/* Text auf Bildflächen */
.wp-block-cover h1:not(#hls-k), .wp-block-cover h2:not(#hls-k), .wp-block-cover h3:not(#hls-k) { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.wp-block-cover h3:not(#hls-k) { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
.wp-block-cover .hls-gruen:not(#hls-k) { color: #89ba17; text-shadow: none; }
.wp-block-column:has(> .hls-linkkarte) > .wp-block-spacer:not(#hls-k) { display: none; }

/* Allgemeine Tabellen */
.wp-block-table:not(.hls-projektdaten) table:not(#hls-k) { border-collapse: collapse; width: 100%; }
.wp-block-table:not(.hls-projektdaten) td:not(#hls-k), .wp-block-table:not(.hls-projektdaten) th:not(#hls-k) { border: 0; border-bottom: 1px solid #dfe3d6; padding: 10px 14px; text-align: left; vertical-align: top; }
.wp-block-table:not(.hls-projektdaten) tr:first-child td:not(#hls-k) { font-weight: 700; color: #333; border-bottom: 2px solid #89ba17; }
.wp-block-table:not(.hls-projektdaten) td:first-child:not(#hls-k) { font-weight: 700; color: #4a4a4a; }


/* Vergleichstabelle (Duales Studium) */
.hls-vergleich:not(#hls-k) { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.hls-vergleich table:not(#hls-k) { border-collapse: collapse; width: 100%; }
.hls-vergleich thead th:not(#hls-k) { background: #89ba17; color: #fff; font-size: 1.05rem; font-weight: 700; text-align: left; padding: 16px 18px; border: 0 !important; }
.hls-vergleich thead th:first-child:not(#hls-k) { background: #6f9a12; }
.hls-vergleich td:not(#hls-k) { padding: 13px 18px !important; border: 0 !important; border-bottom: 1px solid #eceee8 !important; font-weight: 400 !important; color: #4a4a4a !important; }
.hls-vergleich tbody tr:nth-child(even) td:not(#hls-k) { background: #fafbf7; }
.hls-vergleich tbody td:first-child:not(#hls-k) { font-weight: 700 !important; color: #333 !important; width: 34%; }
.hls-vergleich tr:first-child td:not(#hls-k) { border-bottom: 1px solid #eceee8 !important; }
@media (max-width: 700px) { .hls-vergleich:not(#hls-k) { overflow-x: auto; } .hls-vergleich table:not(#hls-k) { min-width: 560px; } }

/* Bild-Text-Bänder: Bild und Text vertikal zentriert */
.wp-block-columns:has(> .wp-block-column > .wp-block-image:only-child):not(#hls-k) { align-items: center; }
.wp-block-column > .wp-block-image:only-child img:not(#hls-k) { border-radius: 6px; }

/* News-Detailseite: schmale Lesespalte, Bild nie größer als seine Originalgröße */
.hls-news .hls-ref-hauptbild img:not(#hls-k) { width: 100%; height: auto; }
.hls-infokarten:not(#hls-k) { margin: 48px auto !important; }
.hls-infokarten > .wp-block-columns:not(#hls-k) { margin-bottom: 28px !important; gap: 28px; }
.hls-infokarten > .wp-block-columns > .wp-block-column:not(#hls-k) { display: flex; flex-direction: column; }
.hls-infokarten .hls-infokarte:not(#hls-k) { flex: 1; }
.hls-infokarte p:not(#hls-k) { margin: 0 0 .7em; }
@media (max-width: 1280px) and (min-width: 641px) { .hls-team-karte .wp-block-image img:not(#hls-k) { aspect-ratio: 4 / 3; object-position: 50% 18%; } }
.hls-linkkarte ul li:not(#hls-k), .hls-linkkarte ul li a:not(#hls-k) { font-size: .95rem; }
.hls-linkkarte a strong:not(#hls-k), .hls-linkkarte a b:not(#hls-k), .hls-linkkarte strong a:not(#hls-k) { font-weight: 600; }
.hls-vergleich thead th:not(#hls-k) { line-height: 1.35; vertical-align: bottom; }
.hls-vergleich:not(#hls-k) { display: block; max-width: 100%; }
@media (max-width: 800px) { .wp-block-column:has(> .hls-vergleich):not(#hls-k) { width: 100%; } .hls-infokarten:not(#hls-k) { padding-left: 16px; padding-right: 16px; } }

/* News am Seitenende (Ausbildung, Duales Studium): reduziert, im grauen Band */
.hls-news-band:not(#hls-k) { margin-top: 64px !important; }
.hls-band-titel:not(#hls-k) { font-size: 1.35rem !important; color: #555 !important; margin-top: 0 !important; margin-bottom: 20px !important; }
.hls-aktuelles-kompakt.is-grid:not(#hls-k) { gap: 20px; }
.hls-aktuelles-kompakt li:not(#hls-k) { flex-direction: row !important; align-items: center; gap: 0; box-shadow: none !important; transform: none !important; border-radius: 4px; overflow: hidden; display: grid !important; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; }
.hls-aktuelles-kompakt .wp-block-latest-posts__featured-image:not(#hls-k) { grid-row: 1 / 3; margin: 0 !important; height: 100%; }
.hls-aktuelles-kompakt .wp-block-latest-posts__featured-image a:not(#hls-k), .hls-aktuelles-kompakt .wp-block-latest-posts__featured-image img:not(#hls-k) { display: block; width: 96px; height: 100%; min-height: 96px; aspect-ratio: auto; object-fit: cover; }
.hls-aktuelles-kompakt .wp-block-latest-posts__post-date:not(#hls-k) { grid-column: 2; grid-row: 1; padding: 14px 16px 0; margin: 0; font-size: .72rem; align-self: end; }
.hls-aktuelles-kompakt .wp-block-latest-posts__post-title:not(#hls-k) { grid-column: 2; grid-row: 2; padding: 2px 16px 14px; font-size: .98rem; font-weight: 600; line-height: 1.35; align-self: start; }

/* Zwei Modelle (Duales Studium) */
.hls-modell-kopf:not(#hls-k) { margin-bottom: 32px !important; }
.hls-modell-bild img:not(#hls-k) { border-radius: 6px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
.hls-modell-kopf h2:not(#hls-k) { margin-top: 0; }

/* Stellenangebot (Detailseite) */
.hls-stelle-einstieg:not(#hls-k) { margin: 56px auto !important; }
.hls-stelle-einstieg .wp-block-image img:not(#hls-k) { border-radius: 6px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hls-stelle-einstieg .wp-block-buttons:not(#hls-k) { margin-top: 1.6em; gap: 12px; }
.hls-stelle-karten:not(#hls-k) { margin: 56px auto !important; gap: 28px; }
.hls-stelle-karten > .wp-block-column:not(#hls-k) { display: flex; flex-direction: column; }
.hls-stelle-karte:not(#hls-k) { flex: 1; background: #fff; border: 1px solid #eceee8; border-top: 4px solid #89ba17; border-radius: 6px; padding: 30px 32px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.hls-stelle-karte h3:not(#hls-k) { margin-top: 0; font-size: 1.4rem; }
.hls-stelle-karte li:not(#hls-k) { margin-bottom: .9em; line-height: 1.75; }
.hls-bewerbung-band > h2:not(#hls-k) { margin-top: 0; }
.hls-bewerbung-band .wp-block-columns:not(#hls-k) { align-items: stretch; gap: 32px; }
.hls-bewerbung-band .wp-block-column:not(#hls-k) { display: flex; flex-direction: column; }
.hls-bewerbung-band .hls-formular-karte:not(#hls-k) { flex: 1; margin-bottom: 0 !important; }
.hls-bewerbung-band .hls-stelle-post:not(#hls-k) { flex: 1; margin-bottom: 0 !important; }
.hls-formular-karte h3:not(#hls-k) { margin-top: 0; }
.hls-kleintitel:not(#hls-k) { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem !important; font-weight: 700; color: #89ba17; margin: 0 0 14px !important; }
.hls-ansprechpartner:not(#hls-k), .hls-stelle-post:not(#hls-k) { background: #fff; border-radius: 6px; padding: 26px 28px 14px; box-shadow: 0 2px 10px rgba(0,0,0,.05); margin-bottom: 24px !important; }
.hls-ansprechpartner .wp-block-image img:not(#hls-k) { width: 100%; aspect-ratio: 3 / 2; border-radius: 4px; object-fit: cover; object-position: 50% 25%; }
.hls-ansprechpartner .wp-block-image:not(#hls-k) { margin: 0 0 14px !important; }
.hls-ansprechpartner > h3:not(#hls-k) { margin-top: 0; font-size: 1.2rem; }
.hls-name:not(#hls-k) { margin: 0 !important; font-size: 1.15rem !important; font-weight: 600; }
.hls-ansprechpartner .hls-rolle:not(#hls-k) { color: #89ba17; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: .76rem; margin: .2em 0 .9em !important; }
.hls-stelle-post h3:not(#hls-k) { margin-top: 0; font-size: 1.2rem; }
.hls-claim:not(#hls-k) { display: inline-block; background: rgba(137,186,23,.9); color: #222 !important; font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; padding: .15em .5em; line-height: 1.2; }
.wp-block-cover:has(.hls-claim) .wp-block-cover__inner-container:not(#hls-k) { text-align: center; }
.hls-zurueck a:not(#hls-k) { font-weight: 700; text-decoration: none; color: #89ba17; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }

/* Bild-Text-Band (Praktikum): Text oben bündig, Kontaktzeile unten bündig mit dem Bild */
.hls-bild-text:not(#hls-k) { align-items: stretch !important; }
.hls-bild-text > .wp-block-column:not(#hls-k) { display: flex; flex-direction: column; }
.hls-bild-text > .wp-block-column:first-child .wp-block-image:not(#hls-k) { margin: 0; flex: 1; display: flex; }
.hls-bild-text > .wp-block-column:first-child .wp-block-image img:not(#hls-k) { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: 50% 20%; border-radius: 6px; }
.hls-bild-text .hls-zwischentitel:not(#hls-k) { margin: 0 0 .6em !important; font-size: 1.6rem; color: #333; }
.hls-bild-text p:not(#hls-k) { margin: 0 0 1em; }
.hls-spalten-fuss:not(#hls-k) { margin-top: auto !important; border-top: 1px solid #dfe3d6; padding-top: 16px !important; }
.hls-spalten-fuss p:not(#hls-k) { margin: 0 !important; }

/* News kompakt: Text oben bündig, ganze Karte klickbar, „Weiterlesen“ */
.hls-aktuelles-kompakt li:not(#hls-k) { position: relative; align-items: start !important; grid-template-rows: auto auto 1fr !important; }
.hls-aktuelles-kompakt .wp-block-latest-posts__featured-image:not(#hls-k) { grid-row: 1 / 4 !important; }
.hls-aktuelles-kompakt .wp-block-latest-posts__post-date:not(#hls-k) { align-self: start !important; padding-top: 16px !important; }
.hls-aktuelles-kompakt .wp-block-latest-posts__post-title:not(#hls-k) { padding-bottom: 0 !important; }
.hls-aktuelles-kompakt .wp-block-latest-posts__post-title:not(#hls-k)::before { content: ""; position: absolute; inset: 0; }
.hls-aktuelles-kompakt .wp-block-latest-posts__post-title:not(#hls-k)::after { content: "Weiterlesen →"; display: block; margin: 10px 0 16px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #89ba17; }
.hls-aktuelles-kompakt li:hover .wp-block-latest-posts__post-title:not(#hls-k) { color: #89ba17; }

/* Schlussbild Stellenangebot: Foto, darunter der Satz als grüner Balken */
.hls-claim-block:not(#hls-k) { margin: 64px auto !important; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.hls-claim-block .wp-block-image:not(#hls-k) { margin: 0 !important; }
.hls-claim-block .wp-block-image img:not(#hls-k) { display: block; width: 100%; height: auto; }
.hls-claim-block .hls-claim:not(#hls-k) { display: block; margin: 0 !important; text-align: center; background: #89ba17; color: #222 !important; font-weight: 800; text-transform: uppercase; padding: .5em 1em; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: .02em; }
.hls-linkliste:not(#hls-k) { list-style: none; padding: 0 !important; margin: .4em 0 .8em; }
.hls-linkliste li:not(#hls-k) { padding: 0 !important; margin-bottom: .5em; }
.hls-linkliste li:not(#hls-k)::before { display: none !important; }
.hls-linkliste a:not(#hls-k) { font-weight: 600; text-decoration: none; }
.hls-linkliste a:not(#hls-k)::before { content: "→ "; }


/* Überschrift oben in einer Spalte: oben bündig mit der Nachbarspalte */
.wp-block-column > .wp-block-heading:first-child:not(#hls-k) { margin-top: 0; }

/* Schlussbild: Höhe begrenzen, Vordergrund (Pflaster) abschneiden */
.hls-claim-block .wp-block-image img:not(#hls-k) { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 700px) { .hls-claim-block .wp-block-image img:not(#hls-k) { aspect-ratio: 16 / 9; } }

/* Symbole vor Überschriften (automatisch erzeugt aus scripts/icons.py) */
.hls-ico-arrow-down:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 4v16M5 13l7 7 7-7%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-car:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M5 17H3v-5l2-5h14l2 5v5h-2%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M3 12h18%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%227.5%22 cy=%2217%22 r=%222%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%2216.5%22 cy=%2217%22 r=%222%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M9.5 17h5%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-check-circle-o:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22m7.5 12.5 3 3 6-6.5%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-clock-o:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M12 6v6l4 2%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-compass:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22m15.5 8.5-2 5-5 2 2-5z%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-download:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 3v12M7 10l5 5 5-5M4 19h16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-exclamation-triangle:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M12 9v4M12 17h.01%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-file-text-o:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M14 2v6h6M8 13h8M8 17h8M8 9h2%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-film:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Crect x=%222%22 y=%223%22 width=%2220%22 height=%2218%22 rx=%222%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M7 3v18M17 3v18M2 8h5M2 12h20M2 16h5M17 8h5M17 16h5%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-info:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M12 16v-5M12 8h.01%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-play:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22m10 8 6 4-6 4z%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-question-circle:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-question-circle-o:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-send-o:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22m22 2-7 20-4-9-9-4z%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M22 2 11 13%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-sticky-note:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M15 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10z%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M15 21v-6h6%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-tint:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2.7s-6.5 7.2-6.5 11.8a6.5 6.5 0 0 0 13 0C18.5 9.9 12 2.7 12 2.7z%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-university:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M2 9 12 3l10 6M4 10v8M9 10v8M15 10v8M20 10v8M2 21h20%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-user-plus:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M2 21v-1a7 7 0 0 1 14 0v1%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M19 8v6M16 11h6%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-users:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M2 21v-1a7 7 0 0 1 14 0v1%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M16 3.5a4 4 0 0 1 0 7.5M22 21v-1a7 7 0 0 0-4-6.3%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.hls-ico-wheelchair:not(#hls-k) { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2211%22 cy=%224%22 r=%222%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M11 7v6h6l2 6M11 10h5%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M8 11.5a5 5 0 1 0 7.5 6%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }

/* Team-Karten: Kontakt-Link und Gewerk-Symbole unten bündig */
.hls-team-karte:not(#hls-k) { display: flex; flex-direction: column; }
.hls-team-fuss:not(#hls-k) { margin-top: auto !important; padding-top: 12px !important; }
.hls-team-fuss p:not(#hls-k) { margin: 0 0 8px; }
.hls-team-fuss .hls-gewerke:not(#hls-k) { margin-bottom: 0; }

/* Verlinkte Gewerk-Symbole (Planungsleistungen: „Ein Klick auf das Symbol …“) */
.hls-gewerke-links:not(#hls-k) { gap: 16px; }
.hls-gewerke-links a:not(#hls-k) { display: block; border-radius: 4px; transition: transform .2s; }
.hls-gewerke-links a:hover:not(#hls-k) { transform: translateY(-3px); }
.hls-gewerke-links img:not(#hls-k) { width: 120px; }

/* ===== Ergänzungen ===== */
/* =====================================================================
   HLS-Plugin – Ergänzungen für Plugin-Ausgaben und neue Bausteine
   ===================================================================== */

/* Referenz- und News-Kopf (vom Plugin über dem Inhalt ausgegeben) */
:where(.entry-content) > .ref-rahmen:not(#hls-k) { margin-top: 40px; margin-bottom: 8px; }
.hls-ref-hauptbild img:not(#hls-k) { width: 100%; height: auto; display: block; border-radius: 4px; }
.hls-news-kopf h1:not(#hls-k) { margin-top: 0 !important; }

/* News-Detailseite: schmale Lesespalte, „Weitere Meldungen“ wieder in voller Inhaltsbreite */
.hls-news :where(.entry-content) > *:not(.alignfull):not(.hls-weitere):not(#hls-k) { max-width: 820px; margin-left: auto; margin-right: auto; }

/* Weitere Projekte / Weitere Meldungen */
.hls-weitere .hls-karten:not(#hls-k) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hls-weitere figure:not(#hls-k) { margin: 0; }
@media (max-width: 800px) { .hls-weitere .hls-karten:not(#hls-k) { grid-template-columns: 1fr; } }
:where(.entry-content) .hls-weitere:not(#hls-k) { margin-top: 64px; margin-bottom: 64px; padding-top: 16px; }

/* Referenz-Filter */
.hls-filter:not(#hls-k) { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px auto 28px; }
.hls-filter button:not(#hls-k) { font: inherit; font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: #5f5f5f; background: #f3f6ec; border: 1px solid #e3e8d6; border-radius: 999px; padding: 7px 16px; cursor: pointer; transition: background .2s, color .2s; }
.hls-filter button:hover:not(#hls-k) { color: #659424; border-color: #89ba17; }
.hls-filter button.ist-aktiv:not(#hls-k) { background: #89ba17; border-color: #89ba17; color: #fff; }
:where(.entry-content) .wp-block-post[hidden]:not(#hls-k) { display: none !important; }

/* Alle Meldungen (Seite „Aktuelles“) */
.hls-meldungen .wp-block-post-template:not(#hls-k) { gap: 32px; }
.hls-meldungen .wp-block-post:not(#hls-k) { background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .2s, transform .2s; }
.hls-meldungen .wp-block-post:hover:not(#hls-k) { box-shadow: 0 8px 24px rgba(0,0,0,.10); transform: translateY(-2px); }
.hls-meldungen .wp-block-post-featured-image:not(#hls-k) { margin: 0 0 1.4em; }
.hls-meldungen .wp-block-post-featured-image img:not(#hls-k) { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hls-meldungen .wp-block-post-date:not(#hls-k) { padding: 0 28px; margin-bottom: .5em; text-transform: uppercase; font-weight: 700; font-size: .78rem; letter-spacing: .08em; color: #89ba17; }
.hls-meldungen .wp-block-post-title:not(#hls-k) { padding: 0 28px; margin: 0 !important; font-size: 1.3rem !important; line-height: 1.3; }
.hls-meldungen .wp-block-post-title a:not(#hls-k) { color: #333; text-decoration: none; }
.hls-meldungen .wp-block-post-title a:hover:not(#hls-k) { color: #89ba17; }
.hls-meldungen .wp-block-post-excerpt:not(#hls-k) { padding: 0 28px 28px; margin: .8em 0 0; flex: 1; display: flex; flex-direction: column; }
.hls-meldungen .wp-block-post-excerpt__excerpt:not(#hls-k) { margin: 0; }
.hls-meldungen .wp-block-post-excerpt__more-text:not(#hls-k) { margin: auto 0 0; padding-top: 1.2em; }
.hls-meldungen .wp-block-post-excerpt__more-link:not(#hls-k) { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; text-decoration: none; }
.hls-meldungen .wp-block-post-excerpt__more-link:not(#hls-k)::after { content: " →"; }
.hls-meldungen .wp-block-query-pagination:not(#hls-k) { margin-top: 40px; gap: 6px; font-weight: 700; }
.hls-meldungen .wp-block-query-pagination a:not(#hls-k), .hls-meldungen .wp-block-query-pagination .page-numbers:not(#hls-k) { text-decoration: none; padding: 6px 12px; border-radius: 3px; }
.hls-meldungen .wp-block-query-pagination .page-numbers.current:not(#hls-k) { background: #89ba17; color: #fff; }

/* Partner- und Mitgliedschafts-Logos */
.hls-partner:not(#hls-k) { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; margin: 32px auto !important; }
.hls-partner-karte:not(#hls-k) { background: #fff; border: 1px solid #eceee8; border-radius: 6px; padding: 20px; text-align: center; font-size: .9rem; line-height: 1.5; }
.hls-partner-karte .wp-block-image:not(#hls-k) { height: 80px; display: flex; align-items: center; justify-content: center; margin: 0 0 12px !important; }
.hls-partner-karte .wp-block-image img:not(#hls-k) { max-height: 80px; max-width: 100%; width: auto; object-fit: contain; }
.hls-partner-karte p:not(#hls-k) { margin: 0; }

/* Stimmen (Azubis) */
.hls-stimmen:not(#hls-k) { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 32px auto !important; }
.hls-stimmen .wp-block-quote:not(#hls-k) { margin: 0; background: #f3f6ec; border-left: 4px solid #89ba17; border-radius: 4px; padding: 22px 24px; }
.hls-stimmen .wp-block-quote p:not(#hls-k) { font-style: italic; margin: 0 0 .8em; }
.hls-stimmen .wp-block-quote cite:not(#hls-k) { font-style: normal; font-size: .85rem; font-weight: 700; color: #4a4a4a; }

/* Fähigkeiten-Balken (Ausbildungsseiten) */
.hls-balken:not(#hls-k) { margin: 0 0 18px; }
.hls-balken-titel:not(#hls-k) { margin: 0 0 6px !important; font-weight: 700; font-size: .9rem; color: #4a4a4a; }
.hls-balken-spur:not(#hls-k) { height: 10px; background: #e8ecdf; border-radius: 5px; overflow: hidden; }
.hls-balken-spur span:not(#hls-k) { display: block; height: 100%; background: #89ba17; border-radius: 5px; }

/* Eingebettete Videos */
:where(.entry-content) .wp-block-embed:not(#hls-k) { margin: 0 0 1.5em; }

/* Wer in den Systemeinstellungen „Bewegung reduzieren“ gewählt hat: keine Hover-Bewegungen */
@media (prefers-reduced-motion: reduce) {
  .hls-linkkarte:not(#hls-k), .hls-aktuelles li:not(#hls-k), .hls-meldungen .wp-block-post:not(#hls-k), .hls-gewerke-links a:not(#hls-k), .hls-referenzen img:not(#hls-k), .hls-weitere img:not(#hls-k), .hls-referenzen-band img:not(#hls-k) { transition: none !important; transform: none !important; }
}

/* Bildleiste der Referenzen: Bilder erscheinen oben als Miniaturen, die Galerie selbst bleibt auf der Website unsichtbar
   (muss die Raster-Regel der Galerie aus dem Grundlayout schlagen) */
:where(.entry-content) .wp-block-gallery.hls-bildleiste:not(#hls-k) { display: none !important; }

/* Abstand nach dem grünen Titelband, wenn direkt Text, Liste oder Meldungen folgen */
:where(.entry-content) > .hls-akzent-flaeche + p:not(#hls-k), :where(.entry-content) > .hls-akzent-flaeche + .wp-block-list:not(#hls-k), :where(.entry-content) > .hls-akzent-flaeche + .wp-block-query:not(#hls-k), :where(.entry-content) > .hls-breadcrumb + p:not(#hls-k), :where(.entry-content) > .hls-breadcrumb + .wp-block-list:not(#hls-k), :where(.entry-content) > .hls-breadcrumb + .wp-block-query:not(#hls-k) { margin-top: 56px; }
:where(.entry-content) > .hls-meldungen:not(#hls-k) { margin-bottom: 64px; }

/* Vollbreites Bild direkt nach Fließtext: gleicher Abstand wie bei den farbigen Bändern (nicht nach einer Überschrift) */
:where(.entry-content) > :not(.alignfull):not(.wp-block-heading) + .wp-block-cover.alignfull:not(#hls-k) { margin-top: 64px; }

/* Projektleiter: 3 Karten je Reihe wie im Original; Fotos im Originalformat 3:2 (kein Beschnitt, keine Vergrößerung) */
.hls-team-raster.hls-team-3 > .wp-block-column:not(#hls-k) { flex-basis: calc(33.333% - 19px) !important; flex-grow: 0 !important; }  /* letzte, unvollständige Reihe nicht strecken */
@media (max-width: 960px) { .hls-team-raster.hls-team-3 > .wp-block-column:not(#hls-k) { flex-basis: calc(50% - 14px) !important; } }
@media (max-width: 640px) { .hls-team-raster.hls-team-3 > .wp-block-column:not(#hls-k) { flex-basis: 100% !important; } }
.hls-team-raster.hls-team-3 .hls-team-karte .wp-block-image img:not(#hls-k) { width: 100% !important; height: auto !important; max-height: none !important;
  aspect-ratio: 3 / 2 !important; object-fit: cover !important; object-position: 50% 30% !important; }

/* Team-Karten: Gewerk-Symbole, darunter mit Trennlinie abgesetzt der E-Mail-Link mit Briefsymbol */
.hls-team-fuss:not(#hls-k) { padding-top: 20px !important; }
.hls-team-fuss .hls-gewerke:not(#hls-k) { margin: 0 0 20px !important; gap: 8px; }
.hls-team-fuss .hls-team-mail:not(#hls-k) { margin: 0 !important; padding-top: 16px; border-top: 1px solid #e6e9e0; }
.hls-team-mail a:not(#hls-k) { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.hls-team-mail a:not(#hls-k)::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1 2.3V17h16V7.3l-8 5.2z M4.6 7l7.4 4.8L19.4 7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1 2.3V17h16V7.3l-8 5.2z M4.6 7l7.4 4.8L19.4 7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hls-team-mail a:hover:not(#hls-k), .hls-team-mail a:focus-visible:not(#hls-k) { text-decoration: underline; }

/* Überschrift direkt über einem Karten- oder Bildraster: mehr Luft bis zu den Vorschaubildern */
:where(.entry-content) .wp-block-heading + .wp-block-query:not(#hls-k), :where(.entry-content) .wp-block-heading + .hls-team-raster:not(#hls-k) { margin-top: 40px; }

/* Galerien im Format ihrer Bilder: Hochformat-Porträts (Ausbildung) ganz, quadratische Bilder quadratisch */
:where(.entry-content) .wp-block-gallery.has-nested-images.hls-format-hoch img:not(#hls-k) { aspect-ratio: 2 / 3; }
:where(.entry-content) .wp-block-gallery.has-nested-images.hls-format-quadrat img:not(#hls-k) { aspect-ratio: 1; }

/* Graue Infokästen neben Text: Oberkante bündig mit dem Anfang der Nachbarspalte (Überschrift) */
:where(.entry-content) .wp-block-column > .wp-block-group.has-background:not(.alignfull):first-child:not(#hls-k) { margin-top: 0; }

/* Aufklapp-Elemente: Text läuft nie in das Plus-Zeichen; Zeichen senkrecht mittig, auch bei zweizeiligem Titel */
.wp-block-details summary:not(#hls-k) { padding: 16px 60px 16px 20px; }
.wp-block-details summary:not(#hls-k)::after { top: 50%; right: 20px; transform: translateY(-50%); line-height: 1; }
.wp-block-details > :not(summary):not(#hls-k) { padding: 0 20px; }
.hls-akkordeon .wp-block-details:last-child:not(#hls-k) { margin-bottom: 0; }

/* Ausbildung: grauer Infokasten neben Akkordeon bzw. Stärken-Balken schließt oben und unten bündig mit der Nachbarspalte ab */
/* Kasten kompakt; neben Stärken-Balken bzw. geschlossenen Aufklapp-Elementen samt Überschrift
   wird er auf die Höhe der Nachbarspalte gestreckt; ist ein Aufklapp-Element geöffnet, behält er seine eigene Höhe (wächst nicht mit) */
.hls-info-reihe:not(:has(details[open])) > .wp-block-column:has(> .wp-block-group.has-background):not(#hls-k) { display: flex; flex-direction: column; }
:where(.entry-content) .hls-info-reihe > .wp-block-column > .wp-block-group.has-background:not(#hls-k) {
  margin: 0; display: flex; flex-direction: column; justify-content: center; border-radius: 4px; padding: 24px 28px !important; }
:where(.entry-content) .hls-info-reihe:not(:has(details[open])) > .wp-block-column > .wp-block-group.has-background:not(#hls-k) { flex: 1; }
.hls-info-reihe .hls-iconbox .hls-icon:not(#hls-k) { margin-bottom: .25em; }
.hls-info-reihe .hls-iconbox .hls-icon svg:not(#hls-k) { width: 40px; height: 40px; }
.hls-info-reihe .hls-iconbox h3:not(#hls-k) { margin: .2em 0 .4em; font-size: 1.3rem; }
.hls-info-reihe .hls-iconbox p:not(#hls-k) { margin: 0; font-size: .95rem; line-height: 1.7; }

/* Formularkarte mit eigener Überschrift („Online Bewerbung“) */
.hls-formular-karte > .wp-block-heading:first-child:not(#hls-k) { margin-top: 0; }
.wp-block-column > .hls-balken:last-child:not(#hls-k) { margin-bottom: 0; }
.hls-info-reihe .hls-iconbox p a:not(#hls-k) { display: inline-block; margin: .3em 0; }

/* Formular-Band: linke Spalte beginnt auf derselben Höhe wie der Inhalt der Formularkarte
   (Überschriften „Unsere Anschrift“ und „Online Bewerbung“ stehen auf einer Linie) */
@media (min-width: 801px) {
  .hls-formular-band:not(.hls-bewerbung-band) .wp-block-columns > .wp-block-column:first-child:not(#hls-k) { padding-top: 36px; }
}

/* Kadence-Kopfzeile (HTML-Element der oberen Zeile): Telefon- und Briefsymbol vor den Links, wie bisher */
.header-html a[href^="tel:"]:not(#hls-k), .header-html a[href^="mailto:"]:not(#hls-k), .mobile-html a[href^="tel:"]:not(#hls-k), .mobile-html a[href^="mailto:"]:not(#hls-k) { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.header-html a[href^="tel:"]:not(#hls-k)::before, .header-html a[href^="mailto:"]:not(#hls-k)::before, .mobile-html a[href^="tel:"]:not(#hls-k)::before, .mobile-html a[href^="mailto:"]:not(#hls-k)::before {
  content: ""; flex: 0 0 auto; width: 14px; height: 14px; background: currentColor; }
.header-html a[href^="tel:"]:not(#hls-k)::before, .mobile-html a[href^="tel:"]:not(#hls-k)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.header-html a[href^="mailto:"]:not(#hls-k)::before, .mobile-html a[href^="mailto:"]:not(#hls-k)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.header-html a[href^="tel:"]:hover:not(#hls-k), .header-html a[href^="mailto:"]:hover:not(#hls-k) { color: #89ba17; }
.header-html a[href^="tel:"]:not(#hls-k), .mobile-html a[href^="tel:"]:not(#hls-k) { margin-right: 10px; }
.header-html a[href^="mailto:"]:not(#hls-k), .mobile-html a[href^="mailto:"]:not(#hls-k) { margin-left: 10px; }

/* Endet eine Seite mit einem vollbreiten Band (z. B. „Aktuelles“ auf der Startseite), schließt es direkt an den Footer an */
:where(.entry-content) > .wp-block-group.alignfull:last-child:not(#hls-k), :where(.entry-content) > .wp-block-cover.alignfull:last-child:not(#hls-k) { margin-bottom: 0; }

/* Abstandhalter direkt vor oder nach einem farbigen Band: überflüssig, das Band hat schon 64 px Abstand */
:where(.entry-content) > .wp-block-group.alignfull.has-background + .wp-block-spacer:not(#hls-k), :where(.entry-content) > .wp-block-spacer:has(+ .wp-block-group.alignfull.has-background):not(#hls-k) { display: none; }

/* Letzter Inhalt einer Seite (z. B. Referenz-Raster): Luft zum Footer, außer bei vollbreiten Bändern */
:where(.entry-content) > :last-child:not(.alignfull):not(#hls-k) { margin-bottom: 64px; }

/* Duales Studium: Unterüberschrift „Zwei Modelle“ neben dem Bild bündig oben */
.hls-modell-kopf h3:not(#hls-k) { margin-top: 0; }

/* Lange Fachwörter (z. B. „Gebäudeausrüstung/Versorgungstechnik“) auf schmalen Handys umbrechen statt überstehen */
.hls-stelle-karte:not(#hls-k) { overflow-wrap: anywhere; hyphens: auto; }

/* Kadence: mitlaufender Kopf verkleinert die Hauptzeile auf 84 px. Das Logo füllt sonst die ganze Höhe;
   hier wird es kleiner, damit oben und unten Weißraum bleibt (ca. 12 px). */
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .site-branding img:not(#hls-k) {
  max-height: 60px !important; width: auto !important; transition: max-height .2s ease; }

/* Referenzen: Bedienhinweis direkt über den Kategorie-Knöpfen */
:where(.entry-content) .hls-filter-hinweis:not(#hls-k) { margin: 0 0 12px; }
:where(.entry-content) .hls-filter-hinweis + .hls-filter:not(#hls-k), :where(.entry-content) .hls-filter-hinweis + * .hls-filter:not(#hls-k) { margin-top: 0; }

/* News-Band: „Weiterlesen“ in allen Karten einer Reihe auf gleicher Höhe (unten in der Karte) */
.hls-aktuelles-kompakt .wp-block-latest-posts__post-title:not(#hls-k) { grid-row: 2 / 4 !important; align-self: stretch !important; display: flex; flex-direction: column; }
.hls-aktuelles-kompakt .wp-block-latest-posts__post-title:not(#hls-k)::after { margin-top: auto !important; padding-top: 10px; }

/* Vergleichstabelle auf dem Handy: statt seitlich zu scrollen je Zeile eine Karte,
   jeder Wert mit seiner Spaltenüberschrift (vom Skript gesetzt; ohne Skript bleibt das Scrollen) */
@media (max-width: 700px) {
  .hls-vergleich:has(table.hls-gestapelt):not(#hls-k) { overflow: hidden; }
  .hls-vergleich table.hls-gestapelt:not(#hls-k) { min-width: 0; table-layout: auto; }
  .hls-vergleich table.hls-gestapelt thead:not(#hls-k) { display: none; }
  .hls-vergleich table.hls-gestapelt tbody:not(#hls-k), .hls-vergleich table.hls-gestapelt tr:not(#hls-k) { display: block; }
  .hls-vergleich table.hls-gestapelt tr:not(#hls-k) { padding: 14px 18px; border-bottom: 1px solid #eceee8; }
  .hls-vergleich table.hls-gestapelt td:not(#hls-k) { display: block; padding: 6px 0 !important; border: 0 !important; background: none !important;
    width: auto !important; line-height: 1.55; overflow-wrap: anywhere; hyphens: auto; }
  .hls-vergleich table.hls-gestapelt td:first-child:not(#hls-k) { padding-bottom: 4px !important; }
  .hls-vergleich table.hls-gestapelt td[data-label]:not(#hls-k)::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: #659424; line-height: 1.4; margin-bottom: 1px; }
  .hls-vergleich table.hls-gestapelt tbody tr:nth-child(even):not(#hls-k) { background: #fafbf7; }
}

/* Brotkrümelpfad: klein und grau unter dem Titelband (Startseite ohne) */
:where(.entry-content) > .hls-breadcrumb:not(#hls-k) { margin: 14px 0 0 !important; font-size: 13px; line-height: 1.5; color: #6b6b6b; }
.hls-breadcrumb ol:not(#hls-k) { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; }
.hls-breadcrumb li:not(#hls-k) { margin: 0 !important; padding: 0; }
.hls-breadcrumb li + li:not(#hls-k)::before { content: "›"; margin: 0 .55em; color: #a3a3a3; }
.hls-breadcrumb a:not(#hls-k) { color: #6b6b6b; text-decoration: none; }
.hls-breadcrumb a:hover:not(#hls-k), .hls-breadcrumb a:focus-visible:not(#hls-k) { color: #659424; text-decoration: underline; }
.hls-breadcrumb [aria-current]:not(#hls-k) { color: #4a4a4a; }
/* Ganzseitiges Bild direkt darunter (Kontakt): gleicher kleiner Abstand wie über dem Pfad */
:where(.entry-content) > .hls-breadcrumb + .alignfull:not(#hls-k) { margin-top: 14px !important; }
/* Referenzen und News: Pfad über dem Kopfbereich */
:where(.entry-content) > .hls-breadcrumb:first-child:not(#hls-k) { margin: 18px 0 0 !important; }
:where(.entry-content) > .hls-breadcrumb:first-child + .ref-rahmen:not(#hls-k) { margin-top: 18px; }

/* Formulare: zwei Felder nebeneinander nur, wenn die Karte breit genug ist; sonst untereinander.
   Nebeneinander stehen die Eingabefelder bündig, auch wenn eine Beschriftung zweizeilig ist. */
.hls-formular-karte:not(#hls-k) { container-type: inline-size; width: 100%; box-sizing: border-box; }  /* feste Breite nötig, sonst schrumpft die Karte mit Größenabfrage auf null */
.hls-formular-karte .wpcf7-form:not(#hls-k) { align-items: end; }
@media (max-width: 800px) { .hls-formular-band .wp-block-columns > .wp-block-column:has(> .hls-formular-karte):not(#hls-k) { align-self: stretch; } }  /* untereinander: volle Breite */
@container (max-width: 520px) {
  .hls-formular-karte .wpcf7-form:not(#hls-k) { grid-template-columns: 1fr; }
}

/* News-Band auf Tablets: Karten untereinander (drei schmale Spalten wären unlesbar) */
@media (max-width: 1024px) {
  :where(.entry-content) .wp-block-latest-posts.is-grid.hls-aktuelles-kompakt:not(#hls-k) { grid-template-columns: 1fr; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .hls-aktuelles-kompakt li:not(#hls-k) { grid-template-columns: 120px 1fr !important; }
  .hls-aktuelles-kompakt .wp-block-latest-posts__featured-image a:not(#hls-k), .hls-aktuelles-kompakt .wp-block-latest-posts__featured-image img:not(#hls-k) { width: 120px !important; }
}
.hls-aktuelles-kompakt .wp-block-latest-posts__post-title:not(#hls-k) { min-width: 0; overflow-wrap: break-word; hyphens: auto; }

/* Startseite „Aktuelles“ auf Tablets: Karten untereinander, Bild links, Text rechts */
@media (min-width: 641px) and (max-width: 1024px) {
  :where(.entry-content) .wp-block-latest-posts.is-grid.hls-aktuelles:not(.hls-aktuelles-kompakt):not(#hls-k) { grid-template-columns: 1fr; gap: 24px; }
  .hls-aktuelles:not(.hls-aktuelles-kompakt) li:not(#hls-k) { display: grid; grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto auto 1fr; }
  .hls-aktuelles:not(.hls-aktuelles-kompakt) .wp-block-latest-posts__featured-image:not(#hls-k) { grid-column: 1; grid-row: 1 / 4; margin: 0; }
  .hls-aktuelles:not(.hls-aktuelles-kompakt) .wp-block-latest-posts__featured-image a:not(#hls-k) { display: block; height: 100%; }
  .hls-aktuelles:not(.hls-aktuelles-kompakt) .wp-block-latest-posts__featured-image img:not(#hls-k) { height: 100%; min-height: 220px; aspect-ratio: auto; }
  .hls-aktuelles:not(.hls-aktuelles-kompakt) .wp-block-latest-posts__post-date:not(#hls-k) { grid-column: 2; grid-row: 1; padding-top: 26px; }
  .hls-aktuelles:not(.hls-aktuelles-kompakt) .wp-block-latest-posts__post-title:not(#hls-k) { grid-column: 2; grid-row: 2; }
  .hls-aktuelles:not(.hls-aktuelles-kompakt) .wp-block-latest-posts__post-excerpt:not(#hls-k) { grid-column: 2; grid-row: 3; padding-bottom: 26px; }
}

/* Kadence-Kopf auf Tablet/Handy: obere Zeile mit Telefon/E-Mail (HTML Mobil) und Social-Symbolen (Social Mobil).
   Auf dem Handy nur die Symbole (größere Tippfläche), auf dem Tablet mit Text wie am Computer. */
.mobile-html:not(#hls-k) { font-size: 14px; }
@media (max-width: 640px) {
  .mobile-html:not(#hls-k), .mobile-html p:not(#hls-k) { font-size: 0 !important; line-height: 0 !important; margin: 0 !important; }
  .mobile-html a[href^="tel:"]:not(#hls-k), .mobile-html a[href^="mailto:"]:not(#hls-k) { font-size: 0 !important; padding: 8px; margin: 0 !important; }
  .mobile-html a[href^="tel:"]:not(#hls-k)::before, .mobile-html a[href^="mailto:"]:not(#hls-k)::before { width: 18px; height: 18px; }
}

/* Sprungziel Kontaktformular: nicht unter dem mitlaufenden Kopf verschwinden */
#kontaktformular:not(#hls-k) { scroll-margin-top: 110px; }

/* Mitlaufender Kopf auf Tablet/Handy: Logo kleiner, damit oben und unten Weißraum bleibt (Haupt-Zeile verkleinert auf ca. 64 px) */
#mobile-header .kadence-sticky-header.item-is-fixed:not(.item-at-start) .site-branding img:not(#hls-k) { max-height: 46px !important; width: auto !important; }

/* Suchergebnisse: ohne Verfasser und Datum */
body.search .entry-meta:not(#hls-k), body.search-results .entry-meta:not(#hls-k) { display: none !important; }


/* Referenzen: Unterzeile nur als Beschreibung für Suchmaschinen (das Plugin entfernt sie aus der Ausgabe; zur Sicherheit auch ausgeblendet) */
body.single-portfolio .hls-ref-unterzeile:not(#hls-k) { display: none !important; }

