/* Hausarztpraxis zum See – Stylesheet */
:root{
  --green:#457833;
  --nav:#4a763c;
  --red:#98171b;
  --text:#000;
  --muted:#5c5c5c;
  --shadow:3px 3px 8px rgba(0,0,0,.85);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:#fff;color:var(--text);
  font:14px/1.4 Arial,"Helvetica Neue",Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--nav)}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:8px 12px;z-index:100}
.skip:focus{left:8px;top:8px}

/* ---------- Kopfbereich ---------- */
.site-header{background:#fff;padding-top:6px}
.head-inner{position:relative;max-width:1000px;margin:0 auto;padding:0 8px}
.head-text{text-align:center;max-width:460px;margin:0 auto}
.head-text p,.head-text h1{margin:0}
.brand{font-size:15px;line-height:1.4;font-weight:400}
.uni{font-size:15px;line-height:1.4}
.doc-name{font-size:18px;font-weight:700;margin-top:5px!important;line-height:1.3}
.doc-title{font-size:14px;line-height:1.4}
.addr{font-size:15px;line-height:1.4;margin-top:3px!important}
.logo{position:absolute;top:50px;right:6px;width:56px;display:block}
.logo img{width:100%}

/* ---------- Navigation ---------- */
.nav{max-width:1000px;margin:6px auto 0;padding:0 8px 6px;text-align:center}
.nav-toggle{display:none;background:none;border:0;padding:6px 10px;cursor:pointer;color:#000}
.nav-toggle svg{width:24px;height:24px;fill:currentColor;display:block}
.nav-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:2px 16px}
.nav-list a{display:inline-block;padding:3px 0;color:var(--nav);text-decoration:none;font-size:18px}
.nav-list a:hover,.nav-list a:focus-visible{text-decoration:underline}
.js .nav-toggle{display:inline-block}
.js .nav-list{display:none;flex-direction:column;gap:0;padding:6px 0}
.js .nav.open .nav-list{display:flex}

/* ---------- Banner ---------- */
.banner{background-color:#d9d9d9;background-position:center center;background-size:cover;background-repeat:no-repeat}
.banner-ekg{background-image:url(../img/banner-ekg.jpg);height:111px;box-shadow:var(--shadow)}
.banner-kontakt{background-image:url(../img/banner-kontakt.jpg);height:165px;box-shadow:var(--shadow);background-size:1100px auto}
.banner-notfall{background-image:url(../img/banner-notfall.jpg);height:160px}
.banner-impressum{background-image:url(../img/banner-impressum.jpg);height:160px}
.banner-datenschutz{background-image:url(../img/banner-datenschutz.jpg);height:160px}

/* ---------- Inhalt ---------- */
main{display:block;padding:32px 0 64px}
.wrap{max-width:780px;margin:0 auto;padding:0 20px}
h1.page-title,h2.sec-title{font-size:20px;line-height:1.3;margin:0 0 16px}
h1.page-title{font-size:20px}
p{margin:0 0 1em}
.muted{color:var(--muted)}
.gray-bg{
  background:linear-gradient(rgba(255,255,255,.88),rgba(255,255,255,.88)),url(../img/bg-stethoskop.jpg) center top/cover no-repeat;
}

/* Startseite */
.home{display:grid;gap:28px 48px;grid-template-columns:1fr;
  grid-template-areas:"notice" "photo" "welcome" "docs"}
.home .notice{grid-area:notice}
.home .photo{grid-area:photo}
.home .welcome{grid-area:welcome}
.home .docs{grid-area:docs}
.photo img{box-shadow:5px 5px 12px rgba(0,0,0,.6);width:100%}
.notice{background:var(--red);color:#fff;text-align:center;padding:12px 14px 16px;box-shadow:5px 5px 12px rgba(0,0,0,.6);font-size:14px}
.notice a{color:#fff}
.notice .neu{display:flex;justify-content:space-between;font-size:10px;font-weight:700;letter-spacing:.02em;margin:0 0 14px}
.notice p{margin:0 0 12px;font-size:15px;line-height:1.25}
.notice .big{font-size:22px;line-height:1.2;margin:14px 0 6px}
.notice .small{font-size:13px;margin:0}
.notice strong.nicht{text-decoration:underline}
.welcome p{margin:0 0 1.4em}
.docs p{margin:0 0 1.4em}
.docs strong{display:block}
.docs span{display:block;color:var(--muted)}
.docs .contact{color:var(--text)}
.welcome em{font-style:italic}

/* Praxisteam */
.team-sec{padding:8px 0 24px;text-align:center}
.team-sec h2{font-size:20px;margin:24px 0 24px}
.team{list-style:none;margin:0 auto;padding:0;display:grid;gap:32px 24px;justify-content:center;
  grid-template-columns:repeat(2,minmax(0,160px))}
.team li{text-align:left}
.team .pic{display:block;padding:0;border:0;background:none;cursor:zoom-in;width:100%}
.team .pic img{width:100%;box-shadow:3px 3px 8px rgba(0,0,0,.7)}
.team:not(.dog) .pic img{aspect-ratio:4/5;object-fit:cover;object-position:center 25%}
.team .ph img{object-fit:contain!important;background:#fff;box-shadow:none}
.team .cap{margin:8px 0 0;font-size:13px;line-height:1.2}
.team .cap span{display:block}
.team.dog{grid-template-columns:minmax(0,200px)}
.lb{border:0;padding:0;background:transparent;max-width:92vw;max-height:92vh;overflow:visible}
.lb::backdrop{background:rgba(0,0,0,.75)}
.lb img{max-width:92vw;max-height:88vh;width:auto;height:auto;background:#fff}
.lb button{position:absolute;top:-14px;right:-14px;width:36px;height:36px;border-radius:50%;border:0;background:#fff;color:#000;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 1px 6px rgba(0,0,0,.5)}

/* Leistungen */
.list{margin:0 0 0 4px;padding:0 0 0 18px}
.list li{margin:0 0 .5em}
.list ul{margin:.5em 0 0;padding-left:18px;list-style:none}
.list ul li{margin:0 0 .25em}
.list ul li::before{content:"- ";margin-left:-14px}

/* Sprechstunden */
.hours{width:100%;border-collapse:collapse;margin:0 0 20px;font-size:14px}
.hours caption{text-align:left}
.hours thead th{font-weight:700;color:var(--muted);text-align:left;padding:8px 6px;border-top:1px solid #d6d6d6;border-bottom:1px solid #d6d6d6}
.hours td{padding:6px 6px 2px;vertical-align:top;white-space:nowrap}
.hours td+td,.hours th+th{padding-left:6px}
.hours-wrap{overflow-x:auto}
.hint-title{font-weight:700;margin:0 0 4px;font-size:13px}
.booking{display:block;margin:20px auto;width:210px}
.booking img{width:100%}
.quarter{font-weight:700;color:var(--muted);margin:24px 0 1em}
.bul{list-style:none;margin:0 0 24px;padding:0}
.bul li{margin:0 0 .6em}
.bul li::before{content:"\2022\00a0"}

/* Kontakt */
.contact-grid{display:grid;gap:32px 48px;grid-template-columns:1fr;align-items:start}
dl.contact{display:grid;grid-template-columns:auto 1fr;gap:0 24px;margin:0}
dl.contact dt,dl.contact dd{margin:0 0 26px}
dl.contact dt{max-width:12em}
.note-green{background:var(--green);color:#fff;text-align:center;padding:26px 20px 30px}
.note-green h2{font-size:19px;font-weight:400;line-height:1.25;margin:0 0 14px}
.note-green h3{font-size:22px;font-weight:400;margin:26px 0 8px}
.note-green p{margin:0 0 12px;font-size:14px;line-height:1.25}
.note-green .small{font-size:13px;margin:0}
.note-green a,.note-green u{color:#fff}

/* Anfahrt */
.addr-block{font-style:normal;font-size:16px;line-height:1.5;margin:0 0 1.4em}
.route-links{list-style:none;margin:0 0 1em;padding:0}
.route-links li{margin:0 0 .5em}
.route-links a{font-size:16px}
.small-note{font-size:12px}

/* Notfall / Tabellen */
.block{margin:0 0 36px}
.block h2{font-size:15px;margin:0 0 6px}
.block h3{font-size:13px;margin:16px 0 8px}
.block p{margin:0 0 .8em}
.kv{width:100%;max-width:420px;border-collapse:collapse}
.kv th,.kv td{padding:7px 0;vertical-align:top;text-align:left;font-weight:400}
.kv th{color:var(--muted);padding-right:16px}
.kv td{text-align:right;white-space:nowrap}
.kv.dark th{color:var(--text)}

/* Rechtstexte */
.legal h1{font-size:22px;margin:0 0 20px}
.legal p{margin:0 0 1.1em;overflow-wrap:anywhere}
.legal ul{margin:0 0 1.1em;padding-left:20px}

:focus-visible{outline:2px solid var(--nav);outline-offset:2px}

/* ---------- ab Tablet ---------- */
@media (min-width:768px){
  .brand,.uni,.addr{font-size:17px}
  .doc-title{font-size:16px}
  .doc-name{font-size:20px}
  .logo{top:34px;right:auto;left:calc(50% + 175px);width:165px}
  .js .nav-toggle{display:none}
  .js .nav-list,.js .nav.open .nav-list{display:flex;flex-direction:row;gap:2px 16px;padding:0}
  .banner-ekg{height:199px}
  .banner-notfall{height:245px}
  .banner-kontakt{height:162px;background-size:1800px auto}
  .banner-impressum{height:321px}
  .banner-datenschutz{height:321px}
  main{padding-top:48px}
  .home{grid-template-columns:1fr 1fr;grid-template-areas:"photo notice" "docs welcome"}
  .team{grid-template-columns:repeat(3,minmax(0,170px));gap:36px 56px}
  .team.docs4{grid-template-columns:repeat(3,minmax(0,150px));gap:32px 28px}
  .contact-grid{grid-template-columns:1fr minmax(0,466px)}
  .note-green h2{font-size:26px}
  .note-green h3{font-size:30px}
  .note-green p{font-size:16px}
  .note-green .small{font-size:15px}
  .notice .big{font-size:24px}
}
@media (min-width:1025px){
  .logo{left:calc(50% + 215px);width:220px}
  .team.docs4{grid-template-columns:repeat(5,minmax(0,140px));gap:32px 24px}
  .banner-ekg{height:278px}
  .banner-notfall{height:299px}
  .banner-kontakt{height:202px;background-size:2500px auto}
  .banner-impressum{height:512px}
  .banner-datenschutz{height:512px}
  .wrap{max-width:860px}
  .wrap.wide{max-width:960px}
}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media print{.nav,.banner,.logo,.skip{display:none}.gray-bg{background:none}}

.tel{color:inherit;text-decoration:none}
.docs .contact .tel{color:inherit}
