:root{--primary:#0e9aa7;--primary-dark:#0b7a85;--ink:#16324f;--muted:#5b6b7c;--bg:#f6fafb;--card:#fff;--line:#dbe6ea;--danger:#c62828;--warn:#b26a00;--radius:14px}
*{box-sizing:border-box}
/* Platz für die Scrollleiste immer reservieren: verhindert, dass die Seite beim Wechsel
   zwischen kurzen und langen Seiten seitlich springt (overflow-y als Fallback für Safari). */
html{scrollbar-gutter:stable;overflow-y:scroll}
body{margin:0;font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);
  /* Einheitlicher Seitenhintergrund auf allen Seiten: sanfter Verlauf oben, darunter Grundfarbe */
  background:linear-gradient(170deg,#e3f6f8 0,var(--bg) 640px) no-repeat,var(--bg);
  /* Footer auch bei kurzen Seiten am unteren Rand */
  min-height:100vh;display:flex;flex-direction:column}
body>main{flex:1 0 auto}
a{color:var(--primary-dark)}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;background:#fff;padding:8px;z-index:10}
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.bar{display:flex;justify-content:space-between;align-items:center;min-height:64px;gap:16px;flex-wrap:wrap}
.logo{display:inline-flex;align-items:center;gap:10px;font-size:1.35rem;text-decoration:none;color:var(--ink);letter-spacing:-.01em}
.logo img{display:block;flex:0 0 auto}
.site-header nav a.nav-account{border:1.5px solid var(--primary);border-radius:10px;padding:6px 14px}
.site-header nav a.nav-account:hover{background:#e3f6f8}
.logo .wordmark{font-weight:400}
.logo strong{font-weight:800;color:var(--ink)}
@media (max-width:420px){.logo{font-size:1.15rem;gap:8px}.logo img{width:32px;height:32px}}
.site-header nav a,.site-footer nav a{margin-left:18px;text-decoration:none;font-weight:500}
.hero{padding:56px 0}
.hero h1{font-size:clamp(2rem,4.2vw,3rem);line-height:1.12;letter-spacing:-.015em;margin:0 0 14px;text-wrap:balance}
.lead{color:var(--muted);margin:0 0 24px;font-size:1.1rem}
/* Startseite: Suche links, Illustration rechts; Bild mit festen Maßen (kein Springen beim Laden) */
.hero-grid{display:grid;gap:24px;align-items:center}
.hero-art{margin:0;display:flex;justify-content:center}
.hero-art img{width:100%;max-width:340px;height:auto}
@media (min-width:900px){
  .hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px}
  .hero-art img{max-width:560px}
}
.searchbox{display:grid;gap:8px;background:var(--card);padding:20px;border-radius:var(--radius);border:1px solid var(--line);max-width:560px}
.searchbox.inline{max-width:none;margin-bottom:20px}
label{font-weight:600;font-size:.9rem}
input{padding:14px;border:1px solid var(--line);border-radius:10px;font:inherit;min-height:48px}
input:focus,button:focus-visible,a:focus-visible{outline:3px solid #7fd6de;outline-offset:2px}
button{padding:14px;border:0;border-radius:10px;background:var(--primary);color:#fff;font:inherit;font-weight:600;cursor:pointer;min-height:48px}
button:hover{background:var(--primary-dark)}
.block{padding:32px 20px}
.chips{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.chips a{display:inline-block;padding:10px 18px;border:1px solid var(--line);border-radius:999px;background:#fff;text-decoration:none;font-weight:500}
.chips a:hover{border-color:var(--primary)}
.results{list-style:none;padding:0;display:grid;gap:14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.card h2{margin:0 0 4px;font-size:1.15rem}
.badge{display:inline-block;margin:0 6px 6px 0;padding:3px 10px;border-radius:999px;background:#e3f6f8;color:var(--primary-dark);font-size:.85rem;line-height:1.35}
.badges{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 2px}
/* Praxislogos (hochgeladen, immer quadratisch eingepasst) */
.profile-title{display:flex;align-items:center;gap:16px;min-width:0}
.practice-logo{width:88px;height:88px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px;flex:0 0 auto}
.results .card{position:relative}
.card-logo{float:right;width:48px;height:48px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:10px;padding:3px;margin:0 0 6px 10px}
.compare-logo{display:block;width:48px;height:48px;object-fit:contain;margin-bottom:6px}
.logo-edit{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.logo-preview{width:120px;height:120px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px}
.logo-empty{display:grid;place-items:center;background:#f1f7f8}
.logo-empty .spec-icon{width:40px;height:40px;opacity:.4}
@media (max-width:640px){.practice-logo{width:64px;height:64px}.profile-title{gap:12px}}
.facility-line{margin:-4px 0 10px;font-weight:600;color:var(--ink)}
.emergency-box{margin:6px 0 14px}
.contact-extra{display:flex;flex-wrap:wrap;gap:4px 20px;margin:4px 0 12px;font-size:.95rem}
.hours-note{margin:10px 0 0;padding:8px 12px;background:#f6fafb;border-radius:8px}
.acute-title{font-size:1.05rem;margin:16px 0 6px}
.acute-box{margin:10px 0;border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.acute-box summary{cursor:pointer;font-weight:600}
.badges .badge{margin:0}
.alert{padding:14px 16px;border-radius:10px;background:#fff6e0;border:1px solid #f0d28a}
.alert.danger{background:#fdecec;border-color:#e9a5a5;color:#7a1414}
.source-note{margin:20px 0 4px}
/* Android-App: Titelleiste und Navigation kommen von der App */
body.in-app .site-header{display:none}
body.in-app .skip{display:none}
.notice-list{list-style:none;padding:0;display:grid;gap:12px}
.help-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;flex:0 0 auto;background:var(--primary)}
.help-icon svg{width:24px;height:24px}
.help-icon-red{background:#e5533d}
.help-icon-orange{background:#f2a33a}
.help-icon-teal{background:#0f8a95}
.numbers dt{display:flex;align-items:center;gap:10px}
.guide-step h2 .help-icon{margin-left:auto}
.with-illu{display:grid;gap:8px 28px;align-items:center}
.with-illu .illu{max-width:340px;justify-self:center}
@media (min-width:900px){.with-illu{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}.with-illu .illu{max-width:100%}}
.toc{margin:16px 0 24px}
.toc .toc-title{margin:0 0 6px;font-size:1.05rem}
.toc ol{margin:0;padding-left:1.4em;columns:2 260px;column-gap:28px}
.toc li{margin:3px 0;break-inside:avoid}
.prose h2[id]{scroll-margin-top:80px}
.notice-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.notice-page form.card{display:grid;gap:12px}
.muted{color:var(--muted);font-size:.9rem}
.prose{max-width:720px}
.site-footer{margin-top:40px;padding:24px 0;border-top:1px solid var(--line);background:#fff;font-size:.9rem}
.site-footer .notice{color:var(--muted)}
.site-footer nav a{margin:0 18px 0 0}
.site-footer .credits{color:var(--muted);font-size:.8rem;margin-top:14px}
/* Praxisprofil: Kontaktbereich */
.icon{width:22px;height:22px;flex:0 0 22px;fill:currentColor}
.contact-address{display:flex;gap:10px;align-items:flex-start;margin:4px 0 16px;color:var(--ink)}
.contact-address .icon{color:var(--primary);margin-top:2px}
.contact-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin-bottom:4px}
.action{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-decoration:none;min-height:56px;transition:border-color .15s,box-shadow .15s,transform .15s}
.action:hover{border-color:var(--primary);box-shadow:0 4px 14px rgba(14,154,167,.15);transform:translateY(-1px)}
.action .icon{color:var(--primary)}
.action span{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.action small{font-size:.78rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.action strong{font-size:1.02rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.action-primary{background:var(--primary);border-color:var(--primary);color:#fff}
.action-primary .icon,.action-primary small{color:#e6f7f8}
.action-primary:hover{background:var(--primary-dark);border-color:var(--primary-dark)}
@media (prefers-reduced-motion:reduce){.action{transition:none}.action:hover{transform:none}}
/* Konto, Merken, Bewertungen */
.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}
.narrow-page{max-width:560px}
.narrow-form{max-width:440px}
.lead-small{font-size:1.05rem}
.small{font-size:.85rem}
.plain-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.btn-outline{display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--primary-dark);border:1.5px solid var(--primary);border-radius:10px;padding:10px 16px;font-weight:600;text-decoration:none;min-height:44px;cursor:pointer}
.btn-outline:hover{background:#e3f6f8}
.btn-outline.is-active{background:#e3f6f8}
.btn-danger{background:var(--danger)}
.btn-danger:hover{background:#9e1f1f}
.danger-zone{border-color:#efc4c4}
.profile-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.profile-head h1{margin-bottom:6px}
.rating-line{display:inline-flex;gap:8px;align-items:center;text-decoration:none;color:var(--ink);margin-bottom:10px}
.stars{color:#e8a317;letter-spacing:1px}
.rating-summary{display:flex;gap:32px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.rating-big{display:grid;justify-items:start;gap:2px}
.rating-big strong{font-size:2.4rem;line-height:1}
.rating-bars{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0;align-items:center}
.rating-bars dd{margin:0;display:flex;align-items:center;gap:8px}
.rating-bars meter{width:140px;height:10px}
.review-list{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:14px}
.review-list li{border-top:1px solid var(--line);padding-top:12px}
.review-list p{margin:6px 0 0}
.status-pill{display:inline-block;margin-left:8px;padding:1px 9px;border-radius:999px;font-size:.8rem;background:#eef2f4}
.status-pill.status-published{background:#e4f5e9;color:#1b5e32}
.status-pill.status-pending{background:#fff3d6;color:#7a4b00}
.status-pill.status-rejected{background:#fdecec;color:#7a1414}
.review-form{display:grid;gap:10px;margin-top:8px}
/* Sterne-Auswahl: Radios rückwärts sortiert, damit Hover/Checked alle Sterne links mitfärbt */
.star-input{border:0;padding:0;margin:0;display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.star-input legend{font-weight:600;font-size:.9rem;margin-bottom:4px;float:left;width:100%}
.star-input input{position:absolute;opacity:0;width:1px;height:1px}
.star-input label{font-size:2rem;line-height:1;color:#c9d3d8;cursor:pointer;padding:2px}
.star-input input:checked~label,.star-input label:hover,.star-input label:hover~label{color:#e8a317}
.star-input input:focus-visible+label{outline:3px solid #7fd6de;outline-offset:2px;border-radius:4px}
/* Karte (MapLibre) */
.map{width:100%;height:60vh;min-height:320px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#e8eef0}
.map-small{height:280px;min-height:0;margin:12px 0}
.map-fallback{display:flex;align-items:center;justify-content:center;padding:20px;color:var(--muted);text-align:center}
.map-popup a{font-weight:700}
.map-popup div{margin-top:4px;font-size:.9rem}
.map-popup-dist{color:var(--muted)}
.view-toggle{display:flex;gap:0;margin:8px 0 12px;width:max-content;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.view-toggle button{background:#fff;color:var(--ink);border-radius:0;min-height:44px;padding:8px 22px}
.view-toggle button[aria-pressed="true"]{background:var(--primary);color:#fff}
/* Mobil: Liste ODER Karte */
.results-layout.has-map .map-wrap{display:none}
body.show-map .results-layout.has-map .map-wrap{display:block}
body.show-map .results-layout.has-map .results-list{display:none}
/* Desktop: Liste + Karte nebeneinander, Karte bleibt beim Scrollen stehen */
@media (min-width:1024px){
  .view-toggle{display:none}
  .results-layout.has-map{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
  .results-layout.has-map .map-wrap,body.show-map .results-layout.has-map .results-list{display:block}
  .results-layout.has-map .map-wrap{position:sticky;top:16px}
  .results-layout.has-map .map{height:calc(100vh - 40px)}
}
.site-footer .credits a{color:inherit}
.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:end}
.filters>div{display:grid;gap:4px}
/* Rasterzellen dürfen schmaler werden als die Standardbreite der Felder; Felder füllen ihre Spalte. */
.filters>*{min-width:0}
.filters input,.filters select,.filters textarea{width:100%;min-width:0}
select{padding:12px;border:1px solid var(--line);border-radius:10px;font:inherit;background:#fff;min-height:48px}
select:focus{outline:3px solid #7fd6de;outline-offset:2px}
.check{display:flex;gap:8px;align-items:center;min-height:48px}
.check input{min-height:auto;width:20px;height:20px}
.pager{display:flex;justify-content:space-between;margin-top:16px}
.card h2 a{color:inherit;text-decoration:none}.card h2 a:hover{text-decoration:underline}
.btn{display:inline-block;padding:12px 20px;border-radius:10px;background:var(--primary);color:#fff;text-decoration:none;font-weight:600}
.hours{border-collapse:collapse;width:100%;max-width:420px}.hours th{text-align:left;font-weight:500;padding:4px 12px 4px 0}.hours .today{font-weight:700}
address{font-style:normal}
textarea{padding:14px;border:1px solid var(--line);border-radius:10px;font:inherit;resize:vertical}
textarea:focus{outline:3px solid #7fd6de;outline-offset:2px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.check span{font-weight:400}
.filterbox{border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:#fbfdfd}
.filterbox summary{cursor:pointer;font-weight:600;min-height:32px;display:flex;align-items:center}
.filterbox[open] summary{margin-bottom:10px}
.checks{border:0;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 12px}
.checks legend{font-weight:600;font-size:.9rem;margin-bottom:4px}
.check{font-weight:400}
.features{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:6px}
.features li::before{display:inline-block;width:1.4em;font-weight:700}
.features li.yes::before{content:"✓";color:#1b7f3b}
.features li.no::before{content:"–";color:var(--muted)}
.card+.card{margin-top:14px}

/* SEO-Seiten Fachrichtung/Ort */
.breadcrumb{font-size:.9rem;margin:0 0 14px}
.breadcrumb ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 0}
.breadcrumb li:not(:last-child)::after{content:"›";margin:0 8px;color:var(--muted)}
.breadcrumb a{text-decoration:none}
.breadcrumb [aria-current]{color:var(--muted)}
.link-grid{list-style:none;padding:0;margin:0 0 24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.link-grid li{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.link-grid a{text-decoration:none}
.chips .count{color:var(--muted);font-weight:400}
.facts{margin:18px 0}
.facts ul{list-style:none;padding:0;margin:0 0 6px;display:flex;flex-wrap:wrap;gap:8px}
.facts li{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:6px 14px;display:flex;align-items:baseline;gap:6px}
.facts .num{font-size:1.1rem;font-weight:700;color:var(--ink)}
.facts .label{color:var(--muted);font-size:.9rem}
.list-heading{font-size:1.2rem;margin:8px 0 12px}
.results .card h3{margin:0 0 6px;font-size:1.1rem}
.info-box{margin:24px 0}
.info-box h2{margin-top:0}
.open-status{margin:-4px 0 8px;font-size:.9rem;font-weight:600;display:flex;align-items:center;gap:6px}
.open-status::before{content:"";width:8px;height:8px;border-radius:50%;flex:0 0 auto}
.open-status.is-open{color:#1b7f3b}.open-status.is-open::before{background:#1b7f3b}
.open-status.is-closed{color:var(--muted)}.open-status.is-closed::before{background:#b0bec5}
.locate{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:-2px 0 4px}
.btn-locate{background:none;border:0;color:var(--primary);padding:4px 0;min-height:0;font-weight:600;font-size:.9rem;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.btn-locate::before{content:"";width:14px;height:14px;border:2px solid currentColor;border-radius:50%;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px currentColor}
.btn-locate:hover{background:none;text-decoration:underline}
.btn-locate:disabled{opacity:.6;cursor:wait}
.locate-status{font-size:.85rem;color:var(--muted)}
.locate-status.is-error{color:var(--danger)}
/* Wegweiser + Notfallseite */
.guide{list-style:none;padding:0;margin:20px 0;display:grid;gap:16px}
.guide-step{background:var(--card);border:1px solid var(--line);border-left:6px solid var(--primary);border-radius:var(--radius);padding:18px 20px}
.guide-step.step-danger{border-left-color:var(--danger)}
.guide-step.step-warn{border-left-color:#e0a100}
.guide-step h2{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:1.25rem}
.guide-step h3{margin:16px 0 6px;font-size:1.05rem}
.step-no{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;font-size:1rem;flex:0 0 auto}
.guide-step ul:not(.chips){padding-left:20px;list-style:disc;margin:0 0 10px}
.guide-action a,.numbers a{color:inherit}
.guide-action{background:#f6fafb;border-radius:10px;padding:10px 14px}
.step-danger .guide-action{background:#fdecec;color:#7f1d1d}
.hero-hint{margin:12px 0 0;color:var(--muted);font-size:.95rem}
.numbers{display:grid;grid-template-columns:max-content 1fr;gap:8px 16px}
.table-scroll{overflow-x:auto;margin:0 0 24px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.data-table{border-collapse:collapse;width:100%}
.data-table th,.data-table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.data-table thead th{background:var(--primary-light,#e6f6f7);font-weight:700}
.data-table tbody th{font-weight:600}
.data-table tr:last-child>*{border-bottom:0}
.data-table td a{white-space:nowrap}
@media (max-width:560px){.numbers{grid-template-columns:1fr;gap:2px}.numbers dd{margin:0 0 10px}}
.state-grid{list-style:none;padding:0;margin:0 0 28px;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));grid-auto-rows:1fr;gap:10px}
.state-grid li{margin:0}
.state-grid a{height:100%;box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:12px 14px 12px 16px;background:var(--card);border:1px solid var(--line);border-left:4px solid var(--primary);border-radius:12px;text-decoration:none;color:var(--ink);transition:border-color .15s,box-shadow .15s,transform .15s}
.state-grid a:hover,.state-grid a:focus-visible{border-color:var(--primary);box-shadow:0 4px 14px rgba(14,154,167,.14);transform:translateY(-1px)}
.state-text{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.state-text strong{font-size:1rem;line-height:1.25}
.state-text .muted{font-size:.85rem;line-height:1.3}
.state-arrow{flex:0 0 auto;font-size:1.5rem;line-height:1;color:var(--primary)}
.poison-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin:0 0 28px}
.poison-card{display:flex;flex-direction:column;gap:12px;padding:18px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 10px rgba(22,50,79,.05)}
.poison-head{display:flex;gap:12px;align-items:flex-start}
.poison-head h3{margin:0;font-size:1.05rem;line-height:1.3}
.poison-head p{margin:2px 0 0;font-size:.85rem;line-height:1.35}
.poison-icon{flex:0 0 40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#e3f6f8;color:var(--primary-dark)}
.poison-call{display:block;text-align:center;padding:12px 14px;border-radius:12px;background:var(--primary);color:#fff;font-weight:800;font-size:1.3rem;letter-spacing:.02em;text-decoration:none;transition:background .15s}
.poison-call:hover,.poison-call:focus-visible{background:var(--primary-dark);color:#fff}
.poison-247{margin:-4px 0 0;text-align:center;font-size:.85rem;color:var(--muted)}
.poison-bottom{margin-top:auto;display:flex;flex-direction:column;gap:12px}
.poison-states{display:flex;flex-wrap:wrap;gap:6px}
.poison-single .poison-states{padding-top:12px;border-top:1px solid var(--line)}
.poison-states a{padding:4px 10px;border-radius:999px;background:#e3f6f8;color:var(--primary-dark);font-size:.85rem;font-weight:600;text-decoration:none}
.poison-states a:hover,.poison-states a:focus-visible{background:var(--primary);color:#fff}
.help-topics{display:grid;gap:12px;margin:16px 0 20px}
.alert+.alert{margin-top:12px}
.help-topic{padding:16px 18px;background:var(--card);border:1px solid var(--line);border-left:5px solid var(--primary);border-radius:var(--radius)}
.help-topic h2{margin:0 0 6px;font-size:1.1rem}
.help-topic p{margin:0 0 12px}
.help-crisis{border-left-color:#7b5ea7;background:#f7f4fb}
.help-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.help-call{display:inline-block;padding:10px 16px;border-radius:10px;background:var(--primary);color:#fff;font-weight:700;text-decoration:none}
.help-call:hover,.help-call:focus-visible{background:var(--primary-dark);color:#fff}
.help-call-alt{background:#e3f6f8;color:var(--primary-dark)}
.help-call-alt:hover,.help-call-alt:focus-visible{background:var(--primary);color:#fff}
.poison-single{grid-template-columns:1fr}
/* ---- Lotti – digitale Helferin ---- */
.helper-fab{position:fixed;right:16px;bottom:16px;z-index:60;display:flex;align-items:center;gap:8px;padding:4px 16px 4px 4px;border:0;border-radius:999px;
  background:var(--card);color:var(--ink);box-shadow:0 6px 20px rgba(22,50,79,.22);cursor:pointer;font:inherit;font-weight:700;transition:transform .15s,box-shadow .15s}
.helper-fab:hover,.helper-fab:focus-visible{transform:translateY(-2px);box-shadow:0 10px 26px rgba(22,50,79,.28)}
.helper-fab:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
.helper-fab img{width:52px;height:52px;border-radius:50%;background:#e3f6f8;object-fit:cover}
.helper-fab-label{font-size:.95rem;color:var(--primary-dark)}
body:has(.compare-bar.is-visible) .helper-fab{bottom:84px}
.helper-open .helper-fab{display:none}
.helper-panel{position:fixed;right:16px;bottom:16px;z-index:61;width:min(400px,calc(100vw - 32px));height:min(620px,calc(100vh - 32px));display:flex;flex-direction:column;
  background:var(--bg);border:1px solid var(--line);border-radius:18px;box-shadow:0 16px 48px rgba(22,50,79,.3);overflow:hidden}
.helper-panel[hidden]{display:none}
.helper-head{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--primary);color:#fff}
.helper-head img{width:40px;height:40px;border-radius:50%;background:#e3f6f8;object-fit:cover}
.helper-title{flex:1;display:flex;flex-direction:column;line-height:1.2}
.helper-title span{font-size:.8rem;opacity:.9}
.helper-close{border:0;background:transparent;color:#fff;font-size:1.8rem;line-height:1;cursor:pointer;padding:0 6px}
.helper-log{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px}
.helper-msg{max-width:92%;display:flex;flex-direction:column;gap:8px}
.helper-msg p{margin:0;padding:9px 12px;border-radius:14px;font-size:.95rem;line-height:1.4}
.helper-msg.is-bot{align-self:flex-start}
.helper-msg.is-bot p{background:var(--card);border:1px solid var(--line);border-top-left-radius:4px}
.helper-msg.is-user{align-self:flex-end}
.helper-msg.is-user p{background:var(--primary);color:#fff;border-top-right-radius:4px}
.helper-msg p.is-muted{background:transparent;border:0;padding:0 4px;font-size:.8rem;color:var(--muted)}
.is-typing .helper-msg p{color:var(--muted);font-style:italic}
.helper-turn{display:flex;align-items:flex-start;gap:6px;max-width:100%}
.helper-turn .helper-msg{flex:1;min-width:0;max-width:none}
.helper-pose{flex:0 0 auto;width:56px;height:56px;object-fit:contain;margin-top:-4px}
.helper-turn.is-new .helper-pose{animation:helper-pop .45s cubic-bezier(.2,1.4,.4,1)}
.helper-turn.is-new .helper-msg{animation:helper-in .3s ease-out}
.is-typing .helper-pose{animation:helper-bob 1s ease-in-out infinite}
@keyframes helper-pop{0%{transform:scale(.4) translateY(10px);opacity:0}100%{transform:none;opacity:1}}
@keyframes helper-in{0%{transform:translateY(6px);opacity:0}100%{transform:none;opacity:1}}
@keyframes helper-bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(3deg)}}
.helper-locate{align-self:flex-start;border:1px solid var(--primary);background:#e3f6f8;color:var(--primary-dark);border-radius:999px;padding:7px 14px;font:inherit;font-size:.88rem;font-weight:700;cursor:pointer}
.helper-locate:disabled{opacity:.75;cursor:progress}
/* Hinweis-Blase über dem Lotti-Knopf */
.helper-teaser{position:fixed;right:16px;bottom:86px;z-index:60;width:min(300px,calc(100vw - 32px));animation:helper-in .35s ease-out}
.helper-teaser-body{display:flex;align-items:center;gap:10px;width:100%;padding:10px 30px 10px 8px;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink);box-shadow:0 10px 30px rgba(22,50,79,.22);font:inherit;font-size:.92rem;line-height:1.35;text-align:left;cursor:pointer}
.helper-teaser-body:hover,.helper-teaser-body:focus-visible{border-color:var(--primary)}
.helper-teaser-body::after{content:"";position:absolute;right:34px;bottom:-8px;width:14px;height:14px;background:var(--card);border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}
.helper-teaser-body .helper-pose{width:72px;height:72px;margin:0}
.helper-teaser-close{position:absolute;top:4px;right:6px;border:0;background:transparent;color:var(--muted);font-size:1.4rem;line-height:1;cursor:pointer;padding:2px 6px}
body:has(.compare-bar.is-visible) .helper-teaser{bottom:154px}
.helper-fab.is-waving img{animation:helper-wave 1.2s ease-in-out 3}
@keyframes helper-wave{0%,100%{transform:rotate(0)}20%{transform:rotate(-12deg)}40%{transform:rotate(10deg)}60%{transform:rotate(-8deg)}80%{transform:rotate(6deg)}}
.helper-alert{border-radius:12px;padding:2px 0 10px;border:1px solid}
.helper-alert p{background:transparent!important;border:0!important}
.helper-alert.tone-danger{background:#fdecec;border-color:#f3b4b4}
.helper-alert.tone-warn{background:#fff6e0;border-color:#f0d28a}
.helper-alert.tone-calm{background:#f3effa;border-color:#d6c9ec}
.helper-actions,.helper-chips,.helper-links{display:flex;flex-wrap:wrap;gap:6px;padding:0 10px}
.helper-chips,.helper-links{padding:0}
.helper-actions a,.helper-chips a{padding:6px 12px;border-radius:999px;background:var(--primary);color:#fff;font-weight:700;font-size:.88rem;text-decoration:none}
.helper-chips a{background:#e3f6f8;color:var(--primary-dark)}
.helper-links a{font-size:.9rem;font-weight:600;color:var(--primary-dark)}
.helper-practices{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.helper-practices a{display:flex;flex-direction:column;gap:2px;padding:9px 12px;border-radius:12px;background:var(--card);border:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:.88rem}
.helper-practices a:hover{border-color:var(--primary)}
.helper-practices span{color:var(--muted)}
.helper-practices .is-open{color:#1d7a46;font-weight:600}
.helper-practices .is-closed{color:var(--danger);font-weight:600}
.helper-quick{display:flex;gap:6px;overflow-x:auto;padding:0 12px 8px;scrollbar-width:thin}
.helper-quick button{flex:0 0 auto;border:1px solid var(--line);background:var(--card);color:var(--primary-dark);border-radius:999px;padding:6px 12px;font:inherit;font-size:.85rem;cursor:pointer}
.helper-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line);background:var(--card)}
.helper-form input{flex:1;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit}
.helper-send{border:0;border-radius:10px;padding:0 14px;background:var(--primary);color:#fff;font:inherit;font-weight:700;cursor:pointer}
@media (max-width:560px){
  .helper-fab-label{display:none}
  .helper-fab{padding:4px}
  .helper-panel{right:0;bottom:0;width:100vw;height:min(88vh,100dvh);border-radius:18px 18px 0 0}
}
@media (prefers-reduced-motion:reduce){.helper-fab{transition:none}.helper-pose,.helper-msg,.helper-teaser,.helper-fab img{animation:none!important}}
@media print{.helper-fab,.helper-panel,.helper-teaser{display:none!important}}
/* ---- App-Download (/app) ---- */
.app-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:32px;align-items:center;margin:0 0 28px}
.app-hero h1{margin-top:0}
.app-dl{position:relative;display:inline-flex;align-items:center;gap:16px;margin:8px 0 10px;padding:10px 30px 10px 10px;border-radius:999px;
  background:linear-gradient(180deg,#18b3c1 0%,var(--primary) 45%,var(--primary-dark) 100%);color:#fff;text-decoration:none;
  box-shadow:0 8px 22px rgba(11,122,133,.35),inset 0 1px 0 rgba(255,255,255,.35);transition:transform .15s,box-shadow .15s;overflow:hidden}
.app-dl::before{content:"";position:absolute;left:12%;right:12%;top:3px;height:42%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.32),rgba(255,255,255,0));pointer-events:none}
.app-dl:hover,.app-dl:focus-visible{transform:translateY(-2px);box-shadow:0 12px 28px rgba(11,122,133,.42),inset 0 1px 0 rgba(255,255,255,.35);color:#fff}
.app-dl:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.app-dl-icon{flex:0 0 64px;height:64px;border-radius:50%;display:grid;place-items:center;color:#fff;
  background:radial-gradient(circle at 35% 30%,#2cc6d3,var(--primary-dark));box-shadow:inset 0 0 0 2px rgba(255,255,255,.35),0 2px 6px rgba(0,0,0,.18)}
.app-dl-text{display:flex;flex-direction:column;line-height:1.25;position:relative}
.app-dl-text strong{font-size:1.25rem;letter-spacing:.01em}
.app-dl-text span{font-size:.88rem;opacity:.92}
.app-dl-note{max-width:46ch}
.app-shots{display:flex;gap:14px;justify-content:center;align-items:flex-start}
.app-shots figure{margin:0;flex:1 1 0;max-width:200px;text-align:center}
.app-shots img{width:100%;height:auto;border-radius:22px;border:6px solid #16324f;box-shadow:0 10px 26px rgba(22,50,79,.22);background:#fff}
.app-shots figure:nth-child(2){margin-top:28px}
.app-shots figcaption{margin-top:8px;font-size:.85rem;color:var(--muted);font-weight:600}
.app-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 16px}
.app-grid .card+.card{margin-top:0}
.app-page .card h2{margin-top:0;font-size:1.2rem}
.app-features{margin:0;padding-left:1.2em;display:grid;gap:6px}
.app-steps{margin:0 0 8px;padding-left:1.3em;display:grid;gap:8px}
.app-qr-card{text-align:center}
.app-qr{display:block;margin:10px auto 0;width:180px;height:180px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:12px}
.app-tech summary{cursor:pointer;color:var(--primary-dark);font-weight:600}
code.break{word-break:break-all;font-size:.8rem}
@media (max-width:820px){
  .app-hero{grid-template-columns:1fr;gap:20px}
  .app-grid{grid-template-columns:1fr}
  .app-qr-card{display:none} /* auf dem Handy überflüssig */
}
@media (max-width:420px){
  .app-dl{padding-right:20px;gap:12px}
  .app-dl-icon{flex-basis:54px;height:54px}
  .app-dl-text strong{font-size:1.1rem}
}
.poison-single .poison-call{font-size:1.6rem;padding:14px}
.poison-title{margin:0;font-size:1.15rem}
.numbers dt{font-weight:800;font-size:1.15rem;color:var(--ink)}
.numbers dd{margin:0}
@media (max-width:480px){.numbers{grid-template-columns:1fr;gap:2px}.numbers dd{margin-bottom:10px}}
.results .card{transition:border-color .15s,box-shadow .15s}
.results .card.is-active{border-color:var(--primary);box-shadow:0 0 0 3px #7fd6de66}
/* Praxisvergleich */
.btn-compare{display:flex;width:fit-content;margin-top:10px;background:#fff;color:var(--primary);border:1px solid var(--primary);min-height:36px;padding:6px 12px;font-size:.9rem;font-weight:600;border-radius:999px;cursor:pointer}
.btn-compare:hover{background:#e3f6f8}
.btn-compare[aria-pressed="true"]{background:var(--primary);color:#fff}
.btn-compare:disabled{opacity:.45;cursor:not-allowed}
.compare-bar{position:fixed;left:50%;bottom:16px;transform:translate(-50%,150%);z-index:50;display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center;background:var(--ink);color:#fff;padding:10px 16px;border-radius:999px;box-shadow:0 8px 24px #0003;transition:transform .2s;max-width:calc(100% - 32px)}
.compare-bar.is-visible{transform:translate(-50%,0)}
.compare-bar .btn{min-height:38px;padding:8px 18px}
.compare-bar .btn.is-disabled{opacity:.5;pointer-events:auto;cursor:not-allowed}
.btn-link-plain{background:none;border:0;color:inherit;text-decoration:underline;min-height:0;padding:4px;cursor:pointer;font:inherit}
.btn-link-plain:hover{background:none}
body.has-compare-bar{padding-bottom:80px}
.compare-wrap{overflow-x:auto;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:12px;-webkit-overflow-scrolling:touch}
table.compare{border-collapse:collapse;width:100%;font-size:.95rem}
.compare th,.compare td{padding:9px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.compare thead th,.compare thead td{background:#f1f7f8;border-bottom:2px solid var(--line)}
.compare tbody tr:last-child th,.compare tbody tr:last-child td{border-bottom:0}
.compare th[scope="col"]{min-width:180px;vertical-align:bottom}
.compare tbody th{white-space:nowrap;color:var(--muted);font-weight:600}
.compare tr.today th,.compare tr.today td{font-weight:700}
.compare .yes{color:#1b7f3b;font-weight:600}
.compare .no{color:var(--muted)}
@media (max-width:640px){.compare-bar{border-radius:var(--radius);bottom:8px;gap:8px;font-size:.9rem}}
/* Ortsverzeichnis A–Z */
.city-index{margin:14px 0 8px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 16px}
.city-index summary{cursor:pointer;font-weight:600;color:var(--primary)}
.letter-nav{display:flex;flex-wrap:wrap;gap:4px;margin:12px 0}
.letter-nav a{display:inline-grid;place-items:center;min-width:32px;height:32px;border:1px solid var(--line);border-radius:8px;text-decoration:none;font-weight:600}
.letter-head{margin:14px 0 6px;font-size:1.05rem;border-bottom:1px solid var(--line);padding-bottom:4px;scroll-margin-top:12px}
.city-columns{list-style:none;padding:0;margin:0;columns:4 180px;column-gap:20px}
.city-columns li{break-inside:avoid;padding:2px 0}
.city-columns a{text-decoration:none}
.city-columns .count{color:var(--muted);font-size:.85rem}
/* Fachrichtungs-Icons (App\Services\SpecialtyIcon) */
.spec-icon{width:24px;height:24px;flex:0 0 auto;color:var(--primary)}
.spec-badge{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#e3f6f8;flex:0 0 auto}
.spec-badge .spec-icon{width:26px;height:26px}
.spec-badge-lg{width:58px;height:58px;border-radius:16px}
.spec-badge-lg .spec-icon{width:34px;height:34px}
.spec-title{display:flex;align-items:center;gap:14px}
.spec-grid li{padding:0}
.spec-grid a{display:flex;align-items:center;gap:12px;padding:12px 14px;height:100%;border-radius:var(--radius);color:inherit}
.spec-grid a:hover,.spec-grid a:focus-visible{background:#f1fafb}
.spec-grid a:hover .spec-badge{background:var(--primary)}
.spec-grid a:hover .spec-icon{color:#fff}
.spec-grid .spec-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.spec-grid strong{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:anywhere}
.spec-grid strong{color:var(--primary-dark,var(--primary))}
.chips a{display:inline-flex;align-items:center;gap:7px}
.chip-icon{width:18px;height:18px}
@media (max-width:640px){
  .spec-grid a{padding:10px;gap:10px}
  .spec-badge{width:38px;height:38px;border-radius:12px}
  .spec-badge .spec-icon{width:22px;height:22px}
  .spec-badge-lg{width:46px;height:46px}
  .spec-badge-lg .spec-icon{width:28px;height:28px}
  .spec-title{gap:10px}
}
/* Illustrationen auf Unterseiten: weißer Bildhintergrund verschmilzt per Multiply mit dem Seitenhintergrund */
.illu{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.page-hero{display:grid;gap:12px 32px;align-items:center;margin-bottom:8px}
.page-hero .illu{max-width:460px;justify-self:center}
.page-hero h1{margin-top:0}
@media (min-width:900px){
  .page-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
  .page-hero .illu{max-width:100%}
}
@media (max-width:640px){.page-hero .illu{max-width:300px}}
.illu-small{max-width:320px;margin:8px auto 0}
.split-auth{display:grid;gap:24px;align-items:center}
@media (min-width:900px){.split-auth{grid-template-columns:minmax(0,440px) minmax(0,1fr)}}
.split-auth .illu{max-width:520px;justify-self:center}
@media (max-width:899px){.split-auth .illu{max-width:300px}}
.notfound{text-align:center}
.notfound .cta-row{justify-content:center}
.notfound .illu{max-width:420px;margin:0 auto 8px}
@media (max-width:640px){.notfound .illu{max-width:280px}}
/* Für Praxen: Infoseite, Eintragung, Praxisportal */
.cta-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:18px 0 26px}
.feature-grid{list-style:none;padding:0;margin:0 0 24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.feature-grid li{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:6px}
.feature-grid span{color:var(--muted);font-size:.95rem}
.steps{padding-left:22px;display:grid;gap:8px;margin:0 0 24px}
.claim-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
.signup-form{display:grid;gap:14px}
.form-section{border:1px solid var(--line);margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}
.form-section>*{min-width:0}
.form-section legend{font-weight:700;font-size:1.1rem;padding:0 6px}
.form-section textarea{width:100%;font:inherit;padding:12px;border:1px solid var(--line);border-radius:10px}
.form-section .filters>div{display:grid;gap:4px}
.form-sub{font-size:1rem;margin:8px 0 0}
input.is-locked{background:#f1f5f6;color:var(--muted);cursor:not-allowed}
.hours-grid{display:grid;gap:8px}
.hg-row{display:grid;grid-template-columns:minmax(220px,auto) minmax(0,1fr) minmax(0,1fr);gap:8px 14px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line)}
.hg-row:last-child{border-bottom:0}
.hg-day{display:flex;align-items:center;gap:10px;font-weight:600}
.hg-dayname{min-width:92px}
.hg-day select{min-height:40px;padding:6px 8px;width:auto;flex:1;min-width:0}
.hg-slot{display:flex;align-items:center;gap:6px;min-width:0}
.hg-slot input{min-width:0;width:100%;flex:1 1 0;padding:8px 6px;min-height:42px}
.hg-row,.hg-day{min-width:0}
.hg-slot[hidden]{display:none}
.hg-row.is-closed .hg-dayname{color:var(--muted)}
.hours-tools{margin:8px 0 0;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
@media (max-width:640px){
  .hg-row{grid-template-columns:minmax(0,1fr)}
}
.portal-bar{min-height:0;padding:0}
.portal-practice{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px}
.portal-practice h3{margin:0 0 4px}
.portal-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.status-pill{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.85rem;font-weight:700}
.st-pending{background:#fff3d6;color:#7a4b00}.st-active{background:#e4f5e9;color:#1b5e32}
.st-rejected,.st-revoked{background:#fdecec;color:#8e1c1c}
.inline-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.code-input{font-family:ui-monospace,Consolas,monospace;font-size:1.2rem;letter-spacing:.1em;text-transform:uppercase;max-width:220px}
.closure-list{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:6px}
.closure-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:6px}
.closure-list form{margin:0}
.closure-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;align-items:end}
.closure-form>div{display:grid;gap:4px;min-width:0}
.closure-form input{width:100%}
.closure-note ul{margin:6px 0 0;padding-left:20px}
.quality-card p{margin:0 0 6px}
.quality-card meter{width:160px;vertical-align:middle;margin-left:8px}
.sticky-save{position:sticky;bottom:0;background:linear-gradient(transparent,var(--bg) 30%);padding:14px 0 8px;margin:0}
/* Checkliste „Gut vorbereitet zum Termin“ */
.checklist-items{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:6px}
.checklist-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0}
.print-only{display:none}
@media print{
  .site-header,.site-footer,.skip,.breadcrumb,.view-toggle,.map-wrap,.map,.map-small,.locate,[data-print],form,.pager,.compare-bar,.btn-compare{display:none !important}
  body{background:#fff !important;color:#000}
  .card{border:1px solid #999;box-shadow:none;break-inside:avoid}
  a{color:#000;text-decoration:none}
  .print-only{display:block}
  body.print-checklist article>*:not(.checklist){display:none !important}
  body.print-checklist .checklist{border:0;padding:0}
  body.print-checklist .checklist .muted{display:none}
  .checklist input[type=checkbox]{width:16px;height:16px}
}
a.badge-link{text-decoration:none}
a.badge-link:hover{text-decoration:underline}

/* =====================================================================
   Responsive Grundlagen – Handy (≤ 640 px), Tablet (641–1023 px), Desktop
   Steht bewusst am Ende: überschreibt frühere Einzelregeln.
   ===================================================================== */
img,svg,video,canvas{max-width:100%}
input,select,textarea,button{max-width:100%}
/* Formulare: Felder füllen ihre Spalte, nichts ragt über den Kasten hinaus */
.searchbox{grid-template-columns:minmax(0,1fr)}
.searchbox>*{min-width:0}
.searchbox input:not([type=checkbox]):not([type=radio]),.searchbox select,.searchbox textarea{width:100%}
.check{align-items:flex-start}
.check input{flex:0 0 auto;margin-top:3px}
/* Kopf- und Fußzeile: Abstände per gap statt Außenabständen (sauberer Umbruch) */
.bar{padding-top:10px;padding-bottom:10px;gap:10px 24px}
.site-header nav{display:flex;align-items:center;flex-wrap:wrap;gap:6px 22px}
.site-header nav a,.site-footer nav a{margin:0}
.site-footer nav{display:flex;flex-wrap:wrap;gap:8px 22px;margin:10px 0}
.admin-header nav{display:flex;gap:4px 18px;flex-wrap:wrap}
.admin-header nav a{margin:0}
.block h1,.narrow-page h1{line-height:1.2}

/* ---------- Tablet ---------- */
@media (min-width:641px) and (max-width:1023px){
  .wrap{padding-left:24px;padding-right:24px}
  .hero{padding:40px 0 24px}
  .hero-art img{max-width:420px}
  /* Adminkopf: Zeile 1 Logo + Abmelden, Zeile 2 Menü (statt „Abmelden“ allein in Zeile 3) */
  .admin-header .logo{order:1}
  .admin-header .logout{order:2;margin-left:auto}
  .admin-header nav{order:3;width:100%;gap:4px 22px}
}
/* Startseite Tablet quer/klein: Suche und Bild schon nebeneinander (kein leerer rechter Rand) */
@media (min-width:720px) and (max-width:899px){
  .hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:24px}
  .hero h1{font-size:2.1rem}
  .hero-art img{max-width:100%}
}
/* Admin-Tabellen: Namensspalte nicht zu schmal, Kopfzeilen ohne Umbruch (Tabelle scrollt bei Bedarf) */
table.data th{white-space:nowrap}
table.data td:first-child{min-width:11rem}

/* ---------- Handy ---------- */
@media (max-width:640px){
  .wrap{padding-left:16px;padding-right:16px}
  .block{padding:22px 16px}
  h1{font-size:1.75rem}
  /* Kopfzeile: Zeile 1 Logo, Zeile 2 Menü gleichmäßig verteilt */
  .site-header .bar{padding-top:10px;padding-bottom:8px;row-gap:8px}
  .site-header nav{width:100%;justify-content:space-between;gap:6px 8px;font-size:.95rem}
  .site-header nav a.nav-account{padding:5px 12px}
  .admin-header .bar{row-gap:8px}
  .admin-header nav{width:100%;flex-wrap:nowrap;overflow-x:auto;gap:16px;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  .admin-header nav a{white-space:nowrap}
  .logout{width:100%;justify-content:flex-end}
  /* Startseite */
  .hero{padding:22px 0 4px}
  .hero h1{font-size:1.95rem;margin-bottom:10px}
  .lead{font-size:1rem;margin-bottom:16px}
  .hero-grid{gap:12px}
  .hero-art img{max-width:280px}
  /* Karten und Formulare */
  .searchbox{padding:16px}
  .card{padding:16px}
  .chips{gap:8px}
  .chips a{padding:9px 16px}
  .link-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  .link-grid li{padding:10px 12px;font-size:.95rem}
  .filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .checks{grid-template-columns:minmax(0,1fr)}
  /* Praxisprofil */
  .profile-head{flex-direction:column;gap:8px}
  .contact-actions{grid-template-columns:minmax(0,1fr)}
  .rating-summary{gap:16px}
  .rating-bars meter{width:100px}
  .map-small{height:240px}
  /* Fußzeile */
  .site-footer{margin-top:24px;padding:20px 0}
  .site-footer nav{gap:6px 18px}
  /* Tabellen im Admin bleiben horizontal scrollbar */
  .table-wrap{-webkit-overflow-scrolling:touch}
}
@media (max-width:380px){
  .site-header nav{font-size:.88rem}
  .filters{grid-template-columns:minmax(0,1fr)}
}
/* Flex-Spalte (Sticky-Footer): zentrierte Inhaltsbereiche dürfen nicht auf Inhaltsbreite schrumpfen */
body>main,body>header>.wrap,body>footer>.wrap{width:100%}
/* Adminbereich: breitere Arbeitsfläche, Menü passt in eine Zeile */
body.admin .wrap{max-width:1280px}
@media (min-width:1024px){
  .admin-header .bar{flex-wrap:nowrap}
  .admin-header nav{flex:1;justify-content:center;flex-wrap:nowrap;gap:4px 20px}
  .admin-header nav a{white-space:nowrap}
  .logout{flex:0 0 auto}
}
/* Lotti-Hinweis auf Seiten (views/partials/lotti-tip.php) */
.lotti-tip{display:flex;align-items:center;gap:14px;max-width:620px;margin:18px auto;padding:12px 16px 12px 8px;background:#f1fafb;border:1px solid #cfe9ec;border-radius:16px;text-align:left}
.lotti-tip img{flex:0 0 auto;width:112px;height:112px;object-fit:contain}
.lotti-tip p{margin:0 0 8px}
.lotti-tip p:last-child{margin:0}
.card .lotti-tip{margin:8px 0;background:transparent;border:0;padding:0}
@media (max-width:480px){.lotti-tip img{width:84px;height:84px}}
.lotti-tip.is-compact{margin:14px 0 0;max-width:none;padding:8px 12px 8px 4px;gap:10px;font-size:.95rem}
.lotti-tip.is-compact img{width:84px;height:84px}
.lotti-tip .btn-outline{min-height:40px;padding:6px 14px}
/* Saisonaler Hinweis auf der Startseite (HealthSeason::banner) */
.season-ribbon-wrap{position:absolute;top:0;left:0;width:340px;height:260px;overflow:hidden;z-index:20;pointer-events:none;display:none}
.season-ribbon{position:absolute;top:55px;left:-120px;width:460px;transform:rotate(-30deg);pointer-events:auto;display:flex;flex-direction:column;align-items:center;
  padding:9px 0 10px;background:linear-gradient(90deg,#0b7a85,var(--primary));color:#fff;text-decoration:none;line-height:1.2;text-align:center;
  box-shadow:0 6px 18px rgba(22,50,79,.28);animation:season-float 4s ease-in-out infinite}
.season-ribbon strong{font-size:1.02rem}
.season-ribbon span{font-size:.84rem;opacity:.95}
.season-ribbon:hover,.season-ribbon:focus-visible{background:linear-gradient(90deg,#095f68,#0b7a85);color:#fff}
.season-ribbon:focus-visible{outline:3px solid #ffd166;outline-offset:2px}
@keyframes season-float{0%,100%{translate:0 0}50%{translate:0 -3px}}
.season-pill{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:4px 14px 4px 4px;border-radius:999px;background:#fff;border:1px solid #cfe9ec;
  box-shadow:0 4px 14px rgba(22,50,79,.12);color:var(--ink);text-decoration:none;font-size:.9rem;line-height:1.25;animation:season-float 4s ease-in-out infinite}
.season-pill img{width:44px;height:44px;object-fit:contain;flex:0 0 auto}
.season-pill strong{color:var(--primary-dark)}
.season-pill:hover,.season-pill:focus-visible{border-color:var(--primary)}
@media (min-width:1740px){.season-ribbon-wrap{display:block}.season-pill{display:none}}
@media (prefers-reduced-motion:reduce){.season-ribbon,.season-pill{animation:none}}
body.in-app .season-ribbon-wrap{display:none}
/* Gesundheit im Jahreslauf */
.health-hero{display:flex;align-items:center;gap:18px;margin:8px 0 18px}
.health-hero img{flex:0 0 auto;width:150px;height:150px;object-fit:contain}
.health-hero h1{margin-top:0}
@media (max-width:640px){.health-hero{flex-direction:column;align-items:flex-start}.health-hero img{width:110px;height:110px}}
.health-cta{margin:24px 0 16px}
.health-live{font-weight:600}
.health-sources{font-size:.92rem}
.health-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin:18px 0}
.health-tile{display:flex;align-items:center;gap:12px;height:100%;padding:12px 14px 12px 6px;background:var(--card);border:1px solid var(--line);border-radius:16px;color:var(--ink);text-decoration:none}
.health-tile:hover,.health-tile:focus-visible{border-color:var(--primary)}
.health-tile img{width:96px;height:96px;object-fit:contain;flex:0 0 auto}
.health-tile strong{display:block;line-height:1.3}
.health-tile.is-now{border-color:#9fd8de;background:#f1fafb}
.health-now{display:inline-block;margin-bottom:4px;padding:1px 8px;border-radius:999px;background:var(--primary);color:#fff;font-size:.75rem;font-weight:700}
.helper-practices li{display:grid;gap:4px}
.helper-tel{justify-self:start;padding:3px 10px;border-radius:999px;background:#e3f6f8;color:var(--primary-dark);font-size:.82rem;font-weight:700;text-decoration:none}
.helper-tel:hover,.helper-tel:focus-visible{background:var(--primary);color:#fff}
/* Helle Logos (weiß auf transparent, LogoUpload::needsDark) auf dunklem Grund */
.practice-logo.is-light,.card-logo.is-light,.compare-logo.is-light,.logo-preview.is-light{background:#16324f;border-color:#16324f}
.health-table{width:100%;border-collapse:collapse;font-size:.98rem}
.health-table th,.health-table td{padding:10px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.health-table thead th{background:#f1fafb;font-weight:700}
.health-table tbody th{font-weight:800;color:var(--primary-dark);width:110px}
.health-table tr:last-child th,.health-table tr:last-child td{border-bottom:0}
