/*
Theme Name: Hausarztpraxis Klug – Aktualisiert
Description: Praxiswebsite mit Karteikarten, Originalfotos und bearbeitbaren Praxisdaten.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
Author: Anna Bahr
Text Domain: hausarzt-klug-aktualisiert
*/
@font-face{font-family:Praxis;src:url('assets/schrift.otf')}@font-face{font-family:Praxis;src:url('assets/schrift-fett.otf');font-weight:700}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:#D0D8CE;color:#353a35;font-family:Praxis,'Arial Narrow',sans-serif;font-size:20px;line-height:1.45}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #4e614c;outline-offset:5px}button{font:inherit;color:inherit}h1,h2,h3,p{margin:0}h2{font-size:clamp(1.65rem,2.5vw,2.5rem);line-height:1.2}h3{font-size:1.6rem;line-height:1.2}p{margin-top:.6rem}.draft{background:#445541;color:white;text-align:center;padding:7px 15px;font-size:15px;letter-spacing:.025em}.shell{max-width:1360px;padding:0 32px;margin:auto}header{display:grid;grid-template-columns:250px 1fr 230px;align-items:center;gap:32px;padding:38px 15px}.logo img{display:block;width:220px;height:192px;object-fit:contain}.brand{text-align:center}.brand>span{font-size:18px}.brand h1{font-size:clamp(2rem,3.3vw,3.2rem);line-height:1.2;margin:12px 0}.brand p{font-style:italic;font-size:24px;line-height:1.3}address{font-style:normal;font-size:19px;display:flex;flex-direction:column;gap:8px}address span:last-child{margin-top:14px}nav{display:flex;justify-content:space-around;align-items:center;gap:8px;background:#fafaf6;padding:12px;border-radius:10px;margin-bottom:24px}nav a{padding:6px 22px;border-radius:5px;white-space:nowrap}nav a:hover,nav a[aria-current]{background:#bfcabc}.hero{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.photocard{background:#fafaf6;border-radius:10px;overflow:hidden;display:block;border:2px solid #fafaf6}.photocard img{width:100%;height:300px;object-fit:cover;display:block}.hero .photocard:first-child img{object-position:50% 35%}.photocard>strong{display:block;text-align:center;padding:12px;font-size:25px;line-height:1.3}.welcomephoto{position:relative}.welcomephoto img{height:100%;min-height:353px;object-position:50% 48%}.welcomephoto strong{position:absolute;bottom:0;left:0;width:100%;color:#fff;background:#283b30c9;font-size:31px;line-height:1.1;padding:17px}.welcome{background:#fafaf6;border-radius:10px;text-align:center;padding:29px 25px;margin:24px 0 35px}.welcome p{font-size:21px}.sectiontitle{display:flex;gap:20px;align-items:center;margin-bottom:25px;font-size:30px}.sectiontitle:after{content:'';height:1px;background:#9eac9a;flex:1}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}.indexcard{display:flex;flex-direction:column;position:relative;isolation:isolate;padding-top:0;transition:transform .18s}.indexcard:hover{transform:translateY(-3px)}.indexcard:before{content:'';position:absolute;inset:42px -5px -6px 5px;z-index:-1;background:#e1e8dc;border:1px solid #adbba5;border-radius:7px;box-shadow:3px 5px 0 #b7c3b2}.tab{background:#eaf0e5;border:1.5px solid #667765;border-bottom:0;border-radius:9px 9px 0 0;margin-left:18px;align-self:flex-start;padding:8px 17px 10px;max-width:calc(100% - 36px);font-weight:700;font-size:23px;line-height:1.1;min-height:45px;position:relative;z-index:2;transform:translateY(1px)}.cardbody{background:#fafaf6;border:1.5px solid #667765;border-radius:7px;padding:20px 17px;display:flex;gap:15px;align-items:flex-start;flex:1;min-height:148px;font-size:19px}.cardbody p{margin:0}.icon{width:55px;height:55px;padding:12px;display:inline-flex;flex:none;border-radius:50%;background:#e7ece2;color:#536352}.icon svg{width:100%;height:100%;overflow:visible}.more{display:block;color:#536352;margin-top:9px;text-decoration:underline;text-underline-offset:3px}.bottomcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:42px}.bottomcards-single{grid-template-columns:minmax(0,440px);justify-content:center}.bottom img{height:190px}.bottom>div{padding:18px}.bottom h3{font-size:25px}.bottom p{font-size:20px}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #82907c;margin-top:35px;padding:20px 0 26px;font-size:16px}footer>div{display:flex;gap:22px}footer a:hover{text-decoration:underline}.pageintro{padding:35px 0 32px}.pageintro h2{font-size:42px;margin-top:10px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:17px;color:#536352}.paper{background:#fafaf6;padding:30px;border-radius:10px;margin-bottom:25px}.placeholder{border-left:3px solid #a5b49e;background:#edf0e8;padding:15px 18px;margin-top:20px}.placeholder span{font-size:15px;letter-spacing:.04em;color:#536352}.placeholder p{font-size:19px}.split{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;margin-bottom:30px}.split>img{max-width:100%;border-radius:10px;max-height:500px;object-fit:cover;width:100%;object-position:center 35%}.servicegrid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.service h3{margin-top:17px}.servicegrid .paper{margin:0}table{width:100%;border-collapse:collapse;text-align:left}caption{text-align:left;font-size:26px;font-weight:bold;margin-bottom:18px}th,td{padding:15px 10px;border-bottom:1px solid #d0d8ce}thead{color:#536352}tbody th{font-weight:400}.button{display:inline-block;background:#536352;color:white;padding:12px 20px;border-radius:6px;margin-top:20px}.button:hover{background:#384c36}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.galleryitem{padding:0;border:0;background:#fafaf6;cursor:pointer;border-radius:10px;overflow:hidden;text-align:left}.galleryitem img{width:100%;height:260px;object-fit:cover;display:block}.galleryitem span{display:block;padding:16px;font-size:22px}.galleryitem:hover img{filter:brightness(.95)}dialog{border:0;border-radius:12px;padding:20px;max-width:min(95vw,1100px);background:#fafaf6}dialog::backdrop{background:#162016db}dialog img{max-width:100%;max-height:78vh;object-fit:contain;display:block}dialog .close{position:absolute;right:14px;top:10px;border:0;border-radius:50%;background:#fafaf6;width:40px;height:40px;font-size:30px;cursor:pointer}dialog p{text-align:center}@media(max-width:1050px){header{grid-template-columns:170px 1fr;gap:20px;padding:25px 0}.logo img{width:165px;height:150px}address{grid-column:1/-1;flex-direction:row;justify-content:center;gap:22px;font-size:18px}address span:last-child{margin:0}nav a{padding:6px 12px}.hero .photocard img{height:260px}.welcomephoto img{min-height:319px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.brand h1{font-size:38px}.brand p{font-size:22px}}@media(max-width:650px){body{font-size:19px}.shell{padding:0 18px}header{grid-template-columns:1fr;padding:22px 0;gap:17px}.logo{justify-self:center}.logo img{width:150px;height:130px}.brand h1{font-size:34px}.brand p{font-size:21px}.brand>span{font-size:16px}address{display:none}nav{flex-wrap:wrap;justify-content:center;gap:6px;padding:9px}nav a{font-size:18px;padding:7px 10px}.hero{grid-template-columns:1fr;gap:16px}.hero .photocard img{height:300px}.welcomephoto{order:-1}.welcomephoto img{min-height:300px}.welcomephoto strong{font-size:31px}.welcome{padding:25px 20px}.welcome p{font-size:19px}.desktop{display:none}.sectiontitle{font-size:27px}.sectiontitle:after{display:none}.cards{grid-template-columns:1fr;gap:25px}.cardbody{min-height:125px;font-size:20px}.tab{font-size:23px}.bottomcards,.servicegrid,.gallery,.split{grid-template-columns:1fr}.bottom img{height:220px}.pageintro h2{font-size:34px}.paper{padding:24px 18px}th,td{padding:12px 5px;font-size:18px}footer{flex-direction:column;align-items:center;text-align:center}.draft{font-size:14px}.galleryitem img{height:300px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.indexcard{transition:none}}

