/*
Theme Name: OCG Manching
Theme URI: https://orthopaedie-manching.de
Author: Oliver Eigenbrodt
Author URI: https://eigenbroduction.de
Description: Theme für die OCG Manching, Orthopädie und Chirurgie im Gesundheitszentrum Manching. Optimiert für SEO und GEO, Schriften lokal eingebunden.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ocg
*/

@font-face{font-family:"Red Hat Display";font-weight:500;font-style:normal;font-display:swap;src:url("assets/fonts/red-hat-display-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Red Hat Display";font-weight:700;font-style:normal;font-display:swap;src:url("assets/fonts/red-hat-display-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Source Sans 3";font-weight:400;font-style:normal;font-display:swap;src:url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Source Sans 3";font-weight:600;font-style:normal;font-display:swap;src:url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2")}

:root{--red:#B82830;--red-dark:#8E1C23;--ink:#23272E;--navy:#1C2230;--stone:#5A626E;--text-2:#3A404A;--mist:#EEF1F3;--line:#D9DEE3;--line-2:#C5CCD3;--display:"Red Hat Display",system-ui,sans-serif;--body:"Source Sans 3",system-ui,sans-serif}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--body);font-size:18px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--red)}
a:hover{color:var(--red-dark)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--red);outline-offset:3px}
h1,h2,h3,h4{font-family:var(--display);font-weight:700;line-height:1.15;margin:0}
h1{font-size:clamp(36px,4.2vw,58px);line-height:1.1;letter-spacing:-.01em}
h2{font-size:clamp(28px,2.8vw,40px)}
h3{font-size:23px;line-height:1.25}
p{margin:0}
address{font-style:normal}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;background:#fff;padding:12px 16px;z-index:100}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

.wrap{max-width:1280px;margin:0 auto}
.section{padding:88px 32px}
.section--mist{background:var(--mist)}
.section--navy{background:var(--navy);color:#fff}
.section--tight{padding:72px 32px}
.stack{display:flex;flex-direction:column;gap:20px}
.split{display:flex;flex-wrap:wrap;gap:40px 72px}
.split>*{flex:1 1 380px;min-width:0}
.split--center{align-items:center}
.head-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 48px;margin-bottom:48px}
.head-row h2{max-width:18em}
.lead{font-size:21px;max-width:38em;color:var(--text-2)}
.muted{color:var(--stone)}
.more{font-weight:600;font-size:19px}

.btn{display:inline-block;font:inherit;font-weight:600;font-size:19px;line-height:1.3;text-decoration:none;padding:15px 28px;border-radius:999px;border:2px solid transparent;cursor:pointer;text-align:center}
.btn--red{background:var(--red);color:#fff}
.btn--red:hover{background:var(--red-dark);color:#fff}
.btn--line{border-color:var(--ink);color:var(--ink);background:transparent}
.btn--line:hover{background:var(--ink);color:#fff}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover{background:#000;color:#fff}
.btn--white{background:#fff;color:var(--navy)}
.btn--ghost{border-color:#8A93A1;color:#fff}
.btn--ghost:hover{background:#fff;color:var(--navy)}
.btn-row{display:flex;flex-wrap:wrap;gap:14px}

/* Header */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.site-header__in{max-width:1280px;margin:0 auto;padding:16px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 28px}
.site-logo img{height:60px;width:auto}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 28px}
.site-nav a{display:block;padding:12px 0;color:var(--ink);text-decoration:none;font-size:17px;font-weight:600}
.site-nav a:hover,.site-nav .current-menu-item>a,.site-nav .current_page_item>a{color:var(--red)}
.site-nav ul ul{display:none}
.site-header__cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.site-header__tel{color:var(--ink);text-decoration:none;font-size:17px;font-weight:600;padding:12px 0}
.site-header .btn{font-size:17px;padding:11px 22px}
.nav-toggle{display:none;font:inherit;font-weight:600;background:#fff;color:var(--ink);border:1.5px solid var(--ink);border-radius:999px;padding:0 18px;height:44px;cursor:pointer}
@media (max-width:1100px){
.nav-toggle{display:inline-flex;align-items:center;gap:8px}
.site-nav,.site-header__cta{display:none;flex-basis:100%}
.site-header.is-open .site-nav,.site-header.is-open .site-header__cta{display:flex}
.site-nav ul{flex-direction:column;gap:0;width:100%}
.site-nav li{border-top:1px solid var(--line)}
.site-nav a{padding:14px 0}
.site-logo img{height:48px}
.site-header__in{padding:12px 20px}
}

/* Hero */
.hero{padding:72px 32px 88px}
.hero__in{max-width:1280px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:56px 72px}
.hero__text{flex:1 1 520px;display:flex;flex-direction:column;gap:28px}
.hero h1{font-size:clamp(38px,4.6vw,64px);line-height:1.08}
.hero__facts{margin:12px 0 0;display:flex;flex-wrap:wrap;gap:12px 48px;border-top:1px solid var(--line);padding-top:24px}
.hero__facts dt{color:var(--stone);font-size:16px}
.hero__facts dd{margin:0;font-weight:600;font-size:20px}
.hero__media{flex:1 1 420px;display:flex;justify-content:center}
.ring{position:relative;width:min(520px,100%);aspect-ratio:1/1}
.ring::before{content:"";position:absolute;inset:0;border:3px solid var(--red);border-radius:50%;transform:translate(-22px,18px)}
.ring__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% center;border-radius:50%}
.ring__badge{position:absolute;right:-8px;bottom:6px;width:116px;height:116px;border-radius:50%;border:6px solid #fff}

.quick{background:var(--mist);padding:0 32px}
.quick__in{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.quick a{color:var(--ink);text-decoration:none;padding:32px 24px;display:flex;flex-direction:column;gap:4px;border-left:1px solid #D0D6DC}
.quick a:first-child{border-left:0;padding-left:0}
.quick a:hover strong{color:var(--red)}
.quick strong{font-family:var(--display);font-size:21px}
.quick span{color:var(--stone)}

/* Lists */
.groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:0 40px}
.group{border-top:3px solid var(--ink);padding:24px 0 40px;display:flex;flex-direction:column;gap:14px}
.group h3 a{color:var(--ink);text-decoration:none}
.linklist{list-style:none;margin:0;padding:0}
.linklist li{border-top:1px solid var(--line)}
.linklist a{display:block;padding:11px 0;color:var(--ink);text-decoration:none;font-weight:600}
.linklist a:hover{color:var(--red)}
.linklist--big{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:0 40px}
.linklist--big a{font-family:var(--display);font-weight:700;font-size:20px;padding:16px 0}
.section--mist .linklist li{border-color:var(--line-2)}
.chips{display:flex;flex-wrap:wrap;gap:12px}
.chip{color:#fff;text-decoration:none;font-weight:600;border:1.5px solid #8A93A1;border-radius:999px;padding:11px 22px}
.chip:hover{background:#fff;color:var(--navy)}
.chip--ink{color:var(--ink);border-color:var(--ink)}
.chip--ink:hover{background:var(--ink);color:#fff}

.band{background:var(--navy);color:#fff}
.band__in{max-width:1440px;margin:0 auto;display:flex;flex-wrap:wrap}
.band__media{flex:1 1 460px;min-height:380px;position:relative}
.band__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.band__text{flex:1 1 520px;padding:80px 32px 80px 64px;display:flex;flex-direction:column;gap:24px}
.band__text p{color:#C9D0D9;max-width:30em}

/* People */
.docs{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:32px 24px}
.doc{color:var(--ink);text-decoration:none;display:flex;flex-direction:column;gap:10px}
.doc img,.doc-photo{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 20%;border-radius:120px 120px 8px 8px;background:var(--mist)}
.doc strong{font-family:var(--display);font-size:18px;line-height:1.3}
.doc span{color:var(--stone);font-size:16px;line-height:1.4}
.profiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:56px 64px}
.profile{display:flex;flex-wrap:wrap;gap:24px 32px;border-top:3px solid var(--ink);padding-top:28px}
.profile__img{flex:none;width:200px;height:250px;object-fit:cover;object-position:center 20%;border-radius:100px 100px 8px 8px;background:var(--mist)}
.profile__body{flex:1 1 220px;display:flex;flex-direction:column;gap:10px}
.profile h2{font-size:25px;line-height:1.2}
.profile__role{font-weight:600}
.profile ul{list-style:none;margin:4px 0 0;padding:0;color:var(--text-2);font-size:17px}
.profile li{border-top:1px solid var(--line);padding:7px 0}
.heads{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;max-width:640px;text-decoration:none}
.heads img,.head-initials{width:104px;height:104px;border-radius:50%;object-fit:cover;object-position:center 12%;border:3px solid #fff;background:var(--mist)}
.team{list-style:none;margin:0 auto;padding:0;max-width:1280px;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:48px 32px}
.team li{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.team img,.team__initials{width:168px;height:168px;border-radius:50%;object-fit:cover;object-position:center 12%;background:var(--mist)}
.team__initials{border:2px solid var(--red);color:var(--red);font-family:var(--display);font-weight:700;font-size:44px;display:flex;align-items:center;justify-content:center}
.team strong{font-family:var(--display);font-size:20px;display:block}
.team span{color:var(--stone);font-size:16px}

/* News, FAQ, misc */
.news{border-top:3px solid var(--red);padding-top:32px}
.news time{color:var(--stone);font-size:16px}
.news h3{font-size:26px}
.news h3 a{color:var(--ink);text-decoration:none}
.faq details,.entry details{border-top:1px solid var(--line);padding:20px 0}
.faq summary,.entry summary{font-family:var(--display);font-weight:700;font-size:21px;line-height:1.35;cursor:pointer}
.faq details p{margin-top:12px;max-width:44em}
.map{min-height:360px;background:#DDE2E7;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:32px;text-align:center;overflow:hidden}
.map strong{font-family:var(--display);font-size:22px}
.map iframe{width:100%;height:420px;border:0;display:block}
.map.is-loaded{padding:0}
.section--navy .map{background:#2A3142}
.section--navy .map span{color:#C9D0D9}
.round-img{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:8px}
.cta-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 48px}
.cta-row h2{font-size:clamp(26px,2.6vw,36px);line-height:1.2;max-width:18em}
.cards3{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:40px}
.card-top{border-top:3px solid var(--ink);padding-top:22px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.card-top--red{border-color:var(--red)}
.card-top h3{font-size:24px}
.site-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:8px;margin-bottom:16px}
.hours{border-collapse:collapse;width:100%;font-size:20px}
.hours th,.hours td{padding:14px 0;border-top:1px solid var(--line-2)}
.hours th{text-align:left;font-weight:600}
.hours td{text-align:right}
.hours .closed th,.hours .closed td{color:#4A525E}

/* Page head, content */
.page-head{padding:28px 32px 64px}
.page-head--mist{background:var(--mist)}
.page-head .wrap{display:flex;flex-direction:column;gap:20px}
.crumbs{font-size:16px;color:var(--stone);margin-bottom:16px}
.crumbs a{color:inherit}
.with-aside{display:flex;flex-wrap:wrap;align-items:flex-start;gap:56px 80px}
.with-aside>article{flex:999 1 560px;min-width:0;max-width:780px}
.with-aside>aside{flex:1 1 300px;max-width:400px;display:flex;flex-direction:column;gap:28px}
.short{border-left:4px solid var(--red);padding:4px 0 4px 24px;margin-bottom:48px}
.short h2{font-size:22px;margin-bottom:8px}
.short p{font-size:20px}
.entry>*+*{margin-top:1.1em}
.entry h2{font-size:clamp(26px,2.4vw,34px);line-height:1.2;margin-top:1.8em}
.entry h3{margin-top:1.5em}
.entry ul,.entry ol{padding-left:1.2em}
.entry li{margin:.35em 0}
.entry img{border-radius:8px}
.entry table{border-collapse:collapse;width:100%}
.entry td,.entry th{padding:10px 0;border-top:1px solid var(--line);text-align:left}
.entry .alignleft{float:left;margin:0 24px 16px 0}
.entry .alignright{float:right;margin:0 0 16px 24px}
.entry .aligncenter{margin-left:auto;margin-right:auto}
.entry::after{content:"";display:block;clear:both}
.reviewed{font-size:16px;color:var(--stone);border-top:1px solid var(--line);padding-top:16px;margin-top:48px}
.aside-card{background:var(--navy);color:#fff;border-radius:8px;padding:32px;display:flex;flex-direction:column;gap:18px}
.aside-card h2{font-size:22px}
.aside-card p{color:#C9D0D9}
.aside-card a.tel{color:#fff;font-weight:600;text-align:center}
.aside h2{font-size:20px;margin-bottom:8px}
.posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:48px 40px}
.post-card{border-top:1px solid var(--ink);padding-top:20px;display:flex;flex-direction:column;gap:10px}
.post-card h2{font-size:24px;line-height:1.25}
.post-card h2 a{color:var(--ink);text-decoration:none}

/* Footer */
.site-footer{border-top:1px solid var(--line);font-size:17px}
.site-footer__in{max-width:1280px;margin:0 auto;padding:56px 32px 104px;display:flex;flex-direction:column;gap:40px}
.site-footer__cols{display:flex;flex-wrap:wrap;gap:40px 64px;justify-content:space-between}
.site-footer__cols>div{display:flex;flex-direction:column;gap:6px;flex:1 1 180px}
.site-footer__cols>div:first-child{flex:1 1 300px;max-width:380px;gap:16px}
.site-footer h2{font-size:18px;margin-bottom:6px}
.site-footer a{color:var(--ink)}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.site-footer__logo{height:64px;width:auto}
.site-footer__badge{width:112px;height:112px}
.site-footer__legal{display:flex;flex-wrap:wrap;gap:8px 28px;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;font-size:16px;color:var(--stone)}
.site-footer__legal a{color:var(--stone)}
.site-footer__legal ul{flex-direction:row;gap:28px}

@media (max-width:700px){
body{font-size:17px}
.section,.section--tight{padding:56px 20px}
.hero{padding:32px 20px 56px}
.page-head{padding:20px 20px 44px}
.quick{padding:0 20px}
.quick a{border-left:0;border-top:1px solid #D0D6DC;padding:20px 0}
.quick a:first-child{border-top:0}
.band__text{padding:48px 20px}
.band__media{min-height:240px}
.ring::before{transform:translate(-12px,10px)}
.ring__badge{width:88px;height:88px;right:0}
.docs{grid-template-columns:repeat(2,minmax(0,1fr))}
.heads img,.head-initials{width:72px;height:72px}
.team{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 16px}
.team img,.team__initials{width:132px;height:132px}
.profile__img{width:140px;height:175px}
.head-row{margin-bottom:32px}
.hours{font-size:18px}
.site-footer__in{padding:44px 20px 120px}
}

/* Ergänzungen */
.initials{display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700;font-size:44px;color:var(--red)}
.team img{border:0;display:block}
.rez-load{position:fixed;right:24px;bottom:24px;z-index:50;font:inherit;font-weight:700;font-size:18px;background:#fff;color:var(--ink);border:0;border-radius:999px;padding:14px 26px;box-shadow:0 6px 24px rgba(28,34,48,.22);cursor:pointer}
@media (max-width:700px){.rez-load{left:20px;right:20px;bottom:16px}}
.nav-links{display:flex;gap:16px;flex-wrap:wrap;font-weight:600}
.section--navy .map strong{color:#fff}
.section--navy .map a{color:#fff}
.section--navy .map .btn{border-color:#fff;color:#fff}
.section--navy .map .btn:hover{background:#fff;color:var(--navy)}
.ring__img{object-position:50% center}
.site-footer__logo{align-self:flex-start;width:auto;max-width:100%;object-fit:contain}
.site-footer__badge{align-self:flex-start;flex:none}

/* Kacheln Leistungsbereiche */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.tile{background:var(--mist);border-radius:8px;padding:32px 28px;color:var(--ink);text-decoration:none;display:flex;flex-direction:column;gap:14px;min-height:240px;transition:background .15s,color .15s}
.tile h3{font-size:25px}
.tile p{color:var(--text-2)}
.tile__more{margin-top:auto;font-weight:600;color:var(--red)}
.tile:hover{background:var(--navy);color:#fff}
.tile:hover p{color:#C9D0D9}
.tile:hover .tile__more{color:#fff}
.sub-h{font-size:clamp(24px,2.2vw,30px);margin:48px 0 16px}
/* Untermenü */
.site-nav li{position:relative}
.site-nav li:hover>ul,.site-nav li:focus-within>ul{display:block}
.site-nav ul ul{position:absolute;left:-20px;top:100%;z-index:60;min-width:300px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 20px;box-shadow:0 12px 32px rgba(28,34,48,.12)}
.site-nav ul ul li+li{border-top:1px solid var(--line)}
.site-nav ul ul a{padding:12px 0}
@media (max-width:1100px){
.site-nav ul ul{display:block;position:static;border:0;box-shadow:none;padding:0 0 8px 20px;min-width:0}
.site-nav ul ul li,.site-nav ul ul li+li{border-top:0}
.site-nav ul ul a{padding:8px 0;font-weight:400}
}
.tile h3{font-size:23px;hyphens:auto;overflow-wrap:anywhere}
.tiles{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}

/* Einwilligung Online-Rezeption */
.rez-box{position:fixed;right:24px;bottom:92px;z-index:50;width:min(380px,calc(100vw - 40px));background:#fff;color:var(--ink);border-radius:8px;padding:22px;box-shadow:0 12px 40px rgba(28,34,48,.28);font-size:16px;line-height:1.5;display:flex;flex-direction:column;gap:12px}
.rez-box[hidden]{display:none}
.rez-box .btn{font-size:16px;padding:11px 18px}
@media (max-width:700px){.rez-box{left:20px;right:20px;bottom:84px}}
.site-header__in,.site-footer__in{max-width:1344px}
.rez-ok .rez{display:none}

/* Akzentfarbe aus dem Customizer */
:root{--accent-text:var(--red);--accent-hover:var(--red-dark);--on-accent:#fff}
a{color:var(--accent-text)}
a:hover{color:var(--accent-hover)}
.btn--red,.btn--red:hover{color:var(--on-accent)}
.tile__more,.initials,.team__initials,.site-nav a:hover,.site-nav .current-menu-item>a,.site-nav .current_page_item>a,.quick a:hover strong,.linklist a:hover{color:var(--accent-text)}
.tile:hover .tile__more{color:#fff}

/* OP-Standorte, Hinweis Online-Rezeption */
.sites{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:40px}
.rez-hint{position:fixed;right:24px;bottom:150px;z-index:60;max-width:300px;background:var(--navy);color:#fff;border-radius:8px;padding:14px 18px;font-size:16px;line-height:1.4;box-shadow:0 12px 40px rgba(28,34,48,.28)}
.rez-hint[hidden]{display:none}
@media (max-width:700px){.rez-hint{left:20px;right:20px;max-width:none}}
.sites{grid-template-columns:repeat(auto-fit,minmax(260px,420px))}
.op-sites-page{margin-top:40px}
.op-sites-page .sites{gap:32px}
.op-sites-page .sites{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:700px){.op-sites-page .sites{grid-template-columns:minmax(0,1fr)}}
