/*
 * Sintrel Theme - Main Stylesheet
 * Matches Figma design export exactly.
 * -------------------------------------------------------
 * 1. Reset & Base
 * 2. Typography
 * 3. Layout / Container
 * 4. Buttons
 * 5. Header
 * 6. Footer
 * 7. Hero / Page Banner
 * 8. Sections (Layout blocks)
 * 9. Product Cards
 * 10. Partner Logos
 * 11. FAQ Accordion
 * 12. CTA Banner
 * 13. Breadcrumbs
 * 14. Forms
 * 15. Utility
 * 16. Responsive
 */

/* ══════════════════════════════════════════════════════════
   1. Reset & Base
   ══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;           /* prevent horizontal scroll from full-width sections */
}

body {
  font-family:    var(--sintrel-font-sans);
  font-size:      1rem;
  line-height:    1.6;
  color:          var(--sintrel-text-primary);
  background:     var(--sintrel-white);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
}

/* Full-width page wrappers */
#page, .site { width: 100%; max-width: none; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* Screen reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ══════════════════════════════════════════════════════════
   2. Typography
   ══════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family:  var(--sintrel-font-sans);
  font-weight:  700;
  line-height:  1.2;
  color:        var(--sintrel-black);
}

h1 { font-size: clamp(2.25rem, 4vw, 3.75rem); }   /* ~60px */
h2 { font-size: clamp(1.75rem, 3vw, 3rem);    }   /* ~48px */
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem);  }   /* ~24px */
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem;    }
h6 { font-size: 0.875rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.sintrel-tagline {
  font-size:    0.875rem;
  font-weight:  600;
  line-height:  1.4;
  color:        var(--sintrel-text-primary);
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════════════════════════
   3. Layout / Container
   ══════════════════════════════════════════════════════════ */

.sintrel-container {
  width:      100%;
  max-width:  calc(var(--container-max) + var(--container-padding) * 2);
  margin-left:  auto;
  margin-right: auto;
  padding-left:  var(--container-padding);
  padding-right: var(--container-padding);
}

.sintrel-main { min-height: 50vh; width: 100%; overflow-x: hidden; }

/* Section padding (Figma: py-28 = 112px) */
.sintrel-section {
  padding-top:    7rem;
  padding-bottom: 7rem;
}
.sintrel-section--sm {
  padding-top:    3.5rem;
  padding-bottom: 3.5rem;
}
.sintrel-section--gray { background-color: var(--sintrel-gray-lightest); }
.sintrel-section--dark { background-color: var(--sintrel-black); color: var(--sintrel-white); }

/* Two-column layout */
.sintrel-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.sintrel-two-col--center { align-items: center; }

/* Three-column layout */
.sintrel-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Five-column product carousel */
.sintrel-product-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* ══════════════════════════════════════════════════════════
   4. Buttons
   ══════════════════════════════════════════════════════════ */

.sintrel-btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             0.5rem;
  font-size:       1rem;
  font-weight:     400;
  line-height:     1.5;
  white-space:     nowrap;
  transition:      background var(--sintrel-transition), color var(--sintrel-transition), border-color var(--sintrel-transition), opacity var(--sintrel-transition);
  text-decoration: none;
  border-radius:   var(--sintrel-radius-sm);
}

/* Sizes */
.sintrel-btn--md { padding: 0.75rem 1.5rem; }    /* py-3 px-6 */
.sintrel-btn--sm { padding: 0.5rem  1.25rem; }   /* py-2 px-5 */

/* Primary: Black fill */
.sintrel-btn--primary {
  background-color: var(--sintrel-black);
  color:            var(--sintrel-white);
  border:           1px solid var(--sintrel-black);
}
.sintrel-btn--primary:hover {
  background-color: #222;
  border-color:     #222;
  text-decoration:  none;
}

/* Secondary: Outline */
.sintrel-btn--secondary {
  background-color: transparent;
  color:            var(--sintrel-black);
  border:           1px solid var(--sintrel-black);
}
.sintrel-btn--secondary:hover {
  background-color: var(--sintrel-black);
  color:            var(--sintrel-white);
  text-decoration:  none;
}

/* Secondary on dark backgrounds */
.sintrel-btn--secondary-dark {
  background-color: transparent;
  color:            var(--sintrel-white);
  border:           1px solid var(--sintrel-white);
}
.sintrel-btn--secondary-dark:hover {
  background-color: var(--sintrel-white);
  color:            var(--sintrel-black);
  text-decoration:  none;
}

/* Link style button */
.sintrel-btn--link {
  padding: 0;
  background: none;
  border: none;
  color: var(--sintrel-black);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════
   5. Header
   ══════════════════════════════════════════════════════════ */

.sintrel-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sintrel-white);
  width: 100%;
}

/* Offset sticky header when WP admin bar is visible */
.admin-bar .sintrel-header { top: 32px; }
@media screen and ( max-width: 782px ) { .admin-bar .sintrel-header { top: 46px; } }

/* Meta-Navigation: sitzt rechts in der Hauptleiste, nicht mehr in einer
   eigenen Zeile darueber (u. a. Weglot-Sprachumschalter). */
.sintrel-header__meta-nav {
  display:     flex;
  align-items: center;
}
.sintrel-nav-meta {
  display:     flex;
  align-items: center;
  gap:         1rem;
  list-style:  none;
  margin:      0;
  padding:     0;
}
.sintrel-nav-meta li a {
  font-size:   0.75rem;
  font-weight: 400;
  color:       var(--sintrel-black);
  white-space: nowrap;
}
.sintrel-nav-meta li a:hover { text-decoration: underline; }

.sintrel-header__account {
  font-size:   0.75rem;
  color:       var(--sintrel-black);
  white-space: nowrap;
}

/* Main bar – ohne Trennlinie, damit die Kopfzeile nahtlos am Hero anliegt. */
.sintrel-header__main {
  border-bottom: none;
}
.sintrel-header__main-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          64px;
  gap:             1.5rem;
}

/* Logo */
.sintrel-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.sintrel-logo { height: 32px; width: auto; }

/* Primary nav */
.sintrel-nav { flex: 1; }
.sintrel-nav__list {
  display:     flex;
  align-items: center;
  gap:         2rem;
}
.sintrel-nav__list li { position: relative; padding-bottom: 8px; margin-bottom: -8px; }

.sintrel-nav__link {
  display:     inline-flex;
  align-items: center;
  gap:         0.25rem;
  font-size:   1rem;
  font-weight: 400;
  color:       var(--sintrel-black);
  white-space: nowrap;
  padding:     0.25rem 0;
}
.sintrel-nav__link:hover { text-decoration: none; color: var(--sintrel-black); }
.sintrel-nav__list > li > .sintrel-nav__link:hover::after,
.sintrel-nav__list > li.current-menu-item > .sintrel-nav__link::after,
.sintrel-nav__list > li.current-menu-ancestor > .sintrel-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--sintrel-black);
}
.sintrel-nav__dropdown .sintrel-nav__link::after { display: none; }
.sintrel-nav__dropdown li.current-menu-item > a,
.sintrel-nav__dropdown li.current-menu-ancestor > a { background: #F5C300; color: #000; }

.sintrel-nav__chevron { transition: transform var(--sintrel-transition); width: 18px; height: 18px; }
.sintrel-nav__link--dropdown[aria-expanded="true"] .sintrel-nav__chevron { transform: rotate(180deg); }

/* Dropdown */
.sintrel-nav__dropdown {
  display:          none;
  position:         absolute;
  top:              100%;
  left:             0;
  min-width:        220px;
  background:       var(--sintrel-white);
  border:           1px solid var(--sintrel-border);
  padding:          0.5rem 0;
  box-shadow:       0 8px 24px rgba(0,0,0,.08);
  z-index:          200;
}
.sintrel-nav__list li:hover > .sintrel-nav__dropdown,
.sintrel-nav__list li.is-hovered > .sintrel-nav__dropdown,
.sintrel-nav__list li:focus-within > .sintrel-nav__dropdown { display: block; }
.sintrel-nav__dropdown li a {
  display:     block;
  padding:     0.5rem 1rem;
  font-size:   0.9375rem;
  color:       var(--sintrel-black);
  white-space: nowrap;
}
.sintrel-nav__dropdown li a:hover { background: var(--sintrel-gray-lightest); text-decoration: none; }

/* Header actions */
.sintrel-header__actions {
  display:     flex;
  align-items: center;
  gap:         1rem;
  flex-shrink: 0;
}

.sintrel-header__search-toggle {
  display:     flex;
  align-items: center;
  color:       var(--sintrel-black);
  background:  var(--sintrel-gray-lighter);
  border:      none;
  padding:     0.25rem 0.75rem;
  border-radius: var(--sintrel-radius-sm);
  gap:         0.5rem;
}
.sintrel-header__search-toggle::after { content: 'Suche'; font-size: 0.875rem; color: var(--sintrel-gray-medium); }

.sintrel-header__cart {
  position: relative;
  display:  flex;
  align-items: center;
  color: var(--sintrel-black);
}
.sintrel-header__cart-count {
  position:         absolute;
  top:              -6px;
  right:            -8px;
  background:       var(--sintrel-black);
  color:            var(--sintrel-white);
  font-size:        0.625rem;
  font-weight:      600;
  width:            16px; height: 16px;
  border-radius:    50%;
  display:          flex;
  align-items:      center;
  justify-content:  center;
}
.sintrel-header__cart-count:empty,
.sintrel-header__cart-count[data-cart-count="0"] { display: none; }

/* Burger (mobile) */
.sintrel-header__burger {
  display:        none;
  flex-direction: column;
  gap:            5px;
  padding:        4px;
}
.sintrel-header__burger span {
  display:       block;
  width:         22px; height: 2px;
  background:    var(--sintrel-black);
  border-radius: 2px;
  transition:    transform var(--sintrel-transition), opacity var(--sintrel-transition);
}
.sintrel-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sintrel-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sintrel-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search bar */
.sintrel-header__search-bar {
  border-bottom: 1px solid var(--sintrel-border);
  padding: 0.75rem 0;
  background: var(--sintrel-white);
}
.sintrel-header__search-bar .search-form { display: flex; gap: 0.5rem; }
.sintrel-header__search-bar .search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--sintrel-border);
  font-size: 1rem;
  border-radius: var(--sintrel-radius-sm);
}
.sintrel-header__search-bar .search-submit {
  padding: 0.5rem 1rem;
  background: var(--sintrel-black);
  color: var(--sintrel-white);
  border: none;
  border-radius: var(--sintrel-radius-sm);
  cursor: pointer;
}

