/*
Theme Name: Heins Praxis V12
Description: Praxisdesign mit editierbaren Bildern und Texten, Praxis-Aktuell-Beiträgen und Anfahrt.
Version: 1.9.3
Requires at least: 6.0
Text Domain: heins-praxis
*/

:root{--teal:#008f89;--deep:#005b5c;--ink:#173638;--muted:#5b6e70;--line:#dce8e7;--pale:#f2f8f7}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;color:var(--ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif;background:#fff}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #12aaa2;outline-offset:3px}.wrap{width:min(1180px,calc(100% - 44px));margin:auto}header{position:sticky;top:0;z-index:20;background:#fff;box-shadow:0 2px 14px #163c3a16}.head{max-width:1440px;margin:auto;padding:13px 24px;display:flex;align-items:center;gap:28px;justify-content:space-between}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;min-width:230px}.brand-mark{width:43px;height:58px;object-fit:cover;object-position:20% 40%;border-radius:5px}.brand strong{font-family:Georgia,serif;font-size:18px;line-height:1.15;display:block}.brand small{display:block;color:var(--deep);font-size:11px;letter-spacing:.06em;margin-top:3px}nav{display:flex;align-items:center;gap:clamp(9px,1.25vw,20px)}nav a{font-size:12.5px;text-decoration:none;font-weight:650;white-space:nowrap}nav a:hover{color:var(--teal)}.menu-toggle{display:none;background:var(--deep);color:white;border:0;border-radius:6px;padding:9px 14px;font-weight:700}.hero{width:100%;max-width:1600px;margin:auto}.hero img{display:block;width:100%;height:auto}.welcome{background:linear-gradient(115deg,#005458,#008a85 85%);color:white;text-align:center;padding:35px 22px 40px}.welcome h1{font-size:clamp(27px,3.5vw,46px);line-height:1.17;margin:0 auto 9px;max-width:1100px}.welcome p{font-size:clamp(16px,1.7vw,21px);margin:0 0 25px;color:#e0f5f2}.buttons{display:flex;justify-content:center;gap:15px;flex-wrap:wrap}.btn{display:inline-block;text-decoration:none;padding:11px 22px;border:2px solid white;border-radius:7px;background:#fff;color:var(--deep);font-weight:750;font-size:15px}.btn.outline{background:transparent;color:white}.btn.teal{background:var(--deep);border-color:var(--deep);color:white}.btn:hover{transform:translateY(-1px);box-shadow:0 5px 20px #0002}.section{padding:75px 0}.section.alt{background:var(--pale)}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:800;color:var(--teal)}h2{font-family:Georgia,serif;font-size:clamp(29px,3.4vw,42px);line-height:1.2;margin:8px 0 15px}h3{font-family:Georgia,serif;font-size:25px;line-height:1.2;margin:14px 0 9px}.lead{max-width:800px;color:var(--muted);font-size:17px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:33px}.card{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden;box-shadow:0 12px 30px #123b390d;display:flex;flex-direction:column}.card-top{height:175px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.card-top.med{background:linear-gradient(135deg,#d7eeeb,#f4faf9)}.card-top.scan{background:linear-gradient(135deg,#b9d9d8,#2e777a)}.stethoscope-photo{width:100%;height:100%;object-fit:cover;display:block}.card-top.travel{background:linear-gradient(135deg,#d4efec,#6fb9b0)}.glyph{font-size:77px;color:#006e6c;line-height:1}.scan .glyph{color:white}.card-body{padding:23px 25px 28px;flex:1;display:flex;flex-direction:column}.card-body p{font-size:15px;color:var(--muted);margin:0 0 24px}.more{margin-top:auto;color:var(--deep);font-weight:750;text-decoration:none}.more:hover{text-decoration:underline}.two{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}.photo{width:100%;border-radius:14px;display:block;box-shadow:0 16px 35px #153d3a16}.feature-list{padding-left:20px;color:var(--muted)}.feature-list li{margin:9px 0}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:27px}.tile{background:white;border:1px solid var(--line);padding:22px;border-radius:10px}.tile h3{font-size:21px}.tile p{font-size:15px;color:var(--muted);margin-bottom:0}.news{border-left:4px solid var(--teal);background:#fff;padding:18px 22px;border-radius:5px;margin-top:24px}.hours{width:100%;border-collapse:collapse;font-size:15px}.hours td{border-bottom:1px solid var(--line);padding:10px 3px}.hours td:last-child{text-align:right}.contact{background:#06494b;color:white}.contact h2{color:white}.contact a{color:white}.contact .lead{color:#d9efec}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.contact-card{background:#ffffff12;padding:24px;border:1px solid #ffffff30;border-radius:10px}footer{background:#123639;color:#e4f2f0;padding:28px 0;font-size:13px}.foot{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.disclaimer{font-size:13px;color:var(--muted)}@media(max-width:1190px){.head{flex-wrap:wrap}.brand{min-width:0}nav{flex-wrap:wrap;justify-content:center}}@media(max-width:750px){.head{padding:10px 20px}.menu-toggle{display:block}nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0}nav.open{display:flex}nav a{padding:10px 0;border-top:1px solid var(--line);font-size:15px}.cards,.tiles,.two,.contact-grid{grid-template-columns:1fr}.section{padding:52px 0}.welcome{padding:30px 20px}.card-top{height:140px}.two{gap:26px}.hours td:last-child{font-size:13px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.brand-logo{width:44px;height:67px;object-fit:contain;flex-shrink:0}.card-icon{width:155px;height:128px;object-fit:contain}.beach-photo{width:100%;height:100%;object-fit:cover;object-position:60% 52%}.stethoscope-photo{width:100%;height:100%;object-fit:cover;display:block}.card-top.travel{background:#c9e7e7}.card-top.scan{background:linear-gradient(135deg,#e7f3f1,#a9cfcb)}@media(max-width:750px){.brand-logo{height:58px;width:38px}}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:32px}.gallery-grid figure,.video-grid figure{margin:0;background:white;border-radius:13px;overflow:hidden;box-shadow:0 10px 24px #123b3912}.gallery-grid img{width:100%;height:250px;object-fit:cover;display:block}.gallery-grid figcaption,.video-grid figcaption{padding:12px 17px;font-weight:650;color:var(--deep)}.video-heading{margin-top:45px}.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.video-grid video{display:block;width:100%;aspect-ratio:16/9;background:#173638;object-fit:cover}.hero img{max-height:680px;object-fit:cover;object-position:center 58%}.card-top.med,.card-top.scan{background:#d8ecea}.card-top img.beach-photo{object-fit:cover}@media(max-width:750px){.gallery-grid,.video-grid{grid-template-columns:1fr}.gallery-grid img{height:240px}.hero img{max-height:450px}}

.service-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:30px}.service-action{background:white;border:1px solid var(--line);border-radius:15px;padding:25px;box-shadow:0 8px 26px #123b3910;display:flex;flex-direction:column}.service-action h3{font-size:23px;margin:7px 0 8px}.service-action p{color:var(--muted);flex:1}.service-action .btn{align-self:flex-start}.btn.pending{background:#e9efef;border-color:#d3e1df;color:#526a69;cursor:default;box-shadow:none}.service-note{font-size:14px;color:var(--muted);margin-top:18px}@media(max-width:850px){.service-actions{grid-template-columns:1fr}}

/* V11: Nachrichtenband, Anfahrt */
.news-strip{background:#eef8f6;border-bottom:1px solid #c9e6e1;padding:12px 0}.news-strip-inner{display:flex;align-items:center;gap:15px}.news-strip strong{font-size:12px;letter-spacing:.08em;color:#005b5c;white-space:nowrap}.news-strip .ticker-window{flex:1;min-width:0;overflow:hidden}.ticker-item{display:none;font-weight:600;color:#173638}.ticker-item.active{display:block}.ticker-controls{display:flex;gap:4px}.ticker-controls button{border:1px solid #b8d7d2;background:white;border-radius:6px;color:#005b5c;cursor:pointer;padding:4px 10px}.ticker-controls button:hover{background:#d9eeeb}.route-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.route-actions a{font-size:14px}.bus-note{font-size:14px;color:#d9efec;margin-top:18px}.edit-note{font-size:12px;color:#5b6e70}.contact .route-actions a{color:#005b5c}@media(max-width:700px){.news-strip-inner{flex-wrap:wrap}.news-strip .ticker-window{flex-basis:65%}.news-strip strong{font-size:11px}}

.admin-bar header{top:32px}@media(max-width:782px){.admin-bar header{top:46px}}

.heins-download-list{margin:1rem 0 0;padding-left:1.3rem}.heins-download-list li{margin:.4rem 0}

/* V18 */
.values{display:flex;gap:16px;flex-wrap:wrap}.values span{background:#005b5c;color:white;padding:12px 24px;border-radius:8px;font-weight:700}.faq-list details{border-bottom:1px solid var(--line);padding:16px 8px}.faq-list summary{cursor:pointer;font-weight:700;color:var(--deep)}.faq-list details p{margin:12px 0;color:var(--muted)}.team-group{width:100%;max-height:480px;object-fit:cover;border-radius:14px}.team-portrait,.news-image{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.team-placeholder{display:grid;place-items:center;background:var(--pale);height:140px;color:var(--deep);font-size:64px;border-radius:8px}.aufnahme{margin-top:16px}.aufnahme .btn{white-space:normal}.privacy-note{border-left:3px solid #008f89;padding:10px 14px;background:#edf7f5;color:#173638!important;font-size:14px!important}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;z-index:100;background:white;padding:12px}.eyebrow{color:#006b68}@media(min-width:751px){nav{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:750px){nav.open{max-height:70vh;overflow:auto}}

/* Version 19 */
.wahl-info{margin:24px 0;padding:24px;border-left:4px solid #005b5c;background:#eef8f6;border-radius:8px}.wahl-info h3{margin-top:0;color:#005b5c}.wahl-booking{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.wahl-booking .tile{display:flex;flex-direction:column;align-items:flex-start}.wahl-booking .btn{margin-top:auto}.holiday-banner{background:#eaf5f2;border-bottom:2px solid #005b5c;padding:22px 0;color:#173638}.holiday-banner h2{color:#005b5c;font-size:1.45rem;margin:0 0 8px}.holiday-banner p{margin:8px 0}.holiday-representative{background:white;border-radius:8px;padding:14px;margin:12px 0;white-space:normal}@media(max-width:700px){.wahl-booking{grid-template-columns:1fr}.wahl-info{padding:17px}}

/* Version 20: gastroenterologische Privatsprechstunde */
.gastro-offers{margin:34px 0 26px;padding:26px;border:1px solid #c5dcd9;border-radius:16px;background:#f3f8f7}
.gastro-offers>h3{margin:7px 0 10px;color:#164f53;font-size:clamp(1.4rem,2.4vw,2rem)}
.gastro-offers>.tiles{margin:22px 0 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.gastro-offers .tile{background:#fff;border:1px solid #d7e7e4;border-radius:12px;padding:22px}
.gastro-offers .tile h3{color:#164f53}
.gastro-offers .more{display:inline-block;margin-top:8px;color:#126b70;font-weight:650}
@media(max-width:680px){.gastro-offers{padding:18px}.gastro-offers>.tiles{grid-template-columns:1fr}}

/* V21: Fortbildungszertifikate */
.heins-cert-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:28px}.heins-cert-card{background:#fff;border:1px solid #dce8e7;border-radius:14px;padding:18px;text-align:center;box-shadow:0 5px 18px rgba(0,45,47,.05)}.heins-cert-card h3{margin:15px 0 7px}.heins-cert-preview{height:220px;background:#f1f7f6;border-radius:9px;overflow:hidden}.heins-cert-preview a,.heins-cert-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;height:100%;color:#275c60;text-decoration:none}.heins-cert-preview img{width:100%;height:100%;object-fit:contain}.heins-cert-symbol{font-size:52px;color:#4b8487}.heins-cert-note{font-size:13px;color:#667b7b;margin:8px 0}@media(max-width:720px){.heins-cert-grid{grid-template-columns:1fr}.heins-cert-preview{height:240px}}

/* V23: Lesbare Desktop-Navigation und kompakteres Empfangsbild */
@media(min-width:751px){
 .head{max-width:1560px;gap:20px;padding:14px 24px}
 nav{gap:10px 17px;flex-wrap:wrap;justify-content:flex-end}
 nav a{font-size:15px;line-height:1.45}
 .hero img{height:clamp(310px,29vw,460px);max-height:460px;object-fit:cover;object-position:center 56%}
}
@media(min-width:751px) and (max-width:1190px){.head{gap:12px}nav{width:100%;justify-content:center}}
@media(max-width:750px){.hero img{height:auto;max-height:390px;object-fit:cover;object-position:center 55%}}

/* Version 24: desktop legibility and reliable header branding */
.brand-logo{display:block!important;visibility:visible!important;opacity:1!important;width:44px;height:67px;flex:0 0 44px;object-fit:contain}
.brand{display:flex;align-items:center;gap:13px}
.welcome{overflow-wrap:anywhere}
.welcome h1{max-width:min(1100px,100%);padding-inline:12px;font-size:clamp(26px,3.1vw,43px)}
@media(min-width:1100px){nav a{font-size:15px}.hero img{height:clamp(300px,29vw,460px);max-height:460px;object-fit:cover;object-position:center 56%}}
@media(max-width:750px){.brand-logo{width:38px;height:58px;flex-basis:38px}}

/* V25: Empfangsbild in unverzerrtem Original-Seitenverhaeltnis anzeigen. */
.hero img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;aspect-ratio:auto}
@media(min-width:751px){.hero img{height:auto;max-height:none;object-fit:contain}}
@media(min-width:1100px){.hero img{height:auto;max-height:none;object-fit:contain}}
@media(max-width:750px){.hero img{height:auto;max-height:none;object-fit:contain}}

@media(min-width:721px) and (max-width:1100px){.heins-cert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V31: portraits retain a consistent crop. */
.team-grid .team-portrait{aspect-ratio:4/5;object-position:center 30%;display:block}

#service .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:680px){#service .tiles{grid-template-columns:1fr}}