.wp-block-image img{max-width:100%;height:auto}.page-content{overflow-wrap:anywhere}.admin-bar .draft{margin-top:0}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}

@font-face{font-family:"Archivo Narrow";src:url("assets/archivo-narrow.ttf") format("truetype");font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:"Archivo Narrow";src:url("assets/archivo-narrow-italic.ttf") format("truetype");font-weight:400 700;font-style:italic;font-display:swap}

/* Freigegebene Gestaltung, Oktober 2026 */
:root{--klug-header:#7c917e;--klug-header-text:#fff;--klug-contact:#fff;--klug-contact-text:#303632}
.shell{padding-top:24px}header{position:relative;background:var(--klug-header);border-radius:5px 5px 0 0;padding:28px 24px;grid-template-columns:200px minmax(0,1fr) 245px;gap:24px}
.logo{display:block;background:white;border:3px solid white}.logo img{width:190px;height:170px}
.brand .practice-title,.brand h1{font-size:clamp(28px,3.1vw,46px);font-weight:700!important;color:var(--klug-header-text)!important;line-height:1.13;letter-spacing:0;font-style:normal!important}
.brand h1{margin:6px 0 10px}.brand p{color:var(--klug-header-text);font-size:clamp(17px,1.7vw,23px);font-style:normal;white-space:nowrap}
header address{background:var(--klug-contact);color:var(--klug-contact-text);padding:18px 16px;border-radius:5px;font-weight:700;font-size:19px;line-height:1.3;gap:3px;overflow-wrap:anywhere;min-width:0}
header address span:last-child{margin-top:12px}nav{border-radius:0 0 7px 7px;margin-top:0}
.menu-toggle{display:none}.consult{display:block;color:#345b34;margin-top:8px}.card-versorgung .icon,.card-3 .icon{color:#ba440e}.card-4 .icon{color:#315f32}
.hero .photocard{border-radius:5px}.tab{font-size:22px;min-height:65px;background:#fff}.cardbody{min-height:145px}.indexcard:before{box-shadow:2px 4px 0 #b7c3b2}
.legal h3{margin-top:24px}.legal p,.legal ul{margin-top:10px}.legal a{text-decoration:underline}.review-note{padding:16px;background:#fff0ce;border-left:4px solid #916b18;margin:15px 0;color:#403b2d}
.skip-link{position:absolute;top:-100px;left:10px;z-index:9999;background:white;padding:10px}.skip-link:focus{top:10px}
@media(max-width:1150px) and (min-width:651px){header{grid-template-columns:150px 1fr 210px;padding:22px 15px;gap:15px}.logo img{width:140px;height:140px}.brand .practice-title,.brand h1{font-size:32px}.brand p{font-size:17px}header address{grid-column:auto;flex-direction:column;font-size:17px;gap:4px}nav a{padding:6px 10px}}
@media(max-width:850px) and (min-width:651px){header{grid-template-columns:120px 1fr}.logo img{width:110px;height:110px}header address{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:10px}header address span:last-child{margin:0}}
@media(max-width:650px){.shell{padding:10px 12px 0}header{grid-template-columns:1fr;padding:16px 12px;gap:12px}.logo{justify-self:start}.logo img{width:95px;height:85px}.menu-toggle{display:block;position:absolute;right:18px;top:18px;background:transparent;color:white;border:1px solid transparent;padding:8px;font-size:30px;cursor:pointer}.brand .practice-title,.brand h1{font-size:clamp(24px,7vw,34px)}.brand p{font-size:clamp(13px,3.6vw,21px);white-space:normal;text-wrap:balance}header address{display:flex;grid-column:auto;flex-direction:column;gap:2px;text-align:center;justify-content:center;font-size:18px;padding:12px}header address span:last-child{margin-top:8px}nav{display:flex;margin-bottom:15px}body.js nav{display:none}body.js nav.is-open{display:flex}.hero{display:block}.hero .photocard:not(:first-child){display:none}.hero .photocard:first-child img{height:300px;object-position:50% 35%}.welcome{margin-top:18px;padding:22px 15px}.welcome h2{font-size:24px}.cards{gap:18px}.tab{font-size:22px;min-height:0}.cardbody{min-height:110px}.bottomcards{gap:16px}.bottom img{height:190px}.sectiontitle{margin-bottom:18px}}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
