:root { color-scheme: light; --red: #c00; --ink: #4b4b4d; --header-background: #e1decb; --content-inset: clamp(1.25rem, 4vw, 5rem); }
* { box-sizing: border-box; }
body { margin: 0; background: #fff url('img_index/hg_browser.jpg') repeat-x; color: var(--ink); font: 1rem/1.65 Verdana, Arial, Helvetica, sans-serif; }
a { color: var(--ink); text-underline-offset: .2em; overflow-wrap: anywhere; }
a[href^="tel:"] { text-decoration: none; }
a:hover { text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #345b16; outline-offset: 3px; }
img, svg { max-width: 100%; height: auto; }
.site { max-width: 1121px; width: 100%; }
.site-header > a { display: block; line-height: 0; text-decoration: none; }
.desktop-header { display: block; width: 100%; }
.mobile-header { display: none; }
.panel { margin: 0 14% 0 15.17%; background: #fff; border-radius: 0 0 1.1rem 0; box-shadow: 0 2px 5px #0004; }
.navigation { display: flex; flex-wrap: wrap; background: linear-gradient(#fff, #d9d9dc); border-block: 1px solid #999; }
.navigation a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .45rem .8rem; color: #1a171b; border-right: 1px solid #b5b5b5; text-decoration: none; line-height: 1.4; }
.navigation a:hover, .navigation a[aria-current='page'] { background: #d3031c; color: #fff; }
.mobile-navigation { display: none; }
main { min-width: 0; padding: 2.5rem var(--content-inset) 3rem; min-height: 370px; background: linear-gradient(#e8e8eb, #fff 55px); overflow-wrap: anywhere; }
h1, h2, .ueberschrift_rot { color: var(--red); font-weight: 400; font-size: 1.25rem; line-height: 1.5; }
h1 { margin: 0 0 1.5rem; }
h2 { margin: 2rem 0 1rem; }
p { margin: 0 0 1.4rem; }
p:last-child { margin-bottom: 0; }
.text, .textlink, .textlinkrot, .textl_rot, .textK_link_rot { font: inherit; }
.textlinkrot, .textl_rot, .textK_link_rot { color: var(--red); }
main a, main a:visited { color: var(--ink); }
ul { margin: .75rem 0 1.5rem; padding-left: 1.4rem; }
li { margin-bottom: .5rem; }
table { border-collapse: collapse; width: 100%; table-layout: fixed; }
td { vertical-align: top; padding: .15rem .25rem .15rem 0; white-space: normal; }
.page-therapie td:first-child { width: 1rem; }
.page-praxis td:first-child { width: 5.5rem; }
.page-impressum td:first-child { width: 29%; padding-right: 1.25rem; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 2rem; align-items: start; }
.portrait { width: 160px; height: auto; margin-top: 3rem; }
.practice-photos { display: block; width: 100%; margin: 0 0 2rem; }
.contact { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid #ddd; font-style: normal; }
.site-footer { margin: .8rem 14% 2rem 15.17%; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .25rem 1rem; font-size: .875rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.site-footer img { width: 34px; height: 28px; }
.site-footer [aria-current='page'] { color: #b00000; }
.skip { position: absolute; top: -100px; left: 1rem; padding: .5rem 1rem; background: #fff; color: #222; z-index: 2; }
.skip:focus { top: .5rem; }
@media (max-width: 950px) {
  :root { --content-inset: 2rem; }
  main { padding-inline: 2rem; }
}
@media (max-width: 760px) {
  .intro { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .portrait { margin: 0; }
}
@media (max-width: 600px) {
  :root { --content-inset: 1.25rem; }
  body { background: linear-gradient(var(--header-background), #fff 600px) no-repeat; }
  .desktop-header { display: none; }
  .mobile-header { display: block; padding: 1rem 1rem 0; }
  .mobile-brand { display: flex; align-items: center; gap: .6rem; color: var(--red); font-size: 1.125rem; line-height: 1.4; padding-bottom: .8rem; }
  .mobile-brand img { width: 34px; height: 28px; flex: none; mix-blend-mode: multiply; }
  .mobile-header svg { display: block; width: 100%; border-radius: .75rem 0 0 0; }
  .panel { margin-inline: 1rem; }
  .desktop-navigation { display: none; }
  .mobile-navigation { display: block; background: linear-gradient(#fff, #d9d9dc); border-block: 1px solid #aaa; }
  .mobile-navigation summary { min-height: 48px; padding: .6rem 1rem; cursor: pointer; color: #1a171b; }
  .mobile-navigation[open] summary { border-bottom: 1px solid #aaa; }
  .mobile-navigation .navigation { display: grid; grid-template-columns: minmax(0, 1fr); border: 0; }
  .mobile-navigation .navigation a { min-width: 0; min-height: 48px; justify-content: flex-start; padding: .75rem 1.25rem; border-right: 0; border-bottom: 1px solid #bbb; }
  .mobile-navigation .navigation a:last-child { border-bottom: 0; }
  main { padding: 1.75rem 1.25rem 2rem; min-height: 0; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .portrait { margin: 0; }
  .page-impressum table, .page-impressum tbody, .page-impressum tr, .page-impressum td { display: block; width: 100%; }
  .page-impressum tr { margin-bottom: 1rem; }
  .page-impressum td:first-child { width: 100%; font-weight: bold; padding: 0 0 .3rem; }
  .site-footer { margin-inline: 1rem; justify-content: center; gap: 0 .8rem; }
  .practice-photos { margin-bottom: 1.5rem; }
}
@media (max-width: 360px) {
  :root { --content-inset: 1rem; }
  .mobile-header { padding-inline: .5rem; }
  .panel, .site-footer { margin-inline: .5rem; }
  main { padding-inline: 1rem; }
}
@media print {
  body { background: #fff; }
  .navigation, .mobile-navigation, .site-footer, .skip, .mobile-header { display: none; }
  .desktop-header { display: block; }
  .panel { margin: 0; box-shadow: none; }
  main { background: none; padding: 1rem 0; }
}

/* Hamburger-Steuerung der mobilen Navigation */
.mobile-navigation summary { list-style: none; width: 100%; display: flex; justify-content: flex-end; align-items: center; }
.mobile-navigation summary::-webkit-details-marker { display: none; }
.mobile-navigation summary::marker { content: ""; }
.hamburger { display: flex; flex-direction: column; justify-content: space-between; width: 25px; height: 19px; position: relative; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--red); border-radius: 2px; }
.mobile-navigation[open] .hamburger span:first-child { position: absolute; top: 8px; transform: rotate(45deg); }
.mobile-navigation[open] .hamburger span:nth-child(2) { opacity: 0; }
.mobile-navigation[open] .hamburger span:last-child { position: absolute; top: 8px; transform: rotate(-45deg); }

/* Mobiles Menü oben rechts im Kopfbereich */
.site-header { position: relative; }
@media screen and (max-width: 600px) {
  .mobile-brand { padding-right: 3rem; min-height: 48px; }
  .site-header .mobile-navigation { position: absolute; top: .5rem; right: 1rem; z-index: 10; background: transparent; border: 0; }
  .site-header .mobile-navigation summary { width: 48px; min-height: 48px; padding: 0; justify-content: center; border: 0; }
  .site-header .mobile-navigation .navigation { position: absolute; top: 100%; right: 0; width: min(20rem, calc(100vw - 2rem)); max-height: calc(100vh - 5rem); overflow-y: auto; background: var(--header-background); border: 1px solid #b3b09f; box-shadow: 0 4px 12px #0003; }
}
@media screen and (max-width: 360px) {
  .site-header .mobile-navigation { right: .5rem; }
}

/* Praxisbild bündig am linken Rand der weißen Inhaltsfläche. */
.page-praxis .practice-photos { margin-left: calc(-1 * var(--content-inset)); }
.online-contact { margin-top: 1.75rem; color: var(--ink); }
.online-contact td:first-child { width: 5.5rem; }
.online-contact a { color: var(--ink); }
.online-contact a[href^="tel:"] { text-decoration: none; }
@media print {
  .page-praxis .practice-photos { margin-left: 0; }
}

/* Offizielles Biogena-Logo beim vorhandenen Anbieterlink. */
.biogena-link { display: inline-block; max-width: 100%; vertical-align: top; }
.biogena-logo { display: block; width: 160px; max-width: 100%; height: auto; margin: .75rem 0 .5rem; }

/* Einheitliche Aufzählung; kompakteres Logo auf Smartphones. */
.partner-list { margin: 0; padding-left: 1rem; list-style-type: disc; }
.partner-list > li { margin: 0 0 1.5rem; padding-left: 0; }
.partner-list > li:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .partner-list { padding-left: 1.1rem; }
  .partner-list .biogena-link { display: inline-block; }
  .partner-list .biogena-logo { width: 160px; margin: .5rem 0 .35rem; }
}
