/* ===== 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 { scroll-margin-top: 90px; }
.gw-group h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.gw-group h2 small { font-size: 14px; font-weight: 700; color: var(--hn-faint); margin-left: 6px; }

/* Übersicht: Suche im Kopfbereich, Sprungleiste, Bildkarten je Gruppe */
.gw-top { padding-bottom: 64px; }
.gw-top .gw-search { position: relative; grid-template-columns: 1fr auto; align-items: center; max-width: 720px; margin-top: 28px; padding: 8px; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.gw-top .gw-search input { width: 100%; min-width: 0; padding: 15px 14px 15px 44px; background: transparent; border-radius: 10px; color: var(--hn-ink); font-size: 16px; -webkit-appearance: none; appearance: none; }
.gw-top .gw-search input::-webkit-search-cancel-button { cursor: pointer; }
.gw-top .gw-search input:focus { background: var(--hn-bg-soft); }
.gw-top .gw-search .hn-btn { padding: 14px 26px; }
.gw-search-ico { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--hn-faint); pointer-events: none; }
.gw-hero-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.gw-hero-links a { color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; opacity: .88; }
.gw-hero-links a:hover { opacity: 1; text-decoration: underline; }
.gw-jump { display: flex; gap: 8px; overflow-x: auto; padding: 22px 0 4px; scrollbar-width: none; }
.gw-jump::-webkit-scrollbar { display: none; }
.gw-jump a { flex: 0 0 auto; padding: 8px 14px; border-radius: 100px; background: #fff; border: 1px solid var(--hn-line); color: var(--hn-soft); font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.gw-jump a:hover { border-color: #ef4444; color: #c2410c; }
.gw-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gw-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hn-line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--hn-ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.gw-card:hover { transform: translateY(-3px); box-shadow: var(--hn-shadow); border-color: #e5dfe9; }
.gw-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #e9e6ee; }
.gw-card span { display: block; padding: 10px 12px 12px; }
.gw-card b { display: block; font-size: 14px; font-weight: 800; line-height: 1.25; }
.gw-card small { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--hn-faint); }
.gw-card[hidden], .gw-group[hidden], #gwBeliebt[hidden] { display: none; }
.gw-leer { margin-top: 40px; padding: 30px; background: #fff; border: 1px solid var(--hn-line); border-radius: 22px; text-align: center; }
.gw-leer h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.gw-leer p { margin: 0 auto 18px; max-width: 520px; color: var(--hn-soft); line-height: 1.55; }
.gw-leer .lp-actions { justify-content: center; }
.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-cards { grid-template-columns: repeat(4, 1fr); } .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-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gw-top { padding-bottom: 44px; } .gw-top .gw-search { margin-top: 22px; } .gw-top .gw-search .hn-btn { padding: 14px 16px; } .gw-group h2 { font-size: 21px; } .gw-co { grid-template-columns: 1fr; } .gw-orte { grid-template-columns: 1fr; } .gw-sec { padding: 18px; } .gw-search { grid-template-columns: 1fr; } }