/* Mobile menu */
.sintrel-mobile-menu {
  background: var(--sintrel-white);
  border-bottom: 1px solid var(--sintrel-border);
  padding: 1rem 0;
}
.sintrel-mobile-nav__list { padding: 0 1.5rem; }
.sintrel-mobile-nav__list li { border-bottom: 1px solid var(--sintrel-border); }
.sintrel-mobile-nav__list li a { display: block; padding: 0.75rem 0; font-size: 1rem; }

/* ══════════════════════════════════════════════════════════
   6. Footer
   ══════════════════════════════════════════════════════════ */

.sintrel-footer {
  /* Kein heller Hintergrund/Rahmen mehr: der Footer beginnt mit der gelben
     CTA-Leiste, die 1px-Linie war als weisser Streifen darueber sichtbar. */
  background: transparent;
  border-top: 0;
  margin-top: auto;
  width: 100%;
}

.sintrel-footer__inner {
  display:      grid;
  grid-template-columns: 3fr 2fr;  /* brand ≈65% / link cols ≈35% - matches mock */
  gap:          4rem;              /* gap-16 = 64px */
  padding-top:    5rem;
  padding-bottom: 5rem;
}

/* Two nav-col wrappers inside .sintrel-footer__links */
.sintrel-footer__links {
  display: flex;
  gap: 4rem;            /* gap-6 = 24px for nav cols - spread them with flex */
  justify-content: flex-start;
  align-items: flex-start;
}
.sintrel-footer__nav-col { flex: 1; }

.sintrel-footer__logo { display: inline-block; margin-bottom: 2rem; }
.sintrel-footer__contact p { font-size: 0.875rem; line-height: 1.6; margin-bottom: 1rem; }
.sintrel-footer__contact strong { font-weight: 600; }
.sintrel-footer__contact a { text-decoration: underline; }

.sintrel-footer__social { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.sintrel-footer__social-link {
  display:     flex;
  align-items: center;
  color:       var(--sintrel-black);
  transition:  opacity var(--sintrel-transition);
}
.sintrel-footer__social-link:hover { opacity: 0.7; text-decoration: none; }

/* Footer nav columns */
.sintrel-footer__nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.sintrel-footer__nav-list li a { font-size: 1rem; font-weight: 600; color: var(--sintrel-black); }
.sintrel-footer__nav-list li a:hover { text-decoration: underline; }

/* Bottom bar */
.sintrel-footer__bottom {
  border-top: 1px solid var(--sintrel-border);
  padding: 1.5rem 0;
}
.sintrel-footer__bottom-inner {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  flex-wrap:       wrap;
  gap:             1rem;
}
.sintrel-footer__copy { font-size: 0.875rem; color: var(--sintrel-text-primary); }
.sintrel-footer__legal-list { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.sintrel-footer__legal-list li a {
  font-size:       0.875rem;
  text-decoration: underline;
  color:           var(--sintrel-black);
}

/* ══════════════════════════════════════════════════════════
   7. Hero / Page Banner
   ══════════════════════════════════════════════════════════ */

.sintrel-hero {
  position:       relative;
  min-height:     520px;
  background:     var(--sintrel-bg-dark) center/cover no-repeat;
  display:        flex;
  align-items:    center;
  padding:        5rem 0;
  overflow:       hidden;
}
.sintrel-hero::before {
  content:    '';
  position:   absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index:    1;
}
.sintrel-hero .sintrel-container { position: relative; z-index: 2; }

.sintrel-hero--home { min-height: 900px; }
.sintrel-hero--page { min-height: 280px; }

.sintrel-hero__content { max-width: 560px; }

.sintrel-hero__tagline {
  font-size:   0.875rem;
  font-weight: 600;
  color:       rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}
.sintrel-hero__title {
  font-size:   clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color:       var(--sintrel-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.sintrel-hero__text {
  font-size:     1.125rem;
  line-height:   1.75;
  color:         rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
}
.sintrel-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   8. Section Blocks (Layout)
   ══════════════════════════════════════════════════════════ */

/* About / Layout 53 - two col with icon list */
.sintrel-layout__subheading {
  font-size:   1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.sintrel-layout__title {
  font-size:   clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.sintrel-layout__text { font-size: 1.125rem; line-height: 1.75; color: var(--sintrel-text-primary); }

/* Icon list (Akkreditierter Partner / Persönlicher Support) */
.sintrel-icon-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 0.5rem 0;
  margin-top: 1.5rem;
}
.sintrel-icon-item { display: flex; flex-direction: column; gap: 1rem; }
.sintrel-icon-item__icon { flex-shrink: 0; width: 32px; height: 32px; }
.sintrel-icon-item__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.sintrel-icon-item__text { font-size: 1rem; line-height: 1.6; }

/* Service cards (Kalibrierung / Reparatur / Beratung) */
.sintrel-service-card { display: flex; flex-direction: column; gap: 1.5rem; }
.sintrel-service-card__img {
  width: 100%;
  aspect-ratio: 416 / 160;
  object-fit: cover;
  background: var(--sintrel-gray-lighter);
}
.sintrel-service-card__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.sintrel-service-card__text { font-size: 1rem; line-height: 1.6; }

/* Process / Ablauf list */
.sintrel-process ol { padding-left: 1.25rem; counter-reset: process; list-style: none; }
.sintrel-process li { counter-increment: process; margin-bottom: 1rem; padding-left: 0.5rem; }
.sintrel-process li::before { content: counter(process) '. '; font-weight: 700; }

/* Team members */
.sintrel-team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.sintrel-team-card { display: flex; flex-direction: column; gap: 1rem; }
.sintrel-team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--sintrel-gray-lighter);
  object-fit: cover;
  overflow: hidden;
}
.sintrel-team-card__name  { font-size: 1rem; font-weight: 700; }
.sintrel-team-card__role  { font-size: 0.875rem; color: var(--sintrel-gray-neutral); }
.sintrel-team-card__text  { font-size: 0.9375rem; line-height: 1.6; }
.sintrel-team-card__social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.sintrel-team-card__social a { color: var(--sintrel-black); }

/* ══════════════════════════════════════════════════════════
   9. Product Cards
   ══════════════════════════════════════════════════════════ */

.sintrel-product-card {
  display:        flex;
  flex-direction: column;
  gap:            1rem;
}
.sintrel-product-card__img-wrap {
  width: 100%;
  aspect-ratio: 304 / 365;
  overflow: hidden;
  background: var(--sintrel-gray-lighter);
}
.sintrel-product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sintrel-product-card:hover .sintrel-product-card__img { transform: scale(1.03); }

.sintrel-product-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.sintrel-product-card__info { flex: 1; }
.sintrel-product-card__name { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.sintrel-product-card__desc { font-size: 0.875rem; color: var(--sintrel-text-primary); margin-top: 0.25rem; line-height: 1.4; }
.sintrel-product-card__price { font-size: 1.25rem; font-weight: 600; white-space: nowrap; }

/* WooCommerce ul.products override */
ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.products li.product { display: flex; flex-direction: column; gap: 1rem; }
ul.products li.product a.woocommerce-loop-product__link { display: block; }
ul.products li.product img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--sintrel-gray-lighter); }
ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; font-weight: 600; margin-top: 0.75rem; }
ul.products li.product .price { font-size: 1.125rem; font-weight: 600; }
ul.products li.product .button {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--sintrel-black);
  font-size: 1rem;
  text-align: center;
  transition: background var(--sintrel-transition);
}
ul.products li.product .button:hover { background: var(--sintrel-black); color: var(--sintrel-white); text-decoration: none; }

/* ══════════════════════════════════════════════════════════
   10. Partner Logos
   ══════════════════════════════════════════════════════════ */

.sintrel-partners {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem 2rem;
  align-items: center;
}
.sintrel-partner-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}
.sintrel-partner-logo img { height: 28px; width: auto; }

/* ══════════════════════════════════════════════════════════
   11. FAQ Accordion
   ══════════════════════════════════════════════════════════ */

.sintrel-faq { display: flex; gap: 4rem; }
.sintrel-faq__intro { max-width: 320px; flex-shrink: 0; }
.sintrel-faq__intro h2 { font-size: clamp(2rem,3.5vw,3rem); margin-bottom: 1rem; }
.sintrel-faq__intro p  { font-size: 1rem; line-height: 1.6; }
.sintrel-faq__list { flex: 1; }

