/* Profilseiten mein-augenarzt.org – ergänzt style.css deines Themes */

/* Usercentrics sperrt beim Consent-Banner das Scrollen (body.overflowHidden).
   Dadurch verschwindet die Scrollleiste und die ganze Seite springt zur Seite.
   scrollbar-gutter hält den Platz der Scrollleiste immer frei. */
html { scrollbar-gutter: stable; }

.pf-profil .pf-h1 { font-size: 1.9rem; margin: 0 0 .35rem; }
.pf-profil .pf-h2 { color: #1b86b8; font-size: 1.5rem; margin-bottom: 1rem; }
.pf-profil .pf-h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .5rem; }
.pf-unterzeile { font-size: 1.125rem; color: #555; margin-bottom: 1.25rem; }
.pf-praxisname { color: #333; font-weight: 600; }

.pf-logo { max-width: 100%; height: auto; border-radius: 6px; margin-bottom: 1rem; }
.pf-adresse { font-style: normal; font-size: 1.125rem; font-weight: 300; line-height: 1.6; }
.pf-kontaktliste { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 1.05rem; }
.pf-kontaktliste li { margin-bottom: .45rem; }
.pf-anrufen { display: inline-block; margin-bottom: .5rem; }

/* Die globale Tabellen-Formatierung des Themes (min-width 400px, Schatten, blaue Kopfzeile) hier aufheben */
.pf-profil table.pf-zeiten { width: 100%; min-width: 0; margin: 0; box-shadow: none; font-family: inherit; font-size: 1.05rem; }
.pf-profil .pf-zeiten th,
.pf-profil .pf-zeiten td { padding: .55rem .5rem; border-bottom: 1px solid #eef0f2; background: none; color: inherit; font-weight: 300; vertical-align: top; }
.pf-profil .pf-zeiten th { width: 9rem; font-weight: 600; }
.pf-profil .pf-zeiten tr:nth-of-type(even) { background: none; }
.pf-profil .pf-zeiten tr.pf-heute { background: #eef8fd; }
.pf-profil .pf-zeiten tr.pf-heute th::after { content: " (heute)"; font-weight: 400; color: #17739f; font-size: .85rem; }
.pf-geschlossen { color: #6b6b6b; }

.pf-fakten { margin: 1rem 0 0; padding-left: 1.2rem; font-size: 1.05rem; }
.pf-fakten li { margin-bottom: .3rem; }

.pf-profil .grid-list.pf-leistungen li { font-size: 1.05rem; }
@media (max-width: 767px) { .pf-profil .grid-list { grid-template-columns: 1fr; } }
.pf-merkmale { padding-left: 1.2rem; margin: 0; font-size: 1.05rem; }

.pf-karte { border: 0; width: 100%; height: 360px; margin-bottom: 1rem; }
.pf-route { display: inline-block; margin-bottom: .5rem; }
.pf-karte-platzhalter { display: flex; align-items: center; justify-content: center; text-align: center;
    background: #eef3f6 repeating-linear-gradient(45deg, #eef3f6 0 14px, #e7eef2 14px 28px); border: 1px solid #dde6eb; border-radius: 8px; }
.pf-karte-inhalt { background: #fff; padding: 1.1rem 1.4rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.08); max-width: 90%; }
.pf-karte-adresse { font-weight: 600; margin-bottom: .7rem; }
.pf-karte-laden { cursor: pointer; border: 0; }
.pf-karte-hinweis { font-size: .8rem; color: #666; margin: .6rem 0 0; }
@media (max-width: 767px) { .pf-karte { height: 240px; } }

.pf-faq details { border-bottom: 1px solid #ddd; padding: .8rem 0; }
.pf-faq summary { cursor: pointer; font-size: 1.125rem; font-weight: 600; }
.pf-faq-antwort { padding-top: .6rem; font-size: 1.05rem; line-height: 1.6; }

.pf-naehe { list-style: none; padding: 0; margin: 0; }
.pf-naehe li { display: flex; flex-wrap: wrap; gap: .2rem .8rem; padding: .6rem 0; border-bottom: 1px solid #eef0f2; font-size: 1.05rem; }
.pf-naehe-ort { color: #666; font-size: .95rem; }
.pf-naehe-km { margin-left: auto; color: #17739f; white-space: nowrap; }
.pf-stadtlink { margin: 1rem 0 .5rem; font-weight: 600; }

.pf-infobox { background: #f4fafd; border: 1px solid #d3ecf8; border-left: 4px solid #65C6F1; border-radius: 8px; padding: 1.1rem 1.25rem; margin: .5rem 0 1.5rem; }
.pf-infobox-zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pf-infobox-text strong { display: block; font-size: 1.05rem; color: #222; margin-bottom: .15rem; }
.pf-infobox-text span { font-size: .95rem; color: #555; }
.pf-btn-korrektur { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; padding: .5rem 1rem; border: 1px solid #65C6F1; border-radius: 6px; background: #fff; color: #17739f; font-weight: 600; font-size: .95rem; text-decoration: none; }
.pf-btn-korrektur:hover { background: #17739f; border-color: #17739f; color: #fff; text-decoration: none; }
.pf-infobox-hinweis { display: flex; gap: .5rem; align-items: flex-start; margin: .9rem 0 0; padding-top: .8rem; border-top: 1px solid #dceff8; font-size: .875rem; line-height: 1.5; color: #666; }
.pf-infobox-hinweis i { color: #65C6F1; font-size: 1rem; margin-top: .1rem; }
@media (max-width: 575px) { .pf-btn-korrektur { width: 100%; justify-content: center; } }

/* Abstand nach unten in jedem Block, falls das Theme keinen Innenabstand unten setzt */
.pf-profil .singlepost { padding-bottom: 1.5rem; }
.pf-profil .singlepost > :last-child { margin-bottom: 0; }
.pf-profil .singlepost > .pf-stadtlink:last-child,
.pf-profil .singlepost > .pf-route:last-child { margin-bottom: .5rem; }

/* Kontrast (WCAG AA): Links und Suchbutton dunkler als das helle Theme-Blau */
.pf-profil a:not(.btn_1):not(.pf-btn-korrektur) { color: #17739f; }
.pf-profil a:not(.btn_1):not(.pf-btn-korrektur):hover { color: #0f5577; }
.page_header .search_bar_list input[type="submit"] { background-color: #17739f; color: #fff; }
.page_header .search_bar_list input[type="submit"]:hover { background-color: #0f5577; }

/* Feste Werbeplätze: Höhe ist vorab reserviert, damit beim Nachladen nichts springt.
   Ohne data-ad-format füllt AdSense genau diese Fläche (responsive, feste Höhe). */
.pf-ad { margin: 0 0 1.5rem; text-align: center; }
.pf-ad-label { display: block; font-size: .75rem; color: #6b6b6b; margin-bottom: .25rem; text-align: left; }
.pf-ad-ins { display: block; width: 100%; height: 280px; }
@media (min-width: 992px) { .pf-ad-ins { height: 250px; } }

/* ---------- Stadt- und Bundesland-Seiten ---------- */
.st-kennzahlen { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; }
.st-kennzahlen li { background: #f4fafd; border: 1px solid #d3ecf8; border-radius: 8px; padding: .8rem 1rem; }
.st-kennzahlen strong { display: block; font-size: 1.6rem; line-height: 1.1; color: #17739f; }
.st-kennzahlen span { font-size: .9rem; color: #444; }

.st-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.st-chip { border: 1px solid #c9d1d9; background: #fff; border-radius: 999px; padding: .4rem .9rem; font-size: .95rem; cursor: pointer; color: #333; }
.st-chip.aktiv { background: #17739f; border-color: #17739f; color: #fff; }
.st-treffer { font-size: .9rem; color: #555; min-height: 1.2em; margin: 0 0 .5rem; }

.st-liste { list-style: none; padding: 0; margin: 0; }
.st-praxis { padding: .9rem 0; border-bottom: 1px solid #eef0f2; }
.st-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; }
.st-name { font-size: 1.1rem; font-weight: 600; }
.st-heute { font-size: .9rem; color: #555; }
.st-heute.st-offen { color: #1d7a3a; font-weight: 600; }
.st-heute.st-zu { color: #6b6b6b; }
.st-adresse { color: #444; margin-top: .15rem; }
.st-details { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; font-size: .95rem; margin-top: .2rem; }
.st-leise { color: #6b6b6b; }
.st-badges { margin-top: .35rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.st-badge { font-size: .78rem; background: #eef6fb; color: #17739f; border: 1px solid #d3ecf8; border-radius: 4px; padding: .1rem .45rem; }
.st-weitere { font-size: .88rem; color: #555; margin-top: .35rem; }

.st-notfall { border: 1px solid #f3d6d6; background: #fdf6f6; border-left: 4px solid #c0392b; border-radius: 8px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.st-notfall p { margin: 0; }

.st-orte { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: 2rem; }
.st-orte li { padding: .25rem 0; break-inside: avoid; }
.st-orte span { color: #6b6b6b; font-size: .88rem; }
@media (max-width: 767px) { .st-orte { columns: 2; } }
@media (max-width: 420px) { .st-orte { columns: 1; } }
