/* Alliance – Ergänzungen 3 */
.as-section .as-mol > * + .wp-block-heading { margin-top: 20px; }
.as-section .as-mol > .wp-block-heading + p { margin-top: 16px; }
.as-slider-wrap.is-start .as-slider-btn--prev { opacity: 0; pointer-events: none; }
/* Handgezeichnete Unterstreichung (Hervorhebung wie im Original) */
.as-hl--hand-underlined { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M0,30 q50,-35 100,0' fill='none' stroke='%23f1861a' stroke-width='4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left bottom; background-size: 100% .42em; padding-bottom: .28em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Kontaktformular wie im Original (56 px hohe Felder, größere Kästchen) */
.as-cf7 input[type=text], .as-cf7 input[type=email], .as-cf7 input[type=tel], .as-cf7 select { height: 56px; padding: 13px 17px; font-size: 15px; }
.as-cf7 textarea { padding: 14px 17px; font-size: 15px; }
.as-cf7 input[type=checkbox] { width: 20px; height: 20px; margin: 0 10px 0 0; vertical-align: middle; accent-color: var(--wp--preset--color--orange); }
.as-cf7-choice .wpcf7-list-item { margin: 12px 0 0; font-size: 15px; }
.as-cf7 input[type=submit] { height: 56px; padding: 0 24px; font-size: 15px; }
/* Fußbereich: Logo/Copyright oben, darunter Spalten; Mitgliedslogos als Laufband wie im Original */
.as-footer-bottom .wp-block-separator.as-line { margin: 0 0 0; }
.as-footer-bottom .wp-block-site-logo { margin: 0 auto; }
.as-footer-bottom .wp-block-site-logo img { height: 80px; width: auto; }
.as-footer-bottom .as-copyright { margin: 4px 0 0; line-height: 37px; }
.as-footer .as-menu .current-menu-item > a, .as-footer .as-menu a[aria-current="page"] { color: var(--wp--preset--color--orange); }
.as-member-logos { overflow: hidden; flex-wrap: nowrap !important; }
.as-member-logos .wp-block-image { flex: none; }
.as-member-logos.is-marquee { display: flex; width: max-content; animation: as-marquee 30s linear infinite; }
.as-member-logos-wrap { overflow: hidden; }
@keyframes as-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .as-member-logos.is-marquee { animation: none; } }
/* Schmale Inhaltsspalten auf dem Handy volle Breite (wie im Original) */
@media (max-width: 767px) { .as-narrow > * { max-width: 100% !important; } }
/* Tablet (bis 1024 px): normale Spalten untereinander, Seitenabstand 35 px – wie im Original */
@media (max-width: 1024px) {
  .as-cols:not(.as-split) { flex-wrap: wrap !important; }
  .as-cols:not(.as-split) > .wp-block-column { flex-basis: 100% !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .as-section.has-global-padding { padding-left: 35px !important; padding-right: 35px !important; }
}
/* Trennlinien im Inhalt: 32 px hohe Zone mit mittiger Linie (wie onepage) */
.as-mol > .wp-block-separator.as-line { box-sizing: content-box; background-clip: content-box; margin-bottom: 0; padding: 15.5px 0 !important; }
.as-mol > .wp-block-separator.as-line--2 { padding: 15px 0 !important; }
.as-mol > .wp-block-separator.as-line--3 { padding: 14.5px 0 !important; }
.as-mol > .wp-block-separator.as-line--4 { padding: 14px 0 !important; }
/* Label-Text wie im Original (klein, fett, Großbuchstaben) */
.as-label { font-size: 14px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; opacity: 1; }
/* Bilder mit Verkleinerung im Rahmen (media_type scale) */
.as-img[class*="as-scale-"] img { transform-origin: center; }
.as-scale-50 img { transform: scale(.5); } .as-scale-55 img { transform: scale(.55); } .as-scale-60 img { transform: scale(.6); } .as-scale-65 img { transform: scale(.65); }
.as-scale-70 img { transform: scale(.7); } .as-scale-75 img { transform: scale(.75); } .as-scale-80 img { transform: scale(.8); } .as-scale-85 img { transform: scale(.85); }
.as-scale-90 img { transform: scale(.9); } .as-scale-95 img { transform: scale(.95); }
/* Laufband Kundenlogos */
.as-marquee-wrap { overflow: hidden; }
.as-marquee { flex-wrap: nowrap !important; gap: 15px !important; }
.as-marquee .wp-block-image { flex: none; margin: 0 !important; }
.as-marquee img { height: 200px; width: auto !important; max-width: none; object-fit: contain; }
@media (max-width: 767px) { .as-marquee img { height: 140px; } }
.as-marquee.is-marquee, .as-member-logos.is-marquee { display: flex; width: max-content; animation-name: as-marquee; animation-timing-function: linear; animation-iteration-count: infinite; }
.as-marquee-wrap:hover .is-marquee { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .as-marquee.is-marquee { animation: none; } }
/* Leistungslisten mit Symbol, Titel und Unterzeile (onepage menu-v2 mit Untertext) */
.as-menu-list--sub li { align-items: flex-start; gap: 20px; padding: 16px; min-height: 0; font-size: inherit; font-weight: 400; }
.as-menu-list--sub .as-mi { margin-top: 4px; }
.as-mi-text { display: flex; flex-direction: column; gap: 8px; }
.as-mi-text > :first-child { font-weight: 700; line-height: 1.5; }
.as-mi-sub { font-size: .9em; font-weight: 400; line-height: 1.5; }
.as-menu-list--cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.as-menu-list--cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.as-menu-list--cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
@media (max-width: 767px) { .as-menu-list--cols-2, .as-menu-list--cols-3, .as-menu-list--cols-4 { grid-template-columns: 1fr; } }
/* Listen/FAQ-Einträge mit Linie oben (und unten beim letzten) */
.as-list-item { border-bottom: 0; }
.as-list-item h3 { margin: 0 !important; }
.as-mol > .as-list-item + .as-list-item { margin-top: 0; }
.as-list-item--lines { border-top: 1px solid rgba(6,24,34,.12); }
.as-list-item--lines:last-child, .as-list-item--lines:not(:has(+ .as-list-item)) { border-bottom: 1px solid rgba(6,24,34,.12); }
.as-lc-orange { border-color: var(--wp--preset--color--orange) !important; }
.as-lc-navy { border-color: var(--wp--preset--color--navy) !important; }
/* Weitere Hervorhebungen (gerade bzw. handgezeichnete Unterstreichung) */
.as-hl--underline { text-decoration: underline; text-decoration-color: var(--wp--preset--color--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.as-hl--hand-underlined-2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 71 6' preserveAspectRatio='none'%3E%3Cpath d='M0.96875 1.54183C24.0009 1.54444 47.0304 1.43619 70.0625 1.44011C54.0689 2.32953 38.0753 3.32981 22.0817 4.21793C34.7001 4.1788 47.3288 4.38747 59.8212 4.84' fill='none' stroke='%23f1861a' stroke-width='2.5' vector-effect='non-scaling-stroke' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left bottom; background-size: 100% .3em; padding-bottom: .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.as-hl--hand-underlined-3 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 91 4' preserveAspectRatio='none'%3E%3Cpath d='M90.2312 1.2281C86.7096 1.30282 84.5652 1.34942 81.3258 1.41752C83.0873 1.50588 83.8518 1.57651 84.5412 1.5716C90.2713 1.5295 90.9839 2.00179 91 2.40576C91.0075 2.83782 87.7671 3.13295 83.9594 3.17157C77.7453 3.23773 71.437 3.26623 65.2118 3.21646C56.6436 3.14773 48.0234 3.00832 39.528 3.11034C30.66 3.21792 21.2911 3.17261 13.4957 3.8519C9.81701 4.17468 5.64373 3.93934 5.40367 3.44057C5.27583 3.16862 4.22841 2.97889 3.09965 2.76611C-4.08609 1.42674 1.58773 0.206922 16.333 0.0582012C37.1342 -0.153955 57.4967 0.247394 77.6625 0.721113C81.5165 0.811787 85.9128 0.776986 90.2196 1.22568L90.2312 1.2281Z' fill='%23f1861a'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left bottom; background-size: 100% .2em; padding-bottom: .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Mehrere Buttons in voller Breite nebeneinander (wie im Original) */
.as-btn-full { flex-wrap: nowrap; }
.as-btn-full .wp-block-button { flex: 1 1 0; width: auto; }
@media (max-width: 767px) { .as-btn-full { flex-wrap: wrap; } .as-btn-full .wp-block-button { flex-basis: 100%; } }
/* Listen-Raster (Blog-Übersicht): 3 Spalten, letzte Reihe mittig */
.as-list-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px; }
.as-list-grid > * { flex: 0 0 calc((100% - 112px) / 3); margin: 0 !important; min-width: 0; }
.as-list-grid-2 > * { flex-basis: calc((100% - 56px) / 2); }
.as-list-grid-4 > * { flex-basis: calc((100% - 168px) / 4); }
@media (max-width: 1024px) { .as-list-grid { gap: 40px; } .as-list-grid > * { flex-basis: calc((100% - 40px) / 2); } }
@media (max-width: 767px) { .as-list-grid > * { flex-basis: 100%; } }
/* Zeitleiste (Werdegang) wie im Original: Punkte + Linie links, Label als graue Marke */
.as-timeline { position: relative; padding-left: 80px; }
.as-timeline::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: #f2f2f2; }
.as-timeline > .as-tl-item { position: relative; margin: 0 !important; padding-bottom: 16px; }
.as-timeline > .as-tl-item + .as-tl-item { margin-top: 0 !important; }
.as-timeline > .as-tl-item::before { content: ""; position: absolute; left: -80px; top: 6px; width: 32px; height: 32px; border-radius: 50%; background: var(--wp--preset--color--orange); box-shadow: 0 0 0 8px #fff; }
.as-timeline .as-label { display: inline-block; background: #f2f2f2; border-radius: 4px; padding: 4px 12px; font-size: 12px !important; font-weight: 400; margin-bottom: 0; }
@media (max-width: 767px) { .as-timeline { padding-left: 48px; } .as-timeline > .as-tl-item::before { left: -48px; width: 24px; height: 24px; } .as-timeline::before { left: 11px; } }
/* Trennlinien ohne eigene Farbe auf dunklem Grund sichtbar */
.as-dark .wp-block-separator.as-line:not(.has-background) { background-color: rgba(255,255,255,.15); }
/* Akzentfarbe für Texte, die im Original orange sind */
.as-accent { color: var(--wp--preset--color--orange) !important; }
/* Handy-/Tablet-Menü: Panel an der Kopfzeile ausrichten (lief vorher links aus dem Bild) */
@media (max-width: 1100px) {
  .as-header { position: relative; }
  .as-header .as-nav { position: static; }
  .as-nav-panel { left: 16px; right: 16px; width: auto; top: calc(100% - 8px); max-height: calc(100vh - 160px); overflow-y: auto; }
}
/* Kasten mit Hintergrundbild (Ratgeber-Kopfbereich) */
.wp-block-cover.as-container { min-height: 0; overflow: hidden; }
.wp-block-cover.as-container > .wp-block-cover__inner-container { color: #fff; }
/* Buttons wie onepage (Größe l): mind. 61px hoch, Text mittig, darf umbrechen */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 61px; padding: 8px 31px; box-sizing: border-box; }
.wp-block-button.is-style-outline > .wp-block-button__link { padding: 8px 31px; }
.as-header .wp-block-button__link { min-height: 40px; padding: 5px 20px; }
.wp-block-button__link .as-bi { width: 16px; height: 16px; flex: none; margin-right: 10px; }
.as-btn-full { flex-wrap: wrap; gap: 16px; }
.as-btn-full .wp-block-button { flex: 1 1 auto; width: auto; }
/* Kasten-Innenabstand als Variable (für randlose Bilder) */
.as-cp-0 { --as-cp: 0px; } .as-cp-16 { --as-cp: 16px; } .as-cp-24 { --as-cp: 24px; }
.as-cp-32 { --as-cp: clamp(20px, 4.17vw, 32px); } .as-cp-40 { --as-cp: clamp(20px, 5.21vw, 40px); }
.as-cp-48 { --as-cp: clamp(20px, 6.25vw, 48px); } .as-cp-56 { --as-cp: clamp(20px, 7.29vw, 56px); }
.as-container:has(.as-col-bleed) { overflow: hidden; }
.as-col-bleed figure.as-img-bleed { margin: 0; position: relative; }
.as-col-bleed figure.as-img-bleed img { width: 100%; object-fit: cover; display: block; }
@media (min-width: 1025px) {
  .as-cols > .wp-block-column.as-col-bleed { align-self: stretch; position: relative; min-height: 240px; }
  .as-col-bleed > .as-mol { position: absolute; top: calc(-1 * var(--as-cp, 0px)); bottom: calc(-1 * var(--as-cp, 0px)); left: 0; right: 0; margin: 0 !important; padding: 0 !important; }
  .as-col-bleed:first-child > .as-mol { left: calc(-1 * var(--as-cp, 0px)); }
  .as-col-bleed:last-child > .as-mol { right: calc(-1 * var(--as-cp, 0px)); }
  .as-col-bleed figure.as-img-bleed, .as-col-bleed figure.as-img-bleed img { height: 100%; }
}
@media (max-width: 1024px) {
  .as-col-bleed > .as-mol { margin: 0 calc(-1 * var(--as-cp, 0px)) !important; padding: 0 !important; }
  .as-col-bleed:first-child > .as-mol { margin-top: calc(-1 * var(--as-cp, 0px)) !important; }
  .as-col-bleed figure.as-img-bleed img { aspect-ratio: 2 / 1; height: auto; }
}
/* Abdunklung auf Bildern wie im Original */
[class*="as-img-dim-"] { position: relative; }
[class*="as-img-dim-"]::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.as-img-dim-10::after { background: rgba(0,0,0,.1); } .as-img-dim-20::after { background: rgba(0,0,0,.2); } .as-img-dim-30::after { background: rgba(0,0,0,.3); }
.as-img-dim-40::after { background: rgba(0,0,0,.4); } .as-img-dim-50::after { background: rgba(0,0,0,.5); } .as-img-dim-60::after { background: rgba(0,0,0,.6); }
.as-img-dim-70::after { background: rgba(0,0,0,.7); } .as-img-dim-80::after { background: rgba(0,0,0,.8); } .as-img-dim-90::after { background: rgba(0,0,0,.9); }
/* Kontaktformular: Auswahl- und Einwilligungstexte normal, Link sichtbar */
.wpcf7 .wpcf7-list-item label, .wpcf7 .wpcf7-list-item-label { font-weight: 400; font-size: 15px; line-height: 1.3; }
.as-dark .wpcf7 form a, .wpcf7 form a { color: var(--wp--preset--color--dark); text-decoration: underline; }
/* Button-Symbole wie im Original (Pfeil, Download) */
[class*="as-bi-"] > .wp-block-button__link::before { content: ""; flex: none; width: 14px; height: 14px; margin-right: 10px; background-color: currentColor; -webkit-mask: var(--as-bi) center / contain no-repeat; mask: var(--as-bi) center / contain no-repeat; }
.as-bi-arrow-right { --as-bi: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 12%22%3E%3Cpath d=%22M1,7H8.586L6.293,9.293a1,1,0,1,0,1.414,1.414l4-4a1,1,0,0,0,0-1.416l-4-4A1,1,0,0,0,6.293,2.707L8.586,5H1A1,1,0,0,0,1,7Z%22/%3E%3C/svg%3E"); }
.as-bi-download-2 { --as-bi: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 12%22%3E%3Cpath d=%22M10,2H8V4h2v6H2V4H4V2H2A2,2,0,0,0,0,4v6a2,2,0,0,0,2,2h8a2,2,0,0,0,2-2V4A2,2,0,0,0,10,2Z%22/%3E%3Cpath d=%22M6.5,0h-1A.5.5,0,0,0,5,.5V5H3.5a.5.5,0,0,0-.384.82l2.5,3a.5.5,0,0,0,.768,0l2.5-3A.5.5,0,0,0,8.5,5H7V.5A.5.5,0,0,0,6.5,0Z%22/%3E%3C/svg%3E"); }
.as-col-bleed figure.as-img-bleed { display: block !important; }
/* Button-Höhen wie im Original: Desktop Zeilenhöhe 1,5, Handy 1,2 */
.wp-block-button__link, .wp-block-button.is-style-outline > .wp-block-button__link { padding: 12px 31px; }
@media (max-width: 767px) { .wp-block-button__link, .wp-block-button.is-style-outline > .wp-block-button__link { line-height: 1.2; padding: 16px 31px; } }
.as-header .wp-block-button__link { min-height: 40px; padding: 5px 20px; line-height: 1.5; }
@media (min-width: 1025px) { .as-cols > .wp-block-column.as-col-bleed { min-height: 0; } }
/* Handy wie Original: Karten- und Kasten-Innenabstand 24px, Bild-Abschnitte mit normalem Seitenrand */
.wp-block-cover.as-section:not([style*="padding-left"]) { padding-left: var(--wp--style--root--padding-left, 24px); padding-right: var(--wp--style--root--padding-right, 24px); }
@media (max-width: 767px) {
  .as-mp { padding: 24px !important; }
  .as-container:not(.as-cp-0), .wp-block-cover.as-container { padding: 24px !important; --as-cp: 24px; }
}
/* Button-Größe m (Standard im Original): 15px, mind. 56px hoch */
.as-btn-m .wp-block-button .wp-block-button__link { font-size: 15px; min-height: 56px; padding: 11px 28px; }
@media (max-width: 767px) { .as-btn-m .wp-block-button .wp-block-button__link { padding: 15px 28px; } }
/* Zeitleiste wie Original: Punkt 40px, Linie 4px, Einträge mit Innenabstand (Desktop 16px, Handy 24px) */
.as-timeline { padding-left: 64px; }
.as-timeline::before { left: 18px; width: 4px; top: 8px; bottom: 8px; background: rgba(6,24,34,.1); }
.as-timeline > .as-tl-item, .as-timeline > .as-tl-item + .as-tl-item { margin: 8px 0 8px 16px !important; padding: 16px; }
.as-timeline > .as-tl-item::before { left: -80px; top: -8px; width: 40px; height: 40px; box-shadow: none; }
@media (max-width: 767px) {
  .as-timeline { padding-left: 40px; }
  .as-timeline > .as-tl-item, .as-timeline > .as-tl-item + .as-tl-item { margin: 8px 0 8px 12px !important; padding: 24px; }
  .as-timeline > .as-tl-item::before { left: -52px; width: 40px; height: 40px; }
  .as-timeline::before { left: 18px; }
}
/* Fußzeile auf dem iPad hochkant wie Original: Spalten untereinander */
@media (max-width: 900px) { .as-footer-cols { flex-wrap: wrap !important; } .as-footer-cols > .wp-block-column { flex-basis: 100% !important; } }
/* Kleine Handys: Rasterkarten nie breiter als der Bildschirm, lange Wörter trennen */
@media (max-width: 640px) { .as-grid-2, .as-grid-3, .as-grid-4 { grid-template-columns: minmax(0, 1fr) !important; } }
.as-grid-card .wp-block-heading { overflow-wrap: break-word; hyphens: auto; }
.as-mol h2, .as-mol h3 { overflow-wrap: break-word; }
/* Inhaltsbreiten wie onepage: 769–991 → 750, 992–1199 → 970, 1200–1365 → 1150 (Seitenrand mind. 32px) */
@media (min-width: 769px) and (max-width: 1365px) { :root { --wp--style--root--padding-left: 32px; --wp--style--root--padding-right: 32px; } }
@media (min-width: 769px) and (max-width: 991px) { .as-cw > :not(.alignfull), .as-cw > .wp-block-cover__inner-container > :not(.alignfull) { max-width: min(750px, 100%) !important; } }
@media (min-width: 992px) and (max-width: 1199px) { .as-cw > :not(.alignfull), .as-cw > .wp-block-cover__inner-container > :not(.alignfull) { max-width: min(970px, 100%) !important; } }
@media (min-width: 1200px) and (max-width: 1365px) { .as-cw > :not(.alignfull), .as-cw > .wp-block-cover__inner-container > :not(.alignfull) { max-width: min(1150px, 100%) !important; } }
/* Fußzeile 992–1199: zwei Spalten, darunter Mitgliedschaften (wie Original) */
@media (max-width: 991px) { .as-footer-cols { flex-wrap: wrap !important; } .as-footer-cols > .wp-block-column { flex-basis: 100% !important; } }
@media (min-width: 992px) and (max-width: 1199px) { .as-footer-cols { flex-wrap: wrap !important; justify-content: center; } .as-footer-cols > .wp-block-column:nth-child(1), .as-footer-cols > .wp-block-column:nth-child(2) { flex: 0 0 34% !important; } .as-footer-cols > .wp-block-column:nth-child(3) { flex: 0 0 47% !important; } }
/* Zeitleiste: Abstände innerhalb der Einträge wie Original (Kennzeile 28px, +20, Überschrift, +10, Text, +20) */
.as-timeline .as-label { line-height: 20px; }
.as-tl-item .wp-block-heading { margin-top: 20px !important; }
.as-tl-item .wp-block-heading + p { margin-top: 10px !important; }
.as-timeline > .as-tl-item, .as-timeline > .as-tl-item + .as-tl-item { padding-bottom: 36px; }
@media (max-width: 767px) { .as-timeline > .as-tl-item, .as-timeline > .as-tl-item + .as-tl-item { padding-bottom: 44px; } }
.as-tl-item .wp-block-heading + p.as-headline { margin-top: 0 !important; }
.as-tl-item p.as-headline + p:not(.as-headline) { margin-top: 10px !important; }
/* Leere Karten (ohne Inhalt) nicht anzeigen */
.as-mol:not(:has(> *)) { display: none !important; }
/* Kundenstimmen-Slider: auf dem iPad wie Original drei Karten nebeneinander */
@media (min-width: 768px) and (max-width: 1024px) { .as-slider-3 { grid-auto-columns: calc((100% - 48px) / 3); } }
/* Handy-/PC-Varianten wie Original: bis 991px (iPad hochkant) gelten die Handy-Abschnitte */
@media (min-width: 768px) and (max-width: 991px) { .as-only-desktop { display: none !important; } .as-only-mobile { display: block !important; } .wp-block-cover.as-only-mobile { display: flex !important; } }
/* YouTube-Platzhalter (Video lädt erst nach Klick); Format wie Original: Box 64 %, Radius 8, Schatten */
.as-yt { position: relative; width: 100%; margin: 0; }
.as-yt .as-yt__btn { all: unset; position: relative; display: block; box-sizing: border-box; width: 100%; aspect-ratio: 100 / 64; overflow: hidden; background: #000; border-radius: 8px; box-shadow: 0 1px 4px rgba(17, 17, 26, .05), 0 0 8px rgba(17, 17, 26, .1); cursor: pointer; }
.as-yt .as-yt__btn img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; margin: 0; border-radius: 0; }
.as-yt .as-yt__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; border-radius: 14px; background: rgba(6, 24, 34, .82); transition: background-color .2s; }
.as-yt .as-yt__play::before { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.as-yt .as-yt__btn:hover .as-yt__play, .as-yt .as-yt__btn:focus-visible .as-yt__play { background: var(--wp--preset--color--orange); }
.as-yt .as-yt__btn:focus-visible { outline: 3px solid var(--wp--preset--color--orange); outline-offset: -3px; }
.as-yt .as-yt__note { margin: 8px 0 0 !important; font-size: 12px !important; line-height: 1.4 !important; opacity: .8; }
.as-yt .as-yt__note a { color: inherit !important; text-decoration: underline; }
.as-yt.is-loaded { aspect-ratio: 100 / 64; overflow: hidden; background: #000; border-radius: 8px; box-shadow: 0 1px 4px rgba(17, 17, 26, .05), 0 0 8px rgba(17, 17, 26, .1); }
.as-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Handy: weiße Kästen mit Innenabstand 0 bekommen wie im Original 24px (Buch, Unternehmen) */
@media (max-width: 767px) { .as-container.as-cp-0.has-background { padding: 24px !important; --as-cp: 24px; } }
/* Senkrechte Listen wie onepage: Abstand = Zeilenabstand der Vorlage, Schrift aus Vorlage */
.as-menu-list--v:not(.as-menu-list--sub) > li { font-size: var(--as-mfs, 16.8px); }
.as-menu-list--sub[style*="--as-msp"] { gap: 0; }
.as-menu-list--sub[style*="--as-msp"] li { padding-top: var(--as-msp); padding-bottom: var(--as-msp); }
/* iPad: Raster mit nur einer Reihe (Anzahl <= Spalten) bleiben wie im Original nebeneinander */
@media (min-width: 769px) and (max-width: 1024px) { .as-grid-3:not(:has(> :nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .as-grid-4:not(:has(> :nth-child(5))) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
/* Silbentrennung für Wörter, die sonst mitten im Wort umbrechen würden (per menu.js markiert); as-hy2 = lockerer, falls sonst keine Trennstelle passt */
.as-hy { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 5 4; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 4; }
.as-hy.as-hy2 { hyphenate-limit-chars: 6 3 3; -webkit-hyphenate-limit-before: 3; -webkit-hyphenate-limit-after: 3; }
/* Kleine Handys: Kennzeile (z. B. ARBEITSSICHERHEIT) passt in eine Zeile */
@media (max-width: 374px) { .as-lead { font-size: 20px !important; } }
/* Überlange Wörter dürfen nie über den Rand ragen: der Browser bricht sie um, menu.js macht daraus eine saubere Silbentrennung */
.wp-site-blocks :is(p, h1, h2, h3, h4, h5, h6, li, a, figcaption, label) { overflow-wrap: break-word; }
.as-menu-list li > a, .as-menu-list li > span { min-width: 0; }
.as-menu-list > li { max-width: 100%; min-width: 0; }
/* Startseite, Handy und iPad (bis 991 px): Abstand zwischen Kopfbereich und Porträtfoto wie bei Onepage (39 px statt 150–300 px), 27.11.2026 */
@media (max-width: 991px) { .as-section.as-s-cover.as-only-mobile { padding-top: 34px !important; } }
