/* Methoden & Mehr Wissenswelt
   Alle Klassen beginnen mit "ww-", damit nichts mit der übrigen Website kollidiert.
   Bewusst nur helles Farbschema: weißer Hintergrund laut Gestaltungsvorgabe. */

@font-face { font-family: "WW Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "WW Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "WW Inter"; src: url("fonts/Inter-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "WW Inter Display"; src: url("fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

.ww-body {
  --ww-bg: #ffffff;
  --ww-ink: #1f2b3a;
  --ww-text: #2e3946;
  --ww-muted: #66717c;
  --ww-soft: #f3f6f7;
  --ww-edge: #e3e8eb;
  --ww-petrol: #0f7f7c;
  --ww-coral: #d9503f;
  --ww-sun: #d69a00;
  --ww-focus: #1f7fc4;
  --ww-radius: 14px;
  --ww-font: "WW Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ww-display: "WW Inter Display", "WW Inter", "Segoe UI", system-ui, sans-serif;
  margin: 0;
  background: var(--ww-bg);
  color: var(--ww-text);
  font-family: var(--ww-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

.ww { max-width: 1160px; margin: 0 auto; padding: 32px 20px 48px; display: flex; flex-direction: column; gap: 48px; }
.ww *, .ww *::before, .ww *::after { box-sizing: border-box; }
.ww-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ww a { color: inherit; }
.ww :focus-visible { outline: 3px solid var(--ww-focus); outline-offset: 2px; border-radius: 6px; }
.ww [hidden] { display: none !important; }

/* Kopf */
.ww-kopf { display: flex; flex-direction: column; gap: 10px; }
.ww-marke { margin: 0; font-weight: 600; font-size: 14px; color: var(--ww-muted); }
.ww-marke-a { color: var(--ww-ink); }
.ww-marke-b { color: var(--ww-coral); }
.ww-titel { margin: 0; font-family: var(--ww-display); font-weight: 700; color: var(--ww-ink); font-size: clamp(30px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.ww-untertitel { margin: 0; font-size: clamp(17px, 2.2vw, 20px); color: var(--ww-muted); max-width: 46ch; }

.ww-suche { position: relative; margin-top: 18px; max-width: 760px; }
.ww-suche-icon { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: var(--ww-muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.ww-suche-feld { width: 100%; font: inherit; font-size: 17px; color: var(--ww-ink); background: var(--ww-soft); border: 2px solid transparent; border-radius: 999px; padding: 16px 52px 16px 52px; transition: border-color .15s, background .15s; }
.ww-suche-feld::placeholder { color: #8a949d; }
.ww-suche-feld:focus { outline: none; border-color: var(--ww-petrol); background: #fff; }
.ww-suche-feld::-webkit-search-cancel-button { display: none; }
.ww-suche-leeren { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ww-muted); font-size: 24px; line-height: 1; cursor: pointer; }
.ww-suche-leeren:hover { background: var(--ww-edge); }
.ww-bestand { margin: 4px 0 0; font-size: 14px; color: var(--ww-muted); font-variant-numeric: tabular-nums; }
.ww-bestand strong { color: var(--ww-ink); font-weight: 600; }
.ww-zugang { margin: 0; font-size: 15px; font-weight: 600; color: var(--ww-ink); }
.ww-zugang-link { color: var(--ww-petrol) !important; text-decoration: underline; text-underline-offset: 2px; }
.ww-zugang-link:hover { color: var(--ww-ink) !important; }

/* Blöcke */
.ww-block { display: flex; flex-direction: column; gap: 18px; }
.ww-block-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.ww-h2 { margin: 0; font-family: var(--ww-display); font-weight: 700; font-size: clamp(22px, 3vw, 28px); color: var(--ww-ink); line-height: 1.2; }
.ww-hinweis { margin: 0; color: var(--ww-muted); font-size: 15px; max-width: 60ch; }

/* Praxissituationen: der Einstieg */
.ww-situationen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ww-sit-intro { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 6px 12px 6px 0; }
.ww-sit { --c: var(--ww-petrol); position: relative; display: flex; flex-direction: column; gap: 14px; text-align: left; font: inherit; color: var(--ww-ink); background: var(--ww-bg); border: 2px solid var(--ww-edge); border-radius: var(--ww-radius); padding: 18px 18px 16px; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.ww-sit:hover { border-color: var(--c); transform: translateY(-2px); box-shadow: 0 8px 22px -14px rgba(31,43,58,.45); }
.ww-sit[aria-pressed="true"] { border-color: var(--c); background: var(--c8); }
.ww-sit-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c14); color: var(--c); }
.ww-sit-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ww-sit-titel { font-family: var(--ww-display); font-weight: 700; font-size: 19px; line-height: 1.25; text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; }
.ww-sit-fuss { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ww-muted); font-variant-numeric: tabular-nums; }
.ww-sit-pfeil { color: var(--c); font-weight: 700; }

/* Themenkacheln */
.ww-themen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ww-thema { --c: var(--ww-petrol); display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ww-ink); background: var(--c10); border: 2px solid transparent; border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: background .15s, border-color .15s; }
.ww-thema:hover { background: var(--c18); }
.ww-thema[aria-pressed="true"] { border-color: var(--c); background: var(--c18); }
.ww-thema-punkt { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.ww-thema-name { flex: 1; min-width: 0; }
.ww-thema-zahl { flex: none; font-weight: 600; color: var(--ww-muted); font-variant-numeric: tabular-nums; }

/* Schnupperwoche */
.ww-schnupper { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; background: var(--ww-soft); border-radius: var(--ww-radius); padding: 16px 20px; }
.ww-schnupper p { margin: 0; color: var(--ww-text); }
.ww-schnupper strong { color: var(--ww-ink); }
.ww-schnupper-link { flex: none; font-weight: 700; text-decoration: none; color: var(--ww-petrol) !important; padding: 8px 2px; }
.ww-schnupper-link:hover { color: var(--ww-ink) !important; }
.ww-schnupper-link::after { content: " →"; }

/* Filter */
.ww-anzahl { margin: 0; color: var(--ww-muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.ww-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ww-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ww-chip { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ww-ink); background: var(--ww-bg); border: 1.5px solid var(--ww-edge); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.ww-chip:hover { border-color: var(--ww-ink); }
.ww-chip[aria-pressed="true"] { background: var(--ww-ink); border-color: var(--ww-ink); color: #fff; }
.ww-chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ww-chip-zahl { font-weight: 400; opacity: .7; font-variant-numeric: tabular-nums; }

.ww-aktiv { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--ww-muted); }
.ww-aktiv-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--ww-soft); color: var(--ww-ink); border: 0; border-radius: 999px; padding: 6px 8px 6px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ww-aktiv-tag span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; font-size: 15px; line-height: 1; }
.ww-zuruecksetzen { font: inherit; font-size: 14px; font-weight: 600; color: var(--ww-coral); background: none; border: 0; padding: 6px 4px; cursor: pointer; }

/* Karten */
.ww-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ww-karte { --c: var(--ww-petrol); display: flex; flex-direction: column; gap: 10px; background: var(--ww-bg); border: 1.5px solid var(--ww-edge); border-radius: var(--ww-radius); padding: 18px 18px 16px; min-width: 0; }
.ww-karte-kopf { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ww-typ { color: var(--c); }
.ww-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ww-muted); background: var(--ww-soft); border-radius: 999px; padding: 2px 9px; }
.ww-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ww-karte-titel { margin: 0; font-family: var(--ww-display); font-weight: 700; font-size: 19px; line-height: 1.28; color: var(--ww-ink); overflow-wrap: anywhere; }
.ww-karte-titel a { text-decoration: none; }
.ww-karte-titel a:hover { color: var(--c); }
.ww-karte-text { margin: 0; font-size: 15px; color: var(--ww-text); }
.ww-karte-thema { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ww-ink); }
.ww-karte-thema i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.ww-karte-sit { display: flex; flex-wrap: wrap; gap: 6px; }
.ww-karte-sit button { text-align: left; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ww-ink); background: var(--ww-soft); border: 0; border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.ww-karte-sit button:hover { background: var(--ww-edge); }
.ww-karte-tags { margin: 0; font-size: 13px; color: var(--ww-muted); }
.ww-karte-fuss { margin-top: auto; padding-top: 4px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ww-original { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--c) !important; }
.ww-original:hover { color: var(--ww-ink) !important; }
.ww-original::after { content: " →"; }

.ww-leer { margin: 0; padding: 28px; text-align: center; background: var(--ww-soft); border-radius: var(--ww-radius); color: var(--ww-text); }
.ww-mehr-wrap { display: flex; justify-content: center; }
.ww-mehr { font: inherit; font-weight: 700; color: #fff; background: var(--ww-ink); border: 0; border-radius: 999px; padding: 12px 26px; cursor: pointer; }
.ww-mehr:hover { background: var(--ww-petrol); }

.ww-fuss { border-top: 0; color: var(--ww-muted); font-size: 14px; display: flex; flex-direction: column; gap: 6px; max-width: 80ch; }
.ww-fuss p { margin: 0; }

@media (max-width: 900px) {
  .ww-situationen, .ww-themen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ww-sit-intro { grid-column: 1 / -1; padding-right: 0; }
  .ww-sit:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ww { padding: 22px 16px 36px; gap: 38px; }
  .ww-situationen { gap: 10px; }
  .ww-sit { padding: 14px; gap: 10px; }
  .ww-sit-icon { width: 38px; height: 38px; }
  .ww-sit-titel { font-size: 16px; }
  .ww-themen { grid-template-columns: 1fr; }
  .ww-karten { grid-template-columns: 1fr; }
  .ww-suche-feld { font-size: 16px; padding-top: 14px; padding-bottom: 14px; }
}
@media (max-width: 360px) { .ww-situationen { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ww * { transition: none !important; } .ww-sit:hover { transform: none; } }