.sintrel-faq__item {
  border: 1px solid var(--sintrel-border);
  border-radius: var(--sintrel-radius-sm);
  margin-bottom: 0.75rem;
}
.sintrel-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--sintrel-black);
  gap: 1rem;
}
.sintrel-faq__question:hover { background: var(--sintrel-gray-lightest); }
.sintrel-faq__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  transition: transform var(--sintrel-transition);
}
.sintrel-faq__item--open .sintrel-faq__icon { transform: rotate(45deg); }
.sintrel-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
}
.sintrel-faq__item--open .sintrel-faq__answer {
  max-height: 500px;
  padding: 0 1.25rem 1rem;
}

/* ══════════════════════════════════════════════════════════
   12. CTA Banner (dark / grey background)
   ══════════════════════════════════════════════════════════ */

.sintrel-cta-banner {
  background: var(--sintrel-bg-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.sintrel-cta-banner .sintrel-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.sintrel-cta-banner__content { flex: 1; }
.sintrel-cta-banner__title {
  font-size: clamp(1.75rem,3vw,2.5rem);
  font-weight: 700;
  color: var(--sintrel-white);
  margin-bottom: 0.75rem;
}
.sintrel-cta-banner__text { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.sintrel-cta-banner__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
}
/* Avatar + phone */
.sintrel-cta-banner__person { display: flex; align-items: center; gap: 1rem; }
.sintrel-cta-banner__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,0.2);
}
.sintrel-cta-banner__phone { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.sintrel-cta-banner__phone strong { display: block; color: var(--sintrel-white); font-size: 1rem; }

/* ══════════════════════════════════════════════════════════
   13. Breadcrumbs
   ══════════════════════════════════════════════════════════ */

.sintrel-breadcrumb {
  display:     flex;
  align-items: center;
  flex-wrap:   wrap;
  gap:         0.25rem;
  padding:     1.25rem 0;
  font-size:   0.875rem;
}
.sintrel-breadcrumb__item a { color: var(--sintrel-black); }
.sintrel-breadcrumb__item a:hover { text-decoration: underline; }
.sintrel-breadcrumb__sep { flex-shrink: 0; opacity: 0.5; }
.sintrel-breadcrumb__item:last-child { font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   14. Forms (general)
   ══════════════════════════════════════════════════════════ */

.sintrel-input,
.sintrel-select,
.sintrel-textarea {
  width:         100%;
  padding:       0.625rem 0.75rem;
  font-size:     1rem;
  border:        1px solid var(--sintrel-border);
  border-radius: var(--sintrel-radius-sm);
  background:    var(--sintrel-white);
  color:         var(--sintrel-black);
  transition:    border-color var(--sintrel-transition);
  outline:       none;
}
.sintrel-input:focus,
.sintrel-select:focus,
.sintrel-textarea:focus { border-color: var(--sintrel-black); }

.sintrel-form-group { margin-bottom: 1.25rem; }
.sintrel-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }

/* Search form */
.search-form { display: flex; gap: 0.5rem; }
.search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--sintrel-border);
  border-radius: var(--sintrel-radius-sm);
  font-size: 1rem;
}
.search-submit {
  padding: 0.5rem 1rem;
  background: var(--sintrel-black);
  color: var(--sintrel-white);
  border: none;
  border-radius: var(--sintrel-radius-sm);
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════
   15. Utility
   ══════════════════════════════════════════════════════════ */

.u-text-center { text-align: center; }
.u-mt-4  { margin-top: 1rem; }
.u-mt-8  { margin-top: 2rem; }
.u-mb-4  { margin-bottom: 1rem; }
.u-mb-8  { margin-bottom: 2rem; }
.u-pt-4  { padding-top: 1rem; }
.u-divider { border: none; border-top: 1px solid var(--sintrel-border); margin: 2rem 0; }

.sintrel-placeholder-img {
  width: 100%; height: 100%;
  background: var(--sintrel-gray-lighter);
  display: flex; align-items: center; justify-content: center;
  color: var(--sintrel-gray-medium);
}

/* 404 page */
.sintrel-main--404 { padding: 7rem 0; }
.sintrel-404 { max-width: 560px; }
.sintrel-404__tagline { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.sintrel-404__title { font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.sintrel-404__text  { font-size: 1.125rem; margin-bottom: 2rem; }

/* ══════════════════════════════════════════════════════════
   16. Responsive
   ══════════════════════════════════════════════════════════ */

/* ─── 1200px: tighter horizontal padding ────────────────── */
@media (max-width: 1200px) {
  :root { --container-padding: 24px; }
  .sintrel-footer__inner { grid-template-columns: 3fr 2fr; }
}

/* ─── 1024px: tablet ────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Header */
  .sintrel-nav,
  .sintrel-header__search-toggle::after { display: none; }
  .sintrel-header__burger { display: flex; }

  /* Section padding */
  .sintrel-section     { padding-top: 5rem; padding-bottom: 5rem; }
  .sintrel-section--sm { padding-top: 2.5rem; padding-bottom: 2.5rem; }

  /* Hero */
  .sintrel-hero--home { min-height: 600px; }

  /* PHP-rendered grid layouts */
  .sintrel-two-col    { grid-template-columns: 1fr; gap: 3rem; }
  .sintrel-three-col  { grid-template-columns: 1fr 1fr; }
  .sintrel-icon-list  { grid-template-columns: 1fr; }
  ul.products         { grid-template-columns: 1fr 1fr 1fr; }
  .sintrel-team-grid  { grid-template-columns: 1fr 1fr; }
  .sintrel-faq        { flex-direction: column; }
  .sintrel-faq__intro { max-width: 100%; }
  .sintrel-cta-banner .sintrel-container { flex-direction: column; }
  .sintrel-partners   { grid-template-columns: repeat(2, 1fr); }
  .sintrel-footer__inner { grid-template-columns: 1fr; }
  .sintrel-footer__links { gap: 2rem; }

  /* Elementor: 2-col outer sections (50/60/40) → stack to 1 column */
  .elementor-top-column.elementor-col-50,
  .elementor-top-column.elementor-col-60,
  .elementor-top-column.elementor-col-40 { width: 100% !important; }

  /* Elementor: 3-col outer sections (33/34) → 2 per row */
  .elementor-top-column.elementor-col-33,
  .elementor-top-column.elementor-col-34 { width: 50%  !important; }

  /* Elementor: 4-col process steps (25) → 2 per row */
  .elementor-top-column.elementor-col-25 { width: 50%  !important; }

  /* Elementor: inner 3-col service cards (33/34) → 2 per row */
  .elementor-inner-column.elementor-col-33,
  .elementor-inner-column.elementor-col-34 { width: 50% !important; }

  /* Elementor: inner 2-col contact/image (40/60) → stack */
  .elementor-inner-column.elementor-col-40,
  .elementor-inner-column.elementor-col-60 { width: 100% !important; }

  /* Elementor: reduce section vertical padding */
  .elementor-section.elementor-top-section {
    padding-top:    4rem !important;
    padding-bottom: 4rem !important;
  }
}

/* ─── 768px: mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --container-padding: 16px; }

  /* Section padding */
  .sintrel-section { padding-top: 4rem; padding-bottom: 4rem; }

  /* Hero */
  .sintrel-hero        { min-height: 400px; }
  .sintrel-hero--home  { min-height: 480px; }
  .sintrel-hero--page  { min-height: 200px; }
  .sintrel-hero__content { max-width: 100%; }

  /* PHP-rendered grid layouts */
  .sintrel-three-col            { grid-template-columns: 1fr; }
  ul.products                   { grid-template-columns: 1fr 1fr; }
  .sintrel-team-grid            { grid-template-columns: 1fr; }
  .sintrel-footer__inner        { grid-template-columns: 1fr; gap: 2rem; }
  .sintrel-footer__bottom-inner { flex-direction: column; text-align: center; }
  .sintrel-partners             { grid-template-columns: 1fr 1fr; }

  /* Elementor: all columns stack to full width */
  .elementor-column { width: 100% !important; }

  /* Elementor: reduce section padding */
  .elementor-section.elementor-top-section {
    padding-top:    3rem !important;
    padding-bottom: 3rem !important;
  }

  /* "Kompetente Beratung" 4-card info grid: let grid items shrink and
     wrap long German words instead of overflowing the 2nd column */
  .bs-info-grid > div { min-width: 0; }
  .bs-info-grid > div > div { overflow-wrap: break-word; }

  /* "Kalibrierung / Reparatur / Beratung" 3-card grid: stack vertically */
  .bs-grid { grid-template-columns: 1fr !important; }

  /* "Was wir kalibrieren" 3-card grid: stack vertically */
  .sintrel-kalib-grid { grid-template-columns: 1fr !important; }

  /* "Unser Beratungsprozess" 4-step process grid: stack vertically */
  .bs-process-grid { grid-template-columns: 1fr !important; }

  /* Elementor hero <h1> headings: templates set a fixed 48-72px custom
     font-size with no mobile override, causing huge/overflowing titles */
  h1.elementor-heading-title { font-size: clamp(1.75rem, 8vw, 2.5rem) !important; }

  /* Elementor section <h2> headings: match the h1 mobile size so all
     headings feel consistent in scale */
  h2.elementor-heading-title { font-size: clamp(1.75rem, 8vw, 2.5rem) !important; }

  /* Elementor <h3> headings: scale down on mobile */
  h3.elementor-heading-title { font-size: clamp(1.25rem, 6vw, 1.5rem) !important; }

  /* Elementor <h4> "eyebrow" labels: cap at their current 14px, shrink further on small screens */
  h4.elementor-heading-title { font-size: clamp(0.875rem, 4vw, 1rem) !important; }
}

/* ─── 480px: small mobile ───────────────────────────────── */
@media (max-width: 480px) {
  /* Hero */
  .sintrel-hero__actions { flex-direction: column; }
  .sintrel-hero--home    { min-height: 380px; }
  .sintrel-hero__actions .sintrel-btn { width: 100%; justify-content: center; }

  /* PHP-rendered layouts */
  ul.products            { grid-template-columns: 1fr; }
  .sintrel-partners      { grid-template-columns: 1fr; }
  .sintrel-footer__links { flex-direction: column; gap: 2rem; }

  /* Elementor: minimal section padding */
  .elementor-section.elementor-top-section {
    padding-top:    2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* ══════════════════════════════════════════════════════════
   17. Elementor full-width overrides
   ══════════════════════════════════════════════════════════ */

/* Ensure Elementor sections span the full viewport width */
.elementor-section.elementor-section-stretched {
  width:       100vw    !important;
  margin-left: calc( 50% - 50vw ) !important;
}

/* Cap Elementor inner container to our 1440-px design grid */
.elementor-top-section > .elementor-container,
.elementor-section > .elementor-container {
  max-width: 1440px;
  flex-wrap: wrap; /* allow columns to reflow at responsive breakpoints */
}

/* Prevent columns from overflowing their flex container */
.elementor-column { min-width: 0; }

/* Remove Elementor default section padding that conflicts with our design */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1440px;
}

/* Elementor Page title / breadcrumb area */
.elementor-page-title .elementor-heading-title { word-break: break-word; }

/* Prevent long German compound words (e.g. "Beratungsprozess") from
   overflowing the viewport at large custom font sizes on mobile */
.elementor-widget-heading .elementor-heading-title { overflow-wrap: break-word; }

/* Elementor-generated columns should never exceed 100% */
.elementor-col-100 { width: 100% !important; }

/* ══════════════════════════════════════════════════════════
   18. Block Editor align-wide / align-full
   ══════════════════════════════════════════════════════════ */

.alignwide {
  max-width: calc( var(--container-max) + 128px );
  margin-left:  auto;
  margin-right: auto;
}

.alignfull {
  width:        100vw;
  max-width:    100vw;
  margin-left:  calc( 50% - 50vw );
  margin-right: calc( 50% - 50vw );
}

/* WooCommerce shop page should use full available width */
.woocommerce-page .sintrel-main,
.woocommerce .sintrel-main {
  width: 100%;
}

/* ══════════════════════════════════════════════════════════
   19. Elementor Widget Overrides - Figma fixes
   ══════════════════════════════════════════════════════════ */

/* Fix: Akkreditierter Partner / Persönlicher Support
   Elementor icon-list Widget → Icon oben, Text unten (statt nebeneinander) */
.elementor-widget-icon-list .elementor-icon-list-items {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2.5rem !important;
}
.elementor-widget-icon-list .elementor-icon-list-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
}
.elementor-widget-icon-list .elementor-icon-list-icon {
  margin-right: 0 !important;
  width: 32px !important;
  height: 32px !important;
}
.elementor-widget-icon-list .elementor-icon-list-icon i,
.elementor-widget-icon-list .elementor-icon-list-icon svg {
  font-size: 32px !important;
  width: 32px !important;
  height: 32px !important;
}
.elementor-widget-icon-list .elementor-icon-list-text {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

/* Fix: Neue Produkte - Produkt-Grid 4 Spalten, keine Überlappungen */
.elementor-widget-shortcode ul.products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2rem !important;
  position: static !important;
}
.elementor-widget-shortcode ul.products li.product,
.woocommerce ul.products li.product {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
}

/* Fix: Service-Karten Bilder höher */
.elementor-inner-column .elementor-widget-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/*
 * Sintrel Theme - Main Stylesheet
 * Matches Figma design export exactly.
 * -------------------------------------------------------
 * 1. Reset & Base
 * 2. Typography
 * 3. Layout / Container
 * 4. Buttons
 * 5. Header
 * 6. Footer
 * 7. Hero / Page Banner
 * 8. Sections (Layout blocks)
 * 9. Product Cards
 * 10. Partner Logos
 * 11. FAQ Accordion
 * 12. CTA Banner
 * 13. Breadcrumbs
 * 14. Forms
 * 15. Utility
 * 16. Responsive
 */

/* ══════════════════════════════════════════════════════════
   1. Reset & Base
   ══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;           /* prevent horizontal scroll from full-width sections */
}

