/* Gemeinschaftspraxis Rodaun - new front-end.
   The page copy is copied verbatim from the archive; only the shell,
   the layout and the styling are new.

   Layout follows the Aviva knowledge-centre pattern the client picked:
   a solid colour bar on top, one single column of text about 860px wide,
   a wide picture under the heading, hairline link lists instead of card
   grids, and a tinted panel at the end. The bar colour is the orange the
   archived site used on its header, menu and footer. */

:root{
  --orange:#ffa500;
  --orange-bar:#ffa500;
  --orange-tint:#ffedcc;
  --orange-line:#f2ddb6;
  --green:#2f7b36;
  --green-dark:#25622b;
  --brown:#3a2c14;
  --ink:#1b1913;
  --ink-2:#3b372e;
  --muted:#6e685d;
  --line:#dfd9cd;
  --line-soft:#ece7dd;
  --bg:#fff;

  --serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --sans:"Source Sans 3",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --col:860px;
  --wide:1180px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);
  font:400 18px/1.68 var(--sans);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{margin:0;font-family:var(--serif);font-weight:600;line-height:1.2;
  letter-spacing:-.01em}
a{color:var(--green-dark)}
.column{max-width:var(--col);margin:0 auto;padding:0 24px}
.wide{max-width:var(--wide);margin:0 auto;padding:0 24px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------------- top strip + orange bar ---------------- */
.topbar{background:#fff;color:var(--muted);font-size:13.5px;
  border-bottom:1px solid var(--line-soft)}
.topbar .wide{display:flex;gap:18px;justify-content:space-between;align-items:center;
  min-height:38px;flex-wrap:wrap}
.topbar a{color:var(--ink);text-decoration:none;font-weight:600}
.topbar a:hover{text-decoration:underline}

.masthead{background:var(--orange-bar);border-bottom:1px solid rgba(58,44,20,.18)}
.masthead .wide{display:flex;align-items:center;gap:26px;min-height:78px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--brown)}
.brand img{height:50px;width:auto;background:#fff;padding:4px 6px;border-radius:4px}
.brand-text{font-family:var(--serif);font-size:19px;font-weight:600;line-height:1.18;
  max-width:200px}
.brand-text span{display:block;font-family:var(--sans);font-size:12.5px;font-weight:600;
  letter-spacing:.08em;text-transform:uppercase;opacity:.75}

.nav-toggle{position:absolute;opacity:0;pointer-events:none}
.nav-burger{display:none;margin-left:auto;align-items:center;gap:8px;padding:9px 14px;
  border:1px solid rgba(58,44,20,.35);border-radius:4px;background:transparent;
  color:var(--brown);font:600 14.5px var(--sans);cursor:pointer}
.nav-burger i{display:block;width:16px;height:2px;background:var(--brown);
  box-shadow:0 5px 0 var(--brown),0 -5px 0 var(--brown)}

.main-nav{margin-left:auto}
.main-nav > ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:26px}
.main-nav > ul > li{position:relative}
.main-nav a,.main-nav .sub-trigger{display:flex;align-items:center;gap:6px;padding:6px 0;
  color:var(--brown);font-size:16px;font-weight:600;text-decoration:none;white-space:nowrap;
  cursor:pointer;border-bottom:3px solid transparent}
