/* msw-core: Komponenten (Finanzamt, Vergleich, Boxen). Farben über Theme-Variablen, mit Fallback. */
.msw-breadcrumb { font-size: .85rem; color: var(--msw-muted, #5b6770); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.msw-breadcrumb a { color: inherit; }
.msw-muted { color: var(--msw-muted, #5b6770); font-size: .9em; }
.msw-notice { background: var(--msw-orange-soft, #fff4e0); border-left: 4px solid var(--msw-orange, #ffa500); padding: .6rem .9rem; }

.msw-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem; }
.msw-grid li { border: 1px solid var(--msw-line, #e5e7eb); border-radius: 8px; padding: .6rem .8rem; display: flex; justify-content: space-between; }
.msw-count { color: var(--msw-muted, #5b6770); }

.msw-fa-search { display: grid; grid-template-columns: 9rem 1fr 6rem auto; gap: .6rem; align-items: end; background: var(--msw-orange-soft, #fff4e0); padding: 1rem; border-radius: 10px; margin: 1rem 0 1.5rem; }
.msw-fa-search label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 600; gap: .2rem; }
.msw-fa-search input { padding: .55rem .6rem; border: 1px solid #cfd4d9; border-radius: 6px; font-size: 1rem; }
.msw-fa-search button, .msw-btn { background: var(--msw-orange, #ffa500); color: #1f1300; border: 0; border-radius: 6px; padding: .6rem 1rem; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; white-space: nowrap; }
.msw-fa-search button:hover, .msw-btn:hover { background: #e69500; color: #000; }
.msw-optional { font-weight: 400; color: var(--msw-muted, #5b6770); }

.msw-fa-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .6rem; }
.msw-fa-card { border: 1px solid var(--msw-line, #e5e7eb); border-radius: 8px; padding: .7rem .9rem; display: flex; flex-direction: column; }
.msw-fa-card span { font-size: .9rem; color: var(--msw-muted, #5b6770); }
.msw-facts th { width: 30%; white-space: nowrap; }
.msw-gemeinden { font-size: .9rem; color: var(--msw-muted, #5b6770); }

.msw-table-wrap, .msw-vergleich-wrap { overflow-x: auto; }
.msw-vergleich td:last-child { text-align: right; }

.msw-cta, .msw-anbieter { border: 2px solid var(--msw-orange, #ffa500); border-radius: 10px; padding: 1rem 1.2rem; margin: 1.5rem 0; background: #fff; }
.msw-cta-title { font-weight: 800; margin-bottom: .3rem; }
.msw-anbieter ul { margin: .5rem 0 .8rem 1.2rem; }
.msw-ad-mark { color: var(--msw-muted, #5b6770); }
.msw-ad-note { display: block; margin-top: .4rem; font-size: .8rem; }

.msw-faq details { border-bottom: 1px solid var(--msw-line, #e5e7eb); padding: .6rem 0; }
.msw-faq summary { font-weight: 600; cursor: pointer; }
.msw-sources { font-size: .9rem; }

@media (max-width: 700px) {
	.msw-fa-search { grid-template-columns: 1fr 5rem; }
	.msw-fa-search label:first-child { grid-column: 1 / -1; }
	.msw-fa-search button { grid-column: 1 / -1; }
	.msw-facts th { width: auto; white-space: normal; }
	/* Tabellen als Karten */
	.msw-vergleich thead, .msw-table-wrap thead { display: none; }
	.msw-vergleich tr, .msw-table-wrap tr { display: block; border: 1px solid var(--msw-line, #e5e7eb); border-radius: 8px; margin-bottom: .6rem; padding: .4rem .6rem; }
	.msw-vergleich td, .msw-table-wrap td { display: block; border: 0; padding: .2rem 0; text-align: left !important; }
	.msw-vergleich td[data-label]::before, .msw-table-wrap td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; }
}
