/* ============ SERVICE & WISSEN (Präfix sw-) ============ */
.sw-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.sw-hero-btns .btn { display: inline-flex; align-items: center; gap: 8px; }

/* Karten */
.sw-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.sw-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.sw-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.sw-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #fafbfd; }
.sw-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sw-card:hover .sw-card-img img { transform: scale(1.04); }
.sw-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.sw-card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sw-ic { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--bg-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.sw-ic .icon { width: 20px; height: 20px; }
.sw-card h3 { font-size: 1rem; line-height: 1.25; color: #1a4480; margin: 0; }
.sw-card p { font-size: .875rem; color: var(--text); line-height: 1.5; margin: 0 0 14px; }
.sw-card .link-arrow { margin-top: auto; font-size: .875rem; }
.wp-sec:not(.wp-white) .sw-card-img { background: #fff; }
@media (max-width: 1150px) { .sw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .sw-card-body { padding: 14px; } }
@media (max-width: 460px) { .sw-grid { grid-template-columns: 1fr; } }

/* Anleitungen & Videos */
.sw-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; }
.sw-subhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sw-subhead h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); color: #1a4480; margin: 0; }
.sw-subhead .link-arrow { font-size: .875rem; }
.sw-dls { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.sw-dls li + li { border-top: 1px solid var(--line); }
.sw-dl { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 36px; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none; transition: background .2s; }
.sw-dl:hover { background: var(--bg-soft); }
.sw-dl-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.sw-dl-ic .icon { width: 22px; height: 22px; }
.sw-dl-t strong { display: block; font-size: .9375rem; color: #1a4480; }
.sw-dl-t span { display: block; font-size: .8125rem; color: var(--muted); }
.sw-dl-meta { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.sw-dl-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.sw-dl-btn .icon { width: 18px; height: 18px; }
.sw-vids { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; }
.sw-vid-side { display: grid; gap: 14px; }
.sw-vid { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.sw-vid-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.sw-vid-big .sw-vid-img { aspect-ratio: auto; flex: 1; min-height: 220px; }
.sw-vid-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255,.92); color: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(11, 45, 75,.25); }
.sw-vid:not(.sw-vid-big) .sw-play { width: 40px; height: 40px; }
.sw-play .icon { width: 22px; height: 22px; margin-left: 3px; }
.sw-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(11, 45, 75,.82); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 7px; border-radius: 6px; }
.sw-vid-t { padding: 12px 14px 14px; }
.sw-vid-t strong { display: block; font-size: .9375rem; color: #1a4480; }
.sw-vid-t span { display: block; font-size: .8125rem; color: var(--muted); }
@media (max-width: 1000px) { .sw-two { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sw-vids { grid-template-columns: 1fr; } .sw-dl { grid-template-columns: 36px minmax(0, 1fr) 32px; } .sw-dl-meta { display: none; } }

/* Vorteile */
.sw-trust { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.sw-trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sw-trust-list li { display: flex; align-items: center; gap: 14px; }
.sw-trust-list .icon { width: 38px; height: 38px; color: var(--blue); flex-shrink: 0; }
.sw-trust-list strong { display: block; color: #1a4480; font-size: .9375rem; }
.sw-trust-list span { display: block; color: var(--muted); font-size: .8125rem; }
@media (max-width: 900px) { .sw-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sw-faq-lead { color: var(--text); max-width: 460px; }
.sw-cta .cta-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Support & Vermietung */
.sw-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sw-duo-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sw-duo-img { aspect-ratio: 16 / 9; overflow: hidden; }
.sw-duo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-duo-body { padding: 24px 26px 26px; }
.sw-duo-body h3 { font-size: 1.375rem; color: #1a4480; margin: 0; }
.sw-duo-body p { color: var(--text); font-size: .9375rem; line-height: 1.55; margin: 0 0 14px; }
.sw-checks { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sw-checks li { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft); border-radius: 999px; padding: 6px 12px 6px 8px; font-size: .875rem; font-weight: 700; color: #1a4480; }
.sw-checks .icon { width: 18px; height: 18px; color: var(--blue); }
.sw-note { font-size: .875rem !important; color: var(--muted) !important; margin: 0 !important; }
.sw-garantie { margin-top: 24px; display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); }
.sw-garantie p { margin: 0; flex: 1; color: var(--text); }
.sw-garantie strong { color: #1a4480; }
.sw-garantie .btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 860px) { .sw-duo { grid-template-columns: 1fr; } .sw-garantie { flex-wrap: wrap; } }
.sw-duo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sw-duo-body { padding: 22px 22px 24px; }
.sw-duo-body h3 { font-size: 1.25rem; }
.sw-note a { color: var(--blue); font-weight: 600; text-decoration: none; }
@media (max-width: 1100px) { .sw-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sw-duo { grid-template-columns: 1fr; } }
.sw-hide { display: none !important; }

/* Kataloge */
.sw-kats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sw-kat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.sw-kat:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.sw-kat-img { display: block; background: linear-gradient(160deg, #f0f8fd, #f8faff); padding: 18px 18px 0; }
.sw-kat-img img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; object-position: top; display: block; border-radius: 6px 6px 0 0; box-shadow: 0 6px 22px rgba(11, 45, 75,.16); }
.sw-kat-b { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.sw-kat-b strong { font-size: 1.0625rem; color: #1a4480; }
.sw-kat-b > span { font-size: .875rem; color: var(--text); line-height: 1.45; margin: 4px 0 12px; }
.sw-kat-b em { margin-top: auto; font-style: normal; font-size: .8125rem; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.sw-kat-b em .icon { width: 16px; height: 16px; }
@media (max-width: 1000px) { .sw-kats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .sw-kats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .sw-kat-img { padding: 12px 12px 0; } .sw-kat-b { padding: 12px; } }

/* Ausklappbare Dokumentenliste */
.sw-dlbox { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.sw-dlbox .sw-dls { border: 0; border-radius: 0; box-shadow: none; }
.sw-more { border-top: 1px solid var(--line); }
.sw-more > .sw-dls { border-top: 1px solid var(--line); }
.sw-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; font-size: .875rem; font-weight: 700; color: var(--blue); background: var(--bg-soft); }
.sw-more summary::-webkit-details-marker { display: none; }
.sw-more summary .icon { width: 16px; height: 16px; transition: transform .2s; }
.sw-more[open] summary .icon { transform: rotate(180deg); }
.sw-more .sw-more-c, .sw-more[open] .sw-more-o { display: none; }
.sw-more[open] .sw-more-c { display: inline; }
.sw-more[open] summary { order: 2; }
.sw-more[open] { display: flex; flex-direction: column; }
.sw-card-pdf .link-arrow { display: inline-flex; align-items: center; gap: 6px; }
.sw-card-pdf .link-arrow .icon { width: 16px; height: 16px; }

/* Katalog-Sprachversionen */
.sw-kat-main { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.sw-kat-lang { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 0 18px 16px; margin-top: -4px; }
.sw-kat-lang span { font-size: .75rem; color: var(--muted); margin-right: 2px; }
.sw-kat-lang a { font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--blue); border: 1px solid var(--line); background: var(--bg-soft); border-radius: 99px; padding: 4px 10px; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.sw-kat-lang a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 720px) { .sw-kat-lang { padding: 0 12px 12px; } }

/* Sprachversionen in der Dokumentliste */
.sw-dl-lang { padding: 0 18px 14px 72px; margin-top: -6px; }
@media (max-width: 640px) { .sw-dl-lang { padding: 0 12px 12px 62px; } }

/* Wissens-Karten mit Sprachversionen */
.sw-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.sw-card:hover .sw-card-link .sw-card-img img { transform: scale(1.04); }
.sw-card > .sw-kat-lang { padding: 0 18px 16px; margin-top: -6px; }
@media (max-width: 640px) { .sw-card > .sw-kat-lang { padding: 0 14px 14px; } }

/* Sprungziel von der Startseite hervorheben */
.sw-card[id] { scroll-margin-top: 120px; }
.sw-card[id]:target { box-shadow: 0 0 0 3px #0070C0, var(--shadow-hover); }

/* Scrollbare Dokumentenliste */
.sw-dlbox-scroll { position: relative; display: flex; flex-direction: column; }
.sw-dl-top { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.sw-dl-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; height: 40px; transition: border-color .2s, box-shadow .2s; }
.sw-dl-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 112, 192, .14); }
.sw-dl-search .icon { width: 16px; height: 16px; color: #6b8091; flex: none; }
.sw-dl-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .9375rem; color: var(--ink, #0f2a4a); }
.sw-dl-count { flex: none; font-size: .8125rem; color: #6b8091; white-space: nowrap; }
.sw-dl-count b { color: var(--blue); font-weight: 800; }
.sw-dl-scroll { max-height: 540px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b9cde0 transparent; }
.sw-dl-scroll::-webkit-scrollbar { width: 8px; }
.sw-dl-scroll::-webkit-scrollbar-thumb { background: #b9cde0; border-radius: 8px; border: 2px solid #fff; }
.sw-dl-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.sw-dlbox-scroll::before, .sw-dlbox-scroll::after { content: ""; position: absolute; left: 0; right: 8px; height: 28px; pointer-events: none; z-index: 2; transition: opacity .2s; }
.sw-dlbox-scroll::before { top: 65px; background: linear-gradient(#fff, rgba(255,255,255,0)); }
.sw-dlbox-scroll::after { bottom: 0; height: 44px; background: linear-gradient(rgba(255,255,255,0), #fff); border-radius: 0 0 14px 14px; }
.sw-dlbox-scroll.is-top::before, .sw-dlbox-scroll.is-end::after { opacity: 0; }
.sw-dl-none { margin: 0; padding: 22px 18px; text-align: center; color: #6b8091; font-size: .9375rem; }
.sw-dls > li[hidden] { display: none; }
@media (max-width: 720px) { .sw-dl-scroll { max-height: 520px; } .sw-dl-top { padding: 10px; } }
.sw-two > div { min-width: 0; }
.sw-dl-search input { width: 100%; }
div.sw-card:hover { box-shadow: var(--shadow); transform: none; } div.sw-card:hover .sw-card-img img { transform: none; }