.main-nav a:hover,.main-nav .sub-trigger:hover{border-bottom-color:rgba(58,44,20,.35)}
.main-nav a[aria-current="page"],.has-sub.is-active > .sub-trigger{border-bottom-color:var(--brown)}
.sub-trigger::after{content:"";width:6px;height:6px;margin-top:-4px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.sub{position:absolute;top:100%;left:-16px;min-width:262px;list-style:none;margin:0;padding:8px 0;
  background:#fff;border:1px solid var(--line);border-radius:4px;
  box-shadow:0 16px 30px -22px rgba(27,25,19,.6);
  opacity:0;visibility:hidden;transition:opacity .13s,visibility .13s;z-index:60}
.has-sub:hover > .sub,.has-sub:focus-within > .sub{opacity:1;visibility:visible}
.sub a{display:block;padding:9px 18px;border-bottom:0;color:var(--ink-2);font-weight:400}
.sub a:hover{background:#fff7e8;border-bottom:0}
.sub a[aria-current="page"]{color:var(--green-dark);font-weight:600;border-bottom:0}

.btn{display:inline-flex;align-items:center;gap:9px;padding:12px 22px;border-radius:999px;
  font:600 16px var(--sans);text-decoration:none;white-space:nowrap;border:2px solid var(--brown);
  color:var(--brown);background:transparent;transition:background .15s,color .15s}
.btn svg{width:17px;height:17px;flex:none}
.btn:hover{background:var(--brown);color:#fff}
.btn-solid{background:var(--brown);color:#fff}
.btn-solid:hover{background:#241a0c;border-color:#241a0c}
.btn-sm{padding:9px 18px;font-size:15px}
.masthead .btn{margin-left:4px}

/* ---------------- article ---------------- */
.article{padding:34px 0 8px}
.backlink{display:inline-flex;align-items:center;gap:8px;margin:0 0 26px;font-size:15px;
  font-weight:600;color:var(--green-dark)}
.backlink::before{content:"";width:7px;height:7px;border-left:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:rotate(45deg)}
h1.page-title{font-size:clamp(34px,5vw,52px);line-height:1.08;letter-spacing:-.02em}
.lede{margin:16px 0 0;font-size:20px;color:var(--ink-2);white-space:pre-line}
.hero-figure{margin:30px 0 0}
.hero-figure img{width:100%;max-height:520px;object-fit:cover;border-radius:6px}
.figure-caption{margin:10px 0 0;font-size:14.5px;color:var(--muted)}

.prose{margin:34px 0 0}
/* the author's original line breaks are preserved */
.copy{white-space:pre-line;margin:0 0 20px}
.copy:last-child{margin-bottom:0}
.copy a{color:var(--green-dark)}
h2.section-title{margin:44px 0 14px;font-size:clamp(25px,3vw,32px)}
/* the author's own headings, taken from the running text */
.prose h2.copy-heading{margin:42px 0 14px;font-size:clamp(23px,2.7vw,29px)}
.prose h2.copy-heading:first-child,.prose h3.copy-heading:first-child{margin-top:0}
.prose h3.copy-heading{margin:30px 0 10px;font-size:20px;font-weight:600}
.copy-list{margin:0 0 22px;padding:0;list-style:none}
.copy-list li{position:relative;padding:4px 0 4px 24px}
.copy-list li::before{content:"";position:absolute;left:4px;top:.95em;width:7px;height:7px;
  border-radius:50%;background:var(--orange)}
h3.role{margin:0 0 20px;font-family:var(--sans);font-size:14px;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.prose img{margin:28px 0;border-radius:6px}
.figure-inline{float:right;max-width:min(320px,42%);margin:6px 0 20px 32px !important;
  border-radius:6px}
.clear{clear:both}
.gallery{display:flex;flex-wrap:wrap;gap:18px;margin:28px 0}
.gallery img{margin:0;max-height:260px;width:auto;border-radius:6px}

/* ---------------- hairline link list ---------------- */
.linklist{margin:52px 0 0;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.linklist h2{padding:20px 24px;font-size:23px;border-bottom:1px solid var(--line)}
.linklist ul{list-style:none;margin:0;padding:0}
.linklist li+li{border-top:1px solid var(--line-soft)}
.linklist a{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:17px 24px;color:var(--green-dark);font-size:17px;font-weight:600;
  text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.linklist a:hover{background:#fff7e8}
.linklist a::after{content:"";width:8px;height:8px;flex:none;border-top:2px solid currentColor;
  border-right:2px solid currentColor;transform:rotate(45deg)}

/* ---------------- people ---------------- */
.people{list-style:none;margin:44px 0 0;padding:0;border-top:1px solid var(--line-soft)}
.people li{display:grid;grid-template-columns:132px minmax(0,1fr);gap:26px;
  padding:28px 0;border-bottom:1px solid var(--line-soft);align-items:start}
.people img{width:132px;height:132px;object-fit:cover;object-position:top center;border-radius:6px}
.people .avatar-fallback{width:132px;height:132px;border-radius:6px;background:var(--orange-tint);
  display:grid;place-items:center;font-family:var(--serif);font-size:38px;color:var(--orange)}
.people h3{font-size:22px}
.people h3 a{color:var(--green-dark);text-underline-offset:3px}
.people .role{margin:5px 0 12px;font-size:13.5px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:var(--muted)}
.people .copy{font-size:17px;color:var(--ink-2)}

/* small people strip (home page) */
.people-brief{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:22px 26px;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.people-brief li{display:flex;align-items:center;gap:15px}
.people-brief img,.people-brief .avatar-fallback{width:64px;height:64px;flex:none;
  border-radius:50%;object-fit:cover;object-position:top center}
.people-brief .avatar-fallback{background:var(--orange-tint);display:grid;place-items:center;
  font-family:var(--serif);font-size:24px;color:var(--orange)}
.people-brief a{font-weight:600;font-size:16.5px;text-underline-offset:3px}
.people-brief .role{margin:3px 0 0;font-size:12.5px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted)}

/* ---------------- tinted panel ---------------- */
.panel{margin:52px 0 0;background:var(--orange);color:var(--brown);
  border-radius:6px;padding:34px 36px}
.panel h2{font-size:26px;margin:0 0 12px}
.panel p{margin:0 0 22px;white-space:pre-line;color:var(--brown)}
.panel .actions{display:flex;flex-wrap:wrap;gap:12px}

/* ---------------- footer ---------------- */
.site-footer{margin-top:72px;background:#17150f;color:#fff;padding:48px 0 26px;
  font-size:16px}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:0 0 26px;border-bottom:1px solid rgba(255,255,255,.14);flex-wrap:wrap}
.footer-cols{display:grid;gap:30px 40px;grid-template-columns:repeat(3,minmax(0,1fr));
  padding:30px 0 0}
.btn-light{border-color:rgba(255,255,255,.45);color:#fff}
.btn-light:hover{background:#fff;color:var(--ink);border-color:#fff}
.site-footer h4{margin:0 0 14px;font-family:var(--sans);color:#fff;font-size:13px;
  font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.site-footer p{margin:0;white-space:pre-line;line-height:1.8}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin:0 0 8px}
.footer-brand{display:inline-block}
.footer-brand img{height:46px;width:auto;background:#fff;padding:5px 7px;border-radius:4px}
.site-footer p{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:34px;
  padding-top:18px;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;
  font-size:14px;color:rgba(255,255,255,.72)}

/* ---------------- responsive ---------------- */
@media (max-width:1050px){
  .masthead .wide{min-height:66px;flex-wrap:wrap;gap:14px}
  .nav-burger{display:inline-flex}
  .masthead > .wide > .btn{display:none}
  .main-nav{order:3;width:100%;margin:0;display:none;padding:4px 0 14px;
    border-top:1px solid rgba(58,44,20,.2)}
  .nav-toggle:checked ~ .main-nav{display:block}
  .main-nav > ul{flex-direction:column;align-items:stretch;gap:0}
  .main-nav a,.main-nav .sub-trigger{padding:12px 0;border-bottom:1px solid rgba(58,44,20,.16)}
  .main-nav a[aria-current="page"],.has-sub.is-active > .sub-trigger{
    border-bottom-color:rgba(58,44,20,.16);text-decoration:underline}
  .sub{position:static;opacity:1;visibility:visible;border:0;box-shadow:none;padding:0 0 4px 16px;
    min-width:0;background:transparent}
  .sub a{padding:9px 0}
  .sub-trigger::after{margin-left:auto}
  .footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  body{font-size:17px}
  .brand-text{font-size:16px}
  .brand img{height:42px}
  .people li{grid-template-columns:88px minmax(0,1fr);gap:18px}
  .people img,.people .avatar-fallback{width:88px;height:88px}
  .panel{padding:26px 22px}
  .footer-cols{grid-template-columns:1fr}
}


/* ---------------- home page (Siloam-style) ---------------- */
.hero{position:relative;background:#fff}
.hero-photo{width:100%;height:clamp(300px,42vw,460px);object-fit:cover;
  object-position:center top}
.hero-card{position:relative;max-width:var(--wide);margin:-110px auto 0;padding:0 24px}
.hero-card > div{background:#fff;border-radius:20px;padding:40px 44px;max-width:680px;
  box-shadow:0 30px 60px -32px rgba(27,25,19,.45)}
.hero-card h1{font-size:clamp(32px,4.4vw,46px);line-height:1.08;letter-spacing:-.03em}
.hero-card .welcome{margin:18px 0 0;font-size:18px;color:var(--muted);white-space:pre-line}
.hero-card .welcome-address{margin:10px 0 0;font-size:20px;font-weight:600;color:var(--ink);
  white-space:pre-line;line-height:1.5}
.hero-card .actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 0}

/* quick links, the pill row */
.chips{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:0;list-style:none}
.chips a{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:999px;
  border:1px solid var(--line);background:#fff;color:var(--ink);text-decoration:none;
  font-size:15.5px;font-weight:600;transition:border-color .15s,background .15s,color .15s}
.chips a:hover{border-color:var(--orange);background:var(--orange-tint);color:var(--orange-ink)}
/* the practice's own text keeps a readable measure */
.home-prose{max-width:var(--col);margin:44px 0 0}

/* section: heading on the left, cards on the right */
.split{display:grid;gap:44px;grid-template-columns:minmax(0,.8fr) minmax(0,2fr);
  align-items:start}
.split-head .eyebrow{margin:0 0 12px;font-family:var(--sans);font-size:13px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--orange-ink)}
.split-head h2{font-size:clamp(28px,3.4vw,40px);line-height:1.12;letter-spacing:-.03em}
.split-head p{margin:16px 0 0;color:var(--muted);font-size:16px}

.card-grid{list-style:none;margin:0;padding:0;display:grid;gap:20px;
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.card-grid a{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:16px;
  overflow:hidden;text-decoration:none;color:var(--ink);border:1px solid var(--line-soft);
  box-shadow:0 18px 36px -30px rgba(27,25,19,.5);
  transition:transform .16s ease,box-shadow .16s ease}
.card-grid a:hover{transform:translateY(-4px);box-shadow:0 26px 46px -28px rgba(27,25,19,.55)}
.card-grid .shot{aspect-ratio:4/3;background:var(--orange-tint);overflow:hidden}
.card-grid .shot img{width:100%;height:100%;object-fit:cover}
.card-grid .shot span{display:grid;place-items:center;height:100%;font-family:var(--serif);
  font-size:38px;color:var(--orange)}
.card-grid .name{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:18px 20px;font-family:var(--serif);font-size:18px;line-height:1.25}
.card-grid .name svg{width:16px;height:16px;flex:none;color:var(--orange-ink)}

.band{background:#fff8ef;border-block:1px solid var(--orange-line)}
.section-wide{padding:76px 0}

/* people cards */
.people-cards{list-style:none;margin:0;padding:0;display:grid;gap:20px;
  grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.people-cards li{background:#fff;border:1px solid var(--line-soft);border-radius:16px;
  padding:20px;text-align:center;box-shadow:0 18px 36px -30px rgba(27,25,19,.5)}
.people-cards img,.people-cards .avatar-fallback{width:92px;height:92px;border-radius:50%;
  object-fit:cover;object-position:top center;margin:0 auto 14px}
.people-cards .avatar-fallback{display:grid;place-items:center;background:var(--orange-tint);
  font-family:var(--serif);font-size:30px;color:var(--orange)}
.people-cards a{font-family:var(--serif);font-size:17px;color:var(--ink);text-decoration:none}
.people-cards a:hover{color:var(--orange-ink)}
.people-cards .role{margin:6px 0 0;font-size:11.5px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:var(--muted)}

/* contact block, brand colour */
.contact-band{background:var(--orange);color:var(--brown);padding:56px 0}
.contact-band .wide{display:flex;flex-wrap:wrap;gap:24px;align-items:center;
  justify-content:space-between}
.contact-band h2{font-size:clamp(26px,3vw,34px);letter-spacing:-.025em}
.contact-band p{margin:12px 0 0;white-space:pre-line;font-size:17px}

@media (max-width:900px){
  .hero-card{margin-top:-64px}
  .hero-card > div{padding:28px 24px;border-radius:16px}
  .split{grid-template-columns:1fr;gap:28px}
  .section-wide{padding:56px 0}
}
