.swb_vb_navigation_items, .swb_vb_footer_items, .swb_vb_legal_items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.swb_vb_navigation_items { display: flex; align-items: center; gap: 30px; }
.swb_vb_navigation_items a { display: inline-flex; align-items: center; min-height: 44px; }
.swb_vb_navigation_items a:hover { color: var(--swb_vb_petrol); }
.swb_vb_footer_items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 60px; }
.swb_vb_footer_top nav { display: block; }
.swb_vb_legal_items { display: flex; flex-wrap: wrap; gap: 24px; }

.swb_vb_brand_text > span { text-transform: uppercase; }
.swb_vb_page .swb_vb_contact_details { margin-top: 16px; font-size: 12px; line-height: 1.8; }
.swb_vb_page .swb_vb_contact_details a { text-decoration: underline; text-underline-offset: 4px; }
/* Core columns use an important alignment default. Keep these compositions centered. */
.swb_vb_page .swb_vb_hero_columns, .swb_vb_page .swb_vb_price_columns,
.swb_vb_page .swb_vb_location_columns, .swb_vb_page .swb_vb_contact_columns { align-items: center !important; }
.swb_vb_document { min-height: 60vh; }
.swb_vb_document h1 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 32px; }
.swb_vb_document p { margin-top: 18px; }
.admin-bar .swb_vb_header { top: 32px; }

/* Preserve the parent's editor tools while overriding its generic group canvas colors. */
.editor-styles-wrapper .swb_vb_page { color: var(--swb_vb_navy); background: var(--swb_vb_paper); }
.editor-styles-wrapper .swb_vb_page .swb_vb_services,
.editor-styles-wrapper .swb_vb_page .swb_vb_location { background: var(--swb_vb_white); }
.editor-styles-wrapper .swb_vb_page .swb_vb_prices { background: var(--swb_vb_mint); }
.editor-styles-wrapper .swb_vb_page .swb_vb_contact { background: var(--swb_vb_navy); color: var(--swb_vb_white); }

@media (max-width: 800px) {
    .swb_vb_navigation_items { flex-direction: column; align-items: stretch; gap: 0; }
    .swb_vb_navigation_items a { display: flex; padding: 12px 0; }
    .admin-bar .swb_vb_header { top: 46px; }
}
@media (max-width: 600px) {
    .admin-bar .swb_vb_header { top: 0; }
}