body {
  font-family:    var(--sintrel-font-sans);
  font-size:      1rem;
  line-height:    1.6;
  color:          var(--sintrel-text-primary);
  background:     var(--sintrel-white);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
}

/* Full-width page wrappers */
#page, .site { width: 100%; max-width: none; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* Screen reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ══════════════════════════════════════════════════════════
   2. Typography
   ══════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family:  var(--sintrel-font-sans);
  font-weight:  700;
  line-height:  1.2;
  color:        var(--sintrel-black);
}

h1 { font-size: clamp(2.25rem, 4vw, 3.75rem); }   /* ~60px */
h2 { font-size: clamp(1.75rem, 3vw, 3rem);    }   /* ~48px */
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem);  }   /* ~24px */
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem;    }
h6 { font-size: 0.875rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.sintrel-tagline {
  font-size:    0.875rem;
  font-weight:  600;
  line-height:  1.4;
  color:        var(--sintrel-text-primary);
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════════════════════════
   3. Layout / Container
   ══════════════════════════════════════════════════════════ */

.sintrel-container {
  width:      100%;
  max-width:  calc(var(--container-max) + var(--container-padding) * 2);
  margin-left:  auto;
  margin-right: auto;
  padding-left:  var(--container-padding);
  padding-right: var(--container-padding);
}

.sintrel-main { min-height: 50vh; width: 100%; overflow-x: hidden; }

/* Section padding (Figma: py-28 = 112px) */
.sintrel-section {
  padding-top:    7rem;
  padding-bottom: 7rem;
}
.sintrel-section--sm {
  padding-top:    3.5rem;
  padding-bottom: 3.5rem;
}
.sintrel-section--gray { background-color: var(--sintrel-gray-lightest); }
.sintrel-section--dark { background-color: var(--sintrel-black); color: var(--sintrel-white); }

/* Two-column layout */
.sintrel-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.sintrel-two-col--center { align-items: center; }

/* Three-column layout */
.sintrel-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Five-column product carousel */
.sintrel-product-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* ══════════════════════════════════════════════════════════
   4. Buttons
   ══════════════════════════════════════════════════════════ */

.sintrel-btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             0.5rem;
  font-size:       1rem;
  font-weight:     400;
  line-height:     1.5;
  white-space:     nowrap;
  transition:      background var(--sintrel-transition), color var(--sintrel-transition), border-color var(--sintrel-transition), opacity var(--sintrel-transition);
  text-decoration: none;
  border-radius:   var(--sintrel-radius-sm);
}

/* Sizes */
.sintrel-btn--md { padding: 0.75rem 1.5rem; }    /* py-3 px-6 */
.sintrel-btn--sm { padding: 0.5rem  1.25rem; }   /* py-2 px-5 */

/* Primary: Black fill */
.sintrel-btn--primary {
  background-color: var(--sintrel-black);
  color:            var(--sintrel-white);
  border:           1px solid var(--sintrel-black);
}
.sintrel-btn--primary:hover {
  background-color: #222;
  border-color:     #222;
  text-decoration:  none;
}

/* Secondary: Outline */
.sintrel-btn--secondary {
  background-color: transparent;
  color:            var(--sintrel-black);
  border:           1px solid var(--sintrel-black);
}
.sintrel-btn--secondary:hover {
  background-color: var(--sintrel-black);
  color:            var(--sintrel-white);
  text-decoration:  none;
}

/* Secondary on dark backgrounds */
.sintrel-btn--secondary-dark {
  background-color: transparent;
  color:            var(--sintrel-white);
  border:           1px solid var(--sintrel-white);
}
.sintrel-btn--secondary-dark:hover {
  background-color: var(--sintrel-white);
  color:            var(--sintrel-black);
  text-decoration:  none;
}

/* Link style button */
.sintrel-btn--link {
  padding: 0;
  background: none;
  border: none;
  color: var(--sintrel-black);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════
   5. Header
   ══════════════════════════════════════════════════════════ */

.sintrel-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sintrel-white);
  width: 100%;
}

/* Offset sticky header when WP admin bar is visible */
.admin-bar .sintrel-header { top: 32px; }
@media screen and ( max-width: 782px ) { .admin-bar .sintrel-header { top: 46px; } }

/* Meta-Navigation: sitzt rechts in der Hauptleiste, nicht mehr in einer
   eigenen Zeile darueber (u. a. Weglot-Sprachumschalter). */
.sintrel-header__meta-nav {
  display:     flex;
  align-items: center;
}
.sintrel-nav-meta {
  display:     flex;
  align-items: center;
  gap:         1rem;
  list-style:  none;
  margin:      0;
  padding:     0;
}
.sintrel-nav-meta li a {
  font-size:   0.75rem;
  font-weight: 400;
  color:       var(--sintrel-black);
  white-space: nowrap;
}
.sintrel-nav-meta li a:hover { text-decoration: underline; }

.sintrel-header__account {
  font-size:   0.75rem;
  color:       var(--sintrel-black);
  white-space: nowrap;
}

/* Main bar – ohne Trennlinie, damit die Kopfzeile nahtlos am Hero anliegt. */
.sintrel-header__main {
  border-bottom: none;
}
.sintrel-header__main-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          64px;
  gap:             1.5rem;
}

/* Logo */
.sintrel-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.sintrel-logo { height: 32px; width: auto; }

