/* Schwertweg: gemeinsame Ergänzungen für native Elementor-Widgets.
 * Benutzerdefiniertes Widget-CSS wurde hier zentralisiert.
 * Layout, Inhalte und responsive Abstände bleiben in den nativen Elementor-Kontrollen.
 */

/* sw-nav-dropdown-fit */

@media(max-width:1280px){.elementor .elementor-element.sw-nav-dropdown-fit{--sw-menu-offset:174px;}.elementor .elementor-element.sw-nav-dropdown-fit>.sw-header-navigation,.elementor .elementor-element.sw-nav-dropdown-fit .sw-primary-menu{position:static!important;}.elementor .elementor-element.sw-nav-dropdown-fit .sw-primary-menu>nav.elementor-nav-menu--dropdown{top:100%!important;left:0!important;width:100%!important;margin-top:0!important;max-height:calc(100dvh - var(--sw-menu-offset));overflow-y:auto;overscroll-behavior:contain;}}@media(max-width:1024px){.elementor .elementor-element.sw-nav-dropdown-fit{--sw-menu-offset:144px;}}@media(max-width:767px){.elementor .elementor-element.sw-nav-dropdown-fit{--sw-menu-offset:124px;}}

/* sw-copy-readable */

.elementor .elementor-element.sw-copy-readable .elementor-widget-text-editor{font-weight:400!important;}
.elementor .elementor-element.sw-copy-readable .sw-subtitle{color:#8a602c!important;}
.elementor .elementor-element.sw-copy-readable .elementor-widget-text-editor a:not(.elementor-button){background-color:transparent!important;}


/* sw-title-measure-wrap */

@media(max-width:767px){.elementor .elementor-element.sw-title-measure-wrap .elementor-heading-title{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:anywhere;}}
.elementor .elementor-element.sw-title-measure-wrap {max-width:1040px; margin-inline:0; text-align:left;}


/* sw-tablet-half */

@media(min-width:768px) and (max-width:1024px){.elementor .elementor-element.sw-tablet-half{--width:47%!important;width:47%!important;}}

/* sw-heading-wrap-mobile */

@media(max-width:767px){.elementor .elementor-element.sw-heading-wrap-mobile .elementor-heading-title{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:anywhere;}}

/* sw-quote-flush */

.elementor .elementor-element.sw-quote-flush blockquote {margin-inline:0; text-align:left;}


/* sw-image-caption */

#main .elementor .elementor-element.sw-image-caption.elementor-widget-text-editor{font-family:"Assistant",Helvetica,Arial,sans-serif!important;font-size:clamp(24px,2.5vw,42px)!important;color:var(--e-global-color-swwhite,#fff)!important;font-weight:500!important;line-height:1.35!important;text-wrap:balance;}

/* sw-stack-tablet */

@media(max-width:1024px){.elementor .elementor-element.sw-stack-tablet>.e-con{--width:100%!important;width:100%!important;}}

/* sw-title-measure */

.elementor .elementor-element.sw-title-measure {max-width:1040px; margin-inline:0; text-align:left;}


/* sw-cta-stretch */
.elementor .elementor-element.sw-cta-stretch>.e-con{width:100%!important;--width:100%!important;min-width:0;} .elementor .elementor-element.sw-cta-stretch .elementor-cta__content{height:100%;} .elementor .elementor-element.sw-cta-stretch .elementor-cta__button-wrapper{margin-top:auto!important;padding-top:8px;} .elementor .elementor-element.sw-cta-stretch .elementor-widget-call-to-action,.elementor .elementor-element.sw-cta-stretch .elementor-widget-call-to-action>.elementor-widget-container,.elementor .elementor-element.sw-cta-stretch .elementor-cta{height:100%;} .elementor .elementor-element.sw-cta-stretch .elementor-widget-call-to-action{flex:1;}
.elementor .elementor-element.sw-cta-stretch .elementor-cta__content{flex-direction:column!important;flex-wrap:nowrap!important;align-items:flex-start;}

/* sw-gallery-ratio-8-11 */
/* Preserve both original image ratios on mobile, including the gallery's 767px boundary. */
@media(max-width:767px){
.elementor .elementor-element.sw-gallery-ratio-8-11 .elementor-gallery__container{height:auto!important;padding-bottom:0!important;gap:10px;align-items:stretch;}
.elementor .elementor-element.sw-gallery-ratio-8-11 .e-gallery-item{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;min-width:0;flex:1 1 0px;}
.elementor .elementor-element.sw-gallery-ratio-8-11 .e-gallery-item:nth-child(1){flex-grow:1.2857142857142858;aspect-ratio:450/350;}
.elementor .elementor-element.sw-gallery-ratio-8-11 .e-gallery-item:nth-child(2){flex-grow:0.7272727272727273;aspect-ratio:0.7272727272727273;}
.elementor .elementor-element.sw-gallery-ratio-8-11 .e-gallery-image{height:100%!important;}
}

/* sw-gallery-ratio-4-5 */
/* Preserve both original image ratios on mobile, including the gallery's 767px boundary. */
@media(max-width:767px){
.elementor .elementor-element.sw-gallery-ratio-4-5 .elementor-gallery__container{height:auto!important;padding-bottom:0!important;gap:10px;align-items:stretch;}
.elementor .elementor-element.sw-gallery-ratio-4-5 .e-gallery-item{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;min-width:0;flex:1 1 0px;}
.elementor .elementor-element.sw-gallery-ratio-4-5 .e-gallery-item:nth-child(1){flex-grow:1.2857142857142858;aspect-ratio:450/350;}
.elementor .elementor-element.sw-gallery-ratio-4-5 .e-gallery-item:nth-child(2){flex-grow:0.8;aspect-ratio:0.8;}
.elementor .elementor-element.sw-gallery-ratio-4-5 .e-gallery-image{height:100%!important;}
}

/* sw-gallery-ratio-8-9 */
/* Preserve both original image ratios on mobile, including the gallery's 767px boundary. */
@media(max-width:767px){
.elementor .elementor-element.sw-gallery-ratio-8-9 .elementor-gallery__container{height:auto!important;padding-bottom:0!important;gap:10px;align-items:stretch;}
.elementor .elementor-element.sw-gallery-ratio-8-9 .e-gallery-item{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;min-width:0;flex:1 1 0px;}
.elementor .elementor-element.sw-gallery-ratio-8-9 .e-gallery-item:nth-child(1){flex-grow:1.2857142857142858;aspect-ratio:450/350;}
.elementor .elementor-element.sw-gallery-ratio-8-9 .e-gallery-item:nth-child(2){flex-grow:0.8888888888888888;aspect-ratio:0.8888888888888888;}
.elementor .elementor-element.sw-gallery-ratio-8-9 .e-gallery-image{height:100%!important;}
}

/* sw-image-contain */

.elementor .elementor-element.sw-image-contain img{height:auto!important;object-fit:contain!important;}


/* sw-heading-break-mobile */
@media (max-width: 767px) { .elementor .elementor-element.sw-heading-break-mobile .elementor-heading-title { hyphens: auto; overflow-wrap: break-word; } }

/* sw-heading-break-tablet */
@media (max-width: 1024px) { .elementor .elementor-element.sw-heading-break-tablet .elementor-heading-title { hyphens: auto; overflow-wrap: break-word; } }

/* sw-tablet-full */

@media(min-width:768px) and (max-width:1024px){.elementor .elementor-element.sw-tablet-full{--width:100%!important;width:100%!important;}}

/* sw-newsletter-form */
.elementor .elementor-element.sw-newsletter-form .tnp-subscription { width:100%; max-width:none; margin:0!important; }
.elementor .elementor-element.sw-newsletter-form form.tnp-subscription, .elementor .elementor-element.sw-newsletter-form .tnp-subscription > form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 20px; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription .tnp-field { min-width:0; margin:0; padding:0; grid-column:1 / -1; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription .tnp-field-firstname { grid-column:1; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription .tnp-field-surname { grid-column:2; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription label { font-family:"Lato",Helvetica,Arial,sans-serif; font-size:14px; font-weight:400; line-height:1.45; color:var(--e-global-color-swprimary,#4d2115); margin:0 0 7px; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription input[type="text"], .elementor .elementor-element.sw-newsletter-form .tnp-subscription input[type="email"] { box-sizing:border-box; width:100%; min-height:50px; margin:0; padding:12px 14px; border:1px solid #d8cbb9; border-radius:2px; background:var(--e-global-color-swwhite,#fff); box-shadow:none; color:var(--e-global-color-swprimary,#4d2115); font-family:"Lato",Helvetica,Arial,sans-serif; font-size:16px; font-weight:400; line-height:1.5; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription input:focus-visible { outline:2px solid var(--e-global-color-swaccent,#d19739); outline-offset:2px; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription .tnp-field-privacy { display:flex; align-items:flex-start; gap:10px; margin:2px 0; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription .tnp-field-privacy input { flex:0 0 auto; width:17px; height:17px; margin:2px 0 0; accent-color:var(--e-global-color-swsecondary,#9c653d); }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription .tnp-field-privacy label { margin:0; font-size:14px; line-height:1.5; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription .tnp-field-privacy a { background:transparent; color:var(--e-global-color-swprimary,#4d2115); text-decoration:underline; text-underline-offset:3px; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription input.tnp-submit { width:auto!important; min-height:48px; margin:0; padding:13px 26px; border:0; border-radius:2px; background:var(--e-global-color-swsecondary,#9c653d)!important; color:var(--e-global-color-swwhite,#fff)!important; font-family:"Lato",Helvetica,Arial,sans-serif; font-size:16px; font-weight:400; line-height:1.4; cursor:pointer; }
.elementor .elementor-element.sw-newsletter-form .tnp-subscription input.tnp-submit:hover { background:var(--e-global-color-swprimary,#4d2115)!important; }
@media (max-width:767px) { .elementor .elementor-element.sw-newsletter-form form.tnp-subscription, .elementor .elementor-element.sw-newsletter-form .tnp-subscription > form { grid-template-columns:minmax(0,1fr); gap:16px; } .elementor .elementor-element.sw-newsletter-form .tnp-subscription .tnp-field-surname { grid-column:1; } }

/* sw-testimonial-mark-style */
.elementor .elementor-element.sw-testimonial-mark-style .sw-testimonial-mark .elementor-heading-title {font-weight:600!important;line-height:.7!important;letter-spacing:0!important;text-transform:none!important;}

/* sw-testimonial-layout */
.elementor .elementor-element.sw-testimonial-layout {display:flex;flex-direction:column;} .elementor .elementor-element.sw-testimonial-layout .elementor-widget-container {display:flex;flex-direction:column;flex:1;} .elementor .elementor-element.sw-testimonial-layout .elementor-testimonial-wrapper {display:flex;flex:1;flex-direction:column;align-items:flex-start;text-align:left;} .elementor .elementor-element.sw-testimonial-layout .elementor-testimonial-content {flex:1;margin-bottom:24px;} .elementor .elementor-element.sw-testimonial-layout .elementor-testimonial-meta {margin-top:auto;min-height:76px;text-align:left;} @media(max-width:1024px){.elementor .elementor-element.sw-testimonial-layout .elementor-testimonial-meta{min-height:0;}}

/* sw-heading-wrap */
.elementor .elementor-element.sw-heading-wrap .elementor-heading-title{hyphens:auto;overflow-wrap:anywhere;}

/* sw-image-natural */
.elementor .elementor-element.sw-image-natural img{width:auto;max-width:100%;height:auto;object-fit:contain;}

/* Shared rich-text helpers: migrated from old inline HTML formatting. */
.elementor .sw-text-center{text-align:center;}
.elementor li.sw-list-unmarked{list-style-type:none;}
.elementor p.sw-text-indent{padding-inline-start:2.5rem;}

/* Client review: reusable picture and course components. */
.elementor .sw-full-bleed-photo{width:100%;max-width:none;padding:0!important;margin:0!important;gap:0!important;line-height:0;}
.elementor .sw-full-bleed-image,.elementor .sw-full-bleed-image .elementor-widget-container{width:100%;line-height:0;}
.elementor .sw-full-bleed-image img{display:block;width:100%;max-width:none;height:auto;object-fit:contain;}
.elementor .sw-footer-logo img{display:block;height:auto;}
.elementor .sw-topic-illustration img,.elementor .sw-seminar-image img{height:auto;object-fit:contain;}
.elementor .sw-audience-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(40px,6vw,120px)!important;row-gap:24px!important;}
.elementor .sw-audience-grid>.sw-audience-item{width:100%;min-width:0;padding:24px 0;border-top:1px solid var(--e-global-color-swline,#e8ddcd);}
.elementor .sw-curriculum-accordion .elementor-accordion-item{border:0;border-top:1px solid var(--e-global-color-swline,#e8ddcd);}
.elementor .sw-curriculum-accordion .elementor-accordion-item:last-child{border-bottom:1px solid var(--e-global-color-swline,#e8ddcd);}
.elementor .sw-curriculum-accordion .elementor-tab-title{display:flex;flex-direction:row-reverse;justify-content:space-between;gap:24px;line-height:1.3;}
.elementor .sw-curriculum-accordion .elementor-accordion-icon{flex:0 0 auto;float:none;}
.elementor .sw-curriculum-accordion .elementor-accordion-title{background:transparent;text-decoration:none;text-align:left;}
.elementor .sw-curriculum-accordion .elementor-tab-content{border:0;}
.elementor .sw-curriculum-accordion .elementor-tab-content p{max-width:78ch;margin:0 0 20px;}
.elementor .sw-curriculum-accordion .elementor-tab-content p:last-child{margin-bottom:0;}
.elementor .sw-training-permission{background-position:center!important;}
@media(max-width:767px){.elementor .sw-audience-grid{grid-template-columns:minmax(0,1fr);row-gap:0!important;}.elementor .sw-curriculum-accordion .elementor-tab-title{font-size:22px;}}
