/* =========================================================================
 * IWAG Core — Elementor-Widgets Basis-Styling
 * Bewusst zurückhaltend: liefert eine saubere, neutrale Grundoptik. Das
 * eigentliche Branding/Feintuning passiert im Theme-Styling (Woodmart) bzw.
 * über die Elementor-Style-Controls je Widget.
 * Akzentfarbe per Default Werbetechnik-Grün (#308A37) — pro Whitelabel via
 * CSS-Variable --sh-iwag-accent überschreibbar.
 * ========================================================================= */

:root {
  --sh-iwag-accent: #308A37;
  --sh-iwag-ink: #1f2a24;
  --sh-iwag-muted: #6b7280;
  --sh-iwag-line: #e5e7eb;
  --sh-iwag-radius: 12px;
}

/* ---------- USP-Leiste ---------- */
.sh-iwag-usp {
  list-style: none; margin: 0; padding: 18px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border: 1px solid var(--sh-iwag-line); border-radius: var(--sh-iwag-radius);
  background: #fff;
}
.sh-iwag-usp__item { display: flex; align-items: center; gap: 12px; }
.sh-iwag-usp__icon { font-size: 26px; line-height: 1; color: var(--sh-iwag-accent); flex: 0 0 auto; }
.sh-iwag-usp__icon svg { width: 26px; height: 26px; }
.sh-iwag-usp__body { display: flex; flex-direction: column; }
.sh-iwag-usp__title { font-weight: 700; color: var(--sh-iwag-ink); line-height: 1.2; }
.sh-iwag-usp__text { font-size: 13px; color: var(--sh-iwag-muted); }
@media (max-width: 880px) { .sh-iwag-usp { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sh-iwag-usp { grid-template-columns: 1fr; } }

/* ---------- Meine Garage ---------- */
.sh-iwag-garage__title { font-size: 22px; font-weight: 700; margin: 0 0 14px; color: var(--sh-iwag-ink); }
.sh-iwag-garage__guest {
  border: 1px dashed var(--sh-iwag-line); border-radius: var(--sh-iwag-radius);
  padding: 22px; text-align: center; background: #fafafa;
}
.sh-iwag-garage__hint { color: var(--sh-iwag-muted); margin: 0 0 14px; }
.sh-iwag-garage__cta {
  display: inline-block; padding: 11px 22px; border-radius: 8px;
  background: var(--sh-iwag-accent); color: #fff; font-weight: 700; text-decoration: none;
}
.sh-iwag-garage__cta:hover { filter: brightness(0.94); color: #fff; }

/* ---------- Werkstatt-Finder ---------- */
.sh-iwag-werkstatt__title { font-size: 22px; font-weight: 700; margin: 0 0 14px; color: var(--sh-iwag-ink); }
.sh-iwag-werkstatt__form { display: flex; gap: 10px; flex-wrap: wrap; }
.sh-iwag-werkstatt__input {
  flex: 1 1 220px; min-width: 0; padding: 12px 14px;
  border: 1px solid var(--sh-iwag-line); border-radius: 8px; font-size: 15px;
}
.sh-iwag-werkstatt__btn {
  padding: 12px 22px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--sh-iwag-accent); color: #fff; font-weight: 700;
}
.sh-iwag-werkstatt__btn:hover { filter: brightness(0.94); }
.sh-iwag-werkstatt__results { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.sh-iwag-werkstatt__empty { color: var(--sh-iwag-muted); margin: 14px 0 0; }

/* ---------- Filial-Bestand ---------- */
.sh-iwag-filial__title { font-size: 22px; font-weight: 700; margin: 0 0 14px; color: var(--sh-iwag-ink); }
.sh-iwag-filial__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sh-iwag-filial__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border: 1px solid var(--sh-iwag-line); border-radius: 8px; background: #fff;
}
.sh-iwag-filial__dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.sh-iwag-filial__dot--ok  { background: #16a34a; }
.sh-iwag-filial__dot--off { background: #cbd5e1; }
.sh-iwag-filial__name { font-weight: 600; color: var(--sh-iwag-ink); }
.sh-iwag-filial__qty { margin-left: auto; font-size: 13px; color: var(--sh-iwag-muted); }

/* ---------- Hero-Reifensuche ---------- */
.sh-iwag-hero { max-width: 560px; }
.sh-iwag-hero__header { margin: 0 0 16px; }
.sh-iwag-hero__h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; color: var(--sh-iwag-ink); }
.sh-iwag-hero__sub { margin: 0; color: var(--sh-iwag-muted); }

.sh-iwag-hero__search {
  background: #fff; border: 1px solid var(--sh-iwag-line);
  border-radius: var(--sh-iwag-radius); padding: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Tabs — NIE unterstrichen; Hover nur Farbwechsel (Website-HARD-RULE) */
.sh-iwag-hero__tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--sh-iwag-line); padding: 4px 6px 0; }
.sh-iwag-hero__tabs .tab {
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 10px 12px; font: inherit; font-weight: 600; color: var(--sh-iwag-muted);
  cursor: pointer; text-decoration: none !important; border-radius: 6px 6px 0 0;
}
.sh-iwag-hero__tabs a.tab:hover { color: var(--sh-iwag-accent); background: #f5f7f6; }
.sh-iwag-hero__tabs .tab.is-active { color: var(--sh-iwag-accent); border-bottom-color: var(--sh-iwag-accent); }

.sh-iwag-hero__form { padding: 14px 12px 16px; display: grid; gap: 12px; }
.sh-iwag-hero__row { display: grid; gap: 12px; }
.sh-iwag-hero__row--2 { grid-template-columns: 1fr 1fr; }
.sh-iwag-hero__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.sh-iwag-hero__field { display: grid; gap: 4px; }
.sh-iwag-hero__label { font-size: 12px; color: var(--sh-iwag-muted); }
.sh-iwag-hero__field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--sh-iwag-line);
  border-radius: 8px; background: #fff; font: inherit; color: var(--sh-iwag-ink);
}
.sh-iwag-hero .cta-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--sh-iwag-accent); color: #fff; border: 0; border-radius: 999px;
  padding: 13px 22px; font: inherit; font-weight: 700; cursor: pointer;
  text-decoration: none !important; width: fit-content;
}
.sh-iwag-hero .cta-primary:hover { filter: brightness(.95); }

@media (max-width: 540px) {
  .sh-iwag-hero__row--2, .sh-iwag-hero__row--3 { grid-template-columns: 1fr; }
}