/* Primary nav */
.sintrel-nav { flex: 1; }
.sintrel-nav__list {
  display:     flex;
  align-items: center;
  gap:         2rem;
}
.sintrel-nav__list li { position: relative; padding-bottom: 8px; margin-bottom: -8px; }

.sintrel-nav__link {
  display:     inline-flex;
  align-items: center;
  gap:         0.25rem;
  font-size:   1rem;
  font-weight: 400;
  color:       var(--sintrel-black);
  white-space: nowrap;
  padding:     0.25rem 0;
}
.sintrel-nav__link:hover { text-decoration: none; color: var(--sintrel-black); }
.sintrel-nav__list > li > .sintrel-nav__link:hover::after,
.sintrel-nav__list > li.current-menu-item > .sintrel-nav__link::after,
.sintrel-nav__list > li.current-menu-ancestor > .sintrel-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--sintrel-black);
}
.sintrel-nav__dropdown .sintrel-nav__link::after { display: none; }
.sintrel-nav__dropdown li.current-menu-item > a,
.sintrel-nav__dropdown li.current-menu-ancestor > a { background: #F5C300; color: #000; }

.sintrel-nav__chevron { transition: transform var(--sintrel-transition); width: 18px; height: 18px; }
.sintrel-nav__link--dropdown[aria-expanded="true"] .sintrel-nav__chevron { transform: rotate(180deg); }

/* Dropdown */
.sintrel-nav__dropdown {
  display:          none;
  position:         absolute;
  top:              100%;
  left:             0;
  min-width:        220px;
  background:       var(--sintrel-white);
  border:           1px solid var(--sintrel-border);
  padding:          0.5rem 0;
  box-shadow:       0 8px 24px rgba(0,0,0,.08);
  z-index:          200;
}
.sintrel-nav__list li:hover > .sintrel-nav__dropdown,
.sintrel-nav__list li.is-hovered > .sintrel-nav__dropdown,
.sintrel-nav__list li:focus-within > .sintrel-nav__dropdown { display: block; }
.sintrel-nav__dropdown li a {
  display:     block;
  padding:     0.5rem 1rem;
  font-size:   0.9375rem;
  color:       var(--sintrel-black);
  white-space: nowrap;
}
.sintrel-nav__dropdown li a:hover { background: var(--sintrel-gray-lightest); text-decoration: none; }

/* Header actions */
.sintrel-header__actions {
  display:     flex;
  align-items: center;
  gap:         1rem;
  flex-shrink: 0;
}

.sintrel-header__search-toggle {
  display:     flex;
  align-items: center;
  color:       var(--sintrel-black);
  background:  var(--sintrel-gray-lighter);
  border:      none;
  padding:     0.25rem 0.75rem;
  border-radius: var(--sintrel-radius-sm);
  gap:         0.5rem;
}
.sintrel-header__search-toggle::after { content: 'Suche'; font-size: 0.875rem; color: var(--sintrel-gray-medium); }

.sintrel-header__cart {
  position: relative;
  display:  flex;
  align-items: center;
  color: var(--sintrel-black);
}
.sintrel-header__cart-count {
  position:         absolute;
  top:              -6px;
  right:            -8px;
  background:       var(--sintrel-black);
  color:            var(--sintrel-white);
  font-size:        0.625rem;
  font-weight:      600;
  width:            16px; height: 16px;
  border-radius:    50%;
  display:          flex;
  align-items:      center;
  justify-content:  center;
}
.sintrel-header__cart-count:empty,
.sintrel-header__cart-count[data-cart-count="0"] { display: none; }

/* Burger (mobile) */
.sintrel-header__burger {
  display:        none;
  flex-direction: column;
  gap:            5px;
  padding:        4px;
}
.sintrel-header__burger span {
  display:       block;
  width:         22px; height: 2px;
  background:    var(--sintrel-black);
  border-radius: 2px;
  transition:    transform var(--sintrel-transition), opacity var(--sintrel-transition);
}
.sintrel-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sintrel-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sintrel-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search bar */
.sintrel-header__search-bar {
  border-bottom: 1px solid var(--sintrel-border);
  padding: 0.75rem 0;
  background: var(--sintrel-white);
}
.sintrel-header__search-bar .search-form { display: flex; gap: 0.5rem; }
.sintrel-header__search-bar .search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--sintrel-border);
  font-size: 1rem;
  border-radius: var(--sintrel-radius-sm);
}
.sintrel-header__search-bar .search-submit {
  padding: 0.5rem 1rem;
  background: var(--sintrel-black);
  color: var(--sintrel-white);
  border: none;
  border-radius: var(--sintrel-radius-sm);
  cursor: pointer;
}

/* Mobile menu */
.sintrel-mobile-menu {
  background: var(--sintrel-white);
  border-bottom: 1px solid var(--sintrel-border);
  padding: 1rem 0;
}
.sintrel-mobile-nav__list { padding: 0 1.5rem; }
.sintrel-mobile-nav__list li { border-bottom: 1px solid var(--sintrel-border); }
.sintrel-mobile-nav__list li a { display: block; padding: 0.75rem 0; font-size: 1rem; }

/* ══════════════════════════════════════════════════════════
   6. Footer
   ══════════════════════════════════════════════════════════ */

.sintrel-footer {
  /* Kein heller Hintergrund/Rahmen mehr: der Footer beginnt mit der gelben
     CTA-Leiste, die 1px-Linie war als weisser Streifen darueber sichtbar. */
  background: transparent;
  border-top: 0;
  margin-top: auto;
  width: 100%;
}

.sintrel-footer__inner {
  display:      grid;
  grid-template-columns: 3fr 2fr;  /* brand ≈65% / link cols ≈35% - matches mock */
  gap:          4rem;              /* gap-16 = 64px */
  padding-top:    5rem;
  padding-bottom: 5rem;
}

/* Two nav-col wrappers inside .sintrel-footer__links */
.sintrel-footer__links {
  display: flex;
  gap: 4rem;            /* gap-6 = 24px for nav cols - spread them with flex */
  justify-content: flex-start;
  align-items: flex-start;
}
.sintrel-footer__nav-col { flex: 1; }

.sintrel-footer__logo { display: inline-block; margin-bottom: 2rem; }
.sintrel-footer__contact p { font-size: 0.875rem; line-height: 1.6; margin-bottom: 1rem; }
.sintrel-footer__contact strong { font-weight: 600; }
.sintrel-footer__contact a { text-decoration: underline; }

.sintrel-footer__social { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.sintrel-footer__social-link {
  display:     flex;
  align-items: center;
  color:       var(--sintrel-black);
  transition:  opacity var(--sintrel-transition);
}
.sintrel-footer__social-link:hover { opacity: 0.7; text-decoration: none; }

/* Footer nav columns */
.sintrel-footer__nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.sintrel-footer__nav-list li a { font-size: 1rem; font-weight: 600; color: var(--sintrel-black); }
.sintrel-footer__nav-list li a:hover { text-decoration: underline; }

/* Bottom bar */
.sintrel-footer__bottom {
  border-top: 1px solid var(--sintrel-border);
  padding: 1.5rem 0;
}
.sintrel-footer__bottom-inner {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  flex-wrap:       wrap;
  gap:             1rem;
}
.sintrel-footer__copy { font-size: 0.875rem; color: var(--sintrel-text-primary); }
.sintrel-footer__legal-list { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.sintrel-footer__legal-list li a {
  font-size:       0.875rem;
  text-decoration: underline;
  color:           var(--sintrel-black);
}

/* ══════════════════════════════════════════════════════════
   7. Hero / Page Banner
   ══════════════════════════════════════════════════════════ */

.sintrel-hero {
  position:       relative;
  min-height:     520px;
  background:     var(--sintrel-bg-dark) center/cover no-repeat;
  display:        flex;
  align-items:    center;
  padding:        5rem 0;
  overflow:       hidden;
}
.sintrel-hero::before {
  content:    '';
  position:   absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index:    1;
}
.sintrel-hero .sintrel-container { position: relative; z-index: 2; }

.sintrel-hero--home { min-height: 900px; }
.sintrel-hero--page { min-height: 280px; }

.sintrel-hero__content { max-width: 560px; }

.sintrel-hero__tagline {
  font-size:   0.875rem;
  font-weight: 600;
  color:       rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}
.sintrel-hero__title {
  font-size:   clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color:       var(--sintrel-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.sintrel-hero__text {
  font-size:     1.125rem;
  line-height:   1.75;
  color:         rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
}
.sintrel-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   8. Section Blocks (Layout)
   ══════════════════════════════════════════════════════════ */

/* About / Layout 53 - two col with icon list */
.sintrel-layout__subheading {
  font-size:   1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.sintrel-layout__title {
  font-size:   clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.sintrel-layout__text { font-size: 1.125rem; line-height: 1.75; color: var(--sintrel-text-primary); }

/* Icon list (Akkreditierter Partner / Persönlicher Support) */
.sintrel-icon-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 0.5rem 0;
  margin-top: 1.5rem;
}
.sintrel-icon-item { display: flex; gap: 1rem; }
.sintrel-icon-item__icon { flex-shrink: 0; width: 32px; height: 32px; }
.sintrel-icon-item__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.sintrel-icon-item__text { font-size: 1rem; line-height: 1.6; }

/* Service cards (Kalibrierung / Reparatur / Beratung) */
.sintrel-service-card { display: flex; flex-direction: column; gap: 1.5rem; }
.sintrel-service-card__img {
  width: 100%;
  aspect-ratio: 416 / 160;
  object-fit: cover;
  background: var(--sintrel-gray-lighter);
}
.sintrel-service-card__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.sintrel-service-card__text { font-size: 1rem; line-height: 1.6; }

/* Process / Ablauf list */
.sintrel-process ol { padding-left: 1.25rem; counter-reset: process; list-style: none; }
.sintrel-process li { counter-increment: process; margin-bottom: 1rem; padding-left: 0.5rem; }
.sintrel-process li::before { content: counter(process) '. '; font-weight: 700; }

/* Team members */
.sintrel-team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.sintrel-team-card { display: flex; flex-direction: column; gap: 1rem; }
.sintrel-team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--sintrel-gray-lighter);
  object-fit: cover;
  overflow: hidden;
}
.sintrel-team-card__name  { font-size: 1rem; font-weight: 700; }
.sintrel-team-card__role  { font-size: 0.875rem; color: var(--sintrel-gray-neutral); }
.sintrel-team-card__text  { font-size: 0.9375rem; line-height: 1.6; }
.sintrel-team-card__social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.sintrel-team-card__social a { color: var(--sintrel-black); }

/* ══════════════════════════════════════════════════════════
   9. Product Cards
   ══════════════════════════════════════════════════════════ */

.sintrel-product-card {
  display:        flex;
  flex-direction: column;
  gap:            1rem;
}
.sintrel-product-card__img-wrap {
  width: 100%;
  aspect-ratio: 304 / 365;
  overflow: hidden;
  background: var(--sintrel-gray-lighter);
}
.sintrel-product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sintrel-product-card:hover .sintrel-product-card__img { transform: scale(1.03); }

.sintrel-product-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.sintrel-product-card__info { flex: 1; }
.sintrel-product-card__name { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.sintrel-product-card__desc { font-size: 0.875rem; color: var(--sintrel-text-primary); margin-top: 0.25rem; line-height: 1.4; }
.sintrel-product-card__price { font-size: 1.25rem; font-weight: 600; white-space: nowrap; }

/* WooCommerce ul.products override */
ul.products {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  list-style: none;
  padding: 0;
}
ul.products li.product { display: flex; flex-direction: column; gap: 1rem; }
ul.products li.product a.woocommerce-loop-product__link { display: block; }
ul.products li.product img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--sintrel-gray-lighter); }
ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; font-weight: 600; margin-top: 0.75rem; }
ul.products li.product .price { font-size: 1.125rem; font-weight: 600; }
ul.products li.product .button {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--sintrel-black);
  font-size: 1rem;
  text-align: center;
  transition: background var(--sintrel-transition);
}
ul.products li.product .button:hover { background: var(--sintrel-black); color: var(--sintrel-white); text-decoration: none; }

