/* Verbraucherseite (/). Breitenschwellen wie im Entwurf, gemessen an der
   Breite des Seitenrahmens (.tp-root, container-type:inline-size):
   1100 Navigation · 900 Hero-Bild · 700 Vorteilsleiste/Kundenstimmen · 600 Hero-Auswahl */

html { scroll-behavior: smooth; }
body { background: #FFFFFF; }
details[open] > summary .tp-chev { transform: rotate(180deg); }
[data-tp-opt]:has(input:focus-visible) { outline: 2px solid #087F8C; outline-offset: 2px; }

/* Navigation: breit ab 1100 px, darunter Menü-Schaltfläche */
@container (width < 1100px) { .if-wide { display: none; } }
@container (width >= 1100px) { .if-narrow { display: none; } }

/* Hero: Bild rechts ab 900 px, darunter im Textfluss */
.tp-hero-text { max-width: 560px; }
@container (width >= 900px) {
  .tp-hero-text { max-width: 50%; }
  .if-hero-narrow { display: none; }
}
@container (width < 900px) { .if-hero-wide { display: none; } }

/* Hero-Auswahl: drei Spalten, unter 600 px eine */
.tp-hero-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@container (width < 600px) { .tp-hero-opts { grid-template-columns: minmax(0, 1fr); } }

/* Trust-Pill über der Hauptüberschrift (Hero Favorit v2) */
.tp-trust-pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; box-sizing: border-box;
  padding: 6px 14px 6px 11px;
  margin-bottom: 6px; /* + 10 px Spaltenabstand = 16 px bis zur Überschrift */
  border-radius: 999px;
  background: #EDF5F6;
  border: 1px solid #D3E7E9;
  color: #183247;
  font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: .005em;
}
.tp-trust-pill svg { flex: none; display: block; }

/* Vorteilsleiste (Hero Favorit v2): Linie oben, vier Spalten, unter 700 px zwei */
.tp-trust-bar {
  max-width: 1144px; margin: 0 auto; box-sizing: border-box;
  padding: 20px 0 4px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  border-top: 1px solid #D5DDE3;
}
@container (width < 700px) { .tp-trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tp-trust-bar li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tp-trust-bar svg { flex: none; display: block; width: 20px; height: 20px; }
.tp-trust-bar span { font-size: 16px; font-weight: 600; line-height: 1.3; color: #183247; min-width: 0; }

/* Kundenstimmen: drei Karten nebeneinander, unter 700 px Karussell */
.tp-ks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@container (width >= 700px) { .if-ks-mobile { display: none; } }
@container (width < 700px) {
  .tp-ks { grid-template-columns: minmax(0, 1fr); }
  .tp-ks-fig { grid-area: 1 / 1; }
  .tp-ks-fig:not(.is-aktiv) { visibility: hidden; }
}
