/* Dr. med. Rudolf Heltzel – statische Nachbildung des Wix-Layouts */
/* Schriften: Figtree (Ersatz für Avenir Light) und Arimo (laufweitengleich mit Helvetica),
   beide SIL Open Font License 1.1, selbst gehostet – Lizenztexte unter assets/fonts/ */
@font-face { font-family: "RH Light"; src: url("../fonts/figtree-light.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "RH Light"; src: url("../fonts/figtree-light-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "RH Helvetica"; src: url("../fonts/arimo-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "RH Helvetica"; src: url("../fonts/arimo-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "RH Helvetica"; src: url("../fonts/arimo-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
:root {
  --f-light: "RH Light", Arial, sans-serif;
  --f-heavy: "RH Light", Arial, sans-serif;
  --f-helv: "RH Helvetica", Arial, sans-serif;
  --f-helvneue-light: "RH Helvetica", Arial, sans-serif;
  --f-helv-bold: "RH Helvetica", Arial, sans-serif;
  --ink: rgb(24, 24, 24);
  --grey: rgb(244, 244, 244);
  --accent: rgb(90, 89, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--f-light); font-size: 15px; }
a { color: inherit; }
img { border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }

/* Layout engine: every container is a single-column grid; children share rows and are offset by margins */
.g { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; position: relative; }
.g > * { grid-column: 1; justify-self: start; align-self: start; min-width: 0; }
.root { width: 100%; }
.c { position: relative; }
.t { overflow-wrap: break-word; }
.t p, .t h1, .t h2, .t h3, .t h4, .t h5, .t h6, .t ul, .t ol, .t li, .t blockquote { margin: 0; padding: 0; }
.t ul, .t ol { padding-left: 0; }
.t a { color: inherit; }
.t img { max-width: 100%; height: auto; }
.im { overflow: hidden; }
.im img, .im a { display: block; width: 100%; height: 100%; }
.im img { object-fit: cover; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.gal img { position: absolute; display: block; object-fit: cover; cursor: zoom-in; }

/* Buttons */
.btn .b { display: flex; align-items: center; justify-content: safe center; white-space: nowrap; width: 100%; height: 100%; text-decoration: none; text-align: center;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease; line-height: 1.4; }
.btn .b.hv:hover, .btn .b.hv:focus-visible { background-color: var(--hbg) !important; color: var(--hcol) !important; border-color: var(--hbd) !important; }

/* Responsive switch: Wix serves a separate 320px mobile layout */
.lay-m { display: none; }
@media (max-width: 699px) {
  .lay-d { display: none; }
  .lay-m { display: block; width: 320px; margin: 0 auto; }
}
@media (min-width: 700px) {
  body { min-width: 980px; }
}

/* Desktop navigation */
.dnav ul { list-style: none; margin: 0; padding: 0; }
.dnav > ul { display: flex; justify-content: center; height: 30px; }
.dnav > ul > li { position: relative; }
.dnav a { display: block; text-decoration: none; color: var(--ink); font: 14px/30px var(--f-light); padding: 0 10px; white-space: nowrap; transition: color .4s ease; text-align: center; }
.dnav > ul > li > a:hover, .dnav > ul > li:focus-within > a { color: rgb(28, 28, 28); }
.dnav .sub { display: none; position: absolute; left: 0; top: 37px; min-width: 100%; background: var(--grey); z-index: 50; }
.dnav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 7px; }
.dnav li:hover > .sub, .dnav li:focus-within > .sub { display: block; }
.dnav .sub a { line-height: 29px; padding: 0 7px; }
.dnav .sub a:hover { color: var(--accent); }
.dnav .more > .sub { left: 50%; transform: translateX(-50%); }

/* Mobile navigation */
.lay-m .site-header { position: relative; }
.mtoggle { position: absolute; left: 265px; top: 27px; width: 40px; height: 40px; background: none; border: 0; padding: 9px 7px; cursor: pointer; z-index: 20; display: flex; flex-direction: column; justify-content: space-between; }
.mtoggle span { display: block; height: 2px; background: var(--ink); }
.mnav { position: fixed; inset: 0; background: #fff; z-index: 1000; overflow-y: auto; padding: 75px 20px 40px; }
.mnav[hidden] { display: none; }
.mclose { position: absolute; left: 265px; top: 27px; width: 40px; height: 40px; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.mclose svg { width: 100%; height: 100%; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav .row { position: relative; display: flex; justify-content: center; }
.mnav a { display: block; font: 20px/50px var(--f-light); color: var(--ink); text-decoration: none; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mnav .has-sub > .row > a { max-width: 180px; }
.mnav li:not(.has-sub) > .row > a { width: 100%; }
.mnav a.on { color: var(--accent); }
.mnav .row button { position: absolute; right: 0; top: 0; width: 50px; height: 50px; background: none; border: 0; padding: 15px; cursor: pointer; color: var(--ink); }
.mnav .row button svg { width: 100%; height: 100%; transition: transform .2s; }
.mnav .has-sub.open > .row button svg { transform: rotate(180deg); }
.mnav .has-sub > ul { display: none; }
.mnav .has-sub.open > ul { display: block; }
body.menu-open { overflow: hidden; }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(255, 255, 255, .97); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: calc(100vw - 140px); max-height: calc(100vh - 80px); object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; cursor: pointer; color: var(--ink); width: 44px; height: 44px; padding: 8px; }
.lb button svg { width: 100%; height: 100%; }
.lb .x { top: 16px; right: 16px; }
.lb .p { left: 16px; top: calc(50% - 22px); }
.lb .n { right: 16px; top: calc(50% - 22px); }
@media (max-width: 699px) { .lb img { max-width: 100vw; } }
.t a { text-decoration: none; }

/* Strip slideshow (replaces Wix StripShowcase) */
.sg { overflow: hidden; }
.sg-track { display: flex; height: 100%; width: max-content; transition: transform 1s ease; will-change: transform; }
.sg-track.no-anim { transition: none; }
.sg-s { position: relative; height: 100%; flex: none; cursor: pointer; }
.sg-s img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sg-s::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: .25; transition: opacity 1s ease; pointer-events: none; }
.sg-s.on::after { opacity: 0; }
.sg-prev, .sg-next { position: absolute; top: 0; bottom: 0; width: 15%; background: none; border: 0; cursor: pointer; padding: 0; }
.sg-prev { left: 0; } .sg-next { right: 0; }
.sg-prev:focus-visible, .sg-next:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.tpa { overflow: visible; } .tpa a { text-decoration: none; color: inherit; } .tpa a[data-share] { cursor: pointer; }

.tpa h1, .tpa h2, .tpa h3, .tpa h4, .tpa h5, .tpa h6, .tpa p, .tpa figure, .tpa blockquote, .tpa ul, .tpa ol, .tpa li { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
.tpa ul, .tpa ol { list-style: none; }
.tpa img { max-width: none; }
.map { overflow: hidden; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 22px; height: 35px; margin: -35px 0 0 -11px; pointer-events: none; }
.map-pin svg { display: block; width: 100%; height: 100%; }
.map { background: #eeeeee; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; font-family: var(--f-light); color: var(--ink); z-index: 1; }
.map-consent .map-addr { margin: 0 0 4px; font-size: 15px; padding-top: 70px; }
.map-consent .map-load { font: 14px/1 var(--f-light); color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 20px; padding: 12px 22px; cursor: pointer; transition: background-color .4s, color .4s; }
.map-consent .map-load:hover, .map-consent .map-load:focus-visible { background: #fff; color: var(--ink); }
.map-consent .map-note { margin: 0; max-width: 520px; font-size: 12px; line-height: 1.6; color: rgb(82, 82, 82); }
.map-consent .map-note a { color: inherit; }
.map.loaded .map-consent, .map.loaded .map-pin { display: none; }
.map:not(.loaded) .map-pin { top: calc(50% - 60px); }
@media (max-width: 699px) { .map-consent .map-addr { padding-top: 56px; font-size: 14px; } .map-consent .map-note { font-size: 11px; } }
.dnav > ul > li > a.sel { color: rgb(28, 28, 28); }
.zoomable [data-hook^=image-viewer] img { cursor: zoom-in; }

/* Datenschutzerklärung: fortlaufender Text im Stil der Original-Abschnitte */
.ds { width: 780px; margin: 0 0 0 calc(50% - 390px); padding: 81px 0 58px; color: var(--ink); }
.ds h2 { font: 20px/33.4px var(--f-light); margin: 107px 0 34px; }
.ds h2:first-child { margin-top: 0; }
.ds p, .ds li { font: 15px/28.125px var(--f-light); margin: 0; }
.ds p + p, .ds ul + p, .ds p + ul { margin-top: 28.125px; }
.ds ul { margin: 0; padding-left: 1.2em; }
.ds a { color: inherit; text-decoration: underline; overflow-wrap: anywhere; }
.lay-m .ds { width: 280px; margin: 0 0 0 10px; padding: 56px 0 22px; }
.lay-m .ds h2 { font-size: 18px; line-height: 30.1px; margin: 44px 0 11px; }
.lay-m .ds h2:first-child { margin-top: 0; }
.lay-m .ds p, .lay-m .ds li { font-size: 14px; line-height: 26.25px; }
.lay-m .ds p + p, .lay-m .ds ul + p, .lay-m .ds p + ul { margin-top: 26.25px; }

/* Pflichtlinks im Footer (Impressum, Datenschutz) */
.site-footer .legal { margin: 0; padding: 0 0 22px; text-align: center; font: 12px/1.8 var(--f-light); color: var(--ink); }
.site-footer .legal a { color: inherit; text-decoration: none; }
.site-footer .legal a:hover, .site-footer .legal a:focus-visible { text-decoration: underline; }
.lay-m .site-footer .legal { font-size: 11px; padding-bottom: 16px; }