/* ══════════════════════════════════════════════════════════
   10. Partner Logos
   ══════════════════════════════════════════════════════════ */

.sintrel-partners {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem 2rem;
  align-items: center;
}
.sintrel-partner-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}
.sintrel-partner-logo img { height: 28px; width: auto; }

/* ══════════════════════════════════════════════════════════
   11. FAQ Accordion
   ══════════════════════════════════════════════════════════ */

.sintrel-faq { display: flex; gap: 4rem; }
.sintrel-faq__intro { max-width: 320px; flex-shrink: 0; }
.sintrel-faq__intro h2 { font-size: clamp(2rem,3.5vw,3rem); margin-bottom: 1rem; }
.sintrel-faq__intro p  { font-size: 1rem; line-height: 1.6; }
.sintrel-faq__list { flex: 1; }

.sintrel-faq__item {
  border: 1px solid var(--sintrel-border);
  border-radius: var(--sintrel-radius-sm);
  margin-bottom: 0.75rem;
}
.sintrel-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--sintrel-black);
  gap: 1rem;
}
.sintrel-faq__question:hover { background: var(--sintrel-gray-lightest); }
.sintrel-faq__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  transition: transform var(--sintrel-transition);
}
.sintrel-faq__item--open .sintrel-faq__icon { transform: rotate(45deg); }
.sintrel-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
}
.sintrel-faq__item--open .sintrel-faq__answer {
  max-height: 500px;
  padding: 0 1.25rem 1rem;
}

/* ══════════════════════════════════════════════════════════
   12. CTA Banner (dark / grey background)
   ══════════════════════════════════════════════════════════ */

