/* Homepage polish for the Elementor build */
.tk-search{max-width:640px;margin-left:auto;margin-right:auto;width:100%}
.tk-search .elementor-search-form{position:relative;height:55px;background:#fff;border-radius:9999px;box-shadow:inset 0 0 0 1px #D1D5DB,0 1px 2px rgba(0,0,0,.05);overflow:hidden}
.tk-search .elementor-search-form__container{height:55px;border-radius:9999px}
.tk-search .elementor-search-form__input{font-size:16px;color:#27272a;padding-left:26px;background:transparent}
.tk-search .elementor-search-form__submit{background:#0B63F3!important;border-radius:9999px!important;width:47px;height:47px;min-width:47px;position:absolute;right:4px;top:4px;color:#fff}
.tk-search .elementor-search-form__submit:hover{background:#0A54CF!important}
/* CTA icon list */
.elementor-widget-icon-list .elementor-icon-list-item{margin-bottom:6px}
/* CTA + trust boxes: ensure rounded, padded, correct colors */
.tk-cta > .elementor-widget-wrap, .tk-cta > .elementor-element-populated{background:linear-gradient(135deg,#0B63F3,#0A4FC4)!important;border-radius:24px!important;padding:56px!important}
.tk-cta h2, .tk-cta p, .tk-cta .elementor-icon-list-text, .tk-cta .elementor-icon-list-icon i{color:#fff!important}
.tk-trust > .elementor-widget-wrap, .tk-trust > .elementor-element-populated{background:#EFF6FF!important;border-radius:24px!important;padding:48px!important}
/* make sure am component rows sit full width in the section */
.elementor-widget-shortcode .am{width:100%}
.elementor-widget-shortcode .am-reviews-row,.elementor-widget-shortcode .am-cards-row,.elementor-widget-shortcode .am-articles{margin-top:24px}

/* Mobile typography to match reference wrap */
@media(max-width:767px){
  .elementor-widget-heading h1{font-size:42px!important;line-height:1.12!important;letter-spacing:-1px!important}
  .elementor-widget-heading h2{font-size:30px!important;line-height:1.18!important}
  .elementor-element .elementor-widget-container .am-title{font-size:30px!important}
}
@media(max-width:480px){
  .elementor-widget-heading h1{font-size:38px!important}
}
.tk-burger{-webkit-tap-highlight-color:transparent}
.tk-burger:focus{outline:none}

/* Home category card grid (matches reference) */
.am-home-cats{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;max-width:900px;margin:0 auto;overflow:hidden}
.am-home-cats .am-cat{width:100%;min-width:0;justify-content:flex-start;margin:0;gap:12px;padding:14px 16px;font-size:15px}\n.am-home-cats .am-cat i{flex:0 0 auto}
@media(min-width:768px){.am-home-cats{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.am-home-cats .am-cat{width:auto}}
/* two-button trust section stacked+centered on mobile */
@media(max-width:767px){.tk-trust-sec .elementor-widget-button{width:100%}.tk-trust-sec .elementor-button{width:100%}}

/* ===== Section 3: Hero (matched to reference) ===== */
.tk-hbadge{display:inline-flex;align-items:center;gap:10px;background:#fff;border-radius:999px;padding:4px 12px 4px 6px;box-shadow:0 0 1px 1px rgba(31,41,55,.1);font-size:15px;font-weight:600;color:#374151}
.tk-hbadge-logos{display:inline-flex}
.tk-hbadge-logos img{width:28px;height:28px;border-radius:9999px;border:1px solid #fff;object-fit:cover;display:block}
.tk-hbadge-logos img+img{margin-left:-10px}
.tk-mobile-only{display:none}
.tk-hero-all{color:#0B63F3;font-weight:500;font-size:14px;text-decoration:none}
.tk-hero-all:hover{text-decoration:underline}
@media(max-width:767px){
  .tk-mobile-only{display:block}
  .tk-desktop-only{display:none}
  .elementor-widget-heading.tk-hero-h1 h1,.tk-hero-h1 h1{font-size:36px!important;line-height:40.5px!important;letter-spacing:-.9px!important}
  .tk-hbadge{font-size:13px}
  .tk-hbadge-logos img{width:20px;height:20px}
  .tk-search .elementor-search-form,.tk-search .elementor-search-form__container{height:48px!important}
  .tk-search .elementor-search-form__submit{width:44px!important;height:44px!important;top:2px!important;right:2px!important}
  .tk-search .elementor-search-form__input{font-size:15px!important}
}

/* ===== Section 5: Review cards (matched to reference) ===== */
.am-reviews-row{display:flex!important;gap:16px!important;flex-wrap:nowrap!important;justify-content:flex-start!important;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.am-reviews-row::-webkit-scrollbar{display:none}
.am-rev2{flex:0 0 100%;scroll-snap-align:center;background:#fff;border:1px solid #E2E8F0;border-radius:10px;padding:20px;box-shadow:none;display:flex;flex-direction:column;gap:14px;text-align:left}
@media(min-width:768px){.am-rev2{flex:0 0 calc(25% - 12px)}}
.am-rev2-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.am-rev2-author{display:flex;align-items:center;gap:10px;min-width:0}
.am-rev2-avatar{width:32px;height:32px;border-radius:9999px;flex:0 0 auto}
.am-rev2-name{font-size:15px;font-weight:500;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.am-tp-stars{display:inline-flex;gap:2px;flex:0 0 auto}
.am-tp-stars .s{width:16px;height:16px;background:#00b67a;border-radius:3px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:9px}
.am-tp-lg .s{width:22px;height:22px;font-size:12px;border-radius:4px}
.am-rev2-text{font-size:15px;color:#1f2937;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.am-rev2-foot{display:flex;align-items:center;gap:10px;margin-top:auto}
.am-rev2-logo{width:36px;height:36px;border-radius:9999px;background:#F8FAFC;border:1px solid #E5E7EB;display:flex;align-items:center;justify-content:center;font-weight:700;color:#0B63F3;font-size:15px;flex:0 0 auto}
.am-rev2-comp{font-size:15px;font-weight:600;color:#031233}
.am-rev2-count{font-size:13px;color:#6B7280}
@media(max-width:767px){.elementor-widget-heading h2{font-size:36px!important;line-height:45px!important}}

/* ===== Section 6: Schuetze dich (matched to reference) ===== */
.am-trust{background:#F8FAFC;border-radius:12px;padding:48px 24px 24px;display:flex;flex-direction:column;align-items:center;text-align:center}
.am-trust-text{width:100%}
.am-trust-title{font-size:36px!important;line-height:45px!important;font-weight:700;color:#000!important;margin:0;letter-spacing:-.01em}
.am-trust-desc{font-size:15px;color:#6B7280;line-height:1.6;margin:16px auto 0;max-width:800px}
.am-trust-btns{display:flex;flex-direction:column;gap:16px;margin-top:24px;width:100%}
.am-trust-b1,.am-trust-b2{display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;font-weight:500;padding:12px 24px;border-radius:8px;text-decoration:none;border:1px solid transparent}
.am-trust-b1{background:#0B63F3;color:#fff!important;border-color:#0B63F3}
.am-trust-b2{background:#F9FAFB;color:#1F2937!important;border-color:#E5E7EB}
.am-trust-visual{display:none;position:relative}
@media(min-width:992px){
  .am-trust{flex-direction:row;text-align:left;align-items:center;padding:64px;gap:48px}
  .am-trust-text{flex:1}
  .am-trust-title{font-size:42px!important;line-height:52.5px!important}
  .am-trust-desc{font-size:16px;line-height:26px;margin-left:0}
  .am-trust-btns{flex-direction:row;margin-top:28px;width:auto}
  .am-trust-b1,.am-trust-b2{width:auto}
  .am-trust-visual{display:flex;flex:0 0 340px;align-items:center;justify-content:center;min-height:220px}
}
.am-shield2{width:130px;height:130px;border-radius:28px;background:linear-gradient(160deg,#0B63F3,#0A4FC4);color:#fff;display:flex;align-items:center;justify-content:center;font-size:56px;box-shadow:0 20px 45px -15px rgba(5,31,77,.35)}
.am-shield-badge{position:absolute;background:#fff;border-radius:9999px;padding:8px 14px;font-size:13px;font-weight:600;color:#031233;box-shadow:0 8px 24px rgba(5,31,77,.15);display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.am-shield-badge i{color:#16a34a}
.am-shield-badge.sb1{top:16%;left:0}
.am-shield-badge.sb2{bottom:14%;right:0}

/* ===== Section 7: category cards flex-wrap centered (matched to reference) ===== */
.am-home-cats{display:flex!important;flex-wrap:wrap!important;grid-template-columns:none!important;justify-content:center!important;gap:12px!important;max-width:960px!important;margin:0 auto!important;overflow:visible!important}
.am-home-cats .am-cat{width:auto!important;min-width:0;display:inline-flex;align-items:center;justify-content:flex-start;background:#F8FAFC;border:0;border-radius:8px;padding:16px 24px!important;font-size:16px!important;font-weight:500;color:#030712;gap:16px!important;margin:0}
.am-home-cats .am-cat i{flex:0 0 auto;font-size:16px!important;color:#030712}
@media(max-width:767px){
  .am-home-cats{gap:8px!important;max-width:100%!important}
  .am-home-cats .am-cat{padding:8px 12px!important;font-size:14px!important;gap:8px!important}
  .am-home-cats .am-cat i{font-size:14px!important}
}

/* Section 7: mobile = clean 2-column (matches reference ~half-width cards) */
@media(max-width:767px){
  .am-home-cats{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;max-width:100%!important;justify-content:stretch!important}
  .am-home-cats .am-cat{width:100%!important;padding:8px 12px!important;font-size:14px!important;gap:8px!important;justify-content:flex-start}
}

/* ===== Section 8: Agency cards (matched to reference) ===== */
.am-cards-row{display:flex!important;grid-template-columns:none!important;gap:16px!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.am-cards-row::-webkit-scrollbar{display:none}
.am-comp2{flex:0 0 100%;scroll-snap-align:center;background:#F8FAFC;border:1px solid #E5E7EB;border-radius:8px;box-shadow:none;padding:24px 24px 16px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;text-decoration:none}
@media(min-width:768px){.am-comp2{flex:0 0 calc(25% - 12px)}}
.am-comp2-logo{width:62px;height:62px;border-radius:8px;background:#fff;border:1px solid #E5E7EB;display:flex;align-items:center;justify-content:center;font-weight:700;color:#0B63F3;font-size:26px;flex:0 0 auto}
.am-comp2-name{font-size:20px;font-weight:600;color:#4b5563;margin:0;line-height:1.25}
.am-comp2-tag{font-size:13px;color:#6B7280;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.am-comp2-rate{margin-top:4px;display:flex;flex-direction:column;align-items:center;gap:4px}
.am-comp2-stars-row{display:flex;align-items:center;gap:8px}
.am-comp2-val{font-size:22px;font-weight:800;color:#111827}
.am-comp2-count{font-size:13px;color:#9ca3af}
/* is--small section header: centered, 28px title, button hidden on mobile */
@media(max-width:767px){
  .tk-issmall .elementor-widget-heading{text-align:center!important}
  .tk-issmall .elementor-widget-heading h2{font-size:28px!important;line-height:1.2!important}
  .tk-issmall .elementor-widget-text-editor{text-align:center!important}
  .tk-issmall .elementor-widget-button{display:none!important}
}

/* Section 8 fixes: name + widget-level header classes */
.am-comp2-name{font-size:20px!important;font-weight:600!important;color:#4b5563!important}
@media(max-width:767px){
  .tk-h28 h2{font-size:28px!important;line-height:1.2!important}
  .elementor-widget-heading.tk-h28,.tk-h28{text-align:center!important}
  .tk-center-mobile{text-align:center!important}
  .tk-hide-mobile{display:none!important}
}

/* ===== Section 9: Magazine cards (matched to reference) ===== */
.am-articles{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}
@media(min-width:768px){.am-articles{grid-template-columns:repeat(3,1fr)!important;gap:28px!important}}
.am-art2{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible}
.am-art2-link{text-decoration:none;display:block;color:inherit}
.am-art2-img{aspect-ratio:171/120;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#EFF6FF,#fff);margin-bottom:12px}
.am-art2-img img{width:100%;height:100%;object-fit:cover;display:block}
.am-art2-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.am-art2-author{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:#111827;min-width:0}
.am-art2-author img{width:22px;height:22px;border-radius:9999px;flex:0 0 auto}
.am-art2-date{font-size:12px;color:#9ca3af;white-space:nowrap;flex:0 0 auto}
.am-art2-title{font-size:15px!important;font-weight:600!important;color:#111827!important;line-height:1.25!important;margin:0 0 6px}
.am-art2-desc{font-size:13px;color:#6B7280;line-height:1.45;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.am-art2-more{color:#0B63F3;font-weight:600}
.am-art2-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
.am-art2-cat{display:inline-flex;align-items:center;gap:5px;color:#0B63F3}
.am-art2-rt{display:inline-flex;align-items:center;gap:5px;color:#6B7280;white-space:nowrap}