/* DVB content and HNW-derived editor structures. */
.swb_vb_page_header { padding: 60px 0 48px; background: #f1f6f9; }
.swb_vb_page_header h1 { font-size: clamp(34px, 4vw, 49px); color: #333; margin-top: 12px; }
.swb_vb_page_header p:last-child { font-size: 20px; margin-top: 16px; max-width: 850px; }
.swb_dvb_prose { color: #333; }
.swb_dvb_prose > p { margin-top: 20px; font-size: 17px; line-height: 1.85; max-width: 940px; }
.swb_dvb_prose > :is(h2,h3) { margin-top: 38px; margin-bottom: 18px; }
.swb_dvb_prose > :is(ul,ol) { margin-top: 20px; margin-bottom: 20px; padding-left: 25px; font-size: 17px; }
.swb_dvb_prose .wp-block-image { max-width: 850px; margin: 25px 0; }
.swb_dvb_prose .wp-block-image img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 4px; }
.swb_dvb_prose .swb_vb_tariff_table { max-width: 1000px; }
.swb_dvb_prose .swb_vb_tariff_table td { font-size: 16px; padding: 16px; }
.swb_dvb_prose .swb_vb_tariff_table th { padding: 16px; }
.swb_dvb_prose .swb_vb_tariff_table tr:nth-child(even) { background: #f4f7f9; }
.swb_dvb_prose a { color: #007db3; text-decoration: underline; text-underline-offset: 3px; }
.swb_vb_index_card { border: 1px solid #dde3e7; border-radius: 4px; padding: 24px; margin-bottom: 20px; }
.swb_vb_index_card h2 { font-size: 26px; }
.swb_vb_index_card p { margin-top: 12px; }
.swb_vb_navigation_items { display: flex; align-items: center; gap: 22px; }
.swb_vb_navigation_items > li { position: relative; display: flex; align-items: center; gap: 3px; }
.swb_vb_navigation_items .sub-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 240px; list-style: none; padding: 12px 16px; background: #464646; border-top: 2px solid #009fe3; }
.swb_vb_navigation_items .sub-menu a { min-height: 42px; }
.swb_vb_navigation_items > li.swb_vb_menu_expanded > .sub-menu { display: block; }
@media (min-width: 1001px) {
    .swb_vb_navigation_items > li:is(:hover,:focus-within) > .sub-menu { display: block; }
}
.swb_vb_navigation .swb_dvb_submenu_toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; border: 0; background: transparent; color: #fff; width: 30px; height: 44px; min-height: 44px; padding: 0; line-height: 1; cursor: pointer; }
.swb_vb_navigation { gap: 22px; }
.swb_vb_contact_real { background: #fff; padding: 20px 0; }
.swb_con_contact_new_fe { color: #333; }
.swb_vb_contact .swb_con_contact_new_fe { background: #fff; border-radius: 5px; padding: 28px; }
.swb_vb_contact .swb_con_contact_new_fe :is(h2,h3,label) { color: #333; }
.swb_vb_contact .swb_con_contact_new_fe p { color: #5c6670; }
.swb_con_contact_new_fe .swb_con_submit { background: #007db3; }
.swb_dvb_article_header { background: #f1f6f9; }
.swb_dvb_article_header h1, .swb_dvb_page_hero h1 { color: #333; }
.swb_dvb_article_content p { font-family: 'PT Sans', sans-serif; }
.admin-bar .swb_vb_header { top: 32px; }
@media (max-width: 1000px) {
    .swb_vb_header_inner { min-height: 74px; position: relative; }
    .swb_vb_menu_toggle { display: inline-flex; }
    .swb_vb_navigation { position: absolute; top: 100%; left: -32px; right: -32px; display: grid; padding: 12px 32px 22px; background: #464646; }
    .swb_vb_navigation_items { display: block; }
    .swb_vb_navigation_items > li { display: flex; flex-wrap: wrap; }
    .swb_vb_navigation_items > li > a { flex: 1; }
    .swb_vb_navigation_items .sub-menu { position: static; width: 100%; background: #3b3b3b; margin-bottom: 10px; border: 0; }
    .swb_vb_navigation_items > li:hover > .sub-menu { display: none; }
    .swb_vb_navigation_items > li.swb_vb_menu_expanded > .sub-menu { display: block; }
    .swb_vb_navigation .swb_vb_header_cta { width: fit-content; padding: 10px 16px; margin-top: 12px; }
}
@media (max-width: 520px) {
    .swb_vb_navigation { left: -20px; right: -20px; padding-left: 20px; padding-right: 20px; }
    .swb_vb_page_header { padding: 42px 0; }
    .swb_dvb_prose > p { font-size: 16px; }
    .swb_vb_contact .swb_con_contact_new_fe { padding: 20px; }
}
.swb_vb_page .swb_vb_hero_cover { width: 100%; max-width: none !important; }
.swb_vb_navigation .swb_dvb_submenu_toggle_icon { display: block; width: 7px; height: 7px; border: 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.swb_vb_navigation .swb_dvb_submenu_toggle_icon::before,
.swb_vb_navigation .swb_dvb_submenu_toggle_icon::after { content: none; }
.swb_vb_service_card.swb_dvb_card, .swb_vb_price_card.swb_dvb_card { height: 100%; }
.editor-styles-wrapper .swb_vb_page .swb_vb_hero_cover { max-width: none !important; }

/* V2-Gestaltung des echten SWB-Formulars, nur innerhalb der Startseite. */
.swb_dvb_homepage :is(.swb_vb_hero_title, .swb_vb_hero_subtitle, .swb_vb_hero_eyebrow) { text-shadow: 0 2px 4px rgba(0, 0, 0, .85), 0 4px 18px rgba(0, 0, 0, .6); }
.swb_dvb_homepage .swb_vb_hero .swb_vb_button_secondary .wp-block-button__link { transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.swb_dvb_homepage .swb_vb_hero .swb_vb_button_secondary .wp-block-button__link:is(:hover, :focus-visible) { background: #fff; border-color: #fff; color: #163c4f; }
.swb_dvb_homepage .swb_vb_hero .swb_vb_button_secondary .wp-block-button__link:focus-visible { outline: 3px solid #72caf0; outline-offset: 4px; }
.swb_dvb_homepage .swb_vb_contact_team_image figcaption { margin: 8px 0 0; color: #e2e8ed; font-size: 14px; line-height: 1.5; text-align: left; }
.swb_dvb_homepage .swb_vb_video_embed figcaption { margin-bottom: 0; }
.swb_dvb_homepage .swb_vb_contact_columns { align-items: start !important; }
.swb_dvb_homepage .wp-block-table thead { border-bottom: 0; }
.swb_dvb_homepage .swb_dvb_live_form { background: #fff; padding: 32px; border-radius: 5px; color: var(--swb_vb_ink); }
.swb_dvb_homepage .swb_dvb_live_form > h3 { color: var(--swb_vb_ink); font-size: 25px; margin: 9px 0 14px; }
.swb_dvb_homepage .swb_con_contact_new_fe {
    --swb_con_blue: #007db3;
    --swb_con_blue_dark: #00638f;
    --swb_con_border: #bac6ce;
    --swb_con_text: #333;
    --swb_con_muted: #5c6670;
    --swb_con_surface: #f5f6f7;
    margin: 0; padding: 0; background: transparent; border-radius: 0;
}
.swb_dvb_homepage .swb_con_contact_panel { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.swb_dvb_homepage .swb_con_contact_body { padding: 0; }
.swb_dvb_homepage .swb_con_contact_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.swb_dvb_homepage .swb_con_field:has(input[type="tel"]) { grid-column: 1 / -1; }
.swb_dvb_homepage .swb_con_field > label:not(.swb_con_privacy_label) { font-size: 14px; font-weight: 700; line-height: 1.6; margin-bottom: 7px; }
.swb_dvb_homepage .swb_con_field :is(input[type="text"],input[type="email"],input[type="tel"],select,textarea) {
    min-height: 46px; padding: 10px 12px; border: 1px solid #bac6ce; border-radius: 3px;
    font-family: inherit; font-size: 15px; line-height: 1.4; background: #fff;
}
.swb_dvb_homepage .swb_con_field textarea { height: 115px; min-height: 115px; }
.swb_dvb_homepage .swb_con_field input[type="file"] { border-radius: 3px; font-size: 13px; }
.swb_dvb_homepage .swb_con_field input::file-selector-button { border-radius: 3px; font-weight: 400; padding: 6px 10px; }
.swb_dvb_homepage .swb_con_field :is(input,select,textarea):focus-visible { outline: 3px solid #72caf0; outline-offset: 2px; box-shadow: none; }
.swb_dvb_homepage .swb_con_field_hint, .swb_dvb_homepage .swb_con_optional { font-size: 12px; }
.swb_dvb_homepage .swb_con_privacy_field { background: none; border: 0; border-radius: 0; padding: 0; }
.swb_dvb_homepage .swb_con_privacy_label { gap: 10px; font-size: 13px; line-height: 1.6; }
.swb_dvb_homepage .swb_con_privacy_label input { width: 18px; height: 18px; margin-top: 2px; border-radius: 3px; }
.swb_dvb_homepage .swb_con_required_hint { font-size: 12px; margin: 12px 0 20px; }
.swb_dvb_homepage .swb_con_submit { justify-content: space-between; gap: 30px; min-width: 0; min-height: 48px; margin: 0; padding: 12px 20px; border: 1px solid #007db3; border-radius: 3px; font-size: 15px; font-weight: 700; }
.swb_dvb_homepage .swb_con_submit::after { content: '↗'; }
@media (max-width: 520px) {
    .swb_vb_header_inner { min-height: 72px; }
    .swb_dvb_homepage .swb_dvb_live_form { padding: 25px 20px; }
    .swb_dvb_homepage .swb_con_contact_new_fe { padding: 0; }
    .swb_dvb_homepage .swb_con_contact_grid { grid-template-columns: 1fr; gap: 16px; }
}

/* YouTube bleibt bis zur Freigabe durch Borlabs gesperrt. */
.swb_vb_video_embed .wp-block-embed__wrapper { aspect-ratio: auto; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_media, .swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_media > div { width: 100%; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_consent { display: grid; place-items: center; aspect-ratio: auto; min-height: clamp(360px, 50vw, 640px); padding: 32px 24px; background: linear-gradient(#ffffff35, #ffffff35), url('../img/video_vorschau.jpg') center / cover no-repeat; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_consent_inner { width: min(100%, 540px); padding: 28px; border: 1px solid #d6e1e7; border-radius: 5px; background: #fffffff5; box-shadow: 0 8px 32px #173c4f20; text-align: center; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_consent .swb_dvb_youtube_consent_title { font-size: 23px; font-weight: 700; color: #163c4f; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_consent .swb_dvb_youtube_consent_text { margin: 12px 0 20px; color: #465561; font-size: 16px; line-height: 1.55; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_consent_button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid #007db3; border-radius: 3px; background: #007db3; color: #fff; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_consent_button:is(:hover, :focus-visible) { background: #00638f; border-color: #00638f; color: #fff; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_consent_privacy { display: block; margin-top: 14px; color: #00638f; font-size: 14px; text-underline-offset: 3px; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_frame { position: relative; aspect-ratio: 16/9; width: 100%; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.swb_dvb_consent_preferences { font-size: 14px; }
@media (max-width: 520px) {
    .swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_consent { padding: 20px 12px; }
    .swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_consent_inner { padding: 20px 16px; }
    .swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_consent_button { width: 100%; }
}

.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_external { padding: 10px 16px; text-align: right; font-size: 13px; }
.swb_vb_shell .swb_vb_video_embed.swb_dvb_youtube_embed .swb_dvb_youtube_external a { color: #00638f; text-underline-offset: 3px; }