.sintrel-cta-banner {
  background: var(--sintrel-bg-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.sintrel-cta-banner .sintrel-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.sintrel-cta-banner__content { flex: 1; }
.sintrel-cta-banner__title {
  font-size: clamp(1.75rem,3vw,2.5rem);
  font-weight: 700;
  color: var(--sintrel-white);
  margin-bottom: 0.75rem;
}
.sintrel-cta-banner__text { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.sintrel-cta-banner__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
}
/* Avatar + phone */
.sintrel-cta-banner__person { display: flex; align-items: center; gap: 1rem; }
.sintrel-cta-banner__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,0.2);
}
.sintrel-cta-banner__phone { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.sintrel-cta-banner__phone strong { display: block; color: var(--sintrel-white); font-size: 1rem; }

/* ══════════════════════════════════════════════════════════
   13. Breadcrumbs
   ══════════════════════════════════════════════════════════ */

.sintrel-breadcrumb {
  display:     flex;
  align-items: center;
  flex-wrap:   wrap;
  gap:         0.25rem;
  padding:     1.25rem 0;
  font-size:   0.875rem;
}
.sintrel-breadcrumb__item a { color: var(--sintrel-black); }
.sintrel-breadcrumb__item a:hover { text-decoration: underline; }
.sintrel-breadcrumb__sep { flex-shrink: 0; opacity: 0.5; }
.sintrel-breadcrumb__item:last-child { font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   14. Forms (general)
   ══════════════════════════════════════════════════════════ */

.sintrel-input,
.sintrel-select,
.sintrel-textarea {
  width:         100%;
  padding:       0.625rem 0.75rem;
  font-size:     1rem;
  border:        1px solid var(--sintrel-border);
  border-radius: var(--sintrel-radius-sm);
  background:    var(--sintrel-white);
  color:         var(--sintrel-black);
  transition:    border-color var(--sintrel-transition);
  outline:       none;
}
.sintrel-input:focus,
.sintrel-select:focus,
.sintrel-textarea:focus { border-color: var(--sintrel-black); }

.sintrel-form-group { margin-bottom: 1.25rem; }
.sintrel-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }

/* Search form */
.search-form { display: flex; gap: 0.5rem; }
.search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--sintrel-border);
  border-radius: var(--sintrel-radius-sm);
  font-size: 1rem;
}
.search-submit {
  padding: 0.5rem 1rem;
  background: var(--sintrel-black);
  color: var(--sintrel-white);
  border: none;
  border-radius: var(--sintrel-radius-sm);
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════
   15. Utility
   ══════════════════════════════════════════════════════════ */

.u-text-center { text-align: center; }
.u-mt-4  { margin-top: 1rem; }
.u-mt-8  { margin-top: 2rem; }
.u-mb-4  { margin-bottom: 1rem; }
.u-mb-8  { margin-bottom: 2rem; }
.u-pt-4  { padding-top: 1rem; }
.u-divider { border: none; border-top: 1px solid var(--sintrel-border); margin: 2rem 0; }

.sintrel-placeholder-img {
  width: 100%; height: 100%;
  background: var(--sintrel-gray-lighter);
  display: flex; align-items: center; justify-content: center;
  color: var(--sintrel-gray-medium);
}

/* 404 page */
.sintrel-main--404 { padding: 7rem 0; }
.sintrel-404 { max-width: 560px; }
.sintrel-404__tagline { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.sintrel-404__title { font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.sintrel-404__text  { font-size: 1.125rem; margin-bottom: 2rem; }

/* ══════════════════════════════════════════════════════════
   16. Responsive
   ══════════════════════════════════════════════════════════ */

/* ─── 1200px: tighter horizontal padding ────────────────── */
@media (max-width: 1200px) {
  :root { --container-padding: 24px; }
  .sintrel-footer__inner { grid-template-columns: 3fr 2fr; }
}

/* ─── 1024px: tablet ────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Header */
  .sintrel-nav,
  .sintrel-header__search-toggle::after { display: none; }
  .sintrel-header__burger { display: flex; }

  /* Section padding */
  .sintrel-section     { padding-top: 5rem; padding-bottom: 5rem; }
  .sintrel-section--sm { padding-top: 2.5rem; padding-bottom: 2.5rem; }

  /* Hero */
  .sintrel-hero--home { min-height: 600px; }

  /* PHP-rendered grid layouts */
  .sintrel-two-col    { grid-template-columns: 1fr; gap: 3rem; }
  .sintrel-three-col  { grid-template-columns: 1fr 1fr; }
  .sintrel-icon-list  { grid-template-columns: 1fr; }
  ul.products         { grid-template-columns: 1fr 1fr; }
  .sintrel-team-grid  { grid-template-columns: 1fr 1fr; }
  .sintrel-faq        { flex-direction: column; }
  .sintrel-faq__intro { max-width: 100%; }
  .sintrel-cta-banner .sintrel-container { flex-direction: column; }
  .sintrel-partners   { grid-template-columns: repeat(2, 1fr); }
  .sintrel-footer__inner { grid-template-columns: 1fr; }
  .sintrel-footer__links { gap: 2rem; }

  /* Elementor: 2-col outer sections (50/60/40) → stack to 1 column */
  .elementor-top-column.elementor-col-50,
  .elementor-top-column.elementor-col-60,
  .elementor-top-column.elementor-col-40 { width: 100% !important; }

  /* Elementor: 3-col outer sections (33/34) → 2 per row */
  .elementor-top-column.elementor-col-33,
  .elementor-top-column.elementor-col-34 { width: 50%  !important; }

  /* Elementor: 4-col process steps (25) → 2 per row */
  .elementor-top-column.elementor-col-25 { width: 50%  !important; }

  /* Elementor: inner 3-col service cards (33/34) → 2 per row */
  .elementor-inner-column.elementor-col-33,
  .elementor-inner-column.elementor-col-34 { width: 50% !important; }

  /* Elementor: inner 2-col contact/image (40/60) → stack */
  .elementor-inner-column.elementor-col-40,
  .elementor-inner-column.elementor-col-60 { width: 100% !important; }

  /* Elementor: reduce section vertical padding */
  .elementor-section.elementor-top-section {
    padding-top:    4rem !important;
    padding-bottom: 4rem !important;
  }
}

/* ─── 768px: mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --container-padding: 16px; }

  /* Section padding */
  .sintrel-section { padding-top: 4rem; padding-bottom: 4rem; }

  /* Hero */
  .sintrel-hero        { min-height: 400px; }
  .sintrel-hero--home  { min-height: 480px; }
  .sintrel-hero--page  { min-height: 200px; }
  .sintrel-hero__content { max-width: 100%; }

  /* PHP-rendered grid layouts */
  .sintrel-three-col            { grid-template-columns: 1fr; }
  ul.products                   { grid-template-columns: 1fr 1fr; }
  .sintrel-team-grid            { grid-template-columns: 1fr; }
  .sintrel-footer__inner        { grid-template-columns: 1fr; gap: 2rem; }
  .sintrel-footer__bottom-inner { flex-direction: column; text-align: center; }
  .sintrel-partners             { grid-template-columns: 1fr 1fr; }

  /* Elementor: all columns stack to full width */
  .elementor-column { width: 100% !important; }

  /* Elementor: reduce section padding */
  .elementor-section.elementor-top-section {
    padding-top:    3rem !important;
    padding-bottom: 3rem !important;
  }

  /* "Kompetente Beratung" 4-card info grid: let grid items shrink and
     wrap long German words instead of overflowing the 2nd column */
  .bs-info-grid > div { min-width: 0; }
  .bs-info-grid > div > div { overflow-wrap: break-word; }

  /* "Kalibrierung / Reparatur / Beratung" 3-card grid: stack vertically */
  .bs-grid { grid-template-columns: 1fr !important; }

  /* "Was wir kalibrieren" 3-card grid: stack vertically */
  .sintrel-kalib-grid { grid-template-columns: 1fr !important; }

  /* "Unser Beratungsprozess" 4-step process grid: stack vertically */
  .bs-process-grid { grid-template-columns: 1fr !important; }

  /* Elementor hero <h1> headings: templates set a fixed 48-72px custom
     font-size with no mobile override, causing huge/overflowing titles */
  h1.elementor-heading-title { font-size: clamp(1.75rem, 8vw, 2.5rem) !important; }

  /* Elementor section <h2> headings: match the h1 mobile size so all
     headings feel consistent in scale */
  h2.elementor-heading-title { font-size: clamp(1.75rem, 8vw, 2.5rem) !important; }

  /* Elementor <h3> headings: scale down on mobile */
  h3.elementor-heading-title { font-size: clamp(1.25rem, 6vw, 1.5rem) !important; }

  /* Elementor <h4> "eyebrow" labels: cap at their current 14px, shrink further on small screens */
  h4.elementor-heading-title { font-size: clamp(0.875rem, 4vw, 1rem) !important; }
}

/* ─── 480px: small mobile ───────────────────────────────── */
@media (max-width: 480px) {
  /* Hero */
  .sintrel-hero__actions { flex-direction: column; }
  .sintrel-hero--home    { min-height: 380px; }
  .sintrel-hero__actions .sintrel-btn { width: 100%; justify-content: center; }

  /* PHP-rendered layouts */
  ul.products            { grid-template-columns: 1fr; }
  .sintrel-partners      { grid-template-columns: 1fr; }
  .sintrel-footer__links { flex-direction: column; gap: 2rem; }

  /* Elementor: minimal section padding */
  .elementor-section.elementor-top-section {
    padding-top:    2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* ══════════════════════════════════════════════════════════
   17. Elementor full-width overrides
   ══════════════════════════════════════════════════════════ */

/* Ensure Elementor sections span the full viewport width */
.elementor-section.elementor-section-stretched {
  width:       100vw    !important;
  margin-left: calc( 50% - 50vw ) !important;
}

/* Cap Elementor inner container to our 1440-px design grid */
.elementor-top-section > .elementor-container,
.elementor-section > .elementor-container {
  max-width: 1440px;
  flex-wrap: wrap; /* allow columns to reflow at responsive breakpoints */
}

/* Prevent columns from overflowing their flex container */
.elementor-column { min-width: 0; }

/* Remove Elementor default section padding that conflicts with our design */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1440px;
}

/* Elementor Page title / breadcrumb area */
.elementor-page-title .elementor-heading-title { word-break: break-word; }

/* Prevent long German compound words (e.g. "Beratungsprozess") from
   overflowing the viewport at large custom font sizes on mobile */
.elementor-widget-heading .elementor-heading-title { overflow-wrap: break-word; }

/* Elementor-generated columns should never exceed 100% */
.elementor-col-100 { width: 100% !important; }

/* ══════════════════════════════════════════════════════════
   18. Block Editor align-wide / align-full
   ══════════════════════════════════════════════════════════ */

.alignwide {
  max-width: calc( var(--container-max) + 128px );
  margin-left:  auto;
  margin-right: auto;
}

.alignfull {
  width:        100vw;
  max-width:    100vw;
  margin-left:  calc( 50% - 50vw );
  margin-right: calc( 50% - 50vw );
}

/* WooCommerce shop page should use full available width */
.woocommerce-page .sintrel-main,
.woocommerce .sintrel-main {
  width: 100%;
}

/* ══════════════════════════════════════════════════════════
   19. Contact Form 7 - Sintrel Styling
   (gilt für Kontakt- UND Beratungsformular)
   ══════════════════════════════════════════════════════════ */

.sintrel-cf7-form { max-width: 860px; }

.sintrel-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.sintrel-cf7-row--full { grid-template-columns: 1fr; }

.sintrel-cf7-field {
  display: flex;
  flex-direction: column;
}
.sintrel-cf7-field label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #000;
}

/* Inputs, Textarea, Select */
.sintrel-cf7-form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not(.wpcf7-acceptance) {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--sintrel-font-sans);
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  background: #ffffff;
  color: #000;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.sintrel-cf7-form .wpcf7-form-control:not([type="submit"]):focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(245,195,0,0.2);
}

/* Select dropdown arrow */
.sintrel-cf7-form .wpcf7-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.sintrel-cf7-form .wpcf7-textarea {
  resize: vertical;
  min-height: 150px;
}

/* Acceptance / Checkbox */
.sintrel-cf7-field--checkbox { margin-top: 0.5rem; }
.sintrel-cf7-form .wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #444;
  margin: 0;
}
.sintrel-cf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #F5C300;
  cursor: pointer;
}
.sintrel-cf7-form .wpcf7-acceptance a {
  color: #000;
  text-decoration: underline;
}

/* Submit button */
.sintrel-cf7-submit { margin-top: 0.5rem; }
.sintrel-cf7-form .wpcf7-submit {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: #F5C300;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--sintrel-font-sans);
  border: 2px solid #F5C300;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sintrel-cf7-form .wpcf7-submit:hover {
  background: #000;
  color: #F5C300;
  border-color: #000;
}

/* Validation */
.sintrel-cf7-form .wpcf7-not-valid-tip {
  color: #cc0000;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.sintrel-cf7-form .wpcf7-not-valid {
  border-color: #cc0000 !important;
}

/* Response messages */
.sintrel-cf7-form .wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 2px;
  font-size: 0.9rem;
  border: none;
}
.sintrel-cf7-form .wpcf7-mail-sent-ok {
  background: #F5C300;
  color: #000;
  font-weight: 600;
}
.sintrel-cf7-form .wpcf7-mail-sent-ng,
.sintrel-cf7-form .wpcf7-spam-blocked,
.sintrel-cf7-form .wpcf7-validation-errors {
  background: #fff0f0;
  color: #cc0000;
}

/* Responsive */
@media (max-width: 640px) {
  .sintrel-cf7-row { grid-template-columns: 1fr; }
}

 
/* ══════════════════════════════════════════════════════════
   22. Footer - Sintrel Design
   ══════════════════════════════════════════════════════════ */
 
/* CTA Bar */
.sintrel-footer__cta {
  background: #F5C300;
  padding: 1.25rem 0;
}
.sintrel-footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.sintrel-footer__cta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(0,0,0,0.6);
  margin-bottom: 0.2rem;
}
.sintrel-footer__cta-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
}
.sintrel-footer__cta-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #000;
  color: #F5C300;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.sintrel-footer__cta-btn:hover {
  background: #1a1a1a;
}
 
/* Main footer */
.sintrel-footer__main {
  background: #111111;
  padding: 4rem 0 3rem;
}
.sintrel-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
 
/* Brand column */
.sintrel-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.sintrel-footer__logo img,
.sintrel-footer__logo svg {
  height: 36px;
  width: auto;
}
.sintrel-footer__tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F5C300;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.sintrel-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}
.sintrel-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.sintrel-footer__contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}
.sintrel-footer__contact-item span,
.sintrel-footer__contact-item a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}
.sintrel-footer__contact-item a:hover {
  color: #F5C300;
}
 
