/* Was wir gebaut haben – 5 Fassungen (Dirk 02.11.): echte thoch4-Bilder statt Icons. Startseiten-Schriften. Klassen gb-. */
.pr .prm.rv section.gb-s[hidden] { display: none; }
.gb-img { margin: 0; overflow: hidden; border-radius: clamp(14px, 1.4vw, 20px); background: #111827; box-shadow: 0 30px 60px -40px rgba(11,15,6,.55); }
.gb-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gb-phs { display: flex; justify-content: center; align-items: flex-end; gap: 14px; height: 100%; }
.gb-ph { width: min(46%, 220px); margin: 0; padding: 4px; border-radius: 15% / 7%; background: #111316; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 50px -30px rgba(11,15,6,.55); }
.gb-ph .in { overflow: hidden; aspect-ratio: 600 / 1298; border-radius: 13.5% / 6.3%; background: #fff; } .gb-ph img { display: block; width: 100%; }
.gb-tx { display: grid; gap: 10px; align-content: start; }
.gb-tx small, .gb5-n { font: 500 var(--tc-fs-label)/1 var(--mono); letter-spacing: .12em; color: rgba(11,15,6,.5); }
#swup main .gb-s h3 { margin: 0; font: 800 var(--tc-fs-titel)/1.15 var(--display) !important; color: #0b0f06; }
#swup main.rv .gb-s p:not(.eyebrow):not(.rh-side) { margin: 0; font: 400 var(--tc-fs-text)/1.5 var(--display) !important; color: rgba(11,15,6,.68); }

/* 1 · Bento mit Bildern */
.gb1 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g, 14px); }
.gb1 .gb-t { display: grid; grid-template-rows: auto 1fr; gap: 22px; padding: 14px 14px 24px; border-radius: clamp(22px, 2vw, 30px); background: var(--paper); }
.gb1 .gb-t .gb-tx { padding: 0 8px; }
.gb1 .gb1-1 { grid-column: 1 / 6; } .gb1 .gb1-2 { grid-column: 6 / 13; } .gb1 .gb1-3 { grid-column: 1 / 8; } .gb1 .gb1-4 { grid-column: 8 / 13; }
.gb1 .gb1-3 .gb-phs { height: 340px; padding-top: 20px; border-radius: 18px; background: #e4e8f0; overflow: hidden; } .gb1 .gb1-3 .gb-ph { margin-bottom: -40%; }

/* 2 · Bild und Text im Wechsel */
.gb2 { display: grid; gap: clamp(40px, 5vw, 90px); }
.gb2-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.gb2-r.flip > .gb-tx { order: 2; }
.gb2-r .gb-tx { max-width: 26rem; } #swup main .gb2 h3 { font-size: var(--tc-fs-akzent) !important; font-weight: 900 !important; font-stretch: 72%; text-transform: uppercase; line-height: .92 !important; }
.gb2-r .gb-phs { height: 420px; padding-top: 30px; border-radius: 22px; background: #e4e8f0; overflow: hidden; } .gb2 .gb-ph { margin-bottom: -40%; }

/* 3 · Bildunterschriften */
.gb3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 50px); align-items: center; }
.gb3-c { display: grid; gap: clamp(40px, 6vw, 100px); } .gb3-c.r { text-align: right; } .gb3-c.r .gb-tx { justify-items: end; }
.gb3-c .gb-tx small { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #c5f74f; color: #0b0f06; }
.gb3-m { position: relative; } .gb3-m .gb-ph { position: absolute; right: -6%; bottom: -12%; width: 26%; }

/* 4 · Im thoch4-Look */
.pr .prm.rv section.gb-s.t4look { margin: clamp(80px, 8vw, 140px) calc(var(--x) * -1) 0; padding: clamp(80px, 8vw, 140px) var(--x); background: #111827 linear-gradient(rgba(59,130,246,.08) 1px, transparent 1px) 0 0 / 48px 48px, #111827; }
.t4look { background-image: linear-gradient(rgba(59,130,246,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,.08) 1px, transparent 1px) !important; background-size: 48px 48px !important; }
.t4look .eyebrow { color: #f4f5f2 !important; } .t4look .eyebrow i { box-shadow: inset 0 0 0 1.5px #3b82f6 !important; }
#swup main .t4look .rh-h2 { color: #f4f5f2; } #swup main .t4look .rh-side { color: rgba(244,245,242,.65) !important; }
.gb4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g, 14px); }
.gb4 .gb-t { display: grid; grid-template-rows: 220px auto; gap: 20px; padding: 12px 12px 22px; border-radius: 22px; background: #1b2434; box-shadow: inset 0 0 0 1px rgba(59,130,246,.18); }
.gb4 .gb-img { height: 100%; aspect-ratio: auto !important; } .gb4 .gb-phs { overflow: hidden; border-radius: 14px; background: #0e1a2b; padding-top: 16px; } .gb4 .gb-ph { margin-bottom: -60%; width: 44%; }
.gb4 .gb-tx { padding: 0 8px; } .gb4 .gb-tx small { color: #3b82f6; }
#swup main .gb4 h3 { color: #f4f5f2 !important; } #swup main.rv .gb4 p:not(.eyebrow) { color: rgba(244,245,242,.62) !important; }

/* 5 · Liste mit Bild */
.gb5 { margin: 0; padding: 0; list-style: none; border-top: 2px solid #0b0f06; }
.gb5 li { display: grid; grid-template-columns: clamp(70px, 7vw, 120px) minmax(0, 1fr) clamp(220px, 22vw, 360px); gap: clamp(20px, 3vw, 50px); align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(11,15,6,.14); transition: background .3s, padding .3s; }
.gb5 li:hover { padding-inline: 18px; background: #c5f74f; border-radius: 22px; }
.gb5-n { font: 900 var(--tc-fs-akzent)/1 var(--display) !important; font-stretch: 72%; color: transparent !important; -webkit-text-stroke: 1.5px #0b0f06; }
#swup main .gb5 h3 { font-size: var(--tc-fs-akzent) !important; font-weight: 900 !important; font-stretch: 72%; text-transform: uppercase; line-height: .92 !important; margin-bottom: 10px !important; }

@media (max-width: 960px) {
  .gb1 .gb-t { grid-column: 1 / -1 !important; } .gb2-r, .gb3, .gb4 { grid-template-columns: minmax(0, 1fr); } .gb2-r.flip > .gb-tx { order: 0; }
  .gb3-c.r { text-align: left; } .gb3-c.r .gb-tx { justify-items: start; } .gb5 li { grid-template-columns: 50px minmax(0, 1fr); } .gb5 li .gb-img { grid-column: 1 / -1; }
}
.pr .prm.rv section.gb-s.t4look { background-color: #111827 !important; }
.gb1 .gb-img { width: 100%; }
