    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --accent:       #3f96c8;
      --accent-hover: #2f82b2;
      --accent-light: #e8f5f8;
      --accent-text:  #12638f;
      --bg:           #f5f8fb;
      --surface:      #ffffff;
      --surface-soft: #eef6f7;
      --border:       #cadbe6;
      --border-strong:#8eb4c9;
      --text:         #183b56;
      --text-muted:   #54708a;
      --teal:         #1f9a9d;
      --teal-light:   #dff5f3;
      --warn:         #B45309;
      --warn-bg:      #FFFBEB;
      --radius:       12px;
      --radius-sm:    8px;
      --shadow:       0 1px 2px rgba(15,35,58,.05), 0 8px 22px rgba(15,35,58,.04);
      --shadow-md:    0 16px 36px rgba(15,35,58,.11), 0 4px 10px rgba(15,35,58,.05);
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background: linear-gradient(180deg, #eef6f7 0, var(--bg) 260px);
      color: var(--text);
      font-size: 15px;
      line-height: 1.55;
      display: flex;
      flex-direction: column;
      height: 100vh;
      height: 100dvh; /* Dynamische Viewport-Höhe für iOS Safari */
      box-sizing: border-box;
    }

    /* ── Filter bar ── */
    #filterbar {
      background: rgba(255,255,255,.96);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 10px 26px rgba(15,35,58,.07);
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
    }

    #filter-toggle-row {
      width: 100%;
      padding: 12px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      background: transparent;
      border-bottom: 1px solid var(--border);
      cursor: pointer;
      font-family: inherit;
      transition: background .15s, border-color .15s, color .15s;
      -webkit-tap-highlight-color: transparent;
      flex-shrink: 0;
    }
    #filter-toggle-row:hover { background: #f7fbfd; }
    #filter-toggle-row.has-active {
      background: #f8fcfe;
      border-bottom-color: #b7d7e8;
    }

    #filter-label {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1 1 auto;
      min-width: 0;
      color: var(--accent-text);
    }
    .filter-title-wrap {
      display: flex;
      flex-direction: column;
      min-width: 0;
      gap: 1px;
    }
    .filter-title {
      font-size: 13px;
      font-weight: 750;
      color: var(--text);
      line-height: 1.25;
    }
    #filter-summary {
      max-width: min(58vw, 780px);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: var(--text-muted);
      font-size: 12px;
      line-height: 1.25;
    }
    #filter-toggle-row.has-active .filter-title { color: var(--accent-text); }

    #filter-badge {
      display: none;
      background: var(--accent);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      border-radius: 999px;
      min-width: 22px;
      height: 22px;
      padding: 0 7px;
      line-height: 22px;
      text-align: center;
      flex-shrink: 0;
    }

    #filter-toggle-right {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-muted);
      flex-shrink: 0;
    }
    #filter-toggle-row.has-active #filter-toggle-right { color: var(--accent-text); }
    #filter-toggle-copy { white-space: nowrap; }
    #filter-chevron { transition: transform .2s ease; flex-shrink: 0; }
    #filter-toggle-row[aria-expanded="true"] #filter-chevron { transform: rotate(180deg); }

    #filter-body {
      display: none;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 14px 16px;
      align-items: start;
      padding: 18px 24px 22px;
      max-height: min(62dvh, 560px);
      overflow-y: auto;
      background: linear-gradient(180deg, #fff 0%, #f8fcfe 100%);
    }

    #filter-body.open {
      display: grid;
    }

    #institute-preview-banner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      background: #ecfdf5;
      border-bottom: 1px solid #a7f3d0;
      color: #065f46;
      padding: 12px 24px;
      font-size: 13px;
      flex-shrink: 0;
    }

    #institute-preview-banner div {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      min-width: 0;
    }

    #institute-preview-banner strong {
      color: #064e3b;
      white-space: nowrap;
    }

    #institute-preview-banner a {
      color: #065f46;
      border: 1px solid #34d399;
      border-radius: var(--radius-sm);
      padding: 6px 10px;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
    }

    #institute-preview-banner a:hover {
      background: #d1fae5;
    }

    #filter-apply-row {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 9998;
      background: #fff;
      box-shadow: 0 -2px 12px rgba(0,0,0,.10);
      padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
      justify-content: center;
    }

    #filter-apply-row.visible {
      display: flex;
    }

    #btn-apply-filter,
    #btn-close-filter {
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: var(--radius-sm);
      padding: 12px 32px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: background .15s;
      width: 100%;
      max-width: 400px;
      min-height: 44px;
      font-family: inherit;
    }

    #btn-apply-filter:hover,
    #btn-close-filter:hover { background: var(--accent-hover); }

    .filter-panel-actions {
      display: none;
      grid-column: 1 / -1;
      justify-content: center;
      padding-top: 2px;
    }

    #filter-body.open .filter-panel-actions {
      display: none;
    }

    @media (max-width: 600px) {
      #institute-preview-banner {
        align-items: stretch;
        flex-direction: column;
        padding: 12px 16px;
      }

      #institute-preview-banner div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
      }

      #institute-preview-banner a {
        text-align: center;
      }

      #filter-body.open {
        max-height: calc(100dvh - 54px - env(safe-area-inset-bottom, 0px));
      }
    }

    @media (max-width: 1100px) {
      #filter-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .filter-group {
      display: flex;
      flex-direction: column;
      gap: 7px;
      flex: 1;
      min-width: 0;
      padding: 12px;
      border: 1px solid #dce9f1;
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,.78);
    }
    .filter-group.search {
      grid-column: 1 / -1;
      max-width: 780px;
      min-width: 220px;
      padding: 0;
      border: 0;
      background: transparent;
    }

    .filter-group label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .5px;
      color: var(--text-muted);
    }

    .filter-group input {
      height: 46px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 0 14px;
      font-size: 16px; /* ≥16px verhindert iOS Auto-Zoom beim Fokus */
      color: var(--text);
      background: #fff;
      outline: none;
      transition: border-color .15s, box-shadow .15s;
      width: 100%;
      font-family: inherit;
    }
    .filter-group input:focus {
      border-color: var(--accent);
      background: var(--surface);
      box-shadow: 0 0 0 3px rgba(74,159,212,0.15);
    }

    .chip-group {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      min-height: 36px;
      align-content: flex-start;
      padding: 2px 0;
    }
    .chip {
      display: inline-grid;
      place-items: center;
      text-align: center;
      padding: 7px 12px;
      min-height: 38px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: var(--surface);
      color: var(--text);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all .15s;
      white-space: normal;
      min-width: 0;
      width: min-content;
      max-width: 100%;
      font-family: inherit;
      line-height: 1.4;
      -webkit-tap-highlight-color: transparent;
    }
    .chip:hover {
      border-color: var(--accent);
      color: var(--accent-text);
      background: var(--accent-light);
    }
    .chip.active {
      border-color: var(--accent);
      background: var(--accent);
      color: #fff;
      box-shadow: 0 4px 10px rgba(63,150,200,.18);
    }
    .filter-hint {
      margin: 4px 0 0;
      font-size: 11px;
      color: var(--text-muted);
      line-height: 1.4;
    }
    .result-note {
      font-size: 11px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 3px;
      cursor: default;
    }

    /* ── View mode toggle ── */
    #view-mode-toggle {
      display: none;
      gap: 2px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 2px;
    }
    @media (min-width: 769px) {
      #view-mode-toggle { display: flex; }
    }
    .view-mode-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 28px;
      border: none;
      border-radius: 6px;
      background: transparent;
      color: var(--text-muted);
      cursor: pointer;
      transition: background .15s, color .15s;
    }
    .view-mode-btn:hover { background: var(--surface); color: var(--text); }
    .view-mode-btn.active {
      background: var(--surface);
      color: var(--accent-text);
      box-shadow: 0 1px 3px rgba(15,35,58,.1);
    }

    #btn-reset {
      display: none;
      height: 30px;
      align-items: center;
      gap: 5px;
      padding: 0 10px;
      border: 1px solid #b7d7e8;
      border-radius: var(--radius-sm);
      background: #fff;
      color: var(--accent-text);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: all .15s;
      font-family: inherit;
      -webkit-tap-highlight-color: transparent;
    }
    #btn-reset:hover {
      border-color: var(--accent);
      background: var(--accent-light);
    }
    #filter-toggle-row.has-active #btn-reset { display: inline-flex; }

    /* ── Main content ── */
    #main-content {
      flex: 1;
      min-height: 0;
      overflow-x: hidden;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
    }

    #availability-mode {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 0;
      flex-wrap: nowrap;
      flex-shrink: 0;
    }
    .availability-mode-btn {
      min-height: 32px;
      padding: 6px 10px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: var(--surface);
      color: var(--text-muted);
      cursor: pointer;
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
      transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
    }
    .availability-mode-btn:hover {
      border-color: var(--border-strong);
      color: var(--accent-text);
      background: #f8fcfe;
    }
    .availability-mode-btn.active {
      border-color: #86efac;
      background: #dcfce7;
      color: #166534;
      box-shadow: inset 0 0 0 1px rgba(22, 101, 52, .08);
    }
    #mode-all.active {
      border-color: var(--border-strong);
      background: var(--accent-light);
      color: var(--accent-text);
    }
    /* ── Result info ── */
    #result-info {
      padding: 14px 24px 4px;
      display: none;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
      flex-wrap: wrap;
    }
    #result-count {
      font-size: 22px;
      font-weight: 700;
      color: var(--accent-text);
      line-height: 1;
    }
    #result-label {
      font-size: 14px;
      color: var(--text-muted);
    }
    #result-sub {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* ── Card grid ── */
    #cards-view {
      flex: 1;
    }
    #cards {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
      gap: 16px;
      padding: 12px 24px 40px;
    }

    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-top: 3px solid #59b7c6;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 18px 20px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    }
    @media (hover: hover) {
      .card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
        border-color: var(--border-strong);
      }
    }

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
    }

    .card-name {
      font-size: 15px;
      font-weight: 600;
      color: #0f6695;
      line-height: 1.35;
      text-decoration: none;
    }
    .card-name:hover { text-decoration: underline; }

    .badge-warn {
      flex-shrink: 0;
      font-size: 11px;
      font-weight: 600;
      background: var(--warn-bg);
      color: var(--warn);
      border: 1px solid #FDE68A;
      border-radius: 6px;
      padding: 2px 7px;
      white-space: nowrap;
      cursor: help;
      position: relative;
    }
    .badge-warn::after {
      content: attr(data-tooltip);
      position: absolute;
      bottom: calc(100% + 6px);
      right: 0;
      background: #0F172A;
      color: #fff;
      font-size: 11px;
      font-weight: 400;
      padding: 6px 10px;
      border-radius: 6px;
      width: 240px;
      white-space: normal;
      line-height: 1.4;
      opacity: 0;
      pointer-events: none;
      transition: opacity .15s;
      z-index: 100;
      box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }
    .badge-warn:hover::after,
    .badge-warn:focus::after,
    .badge-warn.show-tooltip::after { opacity: 1; }

    /* Bereichsweiterbildung badge on cards */
    .badge-bereich {
      flex-shrink: 0;
      font-size: 11px;
      font-weight: 600;
      background: #F3E8FF;
      color: #7C3AED;
      border: 1px solid #DDD6FE;
      border-radius: 6px;
      padding: 2px 7px;
      white-space: nowrap;
    }

    /* Bundesland chip */
    .bl-chip {
      display: inline-block;
      font-size: 11px;
      font-weight: 600;
      background: #edf5f8;
      color: #3d6278;
      border: 1px solid #d1e1ea;
      border-radius: 6px;
      padding: 2px 8px;
    }

    .card-body {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .card-row {
      display: grid;
      grid-template-columns: 100px 1fr;
      gap: 4px;
      font-size: 13px;
    }
    .card-row .lbl {
      color: var(--text-muted);
      font-weight: 500;
      font-size: 12px;
      padding-top: 2px;
    }
    .card-row .val {
      color: var(--text);
      word-break: break-word;
    }

    /* ── Tags ── */
    .tag-list { display: flex; flex-wrap: wrap; gap: 4px; }
    .tag {
      font-size: 11px;
      font-weight: 600;
      border-radius: 5px;
      padding: 2px 7px;
    }
    .tag-vf { background: #dceefb; color: #155e8f; }
    .tag-gb { background: var(--teal-light); color: #0f766e; }
    .tag-vs { background: #F3F4F6; color: #374151; }

    /* ── Angebots-Status ── */
    .angebot-pill {
      font-size: 11px;
      font-weight: 600;
      border-radius: 20px;
      padding: 2px 10px;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .angebot-open { background: #dcfce7; color: #16a34a; }
    .angebot-none { background: #f3f4f6; color: #6b7280; }
    .angebot-wait { background: #FFFBEB; color: #B45309; }
    .angebot-unknown { background: #eef2ff; color: #3730a3; }

    .card-angebot-row {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      padding-top: 8px;
      border-top: 1px solid #e2edf2;
      margin-top: 2px;
    }
    .card-termin {
      font-size: 11px;
      color: var(--text-muted);
    }
    .badge-verified {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 600;
      color: #1D4ED8;
    }
    .badge-verified svg {
      flex-shrink: 0;
    }
    .badge-anfrage {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 600;
      color: #6B7280;
    }
    .card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    .card-stand {
      font-size: 11px;
      color: var(--text-muted);
    }

    /* ── Filter: Nur offene Stellen ── */
    .card-no-response {
      margin-top: 10px;
      padding: 10px 12px;
      border: 1px solid #fde68a;
      border-left: 3px solid #B45309;
      border-radius: 6px;
      background: #FFFBEB;
      color: #7c2d12;
      font-size: 12px;
      line-height: 1.45;
    }
    .card-no-response a {
      color: #92400e;
      font-weight: 700;
    }
    .filter-toggle-offen {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 0 2px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 500;
      color: var(--text);
      user-select: none;
    }
    .filter-toggle-offen input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: var(--accent);
      cursor: pointer;
      flex-shrink: 0;
    }

    /* ── Source button ── */
    .card-footer {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding-top: 8px;
      border-top: 1px solid #e2edf2;
    }
    .source-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 12px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--accent-text);
      font-size: 12px;
      font-weight: 500;
      text-decoration: none;
      transition: all .15s;
      font-family: inherit;
    }
    .source-btn:hover {
      border-color: var(--accent);
      background: var(--accent-light);
    }
    .source-btn:first-child {
      background: var(--accent-text);
      border-color: var(--accent-text);
      color: #fff;
      font-weight: 600;
    }
    .source-btn:first-child:hover {
      background: var(--accent-hover);
      border-color: var(--accent-hover);
    }

    /* ── Table view ── */
    #table-view {
      padding: 0 24px 40px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    #stellen-table {
      width: 100%;
      border-collapse: collapse;
      background: var(--surface);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      font-size: 13px;
    }
    #stellen-table thead {
      position: sticky;
      top: 0;
      z-index: 2;
    }
    #stellen-table th {
      background: var(--surface-soft);
      border-bottom: 2px solid var(--border);
      padding: 10px 12px;
      text-align: left;
      font-weight: 600;
      font-size: 12px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.03em;
      cursor: pointer;
      user-select: none;
      white-space: nowrap;
      transition: color .15s;
    }
    #stellen-table th:hover { color: var(--accent-text); }
    #stellen-table th .sort-icon {
      display: inline-block;
      width: 14px;
      font-size: 11px;
      color: var(--text-muted);
      opacity: 0.4;
      vertical-align: middle;
    }
    #stellen-table th.sort-active .sort-icon { opacity: 1; color: var(--accent-text); }
    #stellen-table td {
      padding: 10px 12px;
      border-bottom: 1px solid #eef2f5;
      vertical-align: top;
      line-height: 1.45;
    }
    #stellen-table tbody tr { transition: background .1s; }
    #stellen-table tbody tr:hover { background: var(--accent-light); }
    #stellen-table tbody tr:nth-child(even) { background: #fafcfd; }
    #stellen-table tbody tr:nth-child(even):hover { background: var(--accent-light); }
    #stellen-table td a.table-name-link {
      color: #0f6695;
      font-weight: 600;
      text-decoration: none;
    }
    #stellen-table td a.table-name-link:hover { text-decoration: underline; }
    #stellen-table .angebot-pill {
      font-size: 11px;
      padding: 2px 8px;
    }

    /* ── Map view ── */
    #map-view {
      flex: 1;
      min-height: 0;
      display: none;
      flex-direction: column;
      overflow-y: auto;
    }
    #map {
      width: 100%;
      height: 50vh;
      min-height: 300px;
      flex-shrink: 0;
    }
    #map-staetten-list {
      background: transparent;
      padding: 16px 24px 32px;
    }
    #map-list-header {
      font-size: 13px;
      color: var(--text-muted);
      font-weight: 500;
      padding: 10px 0;
      border-bottom: 1px solid var(--border);
      margin-bottom: 14px;
    }
    #map-list-header strong {
      font-size: 18px;
      font-weight: 700;
      color: var(--text);
      margin-right: 4px;
    }
    #map-list-cards {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
      gap: 12px;
    }
    @keyframes map-card-flash {
      0%   { box-shadow: 0 0 0 3px var(--accent), var(--shadow-md); }
      60%  { box-shadow: 0 0 0 3px var(--accent), var(--shadow-md); }
      100% { box-shadow: var(--shadow); }
    }
    .map-card-highlighted {
      animation: map-card-flash 1s ease-out forwards;
    }

    /* ── States ── */
    #loading {
      padding: 12px 24px 40px;
    }
    #error-msg {
      text-align: center;
      padding: 60px 24px;
      color: #DC2626;
      font-size: 15px;
    }
    #no-results {
      grid-column: 1 / -1;
      text-align: center;
      padding: 60px;
      color: var(--text-muted);
    }

    /* ── Spinner ── */
    .spinner {
      width: 32px; height: 32px;
      border: 3px solid var(--border);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin .7s linear infinite;
      margin-bottom: 16px;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ── Leaflet popup ── */
    .leaflet-popup-content {
      font-size: 13px;
      font-family: 'Inter', -apple-system, sans-serif;
      line-height: 1.5;
      min-width: 200px;
    }
    .popup-name {
      display: inline-block;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 4px;
      text-decoration: none;
    }
    .popup-name:hover,
    .popup-name:focus-visible {
      text-decoration: underline;
    }
    .popup-row { color: var(--text-muted); }
    .popup-row span { color: var(--text); }

    /* ── Footer ── */
    #site-footer, #site-footer-map {
      background: #143452;
      padding: 14px 24px;
      padding-bottom: calc(14px + env(safe-area-inset-bottom));
      text-align: center;
      font-size: 12px;
      color: #7ab8d9;
      margin-top: 8px;
    }
    #site-footer a, #site-footer-map a { color: #a8c8e0; text-decoration: none; }
    #site-footer a:hover, #site-footer-map a:hover { text-decoration: underline; color: #ffffff; }

    /* ── AdSense – vorerst versteckt ── */
    .ad-placeholder { display: none; }

    /* ── Skeleton loading ── */
    #skeleton-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
      gap: 16px;
    }
    .skeleton-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-left: 4px solid #e2e8f0;
      border-radius: 10px;
      padding: 18px 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .sk-rows {
      display: grid;
      grid-template-columns: 90px 1fr;
      gap: 6px;
    }
    .sk {
      border-radius: 4px;
      background: linear-gradient(90deg, #dde6ef 25%, #ecf2f7 50%, #dde6ef 75%);
      background-size: 200% 100%;
      animation: shimmer 1.4s ease-in-out infinite;
      height: 13px;
    }
    @keyframes shimmer {
      0%   { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }
    @media (prefers-reduced-motion: reduce) {
      .sk { animation: none; background: #dde6ef; }
    }

    /* ── No results ── */
    #no-results button {
      background: none;
      border: none;
      color: var(--accent-text);
      font-size: 14px;
      cursor: pointer;
      text-decoration: underline;
      padding: 0;
      font-family: inherit;
    }

    /* ── Accessibility ── */
    .skip-link {
      position: absolute;
      top: -100%;
      left: 0;
      z-index: 9999;
      padding: 10px 16px;
      background: var(--accent);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      border-radius: 0 0 8px 0;
    }
    .skip-link:focus { top: 0; }
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      white-space: nowrap;
      border: 0;
    }
    .chip:focus-visible,
    .availability-mode-btn:focus-visible,
    #filter-toggle-row:focus-visible,
    #btn-reset:focus-visible,
    #btn-apply-filter:focus-visible,
    #btn-close-filter:focus-visible {
      outline: 3px solid var(--accent);
      outline-offset: 2px;
    }

    /* ── Alert CTA ── */
    #alert-cta { padding: 0 24px 24px; }
    #alert-cta-inner {
      background: var(--accent);
      border-radius: var(--radius);
      padding: 14px 20px;
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      color: #fff;
      font-size: 14px;
    }
    #alert-cta-inner svg { flex-shrink: 0; opacity: .85; }
    #alert-cta-inner span { flex: 1; font-weight: 500; min-width: 180px; }
    #alert-cta-btn {
      background: #fff;
      color: var(--accent);
      border-radius: var(--radius-sm);
      padding: 8px 16px;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
      transition: background .15s;
    }
    #alert-cta-btn:hover { background: rgba(255,255,255,.9); }

    @media (max-width: 600px) {
      #alert-cta { padding: 0 12px 20px; }
    }

    /* ── Responsive ── */
    @media (max-width: 600px) {
      #loading { padding: 12px 12px 32px; }
      #skeleton-grid { grid-template-columns: 1fr; }
      #filter-toggle-row { padding: 10px 16px; position: sticky; top: var(--sn-height, 0px); z-index: 10; gap: 8px 10px; }
      #filter-label { flex: 1 1 calc(100% - 52px); }
      #filter-summary { max-width: 70vw; }
      #filter-toggle-right { margin-left: auto; }
      #filter-toggle-copy,
      #filter-toggle-label { display: none; }
      #btn-reset {
        width: 34px;
        padding: 0;
        justify-content: center;
      }
      #btn-reset span { display: none; }
      #filter-body {
        grid-template-columns: 1fr;
        padding: 12px 16px 84px;
        gap: 10px;
      }
      #filter-apply-row {
        bottom: calc(52px + env(safe-area-inset-bottom, 0px));
        padding: 10px 16px 12px;
      }
      #availability-mode {
        order: 3;
        flex: 1 1 100%;
        padding: 0 0 0 21px;
        gap: 6px;
      }
      .availability-mode-btn {
        flex: 0 1 auto;
        min-width: 0;
        padding: 8px 10px;
        text-align: center;
      }
      /* Cards: immer 1 Spalte auf Mobil */
      #cards {
        padding: 12px 12px 32px;
        gap: 10px;
        grid-template-columns: 1fr;
      }
      #result-info { padding: 12px 16px 4px; }
      .filter-group { min-width: 100%; flex: 1 1 100%; padding: 11px; }
      .filter-group.search { min-width: 100%; }
      /* Chip-Group: auf Mobile umbrechen (alle sichtbar) */
      .chip-group { gap: 6px; flex-wrap: wrap; }
      .chip { min-height: 40px; font-size: 13px; padding: 6px 13px; }
      #map { height: clamp(200px, 55%, 45dvh); }
      #map-staetten-list { padding: 12px 12px 24px; }
      #map-list-cards { grid-template-columns: 1fr; }
      #result-count { font-size: 18px; }
      /* Karte: Popup-Links groß genug für Touch */
      .leaflet-popup-content a { padding: 4px 0; display: inline-block; }
    }