/* Social icons */
.sintrel-footer__social {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sintrel-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.sintrel-footer__social-link:hover {
  background: #F5C300;
  color: #000;
}
 
/* Nav columns */
.sintrel-footer__nav-col {
  display: flex;
  flex-direction: column;
}
.sintrel-footer__nav-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #F5C300;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #2a2a2a;
}
.sintrel-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.sintrel-footer__nav-list li a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}
.sintrel-footer__nav-list li a:hover {
  color: #F5C300;
}
.sintrel-footer__nav-list--partners li {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
}
 
/* Accreditation badges */
.sintrel-footer__accred {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.sintrel-footer__accred span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #F5C300;
  border: 1px solid rgba(245,195,0,0.4);
  padding: 0.2rem 0.625rem;
  letter-spacing: 0.5px;
}
 
/* Bottom bar */
.sintrel-footer__bottom {
  background: #000000;
  border-top: 1px solid #1a1a1a;
  padding: 1.25rem 0;
}
.sintrel-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.sintrel-footer__copy {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}
.sintrel-footer__legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.sintrel-footer__legal-list li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.sintrel-footer__legal-list li a:hover {
  color: #F5C300;
}
 
/* Responsive */
@media (max-width: 1024px) {
  .sintrel-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 640px) {
  .sintrel-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sintrel-footer__cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .sintrel-footer__cta-btn {
    width: 100%;
    text-align: center;
  }
}
/* Account icon in header */
.sintrel-header__account-icon {
  display: flex;
  align-items: center;
  color: var(--sintrel-black);
  text-decoration: none;
}
.sintrel-header__account-icon:hover { color: var(--sintrel-yellow); }

/* -----------------------------------------------------------------------
 * Home-Hero (Elementor-Sektion mit Klasse .snt-hero)
 * Text links, Gebaeudebild rechts. Elementor-Widgets liegen in einem
 * Flex-Wrap, darum steuern wir Breite und Abstaende hier zentral.
 * -------------------------------------------------------------------- */
/* Luft zwischen der eng gesetzten H1 und dem Lead-Text; die Spezifitaet muss
   ueber Elementors "space_between_widgets" liegen. */
.snt-hero .elementor-widget-wrap > .elementor-widget.elementor-widget-heading {
  margin-bottom: 2rem;
}

/* Lesbare Zeilenlaenge fuer den Lead-Text. */
.snt-hero .elementor-widget-text-editor { max-width: 62ch; }

/* Beide CTAs nebeneinander statt untereinander. */
.snt-hero .elementor-widget-button { width: auto; margin-top: 0.75rem; }
.snt-hero .elementor-widget-button:not(:last-child) { margin-right: 1rem; }

/* Elementor haengt an jedes Widget ausser dem letzten ein margin-bottom
   ("space_between_widgets", 20px). Da der Widget-Wrap der Hero-Sektion
   align-items:center nutzt, zentriert er die Margin-Box: der erste Button
   rutscht dadurch 10px nach oben, der zweite 10px nach unten. Margin
   entfernen, damit beide CTAs exakt auf gleicher Hoehe sitzen. Die
   Spezifitaet muss ueber Elementors Regel liegen. */
.snt-hero .elementor-widget-wrap > .elementor-widget.elementor-widget-button {
  margin-bottom: 0;
}

/* Gelbe Kante als Anschluss an die CTA-Farbe. */
.snt-hero-image img {
  display: block;
  width: 100%;
  border-bottom: 4px solid var(--sintrel-yellow);
}

@media (max-width: 767px) {
  .snt-hero .elementor-widget-button,
  .snt-hero .elementor-widget-button:not(:last-child) {
    width: 100%;
    margin-right: 0;
  }
  .snt-hero .elementor-widget-button .elementor-button { width: 100%; }
}

/* ─── Leihgeraete: Mindestmietdauer ──────────────────────────────────────
   Hinweis, den inc/rental.php dem Mietanfrage-Formular voranstellt. Bewusst
   am Dateiende, um Konflikte mit parallel laufender Arbeit klein zu halten. */
.snt-rental-notice {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  background: #f4f4f5;
  border-left: 4px solid var(--sintrel-yellow, #F5C300);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #000;
}

/* ══════════════════════════════════════════════════════════
   Newsletter-Anmeldung im Footer (inc/newsletter.php)
   Dunkles Band zwischen gelber CTA-Leiste und Haupt-Footer.
   ══════════════════════════════════════════════════════════ */

.sintrel-newsletter {
  background: #1a1a1a;
  color: var(--sintrel-white);
  padding: 3.5rem 0;
}

.sintrel-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Textspalte */
.sintrel-newsletter__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sintrel-yellow);
  margin-bottom: 0.5rem;
}
.sintrel-newsletter__title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--sintrel-white);
  margin: 0 0 0.75rem;
}
.sintrel-newsletter__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #b3b3b3;
  margin: 0;
  max-width: 46ch;
}

/* Formularspalte */
.sintrel-newsletter__row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}
.sintrel-newsletter__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1 1 auto;
  min-width: 0;
}
.sintrel-newsletter__field-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e5e5e5;
}
.sintrel-newsletter__input {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1px solid #4d4d4d;
  background: var(--sintrel-white);
  color: var(--sintrel-text-primary);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--sintrel-transition);
}
.sintrel-newsletter__input::placeholder { color: var(--sintrel-gray-medium); }
.sintrel-newsletter__input:focus { border-color: var(--sintrel-yellow); }
.sintrel-newsletter__input[aria-invalid="true"] { border-color: #ff6b6b; }

.sintrel-newsletter__btn {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.8125rem 2rem;
  background: var(--sintrel-yellow);
  color: var(--sintrel-black);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--sintrel-yellow);
  transition: background var(--sintrel-transition), color var(--sintrel-transition);
}
.sintrel-newsletter__btn:hover {
  background: var(--sintrel-white);
  border-color: var(--sintrel-white);
  text-decoration: none;
}

/* Sichtbarer Fokus auf dunklem Grund */
.sintrel-newsletter__input:focus-visible,
.sintrel-newsletter__btn:focus-visible,
.sintrel-newsletter__checkbox:focus-visible,
.sintrel-newsletter__consent a:focus-visible {
  outline: 2px solid var(--sintrel-yellow);
  outline-offset: 2px;
}

/* Datenschutz-Haekchen */
.sintrel-newsletter__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #b3b3b3;
}
.sintrel-newsletter__checkbox {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--sintrel-yellow);
}
.sintrel-newsletter__consent a {
  color: var(--sintrel-yellow);
  text-decoration: underline;
}

/* Rueckmeldung nach dem Absenden */
.sintrel-newsletter__status {
  margin-top: 0.875rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-left: 3px solid;
  background: rgba(255, 255, 255, 0.06);
}
.sintrel-newsletter__status--success {
  border-color: var(--sintrel-yellow);
  color: var(--sintrel-white);
}
.sintrel-newsletter__status--error {
  border-color: #ff6b6b;
  color: #ffc9c9;
}
/* Adresse gespeichert, aber Bestaetigungsmail nicht versendet - weder
   Erfolg noch Fehler, siehe sintrel_newsletter_status_from_exception(). */
.sintrel-newsletter__status--warning {
  border-color: #ffa94d;
  color: #ffe3bf;
}

/* Honigtopf: nicht sichtbar, aber im DOM (kein display:none - manche Bots
   ueberspringen ausgeblendete Felder). */
.sintrel-newsletter__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .sintrel-newsletter__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .sintrel-newsletter { padding: 2.5rem 0; }
  .sintrel-newsletter__title { font-size: 1.5rem; }
  .sintrel-newsletter__row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.875rem;
  }
  .sintrel-newsletter__btn { width: 100%; }
}

/* ─── "Powered by" in der Fussleiste ─────────────────────────────────────
   Bewusst am Dateiende: sintrel-main.css enthaelt das Stylesheet doppelt
   (bekannte Altlast), ein Block hier gewinnt in der Kaskade zuverlaessig. */
.sintrel-footer__by {
  display: inline-block;
  margin-left: 0.5rem;
}
.sintrel-footer__by a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.sintrel-footer__by a:hover,
.sintrel-footer__by a:focus-visible {
  color: var(--sintrel-yellow, #F5C300);
}

@media (max-width: 640px) {
  /* Auf dem Handy steht die Fussleiste ohnehin zentriert untereinander. */
  .sintrel-footer__by { display: block; margin-left: 0; margin-top: 0.25rem; }
}

/* ─── "Angefragtes Gerät" auf den Anfrageseiten ──────────────────────────
   Shortcode [sintrel_inquiry_product] aus inc/woocommerce.php.
   Bewusst am Dateiende: sintrel-main.css enthaelt das Stylesheet doppelt
   (bekannte Altlast), ein Block hier gewinnt in der Kaskade zuverlaessig.

   Optik absichtlich wie .snt-rental-notice - grauer Kasten, gelber Balken
   links -, damit Geraeteblock und Mindestmietdauer-Hinweis auf der
   Mietanfrage-Seite als Paar gelesen werden. */
.snt-inquiry-product {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: #f4f4f5;
  border-left: 4px solid var(--sintrel-yellow, #F5C300);
}
.snt-inquiry-product__label {
  margin: 0 0 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666;
}
.snt-inquiry-product__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
}
.snt-inquiry-product__name a {
  color: inherit;
  text-decoration: none;
}
.snt-inquiry-product__name a:hover,
.snt-inquiry-product__name a:focus-visible {
  text-decoration: underline;
}
.snt-inquiry-product__meta {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: #666;
}
