/* Produkte-Übersicht: zwei gleichwertige Karten und die GS WC Series als Tabelle. */

.familien { background: var(--papier); padding: clamp(2rem, 4vw, 3rem) var(--rand) clamp(3rem, 6vw, 4.5rem); }
.familien__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.familie { display: flex; flex-direction: column; min-width: 0; background: var(--weiss); border: 1px solid var(--linie); }
.familie__bild { display: block; background: var(--grund); }
.familie__bild img { display: block; width: 100%; height: clamp(11rem, 18vw, 16rem); object-fit: cover; }
.familie__text { flex: 1; padding: 1.5rem clamp(1.25rem, 2.5vw, 2rem) 1.75rem; }
.familie h2 { font-size: var(--t-h2); line-height: 1.1;  font-weight: 600; }
.familie__text > p { margin-top: .8rem; max-width: 34rem; color: var(--tinte-2); }
.familie__link { display: inline-block; margin-top: 1.1rem; }

.gwc { background: var(--weiss); padding: clamp(3rem, 6vw, 4.5rem) var(--rand); }
.gwc h2 { font-size: var(--t-h2); font-weight: 600;  line-height: 1.1; }
.gwc__fuss { margin-top: 1.25rem; max-width: 40rem; color: var(--tinte-2); }

@media (max-width: 800px) { .familien__raster { grid-template-columns: minmax(0, 1fr); } }

/* ---- Tabellen aus dem Textdokument (mobil gestapelt) ---- */
.tab-s { margin-top: clamp(1.25rem, 3vw, 2rem); max-width: 56rem; overflow-x: auto; }
.tab-s table { width: 100%; border-collapse: collapse; font-size: var(--t-text); }
.tab-s th, .tab-s td { text-align: left; padding: .9rem 1.5rem .9rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tab-s thead th { font-size: var(--t-klein); font-weight: 500; color: var(--tinte-2); border-bottom-color: var(--tinte); }
.tab-s tbody th { }
.tab-s td { color: var(--tinte-2); }
@media (max-width: 640px) {
  .tab-s--3 table, .tab-s--3 tbody, .tab-s--3 tr, .tab-s--3 th, .tab-s--3 td { display: block; }
  .tab-s--3 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tab-s--3 tbody tr { padding: .85rem 0; border-bottom: 1px solid var(--linie); }
  .tab-s--3 th, .tab-s--3 td { padding: 0; border: 0; }
  .tab-s--3 td { margin-top: .3rem; }
  .tab-s--3 td::before { content: attr(data-l) ": "; font-weight: 400; color: var(--tinte-2); }
}

/* ---- Zwei Produktwelten (V12-Gliederung, eigenes Design) ---- */
.welt__kopf { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.welt__marke { margin: 0 0 .35rem; font-size: var(--t-klein); font-weight: 500;   color: var(--tinte-2); }
.welt__kopf h2 { font-size: var(--t-h2); line-height: 1.1;  font-weight: 600; }
.familien + .familien { padding-top: 0; }
.familien .familie h3 { font-size: var(--t-h2); line-height: 1.1;  font-weight: 600; }
.familie__text > p + p { margin-top: .8rem; }
.familie__text .knopf { margin-top: 1.25rem; }

.familien__raster { align-items: stretch; }
.welt__weitere { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); min-width: 0; }
.weitere { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 1.5rem clamp(1.25rem, 2.5vw, 2rem); background: var(--weiss); border: 1px solid var(--linie); }
.weitere h3 { font-size: var(--t-h3); line-height: 1.15; font-weight: 600;  }
.weitere p { margin-top: .6rem; max-width: 30rem; color: var(--tinte-2); }
.weitere__link { margin-top: 1rem; }

.familie--breit { flex-direction: row; }
.familie--breit .familie__bild { flex: 0 0 34%; }
.familie--breit .familie__bild img { height: 100%; min-height: 16rem; }
.familie--breit .familie__text > p { max-width: 46rem; }
.familie__zweier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); }
.familie__zweier h4 { margin: 0; font-size: var(--t-h3); line-height: 1.15; font-weight: 600;  }
.familie__zweier p { margin-top: .6rem; color: var(--tinte-2); }

.gwc__knopf { margin-top: 1.5rem; }
.gwc > p { margin-top: 1rem; max-width: 40rem; color: var(--tinte-2); }

@media (max-width: 1000px) {
  .familie--breit { flex-direction: column; }
  .familie--breit .familie__bild img { height: clamp(11rem, 30vw, 16rem); min-height: 0; }
}
@media (max-width: 800px) {
  .welt__weitere { grid-template-rows: none; }
  .familie__zweier { grid-template-columns: minmax(0, 1fr); }
}
