/* ===== Gewerke- und Orts-Seiten (Präfix gw-), baut auf home-neu.css + list-neu.css ===== */
.gw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gw-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #ddd; text-decoration: none; isolation: isolate; box-shadow: var(--hn-shadow); }
.gw-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gw-tile:hover img { transform: scale(1.06); }
.gw-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,14,30,0) 35%, rgba(11,14,30,.86)); }
.gw-tile span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-weight: 800; font-size: 15px; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.gw-tile small { display: block; font-weight: 600; font-size: 12px; color: #d5d9f0; margin-top: 2px; }
.gw-group { margin-top: 44px; }
.gw-group h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.gw-list { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-list a { padding: 9px 14px; border-radius: 100px; background: #fff; border: 1px solid var(--hn-line); color: var(--hn-ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: all .15s ease; }
.gw-list a:hover { border-color: #ef4444; color: #c2410c; }
.gw-list a b { color: var(--hn-faint); font-weight: 700; margin-left: 4px; }
.gw-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--hn-shadow-lg); max-width: 640px; }
.gw-search input { border: 0; outline: 0; background: var(--hn-bg-soft); border-radius: 12px; padding: 15px 14px; font: inherit; font-size: 15px; }

.gw-layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.gw-main { display: grid; gap: 22px; min-width: 0; }
.gw-side { display: grid; gap: 16px; position: sticky; top: 90px; }
.gw-sec { background: #fff; border: 1px solid var(--hn-line); border-radius: 22px; padding: 26px; }
.gw-sec h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.gw-sec h2 small { font-size: 14px; color: var(--hn-faint); font-weight: 600; margin-left: 8px; }
.gw-text { color: var(--hn-soft); line-height: 1.65; font-size: 15.5px; }
.gw-faq details { border-bottom: 1px solid var(--hn-line); padding: 12px 0; }
.gw-faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.gw-faq summary::after { content: '+'; color: #c2410c; font-weight: 800; }
.gw-faq details[open] summary::after { content: '–'; }
.gw-faq p { margin: 10px 0 0; color: var(--hn-soft); line-height: 1.6; font-size: 14.5px; }
.gw-box { background: #fff; border: 1px solid var(--hn-line); border-radius: 20px; padding: 22px; }
.gw-box--dark { background: var(--hn-dark); color: #fff; border-color: transparent; }
.gw-box h3 { margin: 0 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #c2410c; }
.gw-box--dark h3 { color: #fca5a5; }
.gw-box p { margin: 0 0 14px; color: var(--hn-soft); font-size: 14.5px; line-height: 1.5; }
.gw-box--dark p { color: #b6bcdc; }
.gw-box .hn-btn { width: 100%; }
.gw-rw { display: grid; gap: 8px; }
.gw-rw div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 12px; border: 1px solid var(--hn-line); border-radius: 12px; font-size: 14.5px; }
.gw-rw b { color: #c2410c; white-space: nowrap; }
.gw-rw small { display: block; color: var(--hn-faint); font-size: 12.5px; }
.gw-jobs { display: grid; gap: 10px; }
.gw-jobs a { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 14px; border: 1px solid var(--hn-line); border-radius: 14px; text-decoration: none; color: inherit; }
.gw-jobs a:hover { border-color: #d9d2e0; }
.gw-jobs b { display: block; font-size: 15px; }
.gw-jobs small { color: var(--hn-faint); }
.gw-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-chip-list a { padding: 8px 13px; border-radius: 100px; background: var(--hn-bg-soft); color: var(--hn-ink); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.gw-chip-list a:hover { background: #e9e4ee; }
.gw-co { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gw-co a { display: grid; grid-template-columns: 120px 1fr; gap: 14px; border: 1px solid var(--hn-line); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.gw-co a:hover { transform: translateY(-3px); box-shadow: var(--hn-shadow); }
.gw-co img.gw-co-img { width: 120px; height: 100%; min-height: 120px; object-fit: cover; }
.gw-co div { padding: 12px 14px 12px 0; min-width: 0; }
.gw-co b { display: block; font-size: 15.5px; line-height: 1.25; }
.gw-co small { color: var(--hn-faint); display: block; margin-top: 2px; }
.gw-co .gw-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.gw-co .gw-badges span { padding: 3px 8px; border-radius: 100px; font-size: 11px; font-weight: 800; background: #ecfdf5; color: #047857; }
.gw-co .gw-badges span.prem { background: #fef3c7; color: #b45309; }
.gw-co .gw-badges span.star { background: #f4f1ec; color: var(--hn-ink); }
.gw-orte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gw-orte a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--hn-line); border-radius: 14px; background: #fff; text-decoration: none; color: inherit; font-weight: 700; }
.gw-orte a:hover { border-color: #ef4444; }
.gw-orte a b { color: var(--hn-faint); font-weight: 700; }
@media (max-width: 1080px) { .gw-layout { grid-template-columns: 1fr; } .gw-side { position: static; } .gw-grid { grid-template-columns: repeat(3, 1fr); } .gw-orte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gw-grid { grid-template-columns: repeat(2, 1fr); } .gw-co { grid-template-columns: 1fr; } .gw-orte { grid-template-columns: 1fr; } .gw-sec { padding: 18px; } .gw-search { grid-template-columns: 1fr; } }
