:root {
  --accent: #aa9d1f;
  --accent-dark: #7d7216;
  --text: #221c19;
  --text-soft: #6a635b;
  --bg: #ffffff;
  --bg-soft: #f7f6f2;
  --bg-soft-2: #f1f0eb;
  --line: rgba(34, 28, 25, 0.10);
  --line-strong: rgba(34, 28, 25, 0.16);
  --shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
  --footer: #050505;
  --footer-line: rgba(255,255,255,0.17);
  --footer-text: #f5f2d5;
  --footer-muted: #c3ba58;
  --cookie: rgba(255,255,255,0.97);
  --cookie-line: rgba(34, 28, 25, 0.12);
}

html[data-bs-theme="dark"] {
  --accent: #cac264;
  --accent-dark: #e1da82;
  --text: #efece5;
  --text-soft: #b8b0a4;
  --bg: #151515;
  --bg-soft: #1d1d1d;
  --bg-soft-2: #212121;
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.18);
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.30);
  --footer: #020202;
  --footer-line: rgba(255,255,255,0.14);
  --footer-text: #f3efdc;
  --footer-muted: #ccc36b;
  --cookie: rgba(22,22,22,0.96);
  --cookie-line: rgba(255,255,255,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
button { font: inherit; }

.topline { height: 5px; background: var(--accent); }
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: .84rem;
}
.topbar-inner {
  min-height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar-left, .topbar-right { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.topbar a, .contrast-toggle { color: var(--text-soft); }
.contrast-toggle {
  border: 0;
  background: transparent;
  padding: 0;
}

.site-header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(34, 28, 25, 0.04);
  backdrop-filter: blur(12px);
  transition: background .28s ease, box-shadow .28s ease, border-color .28s ease;
}
html[data-bs-theme="dark"] .site-header { background: rgba(21,21,21,.94); border-bottom-color: rgba(255,255,255,.05); }
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-bottom-color: rgba(34, 28, 25, 0.08);
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  transition: min-height .28s ease, padding .28s ease;
}
.site-header.is-scrolled .header-inner { min-height: 72px; }
.header-inner.simple { min-height: 74px; }
.brand img { height: 62px; width: auto; transition: height .28s ease, transform .28s ease; }
.site-header.is-scrolled .brand img { height: 56px; }
.nav-shell { flex: 1; display: flex; justify-content: flex-end; }
.navbar-toggler { border-radius: 0; border-color: var(--line-strong); }
.navbar-nav { gap: 1.25rem; }
.nav-link {
  position: relative;
  padding: .25rem 0 !important;
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--text) !important;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.42rem;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width .28s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.desktop-nav {
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.mobile-nav-toggle {
  border-radius: 0;
  border: 1px solid var(--line-strong);
  width: 48px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.mobile-nav-panel {
  --bs-offcanvas-width: 340px;
  background: #f1f1ef;
  color: #4a5162;
  border-right: 1px solid #ddddda;
}

html[data-bs-theme="dark"] .mobile-nav-panel {
  background: #1b1b1b;
  color: #d9d6cf;
  border-right-color: #323232;
}

.mobile-nav-panel .offcanvas-header { display: none; }

.mobile-nav-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.55rem 1.55rem 1.25rem;
}

.mobile-nav-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.mobile-nav-panel .btn-close {
  margin-top: .15rem;
  opacity: .8;
}

.mobile-nav-kicker {
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}

.mobile-nav-title {
  margin: 0;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--text);
}

.mobile-nav-links {
  border-top: 1px solid #d8d8d5;
  margin-top: .35rem;
}

.mobile-nav-links a {
  display: block;
  padding: 1.08rem .25rem;
  border-bottom: 1px solid #d8d8d5;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: #525a6c;
}

.mobile-nav-links a.is-active,
.mobile-nav-links a:hover {
  color: var(--accent);
}

.mobile-nav-bottom {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid #d8d8d5;
}

.mobile-nav-bottom a {
  display: block;
  margin-bottom: .7rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--accent);
}

.mobile-nav-update-label {
  margin-top: .8rem;
  color: var(--accent);
  font-size: .95rem;
}

.mobile-nav-update-date {
  margin-top: .35rem;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.team-copy p {
  margin: 0 0 1rem;
}

.team-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}

.team-photos img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}


.hero-gallery-section {
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
}
.hero-gallery-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(170,157,31,.75), rgba(191,214,88,.95), rgba(170,157,31,.75));
  box-shadow: 0 3px 10px rgba(121,116,22,.35);
  z-index: 5;
}
.hero-gallery-shell {
  position: relative;
  overflow: hidden;
  max-width: 1680px;
  margin: 0 auto;
}
.hero-gallery-track {
  display: flex;
  will-change: transform;
  transition: transform .95s ease;
}
.hero-gallery-item {
  position: relative;
  flex: 0 0 33.3333%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}
.hero-gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(187,201,84,.22), rgba(187,201,84,0) 35%, rgba(187,201,84,0) 65%, rgba(187,201,84,.22));
  opacity: .85;
  z-index: 1;
  transition: opacity .35s ease, background .35s ease;
}
.hero-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 360px;
  object-fit: cover;
  transition: transform .65s ease, filter .65s ease;
}
.hero-gallery-item:hover img { transform: scale(1.055); filter: contrast(1.04) saturate(1.03); }
.hero-gallery-item:hover::before { background: linear-gradient(90deg, rgba(187,201,84,.32), rgba(187,201,84,.08) 35%, rgba(187,201,84,.08) 65%, rgba(187,201,84,.32)); }
.hero-gallery-item::after {
  content: "Galerie";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: .3rem .6rem;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: rgba(255,255,255,.82);
  color: var(--text);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 2;
}
.hero-gallery-item:hover::after { opacity: 1; }
.hero-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.2%;
  pointer-events: none;
  z-index: 4;
}
.hero-fade-left { left: 0; background: linear-gradient(to right, rgba(191,214,88,.46), rgba(247,246,242,.92) 32%, rgba(247,246,242,0)); }
.hero-fade-right { right: 0; background: linear-gradient(to left, rgba(191,214,88,.46), rgba(247,246,242,.92) 32%, rgba(247,246,242,0)); }
html[data-bs-theme="dark"] .hero-fade-left { background: linear-gradient(to right, rgba(95,109,34,.65), rgba(29,29,29,.92) 32%, rgba(29,29,29,0)); }
html[data-bs-theme="dark"] .hero-fade-right { background: linear-gradient(to left, rgba(95,109,34,.65), rgba(29,29,29,.92) 32%, rgba(29,29,29,0)); }

.section { padding: 5.4rem 0; }
.light-section { background: var(--bg-soft); }
.section-head { margin-bottom: 2.1rem; max-width: 900px; }
.section-head.narrow { max-width: 760px; }
.section-head.left-aligned { max-width: 620px; }
.section-kicker {
  display: inline-block;
  margin-bottom: .7rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.section-head h1, .section-head h2 {
  margin: 0;
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -.03em;
}
.section-head h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
.section-head p { margin: .95rem 0 0; color: var(--text-soft); }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .8fr);
  gap: 3.2rem;
  align-items: start;
}
.main-copy p { margin: 0 0 1.15rem; font-size: 1.05rem; }
.signature { padding-top: .65rem; }
.side-photo {
  overflow: hidden;
  box-shadow: var(--shadow);
}
.side-photo img { width: 100%; min-height: 360px; object-fit: cover; }

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.service-list.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-item {
  position: relative;
  padding: 1rem 0 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
}
.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.logo-band {
  background: var(--bg-soft-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0 1.15rem;
  overflow: hidden;
}
.logo-band-head {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.2rem;
  align-items: baseline;
  margin-bottom: 1rem;
}
.logo-band-label, .logo-band-title {
  font-weight: 700;
  letter-spacing: .01em;
}
.logo-band-title { font-size: 1.02rem; }
.logo-marquee {
  overflow: hidden;
  position: relative;
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.logo-item {
  min-width: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(.12);
}
.logo-item img {
  max-height: 80px;
  width: auto;
  max-width: 220px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.two-col-layout {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: 3.6rem;
  align-items: start;
}
.times-cardless { border-top: 1px solid var(--line-strong); padding-top: .2rem; }
.time-list div, .number-lines div, .contact-lines div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
.time-list span, .number-lines span, .contact-lines span { color: var(--text-soft); }
.time-list strong, .number-lines strong, .contact-lines strong { font-weight: 600; }
.time-list.compact div { padding: .82rem 0; }
.inline-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
  margin-top: 2rem;
}
.inline-note-grid h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.inline-note-grid p { margin: 0; color: var(--text-soft); }
.calendar-status {
  margin-bottom: 1.2rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(170,157,31,.11), rgba(170,157,31,.02));
  border-left: 4px solid var(--accent);
}
.calendar-status.compact { margin-bottom: 1rem; }
.calendar-status-label {
  display: block;
  color: var(--text-soft);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.calendar-status strong { font-size: 1.12rem; }
.calendar-status small { display: block; margin-top: .15rem; color: var(--text-soft); }
.number-lines { border-top: 1px solid var(--line-strong); }
.number-lines strong { font-size: 1.26rem; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: 3.2rem;
  align-items: start;
}
.location-lead { font-size: 1.14rem; font-weight: 500; margin-bottom: 1rem; }
.accessibility-text { margin-top: 1.35rem; color: var(--text-soft); }
.contact-map { min-height: 380px; }
.map-placeholder {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-placeholder img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: brightness(.8);
}
.map-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: rgba(20,20,20,.30);
  color: #fff;
}
.map-placeholder-overlay h3 { margin-bottom: .55rem; }
.map-placeholder-overlay p { max-width: 460px; }
.map-iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  box-shadow: var(--shadow);
}

.edge-actions {
  position: fixed;
  left: 0;
  top: 186px;
  z-index: 1028;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.edge-tab {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 1.05rem .8rem;
  min-width: 46px;
  border: 0;
  color: #fff;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .22s ease, color .22s ease;
}
.edge-tab--sprechzeiten { background: #b0a521; }
.edge-tab--kontakt { background: #2f211b; }
.edge-tab--sprechzeiten:hover { background: #2f211b; color: #fff; }
.edge-tab--kontakt:hover { background: #b0a521; color: #fff; }
.mobile-quick { display: none !important; }
.quick-btn, .btn-accent, .btn-outline-accent, .btn-ghost {
  border-radius: 0;
  padding: .78rem 1rem;
}
.quick-btn {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--accent);
  color: var(--text);
  box-shadow: var(--shadow);
}
.btn-accent {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline-accent {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.quick-panel { --bs-offcanvas-width: 360px; }
.quick-panel .offcanvas-header { border-bottom: 1px solid var(--line); }
.panel-kicker {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .2rem;
}
.panel-text, .panel-note { color: var(--text-soft); margin-top: 1rem; }
.contact-panel { display: flex; flex-direction: column; gap: .35rem; }
.contact-panel hr { margin: .9rem 0; border-color: var(--line); }
.panel-map { margin-top: 1.2rem; min-height: 230px; }
.panel-map .map-placeholder, .panel-map .map-iframe { min-height: 230px; height: 230px; box-shadow: none; }
.panel-map .map-placeholder img { height: 230px; }
.panel-map .map-placeholder-overlay { padding: 1.2rem; }
.panel-map .map-placeholder-overlay h3 { font-size: 1rem; }

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 4.1rem 0 3.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1.2fr 1fr 1.1fr;
  gap: 3rem;
}
.footer-col h3 {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: 1.85rem;
  line-height: 1.14;
  font-weight: 700;
}
.footer-lines p { margin: 0 0 1.55rem; color: var(--footer-muted); }
.footer-lines a, .footer-link-list a, .footer-cookie-btn { color: var(--footer-muted); }
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-link-list li {
  border-top: 1px solid var(--footer-line);
  padding: .78rem 0;
}
.footer-link-list li:last-child { border-bottom: 1px solid var(--footer-line); }
.strong-phones li strong, .strong-phones li span { color: #fff; }
.footer-cookie-btn {
  background: transparent;
  border: 0;
  padding: 0;
}
.compact-footer { padding: 2.5rem 0; }
.simple-footer { grid-template-columns: 1fr 1fr; }
.back-link { color: var(--text-soft); }
.legal-page { min-height: calc(100vh - 170px); }
.narrow-copy { max-width: 860px; }
.narrow-copy h2 { margin-top: 2rem; font-size: 1.15rem; }

.cookie-manage-button {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1035;
  width: 48px;
  height: 48px;
  border: 2px solid #735d10;
  border-radius: 50%;
  background: #b0a521;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.28rem;
  box-shadow: var(--shadow);
}
.cookie-manage-button:hover { background: #2f211b; border-color: #2f211b; }
.cookie-icon { line-height: 1; transform: translateY(-1px); }
html[data-bs-theme="dark"] .cookie-manage-button { background: #b0a521; color: #fff; }
.back-to-top-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1035;
  width: 48px;
  height: 48px;
  border: 0;
  background: #2f211b;
  color: #fff;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background .22s ease, color .22s ease, opacity .22s ease;
}
.back-to-top-button:hover { background: #b0a521; color: #2f211b; }
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  background: var(--cookie);
  border: 1px solid var(--cookie-line);
  box-shadow: var(--shadow);
}
.cookie-banner-inner {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 1.1rem;
}
.cookie-brand img, .cookie-modal-brand img { height: 44px; width: auto; }
.cookie-copy strong { display: block; margin-bottom: .3rem; }
.cookie-copy p { margin: 0; color: var(--text-soft); }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }
.cookie-modal .modal-content, .cookie-modal {
  background: var(--bg);
  color: var(--text);
  border-radius: 0;
}
.cookie-modal-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.consent-row {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.consent-row p { margin: .3rem 0 0; color: var(--text-soft); }
.switch {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 30px;
}
.switch input { display: none; }
.switch span {
  position: absolute;
  inset: 0;
  background: #c8c3bb;
  transition: .25s;
}
.switch span::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 3px;
  top: 3px;
  background: #fff;
  transition: .25s;
}
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(22px); }
.cookie-footer-actions { border-top: 1px solid var(--line); }

.gallery-modal .modal-content {
  background: #dce79d;
  border: 0;
  border-radius: 0;
}
html[data-bs-theme="dark"] .gallery-modal .modal-content { background: #2b3312; }
.gallery-modal .modal-body {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 2rem;
}
.gallery-figure {
  width: min(100%, 1120px);
  text-align: center;
}
.gallery-figure img {
  max-height: 68vh;
  width: auto;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,.32);
}
.gallery-figure figcaption { color: rgba(34,28,25,.82); margin-top: .9rem; }
html[data-bs-theme="dark"] .gallery-figure figcaption { color: rgba(255,255,255,.82); }
.gallery-thumbs {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.gallery-thumbs button {
  padding: 0;
  border: 1px solid rgba(34,28,25,.18);
  background: transparent;
  opacity: .72;
}
.gallery-thumbs button.active { opacity: 1; border-color: rgba(34,28,25,.78); }
html[data-bs-theme="dark"] .gallery-thumbs button { border-color: rgba(255,255,255,.18); }
html[data-bs-theme="dark"] .gallery-thumbs button.active { border-color: rgba(255,255,255,.78); }
.gallery-thumbs img { width: 88px; height: 58px; object-fit: cover; }
.gallery-nav, .modal-close {
  position: absolute;
  border: 0;
  color: var(--text);
  background: rgba(255,255,255,.55);
}
html[data-bs-theme="dark"] .gallery-nav, html[data-bs-theme="dark"] .modal-close { color: #fff; background: rgba(0,0,0,.28); }
.gallery-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 2rem;
}
.gallery-nav.prev { left: 1rem; }
.gallery-nav.next { right: 1rem; }
.modal-close {
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199.98px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand img { height: 56px; }
  .site-header.is-scrolled .brand img { height: 50px; }
}

@media (max-width: 991.98px) {
  .topbar-inner, .header-inner {
    flex-direction: row;
    align-items: center;
    padding-top: .55rem;
    padding-bottom: .55rem;
  }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .nav-shell {
    width: auto;
    display: flex;
    justify-content: flex-end;
  }
  .header-inner {
    align-items: center;
  }
  .edge-actions { top: 170px; }
  .hero-gallery-item { flex-basis: 50%; }
  .hero-gallery-item img { min-height: 300px; max-height: 300px; }
  .content-grid, .two-col-layout, .contact-layout, .footer-grid, .simple-footer, .team-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-list.columns-2, .inline-note-grid, .cookie-banner-inner, .team-photos { grid-template-columns: 1fr; }
  .logo-band-head { grid-template-columns: 1fr; gap: .2rem; }
  .cookie-actions { justify-content: flex-start; }
}

@media (max-width: 767.98px) {
  .section { padding: 4.3rem 0; }
  .mobile-nav-panel { --bs-offcanvas-width: min(100vw, 340px); }
  .mobile-nav-inner { padding: 1.35rem 1.2rem 1rem; }
  .mobile-nav-title { font-size: 1.85rem; }
  .mobile-nav-links a { font-size: 1.05rem; padding: 1rem .2rem; }
  .header-inner { min-height: 74px; }
  .site-header.is-scrolled .header-inner { min-height: 68px; }
  .brand img { height: 48px; }
  .site-header.is-scrolled .brand img { height: 43px; }
  .edge-actions { top: 150px; gap: .32rem; }
  .edge-tab { min-width: 40px; padding: .8rem .55rem; font-size: .68rem; }
  .hero-gallery-item { flex-basis: 100%; }
  .hero-gallery-item img { min-height: 238px; max-height: 238px; }
  .hero-fade { width: 3.2%; }
  .number-lines div, .contact-lines div {
    flex-direction: column;
    align-items: flex-start;
    gap: .12rem;
  }
  .logo-track { gap: 2.2rem; }
  .logo-item { min-width: 150px; }
  .logo-item img { max-height: 60px; max-width: 170px; }
  .gallery-nav { width: 46px; height: 46px; font-size: 1.7rem; }
  .cookie-banner { left: .6rem; right: .6rem; bottom: .6rem; }
  .cookie-manage-button { left: .7rem; bottom: .7rem; width: 44px; height: 44px; font-size: 1.14rem; }
  .back-to-top-button { right: .7rem; bottom: .7rem; width: 44px; height: 44px; }
  .footer-col h3 { font-size: 1.55rem; }
}

.modal-close { filter: none; }
.map-consent-box iframe { width: 100%; }



/* Native Header-Slider im Stil der gelieferten Revolution-Slider-Vorlage */
.hero-rev-section {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.hero-rev-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: inset 0 -30px 60px rgba(0,0,0,.08);
}

.hero-rev-slider .carousel-inner,
.hero-rev-slider .carousel-item {
  height: min(44vw, 560px);
  min-height: 320px;
}

.hero-rev-slide {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.hero-rev-image-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero-rev-image-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6.5s ease, filter .5s ease;
  filter: saturate(.98) contrast(1.02);
}

.carousel-item.active .hero-rev-image-trigger img {
  transform: scale(1.05);
}

.hero-rev-slide:hover .hero-rev-image-trigger img {
  transform: scale(1.08);
}

.hero-rev-greenwash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(43,34,29,.38), rgba(43,34,29,.08) 35%, rgba(43,34,29,.02) 65%, rgba(43,34,29,0)),
    linear-gradient(to right, rgba(163,154,28,.22), rgba(163,154,28,.03) 30%, rgba(163,154,28,0));
  pointer-events: none;
  z-index: 1;
}

.hero-rev-content {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(100%, 900px);
  text-align: center;
  padding: 0 1rem;
}

.hero-rev-title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}

.hero-rev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .82rem 1.8rem;
  border: 2px solid rgba(255,255,255,.92);
  background: rgba(163,154,28,.82);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: all .25s ease;
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}

.hero-rev-btn:hover {
  background: rgba(255,255,255,.92);
  color: #2b221d;
  border-color: rgba(255,255,255,.92);
}

.hero-rev-control {
  width: 64px;
  opacity: 1;
  z-index: 4;
}

.hero-rev-control-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,34,29,.78);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.hero-rev-control:hover .hero-rev-control-icon {
  background: rgba(163,154,28,.92);
  color: #fff;
  transform: scale(1.06);
}

.hero-rev-indicators {
  margin-bottom: 18px;
  gap: .45rem;
  z-index: 4;
}

.hero-rev-indicators [data-bs-target] {
  width: 28px;
  height: 5px;
  border: 0;
  margin: 0;
  background: rgba(255,255,255,.55);
  opacity: 1;
}

.hero-rev-indicators .active {
  background: rgba(255,255,255,.96);
}

.hero-green-strip {
  height: 6px;
  background: var(--accent);
  box-shadow: 0 5px 12px rgba(0,0,0,.18);
}

.gallery-modal .modal-content {
  background: #dce4b0;
}

.gallery-modal .modal-body {
  background: #dce4b0;
}

.gallery-figure figcaption {
  color: #3a332d;
}

@media (max-width: 991.98px) {
  .hero-rev-slider .carousel-inner,
  .hero-rev-slider .carousel-item {
    height: 400px;
    min-height: 400px;
  }
  .hero-rev-content {
    bottom: 34px;
  }
  .hero-rev-title {
    font-size: clamp(1.45rem, 4vw, 2rem);
  }
}

@media (max-width: 767.98px) {
  .hero-rev-slider .carousel-inner,
  .hero-rev-slider .carousel-item {
    height: 320px;
    min-height: 320px;
  }
  .hero-rev-content {
    bottom: 26px;
    width: 100%;
  }
  .hero-rev-btn {
    width: min(100%, 290px);
    padding: .78rem 1rem;
    font-size: .95rem;
  }
  .hero-rev-control {
    width: 48px;
  }
  .hero-rev-control-icon {
    width: 38px;
    height: 38px;
    font-size: 1.75rem;
  }
}



/* Header wieder mit 3 Bildern nebeneinander */
.hero-triple-section {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.hero-triple-shell {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  background: var(--bg-soft);
}

.hero-triple-track {
  display: flex;
  will-change: transform;
  transition: transform .95s ease;
}

.hero-triple-item {
  position: relative;
  flex: 0 0 33.333333%;
  min-height: 420px;
  max-height: 420px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.hero-triple-item img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 420px;
  object-fit: cover;
  transform: scale(1);
  transition: transform .6s ease, filter .35s ease;
  filter: saturate(.98) contrast(1.02);
}

.hero-triple-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(163,154,28,.18), rgba(163,154,28,.04) 48%, rgba(163,154,28,0));
  z-index: 1;
  pointer-events: none;
}

.hero-triple-item:hover img {
  transform: scale(1.07);
  filter: saturate(1.02) contrast(1.03);
}

.hero-triple-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5%;
  z-index: 3;
  pointer-events: none;
}

.hero-triple-fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(247,246,242,1), rgba(247,246,242,0));
}

.hero-triple-fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(247,246,242,1), rgba(247,246,242,0));
}

html[data-bs-theme="dark"] .hero-triple-fade-left {
  background: linear-gradient(to right, rgba(29,29,29,1), rgba(29,29,29,0));
}

html[data-bs-theme="dark"] .hero-triple-fade-right {
  background: linear-gradient(to left, rgba(29,29,29,1), rgba(29,29,29,0));
}

@media (max-width: 991.98px) {
  .hero-triple-item {
    flex-basis: 50%;
    min-height: 330px;
    max-height: 330px;
  }
  .hero-triple-item img {
    min-height: 330px;
    max-height: 330px;
  }
  .hero-triple-fade {
    width: 6.5%;
  }
}

@media (max-width: 767.98px) {
  .hero-triple-item {
    flex-basis: 100%;
    min-height: 250px;
    max-height: 250px;
  }
  .hero-triple-item img {
    min-height: 250px;
    max-height: 250px;
  }
  .hero-triple-fade {
    width: 9%;
  }
}


/* Version 7.5 mobile / logo / spacing adjustments */
.brand img {
  height: 82px;
  width: auto;
  max-width: min(52vw, 300px);
  transition: height .28s ease, transform .28s ease;
}
.site-header.is-scrolled .brand img {
  height: 74px;
}

.mobile-nav-toggle {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(163,154,28,.24);
}
.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.mobile-nav-toggle .navbar-toggler-icon {
  width: 1.45em;
  height: 1.45em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.98%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .brand img {
    height: 72px;
    max-width: min(62vw, 290px);
  }
  .site-header.is-scrolled .brand img {
    height: 64px;
  }
}

@media (max-width: 767.98px) {
  .header-inner {
    min-height: 82px;
  }
  .site-header.is-scrolled .header-inner {
    min-height: 74px;
  }
  .brand img {
    height: 62px;
    max-width: min(64vw, 260px);
  }
  .site-header.is-scrolled .brand img {
    height: 56px;
  }

  main .container {
    padding-left: calc(var(--bs-gutter-x) + 1.85rem);
  }
  .section-head,
  .main-copy,
  .team-copy,
  .contact-info,
  .duo-intro,
  .duo-main,
  .times-cardless,
  .service-list,
  .number-lines,
  .footer-lines,
  .footer-link-list {
    position: relative;
    left: .35rem;
  }
}


/* v7.6 intro aside + mobile opening-hours refinement */
.content-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr);
  gap: 4rem;
}

.side-note {
  position: relative;
  padding-left: 2rem;
  align-self: start;
  margin-top: .2rem;
}

.side-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15rem;
  bottom: .15rem;
  width: 5px;
  background: var(--accent);
}

.side-note h2 {
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.side-note ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-note li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 1rem;
}

.time-list div {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  align-items: baseline;
}

.time-list strong {
  text-align: left;
}

@media (max-width: 991.98px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .side-note {
    max-width: 520px;
  }
}

@media (max-width: 767.98px) {
  .time-list div {
    grid-template-columns: 120px 1fr;
    gap: .85rem;
    align-items: center;
  }
  .time-list span,
  .time-list strong {
    white-space: nowrap;
  }
  .time-list strong {
    justify-self: start;
  }
  .side-note {
    left: 0;
    padding-left: 1.25rem;
    margin-top: .5rem;
  }
  .side-note::before {
    width: 5px;
  }
}


/* v7.7 Web-App Vollausgabe + kompakte Öffnungszeiten */
.calendar-status-rich {
  margin-top: .9rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(0,0,0,.08);
  color: var(--text-soft);
  font-size: .98rem;
  line-height: 1.65;
}
.calendar-status-rich[hidden] {
  display: none !important;
}
.calendar-status-rich p:last-child,
.calendar-status-rich ul:last-child,
.calendar-status-rich ol:last-child {
  margin-bottom: 0;
}
.calendar-status-rich a {
  color: var(--accent);
}
.calendar-status-rich.calendar-format-no-underline a {
  text-decoration: none;
}
.calendar-status-rich.calendar-format-underline a {
  text-decoration: underline;
}
.calendar-status-rich img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: .8rem;
}
.calendar-status-rich .calendar-image-name {
  display: block;
  margin-top: .45rem;
  font-size: .86rem;
  color: var(--text-soft);
  opacity: .85;
}

.quick-panel .time-list.compact div,
.quick-panel .time-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: .75rem;
  align-items: baseline;
}
.quick-panel .time-list.compact strong,
.quick-panel .time-list strong {
  text-align: left;
  justify-self: start;
}

@media (max-width: 767.98px) {
  .quick-panel .time-list.compact div,
  .quick-panel .time-list div,
  .time-list div {
    grid-template-columns: 110px 1fr;
    gap: .7rem;
    align-items: baseline;
  }
  .quick-panel .time-list.compact span,
  .quick-panel .time-list.compact strong,
  .time-list span,
  .time-list strong {
    white-space: nowrap;
  }
  .calendar-status-rich {
    font-size: .93rem;
  }
}


/* v7.8 topbar icons + accessibility + exact time alignment */
.topbar a,
.topbar button {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  color: var(--text-soft);
}
.topbar-action i {
  font-size: .96rem;
  line-height: 1;
}
.topbar-action {
  border: 0;
  background: transparent;
  padding: 0;
  white-space: nowrap;
}
.topbar-action:hover {
  color: var(--accent-dark);
}

.desktop-nav {
  justify-content: flex-end;
  margin-left: auto;
}

.nav-link {
  display: inline-block;
  transition: font-size .22s ease, font-weight .22s ease, transform .22s ease, color .22s ease;
}
.nav-link:hover,
.nav-link:focus-visible {
  font-weight: 700;
  font-size: 1.07rem;
  transform: translateY(-1px);
}

.time-list div {
  display: grid !important;
  grid-template-columns: minmax(120px, 1fr) auto;
  align-items: center;
  gap: 1rem;
}
.time-list span {
  text-align: left;
  justify-self: start;
}
.time-list strong {
  text-align: right;
  justify-self: end;
}

.quick-panel .time-list.compact div,
.quick-panel .time-list div {
  display: grid !important;
  grid-template-columns: minmax(110px, 1fr) auto;
  align-items: center;
  gap: .8rem;
}
.quick-panel .time-list.compact span,
.quick-panel .time-list span {
  text-align: left;
  justify-self: start;
}
.quick-panel .time-list.compact strong,
.quick-panel .time-list strong {
  text-align: right;
  justify-self: end;
}

@media (max-width: 991.98px) {
  .topbar-right {
    gap: .95rem;
  }
  .topbar-action span {
    font-size: .82rem;
  }
}

@media (max-width: 767.98px) {
  .topbar-inner {
    gap: .35rem;
  }
  .topbar-right {
    gap: .7rem;
  }
  .topbar-action span {
    font-size: .78rem;
  }
  .topbar-action i {
    font-size: .9rem;
  }
  .time-list div,
  .quick-panel .time-list.compact div,
  .quick-panel .time-list div {
    grid-template-columns: minmax(96px, 1fr) auto;
    gap: .6rem;
  }
}


/* v7.9 logo / stripes / accessibility tab / cookie square */
.topline {
  height: 6px;
}
.hero-green-strip {
  height: 6px;
}
.side-note::before {
  width: 6px;
}

.brand img {
  height: 88px;
  max-width: min(58vw, 340px);
}
.site-header.is-scrolled .brand img {
  height: 79px;
}

.hero-triple-item {
  min-height: 405px;
  max-height: 405px;
}
.hero-triple-item img {
  min-height: 405px;
  max-height: 405px;
}

.cookie-manage-button {
  border-radius: 0;
  border-width: 0;
  background: #2f211b;
  color: #fff;
}
.cookie-manage-button:hover {
  background: #b0a521;
  color: #2f211b;
}
.cookie-icon {
  font-size: 1.12rem;
  transform: none;
}

.edge-tab--accessibility {
  background: #2f211b;
  min-width: 46px;
  padding: .65rem .45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  writing-mode: initial;
  transform: none;
}
.edge-tab--accessibility:hover {
  background: #b0a521;
}
.edge-tab--accessibility img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.edge-tab--accessibility:hover img {
  filter: brightness(0.15) sepia(0.3);
}

.accessibility-actions {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}
.accessibility-panel-copy p {
  margin: 0;
  color: var(--text-soft);
}

@media (max-width: 991.98px) {
  .brand img {
    height: 76px;
    max-width: min(64vw, 300px);
  }
  .site-header.is-scrolled .brand img {
    height: 68px;
  }
}

@media (max-width: 767.98px) {
  .brand img {
    height: 66px;
    max-width: min(66vw, 280px);
  }
  .site-header.is-scrolled .brand img {
    height: 60px;
  }
  .edge-actions {
    top: 144px;
  }
  .edge-tab--accessibility {
    min-width: 40px;
    padding: .48rem .34rem;
  }
  .edge-tab--accessibility img {
    width: 22px;
    height: 22px;
  }
}


/* v8 accessibility SVG tab + bold hover on left tabs */
.edge-tab {
  font-weight: 500;
  transition: background .22s ease, color .22s ease, font-weight .22s ease, letter-spacing .22s ease;
}
.edge-tab:hover,
.edge-tab:focus-visible {
  font-weight: 700;
}

.edge-tab--sprechzeiten:hover,
.edge-tab--kontakt:hover {
  letter-spacing: .135em;
}

.edge-tab--accessibility {
  background: #2f211b;
  min-width: 46px;
  padding: .62rem .42rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  writing-mode: initial;
  transform: none;
}
.edge-tab--accessibility:hover,
.edge-tab--accessibility:focus-visible {
  background: #b0a521;
}

.edge-tab-icon-wrap {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-block;
}

.edge-tab-icon {
  position: absolute;
  inset: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: opacity .22s ease, transform .22s ease;
}

.edge-tab-icon--default {
  opacity: 1;
}
.edge-tab-icon--hover {
  opacity: 0;
}

.edge-tab--accessibility:hover .edge-tab-icon--default,
.edge-tab--accessibility:focus-visible .edge-tab-icon--default {
  opacity: 0;
  transform: scale(.96);
}
.edge-tab--accessibility:hover .edge-tab-icon--hover,
.edge-tab--accessibility:focus-visible .edge-tab-icon--hover {
  opacity: 1;
  transform: scale(1.02);
}

@media (max-width: 767.98px) {
  .edge-tab--accessibility {
    min-width: 40px;
    padding: .48rem .32rem;
  }
  .edge-tab-icon-wrap,
  .edge-tab-icon {
    width: 22px;
    height: 22px;
  }
}


/* Cookie settings redesign v8.1 */
.cookie-settings-dialog {
  max-width: min(1180px, calc(100vw - 32px));
  margin: 1rem auto;
}
.cookie-settings-sheet {
  border: 1px solid #d8d5cf;
  box-shadow: 0 24px 52px rgba(0,0,0,.16);
  background: #f4f3ef;
}
.cookie-settings-header {
  align-items: flex-start;
  padding: 1.65rem 1.45rem 1.35rem;
  border-bottom: 1px solid #d4d0c9;
}
.cookie-settings-brand {
  gap: 1.35rem;
}
.cookie-settings-brand img {
  width: 118px;
  height: auto;
  flex: 0 0 auto;
}
.cookie-settings-brand .panel-kicker {
  color: #b0a521;
  font-size: 1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.cookie-settings-brand .modal-title {
  font-size: clamp(2.2rem, 5vw, 3.55rem);
  line-height: 1.08;
  font-weight: 400;
  color: #231f20;
  margin: 0;
}
.cookie-settings-close {
  margin: .2rem .2rem 0 auto;
  opacity: .55;
  transform: scale(1.22);
}
.cookie-settings-body {
  padding: 1.1rem 1.45rem 1rem;
}
.cookie-consent-row {
  padding: 1.55rem 0;
  border-bottom: 1px solid #ddd8d2;
  align-items: center;
}
.cookie-consent-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #201a18;
  margin-bottom: .6rem;
}
.cookie-consent-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #5f5a57;
  max-width: 86%;
}
.switch-square {
  width: 78px;
  height: 44px;
  flex: 0 0 auto;
}
.switch-square span {
  background: #b0a521;
  border-radius: 0;
}
.switch-square span::before {
  width: 33px;
  height: 33px;
  left: 5px;
  top: 5px;
  border-radius: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.switch-square input:checked + span { background: #b0a521; }
.switch-square input:checked + span::before { transform: translateX(34px); }
.switch-square input:not(:checked) + span { background: #b0a521; }
.switch-square input:not(:checked) + span::before { transform: translateX(34px); }
.switch-square.switch-locked input:checked + span::before { transform: translateX(34px); }
.cookie-settings-footer {
  padding: 1.55rem 1.45rem 1.6rem;
  border-top: 1px solid #ddd8d2;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-footer-left,
.cookie-footer-right {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
}
.btn-cookie-secondary,
.btn-cookie-primary {
  min-width: 232px;
  min-height: 68px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .9rem 1.35rem;
  font-size: .96rem;
  font-weight: 500;
  text-decoration: none;
}
.btn-cookie-secondary {
  border: 1px solid #c7c3bc;
  color: #2b2523;
  background: #faf9f7;
}
.btn-cookie-secondary:hover {
  border-color: #b0a521;
  color: #2b2523;
  background: #f2f0ea;
}
.btn-cookie-primary {
  border: 1px solid #b0a521;
  background: #b0a521;
  color: #fff;
}
.btn-cookie-primary:hover {
  background: #998f18;
  border-color: #998f18;
  color: #fff;
}
@media (max-width: 991.98px) {
  .cookie-settings-brand img { width: 88px; }
  .cookie-consent-copy p { max-width: 100%; }
  .cookie-settings-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-footer-left,
  .cookie-footer-right {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 767.98px) {
  .cookie-settings-dialog {
    max-width: calc(100vw - 14px);
    margin: .35rem auto;
  }
  .cookie-settings-header,
  .cookie-settings-body,
  .cookie-settings-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .cookie-settings-brand {
    gap: .9rem;
    align-items: flex-start;
  }
  .cookie-settings-brand img { width: 62px; }
  .cookie-settings-brand .panel-kicker { font-size: .8rem; }
  .cookie-settings-brand .modal-title {
    font-size: 2rem;
  }
  .cookie-consent-row {
    gap: .8rem;
    align-items: flex-start;
  }
  .cookie-consent-copy p { font-size: .95rem; }
  .switch-square {
    width: 64px;
    height: 36px;
  }
  .switch-square span::before {
    width: 26px;
    height: 26px;
    left: 5px;
    top: 5px;
  }
  .switch-square input:checked + span::before,
  .switch-square input:not(:checked) + span::before,
  .switch-square.switch-locked input:checked + span::before { transform: translateX(28px); }
  .btn-cookie-secondary,
  .btn-cookie-primary {
    min-width: 100%;
    width: 100%;
    min-height: 56px;
  }
  .cookie-footer-left,
  .cookie-footer-right { gap: .7rem; }
}


/* v8.2 Cookie-Box ca. 50% kleiner */
.cookie-settings-dialog {
  max-width: min(590px, calc(100vw - 32px));
}

.cookie-settings-header {
  padding: 1rem .95rem .85rem;
}

.cookie-settings-brand {
  gap: .75rem;
}

.cookie-settings-brand img {
  width: 56px;
}

.cookie-settings-brand .panel-kicker {
  font-size: .72rem;
  margin-bottom: .25rem;
}

.cookie-settings-brand .modal-title {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.12;
}

.cookie-settings-body {
  padding: .7rem .95rem .55rem;
}

.cookie-consent-row {
  padding: .95rem 0;
  gap: .8rem;
}

.cookie-consent-copy strong {
  font-size: .92rem;
  margin-bottom: .35rem;
}

.cookie-consent-copy p {
  font-size: .88rem;
  line-height: 1.45;
}

.switch-square {
  width: 58px;
  height: 32px;
}

.switch-square span::before {
  width: 22px;
  height: 22px;
  left: 5px;
  top: 5px;
}

.switch-square input:checked + span::before,
.switch-square input:not(:checked) + span::before,
.switch-square.switch-locked input:checked + span::before {
  transform: translateX(26px);
}

.cookie-settings-footer {
  padding: .95rem .95rem 1rem;
  gap: .7rem;
}

.cookie-footer-left,
.cookie-footer-right {
  gap: .6rem;
}

.btn-cookie-secondary,
.btn-cookie-primary {
  min-width: 150px;
  min-height: 46px;
  padding: .6rem .95rem;
  font-size: .84rem;
}

@media (max-width: 767.98px) {
  .cookie-settings-dialog {
    max-width: calc(100vw - 12px);
  }

  .cookie-settings-header,
  .cookie-settings-body,
  .cookie-settings-footer {
    padding-left: .8rem;
    padding-right: .8rem;
  }

  .cookie-settings-brand img {
    width: 46px;
  }

  .cookie-settings-brand .modal-title {
    font-size: 1.22rem;
  }

  .btn-cookie-secondary,
  .btn-cookie-primary {
    min-height: 44px;
    font-size: .82rem;
  }
}


/* v8.3 Sprechzeiten like reference screenshot */
.hours-section .container {
  max-width: 980px;
}
.hours-layout {
  display: grid;
  gap: 1.8rem;
}
.hours-calendar-status {
  margin: 0 0 .4rem;
}
.hours-card {
  color: #2f211b;
}
.hours-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  color: #2f211b;
}
.hours-rule {
  height: 4px;
  background: #3a2a22;
  opacity: .95;
}
.hours-rule-top { margin-bottom: 1.55rem; }
.hours-rule-bottom { margin-top: 1.2rem; }
.hours-table {
  display: grid;
  gap: .72rem;
}
.hours-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 1.25rem;
}
.hours-row span {
  font-size: clamp(1.25rem, 3.6vw, 2.25rem);
  line-height: 1.18;
  font-weight: 400;
  color: #2f211b;
}
.hours-row strong {
  font-size: clamp(1.2rem, 3.4vw, 2.15rem);
  line-height: 1.18;
  font-weight: 600;
  color: #2f211b;
  text-align: right;
}
.hours-meta,
.hours-links {
  margin-top: 2rem;
}
.hours-meta p,
.hours-links p {
  margin: 0 0 .45rem;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  line-height: 1.35;
  color: #2f211b;
}
.hours-meta strong,
.hours-links strong {
  font-weight: 600;
}
.hours-meta a,
.hours-links a {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 767.98px) {
  .hours-section .container { max-width: 100%; }
  .hours-title { margin-bottom: 1rem; }
  .hours-rule { height: 3px; }
  .hours-rule-top { margin-bottom: 1.1rem; }
  .hours-row { column-gap: .8rem; }
  .hours-row span,
  .hours-row strong { font-size: clamp(1rem, 7vw, 1.7rem); }
  .hours-meta,
  .hours-links { margin-top: 1.5rem; }
}

/* v8.3 Cookie modal like reference screenshot */
.cookie-settings-dialog {
  max-width: min(820px, calc(100vw - 24px));
}
.cookie-settings-sheet {
  background: #f3f2ee;
  border: 1px solid #d7d4cc;
  box-shadow: 0 22px 44px rgba(0,0,0,.14);
}
.cookie-settings-header {
  padding: 1rem 1rem .8rem;
  border-bottom: 1px solid #d4d1ca;
}
.cookie-settings-brand {
  gap: 1rem;
}
.cookie-settings-brand img {
  width: 74px;
  height: auto;
}
.cookie-settings-brand .panel-kicker {
  margin-bottom: .3rem;
  font-size: .78rem;
  letter-spacing: .19em;
  color: #b0a521;
}
.cookie-settings-brand .modal-title {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.12;
  font-weight: 400;
  color: #1f1918;
}
.cookie-settings-close {
  opacity: .5;
  transform: scale(1.08);
}
.cookie-settings-body {
  padding: .4rem 1rem .55rem;
}
.cookie-consent-row {
  padding: 1rem 0;
  border-bottom: 1px solid #ddd8d2;
}
.cookie-consent-copy strong {
  font-size: .98rem;
  font-weight: 700;
  color: #1f1918;
  margin-bottom: .4rem;
}
.cookie-consent-copy p {
  margin: 0;
  max-width: 100%;
  font-size: .94rem;
  line-height: 1.45;
  color: #5e5957;
}
.switch-square {
  width: 76px;
  height: 32px;
}
.switch-square span {
  background: #b0a521;
  border-radius: 0;
}
.switch-square span::before {
  width: 26px;
  height: 26px;
  left: 45px;
  top: 3px;
  background: #2f211b;
  border-radius: 0;
  box-shadow: none;
}
.switch-square input:checked + span,
.switch-square input:not(:checked) + span {
  background: #b0a521;
}
.switch-square input:checked + span::before,
.switch-square input:not(:checked) + span::before,
.switch-square.switch-locked input:checked + span::before {
  transform: none;
}
.cookie-settings-footer {
  padding: .95rem 1rem 1rem;
  border-top: 1px solid #ddd8d2;
  justify-content: space-between;
  align-items: center;
}
.cookie-footer-links {
  gap: .6rem;
}
.cookie-inline-link,
.cookie-link-divider {
  color: #64605c;
  font-size: .95rem;
}
.cookie-inline-link {
  text-decoration: none;
}
.cookie-inline-link:hover {
  color: #2f211b;
}
.btn-cookie-secondary,
.btn-cookie-primary {
  min-width: 170px;
  min-height: 50px;
  padding: .7rem 1rem;
  font-size: .92rem;
  font-weight: 500;
}
.btn-cookie-secondary {
  background: #faf9f7;
  border: 1px solid #cbc7bf;
  color: #2f211b;
}
.btn-cookie-primary {
  background: #b0a521;
  border: 1px solid #b0a521;
  color: #fff;
}
@media (max-width: 767.98px) {
  .cookie-settings-dialog { max-width: calc(100vw - 12px); }
  .cookie-settings-header,
  .cookie-settings-body,
  .cookie-settings-footer { padding-left: .85rem; padding-right: .85rem; }
  .cookie-settings-brand { gap: .8rem; }
  .cookie-settings-brand img { width: 56px; }
  .cookie-settings-brand .panel-kicker { font-size: .72rem; }
  .cookie-settings-brand .modal-title { font-size: 1.45rem; }
  .cookie-consent-row { gap: .7rem; align-items: center; }
  .switch-square { width: 68px; height: 30px; }
  .switch-square span::before { width: 24px; height: 24px; left: 41px; top: 3px; }
  .cookie-settings-footer {
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
  }
  .cookie-footer-left,
  .cookie-footer-right { width: 100%; justify-content: space-between; }
  .btn-cookie-secondary,
  .btn-cookie-primary { min-width: 0; flex: 1; }
}


/* v8.4 cleanup: team removed, sprechzeiten reverted, unified icon */
.team-layout, .team-copy, .team-photos { display:none !important; }
.hours-section, .hours-layout, .hours-card, .hours-title, .hours-rule, .hours-table, .hours-row, .hours-meta, .hours-links { all: unset; }
.cookie-icon-svg {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}
.cookie-brand img, .cookie-modal-brand img {
  height: 44px;
  width: auto;
}
@media (max-width: 767.98px) {
  .cookie-icon-svg {
    width: 22px;
    height: 22px;
  }
}


/* v8.5 requested refinements */
@media (max-width: 767.98px) {
  .topbar { display: none; }
}

.header-inner {
  min-height: 95px;
}
.site-header.is-scrolled .header-inner {
  min-height: 80px;
}
.brand img {
  height: 77px;
}
.site-header.is-scrolled .brand img {
  height: 63px;
}

.section-kicker {
  font-size: .98rem;
  margin-bottom: .85rem;
}
.section-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.hero-triple-item {
  min-height: 336px;
  max-height: 336px;
}
.hero-triple-item img {
  min-height: 336px;
  max-height: 336px;
}
@media (max-width: 991.98px) {
  .header-inner {
    min-height: 88px;
  }
  .site-header.is-scrolled .header-inner {
    min-height: 76px;
  }
  .brand img {
    height: 70px;
  }
  .site-header.is-scrolled .brand img {
    height: 58px;
  }
  .hero-triple-item {
    min-height: 290px;
    max-height: 290px;
  }
  .hero-triple-item img {
    min-height: 290px;
    max-height: 290px;
  }
}
@media (max-width: 767.98px) {
  .header-inner {
    min-height: 82px;
  }
  .site-header.is-scrolled .header-inner {
    min-height: 72px;
  }
  .brand img {
    height: 62px;
  }
  .site-header.is-scrolled .brand img {
    height: 54px;
  }
}

/* cookie floating button */
.cookie-manage-button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(47,33,27,.14);
  border-radius: 0;
  background: #2f211b;
  color: #fff;
  box-shadow: 0 10px 18px rgba(0,0,0,.14);
}
.cookie-manage-button:hover {
  background: #b0a521;
  border-color: rgba(176,165,33,.5);
  color: #2f211b;
}
.cookie-icon-svg {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

/* cookie popup subtle redesign + working rectangular switches */
.cookie-settings-dialog {
  max-width: min(760px, calc(100vw - 24px));
}
.cookie-settings-sheet {
  background: #f4f3ef;
  border: 1px solid #ddd8d1;
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
}
.cookie-settings-header {
  padding: 1.2rem 1.2rem .95rem;
}
.cookie-settings-brand {
  gap: .95rem;
}
.cookie-settings-brand img {
  width: 72px;
}
.cookie-settings-brand .panel-kicker {
  font-size: .8rem;
  margin-bottom: .35rem;
}
.cookie-settings-brand .modal-title {
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  line-height: 1.12;
}
.cookie-settings-body {
  padding: .8rem 1.2rem .55rem;
}
.cookie-consent-row {
  padding: 1.1rem 0;
}
.cookie-consent-copy strong {
  font-size: .96rem;
  margin-bottom: .35rem;
}
.cookie-consent-copy p {
  font-size: .9rem;
  line-height: 1.55;
  max-width: 88%;
}

/* override old toggle behavior */
.switch-square {
  width: 60px;
  height: 30px;
}
.switch-square span {
  background: #d7d2ca;
  border-radius: 0;
  border: 1px solid rgba(47,33,27,.12);
}
.switch-square span::before {
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.10);
  transform: translateX(0);
}
.switch-square input:checked + span {
  background: rgba(176,165,33,.92);
}
.switch-square input:checked + span::before {
  transform: translateX(30px);
}
.switch-square input:not(:checked) + span {
  background: #e3e0da;
}
.switch-square input:not(:checked) + span::before {
  transform: translateX(0);
}
.switch-square.switch-locked input:checked + span {
  background: rgba(176,165,33,.92);
}
.switch-square.switch-locked input:checked + span::before {
  transform: translateX(30px);
}

.cookie-settings-footer {
  padding: .95rem 1.2rem 1.05rem;
  gap: .8rem;
}
.cookie-footer-left,
.cookie-footer-right {
  gap: .55rem;
}
.btn-cookie-secondary,
.btn-cookie-primary {
  min-width: 140px;
  min-height: 44px;
  padding: .55rem .9rem;
  font-size: .9rem;
  font-weight: 500;
}
.btn-cookie-secondary {
  background: #faf9f7;
  border: 1px solid #d2cdc6;
}
.btn-cookie-primary {
  background: #b0a521;
  border: 1px solid #b0a521;
}
.btn-cookie-primary:hover {
  background: #9c931d;
  border-color: #9c931d;
}
.cookie-settings-close {
  opacity: .5;
  transform: scale(1);
}

/* remove obsolete accessibility tab styles visually */
.edge-tab--accessibility,
.accessibility-actions,
.accessibility-panel-copy {
  display: none !important;
}


/* v8.6 topline persistent + topbar hides on scroll */
.topline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1055;
}
body {
  padding-top: 6px;
}
.site-header.sticky-top {
  top: 6px;
}
.topbar {
  transition: max-height .28s ease, opacity .28s ease, border-color .28s ease, padding .28s ease, margin .28s ease;
  overflow: hidden;
  max-height: 44px;
  opacity: 1;
}
.topbar.is-collapsed {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}
@media (max-width: 767.98px) {
  body {
    padding-top: 6px;
  }
  .site-header.sticky-top {
    top: 6px;
  }
}

/* ensure uploaded cookie svg is used */
.cookie-manage-button {
  padding: 0;
}
.cookie-icon-svg,
.cookie-manage-button img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

/* Sprechzeiten side panel styling like provided reference */
#sprechzeitenPanel.quick-panel {
  border-right: 6px solid #b0a521;
}
#sprechzeitenPanel .offcanvas-header {
  padding: 1.3rem 1.25rem 1rem;
  border-bottom: 1px solid var(--line);
}
#sprechzeitenPanel .panel-kicker {
  font-size: .92rem;
  margin-bottom: .35rem;
}
#sprechzeitenPanel .offcanvas-title {
  font-size: 2.45rem;
  line-height: 1.04;
  font-weight: 600;
  margin: 0;
}
#sprechzeitenPanel .offcanvas-body {
  padding: 1rem 1.2rem 1rem;
}
#sprechzeitenPanel .calendar-status {
  background: #f3f0e6;
  padding: 1.05rem 1rem 1rem 1rem;
  border-left: 6px solid #b0a521;
  margin-bottom: 1.15rem;
}
#sprechzeitenPanel .calendar-status-label {
  font-size: .92rem;
  letter-spacing: .14em;
  color: var(--text-soft);
}
#sprechzeitenPanel .calendar-status strong {
  display: block;
  margin-top: .5rem;
  font-size: 1rem;
}
#sprechzeitenPanel .calendar-status small {
  display: block;
  margin-top: .25rem;
}
#sprechzeitenPanel .panel-hours-list {
  margin-top: .1rem;
}
#sprechzeitenPanel .panel-hours-list div {
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
#sprechzeitenPanel .panel-hours-list span {
  text-align: left;
  justify-self: start;
  font-weight: 400;
  color: #2b2523;
}
#sprechzeitenPanel .panel-hours-list strong {
  text-align: right;
  justify-self: end;
  font-weight: 600;
  color: #2b2523;
}
#sprechzeitenPanel .panel-extra-text {
  padding: 1rem 0 0;
  color: var(--text-soft);
}
#sprechzeitenPanel .panel-extra-text p {
  margin: 0 0 1rem;
  line-height: 1.65;
}
#sprechzeitenPanel .panel-extra-text strong {
  color: #231f20;
  font-weight: 700;
}
#sprechzeitenPanel .panel-note-box {
  background: #f3f0e6;
  border-left: 6px solid #b0a521;
  padding: 1rem .95rem;
  margin-top: .6rem;
}
#sprechzeitenPanel .panel-note-box p {
  margin: 0;
  color: #231f20;
  line-height: 1.7;
  font-weight: 600;
}
@media (max-width: 767.98px) {
  #sprechzeitenPanel.quick-panel {
    border-right-width: 5px;
  }
  #sprechzeitenPanel .offcanvas-title {
    font-size: 2rem;
  }
  #sprechzeitenPanel .calendar-status {
    border-left-width: 5px;
  }
  #sprechzeitenPanel .panel-note-box {
    border-left-width: 5px;
  }
}

/* background parallax behind emergency section */
.emergency-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --bg-shift: 0px;
  background: transparent;
}
.emergency-section::before {
  content: "";
  position: absolute;
  inset: -10% 0;
  background-image:
    linear-gradient(rgba(18, 16, 14, 0.58), rgba(18, 16, 14, 0.58)),
    url("../img/emergency-scroll-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--bg-shift), 0) scale(1.08);
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}
.emergency-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 0;
  pointer-events: none;
}
.emergency-section .container {
  position: relative;
  z-index: 1;
}
.emergency-section .section-kicker,
.emergency-section h2,
.emergency-section .number-lines span,
.emergency-section .number-lines strong {
  color: #fff;
}
.emergency-section .number-lines {
  border-top-color: rgba(255,255,255,.26);
}
.emergency-section .number-lines div {
  border-bottom-color: rgba(255,255,255,.18);
}
.emergency-section .section-head.left-aligned {
  max-width: 720px;
}



/* Karte so skalieren und ausrichten, dass der POI rechts neben dem Textfenster sichtbar bleibt */
@media (min-width: 1600px) {
  .contact-hero-section::before {
    background-size: 100% auto;
    background-position: right center;
  }
}
@media (max-width: 1599.98px) {
  .contact-hero-section::before {
    background-size: auto 108%;
    background-position: right center;
  }
}
@media (max-width: 1399.98px) {
  .contact-fade-panel {
    width: min(100%, 68%);
  }
  .contact-hero-section::before {
    background-size: auto 112%;
    background-position: right center;
  }
}
@media (max-width: 1199.98px) {
  .contact-fade-panel {
    width: min(100%, 72%);
    padding-left: 2.3rem;
    padding-right: 2rem;
  }
  .contact-hero-section::before {
    background-size: auto 116%;
    background-position: 84% center;
  }
}
@media (max-width: 991.98px) {
  .contact-hero-section {
    min-height: 0;
    padding: 4.4rem 0 4rem;
  }
  .contact-hero-container {
    min-height: 0;
  }
  .contact-fade-panel {
    width: min(100%, 88%);
    min-height: 0;
    padding: 1.4rem 1.5rem 1.8rem;
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.88) 72%,
      rgba(255,255,255,0.58) 100%
    );
  }
  .contact-hero-section::before {
    inset: 0;
    background-size: auto 106%;
    background-position: 82% center;
    transform: translate3d(0, var(--bg-shift), 0) scale(1.02);
  }
}
@media (max-width: 767.98px) {
  .contact-hero-section {
    padding: 4rem 0 3.4rem;
  }
  .contact-fade-panel {
    width: 100%;
    padding: 1.2rem 1rem 1.4rem;
    background: rgba(255,255,255,0.88);
  }
  .contact-panel-card {
    max-width: 100%;
  }
  .contact-overlay-logo {
    width: min(100%, 260px);
    margin-bottom: 1rem;
  }
  .contact-overlay-address {
    margin-bottom: 1rem;
    font-size: 1rem;
  }
  .contact-overlay-lines {
    margin-bottom: 1.25rem;
  }
  .contact-overlay-lines div {
    grid-template-columns: 76px 1fr;
    gap: 0.6rem;
    font-size: 0.96rem;
  }
  .contact-hero-section::before {
    background-size: auto 100%;
    background-position: 88% bottom;
  }
}


/* contact section with active grayscale Google Map */
.contact-hero-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 620px;
  padding: 5.2rem 0 5rem;
  background: transparent;
}
.contact-map-frame-wrap {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform .08s linear;
}
.contact-map-frame-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(170,154,20,.18);
  mix-blend-mode: multiply;
  z-index: 2;
  pointer-events: none;
}
.contact-map-frame-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.03);
  z-index: 3;
  pointer-events: none;
}
.contact-map-frame {
  position: absolute;
  top: -210px;
  left: -20px;
  width: calc(100% + 360px);
  height: calc(100% + 460px);
  border: 0;
  pointer-events: none;
  filter: grayscale(1) brightness(.90) contrast(.96) saturate(.85);
}
.contact-hero-container {
  position: relative;
  z-index: 2;
  min-height: 520px;
}
.contact-fade-panel {
  position: relative;
  z-index: 3;
  width: min(100%, 64%);
  min-height: 520px;
  padding: 1.5rem 2.6rem 2rem 3.35rem;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.93) 44%,
    rgba(255,255,255,0.82) 66%,
    rgba(255,255,255,0.42) 82%,
    rgba(255,255,255,0.00) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: auto;
}
.contact-hero-head {
  margin-bottom: 1.55rem;
}
.contact-hero-head .section-kicker,
.contact-hero-head h2 {
  color: #231f20;
}
.contact-panel-card {
  max-width: 430px;
}
.contact-overlay-logo {
  width: min(100%, 330px);
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
}
.contact-overlay-address {
  font-size: 1.1rem;
  color: #2f211b;
  margin-bottom: 1.45rem;
}
.contact-overlay-lines {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.7rem;
}
.contact-overlay-lines div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.8rem;
  align-items: start;
}
.contact-overlay-lines span,
.contact-overlay-lines strong,
.contact-overlay-copy,
.contact-overlay-address {
  color: #2f211b;
}
.contact-overlay-lines strong {
  font-weight: 500;
}
.contact-overlay-lines a,
.contact-overlay-copy a {
  color: inherit;
  text-decoration: none;
}
.contact-overlay-lines a:hover,
.contact-overlay-copy a:hover {
  color: #8f8514;
}
.contact-overlay-copy {
  display: grid;
  gap: 0.9rem;
}
.contact-overlay-copy p {
  margin: 0;
  line-height: 1.7;
}
.contact-overlay-actions {
  margin-top: 1.55rem;
}
.contact-overlay-actions .btn {
  min-width: 220px;
}

/* Desktop: Marker im Bereich zwischen rechter Kante der Textbox und rechtem Bildschirmrand halten */
@media (min-width: 1600px) {
  .contact-map-frame {
    top: -220px;
    left: 20px;
    width: calc(100% + 340px);
    height: calc(100% + 470px);
  }
}
@media (max-width: 1599.98px) {
  .contact-map-frame {
    top: -220px;
    left: -10px;
    width: calc(100% + 380px);
    height: calc(100% + 480px);
  }
}
@media (max-width: 1399.98px) {
  .contact-fade-panel {
    width: min(100%, 68%);
  }
  .contact-map-frame {
    top: -215px;
    left: -25px;
    width: calc(100% + 420px);
    height: calc(100% + 470px);
  }
}
@media (max-width: 1199.98px) {
  .contact-fade-panel {
    width: min(100%, 72%);
    padding-left: 2.3rem;
    padding-right: 2rem;
  }
  .contact-map-frame {
    top: -200px;
    left: -40px;
    width: calc(100% + 450px);
    height: calc(100% + 430px);
  }
}
@media (max-width: 991.98px) {
  .contact-hero-section {
    min-height: 0;
    padding: 4.4rem 0 4rem;
  }
  .contact-map-frame-wrap {
    inset: -8% 0;
  }
  .contact-hero-container {
    min-height: 0;
  }
  .contact-fade-panel {
    width: min(100%, 88%);
    min-height: 0;
    padding: 1.4rem 1.5rem 1.8rem;
    background: linear-gradient(180deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.92) 72%,
      rgba(255,255,255,0.72) 100%);
  }
  .contact-map-frame {
    top: -150px;
    left: 40px;
    width: calc(100% + 360px);
    height: calc(100% + 320px);
  }
}
@media (max-width: 767.98px) {
  .contact-hero-section {
    padding: 4rem 0 3.4rem;
  }
  .contact-map-frame-wrap {
    inset: -4% 0;
  }
  .contact-fade-panel {
    width: 100%;
    padding: 1.2rem 1rem 1.4rem;
    background: linear-gradient(180deg,
      rgba(255,255,255,0.94) 0%,
      rgba(255,255,255,0.90) 74%,
      rgba(255,255,255,0.74) 100%);
  }
  .contact-panel-card {
    max-width: 100%;
  }
  .contact-overlay-logo {
    width: min(100%, 260px);
    margin-bottom: 1rem;
  }
  .contact-overlay-address {
    margin-bottom: 1rem;
    font-size: 1rem;
  }
  .contact-overlay-lines {
    margin-bottom: 1.25rem;
  }
  .contact-overlay-lines div {
    grid-template-columns: 76px 1fr;
    gap: 0.6rem;
    font-size: 0.96rem;
  }
  .contact-map-frame {
    top: -100px;
    left: 55px;
    width: calc(100% + 290px);
    height: calc(100% + 220px);
  }
  .contact-overlay-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

/* v9.9 footer panorama */
.site-footer {
  position: relative;
  padding-bottom: 0;
  overflow: hidden;
}
.footer-panorama-wrap {
  width: 100%;
  margin-top: 2.2rem;
  line-height: 0;
}
.footer-panorama {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
@media (max-width: 767.98px) {
  .footer-panorama-wrap {
    margin-top: 1.5rem;
  }
}


/* v10 footer like reference screenshot */
.site-footer {
  background: #050505;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 3.1rem;
  padding-bottom: 0;
}
.site-footer .footer-grid {
  position: relative;
  z-index: 2;
  padding-bottom: 1.2rem;
}
.site-footer h3 {
  color: #ffffff;
  font-weight: 700;
}
.site-footer a,
.site-footer p,
.site-footer li,
.site-footer span {
  color: #aa9a14;
}
.site-footer strong,
.site-footer .strong-phones strong {
  color: #ffffff;
}
.footer-lines p,
.footer-link-list li,
.strong-phones li {
  line-height: 1.65;
}
.footer-link-list li,
.strong-phones li {
  padding: .62rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-link-list li:first-child,
.strong-phones li:first-child {
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-link-list a:hover,
.footer-cookie-btn:hover,
.site-footer a:hover {
  color: #d6c64a;
}
.footer-cookie-btn {
  color: #aa9a14;
}
.footer-panorama-wrap {
  width: 100%;
  margin-top: -.2rem;
  line-height: 0;
  position: relative;
  z-index: 1;
}
.footer-panorama {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
@media (max-width: 991.98px) {
  .site-footer {
    padding-top: 2.5rem;
  }
  .site-footer .footer-grid {
    padding-bottom: .75rem;
  }
}
@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 2rem;
  }
  .footer-panorama-wrap {
    margin-top: .4rem;
  }
}


/* v10 header navigation weight + hover color */
.desktop-nav .nav-link,
.mobile-nav-links a {
  font-weight: 600;
}
.desktop-nav .nav-link {
  color: #31231b;
}
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link:focus-visible,
.desktop-nav .nav-link.active:hover,
.desktop-nav .nav-link.active:focus-visible {
  color: #aa9a14;
}
.desktop-nav .nav-link::after {
  background: #aa9a14;
}
.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible,
.mobile-nav-links a.is-active {
  color: #aa9a14;
}


/* v10.1 full width skyline + header menu brown/green */
.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.site-footer .container.footer-grid {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.footer-panorama-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.footer-panorama {
  width: 100vw;
  min-width: 100vw;
  max-width: none;
  object-fit: cover;
}

.desktop-nav .nav-link,
.mobile-nav-links a {
  color: #31231B !important;
  font-weight: 600;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link:focus-visible,
.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible,
.mobile-nav-links a.is-active {
  color: #AA9A14 !important;
}

.desktop-nav .nav-link.active {
  color: #31231B !important;
}

.desktop-nav .nav-link.active:hover,
.desktop-nav .nav-link.active:focus-visible {
  color: #AA9A14 !important;
}


/* v10.2 sprechzeiten layout like reference */
.sprechzeiten-showcase {
  padding-top: 4.8rem;
}
.sprechzeiten-head {
  margin-bottom: 2rem;
}
.sprechzeiten-head .section-kicker {
  display: block;
  margin-bottom: .7rem;
  font-size: .98rem;
}
.sprechzeiten-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.95rem);
  font-weight: 500;
  color: #231f20;
}
.sprechzeiten-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
  gap: 6.5rem;
  align-items: start;
}
.sprechzeiten-left {
  min-width: 0;
}
.sprechzeiten-status {
  background: #f4f3ef;
  border: 1px solid #e4e0d8;
  border-left: 5px solid #aa9a14;
  padding: 1rem 1rem .95rem;
  margin-bottom: 4rem;
}
.sprechzeiten-status .calendar-status-label {
  font-size: .78rem;
  letter-spacing: .15em;
}
.sprechzeiten-status strong {
  display: block;
  margin-top: .55rem;
  font-size: 1.05rem;
  line-height: 1.45;
}
.sprechzeiten-status small {
  display: block;
  margin-top: .3rem;
}
.sprechzeiten-note-box {
  background: #aa9a14;
  color: #fff;
  padding: 1rem 1.05rem;
  max-width: 625px;
}
.sprechzeiten-note-box h3 {
  margin: 0 0 .4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.sprechzeiten-note-box p {
  margin: 0;
  line-height: 1.65;
  font-size: 1rem;
  color: #fff;
}
.sprechzeiten-right {
  border-left: 5px solid #aa9a14;
  padding-left: 3rem;
}
.sprechzeiten-times {
  margin-top: .15rem;
}
.sprechzeiten-times div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: .95rem 0;
  border-bottom: 1px solid #ddd9d1;
}
.sprechzeiten-times span {
  color: #31231b;
  font-weight: 400;
}
.sprechzeiten-times strong {
  color: #31231b;
  font-weight: 600;
  justify-self: end;
  text-align: right;
}
.sprechzeiten-acute {
  margin-top: 1.6rem;
}
.sprechzeiten-acute h3 {
  margin: 0 0 .75rem;
  color: #aa9a14;
  font-size: 1.05rem;
  font-weight: 700;
}
.sprechzeiten-acute p {
  margin: 0 0 .45rem;
  color: #231f20;
  line-height: 1.7;
}
.sprechzeiten-acute a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 1199.98px) {
  .sprechzeiten-layout {
    gap: 4rem;
  }
  .sprechzeiten-right {
    padding-left: 2rem;
  }
}
@media (max-width: 991.98px) {
  .sprechzeiten-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .sprechzeiten-right {
    border-left: 0;
    border-top: 5px solid #aa9a14;
    padding-left: 0;
    padding-top: 1.6rem;
  }
  .sprechzeiten-note-box {
    max-width: 100%;
  }
  .sprechzeiten-status {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 767.98px) {
  .sprechzeiten-head h2 {
    font-size: 2.1rem;
  }
  .sprechzeiten-times div {
    grid-template-columns: 1fr auto;
    gap: .9rem;
    padding: .8rem 0;
  }
  .sprechzeiten-times strong {
    white-space: nowrap;
  }
}

/* v10.2 skyline pinned full viewport width left 0 bottom 0 */
.site-footer {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-bottom: clamp(120px, 12vw, 190px);
  overflow: hidden;
}
.site-footer .container.footer-grid {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.footer-panorama-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  margin: 0;
  line-height: 0;
  z-index: 1;
}
.footer-panorama {
  display: block;
  width: 100vw;
  height: auto;
  max-width: none;
  object-fit: cover;
}
@media (max-width: 767.98px) {
  .site-footer {
    padding-bottom: 80px;
  }
}


/* v10.3 footer skyline + footer text indentation */
.site-footer {
  padding-bottom: clamp(90px, 10vw, 150px);
}

.site-footer .container.footer-grid {
  padding-left: 3.35rem;
  padding-right: 3.35rem;
}

.footer-panorama-wrap {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  width: 100vw;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  overflow: hidden;
  pointer-events: none;
}

.footer-panorama {
  width: min(100vw, 1800px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  margin-left: 0;
  transform: translateY(0);
}

@media (max-width: 1199.98px) {
  .site-footer .container.footer-grid {
    padding-left: 2.3rem;
    padding-right: 2.3rem;
  }
  .site-footer {
    padding-bottom: clamp(72px, 10vw, 120px);
  }
}

@media (max-width: 767.98px) {
  .site-footer .container.footer-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .site-footer {
    padding-bottom: 64px;
  }
  .footer-panorama {
    width: 135vw;
  }
}


/* v10.4 mobile footer adjustment */
@media (max-width: 767.98px) {
  .site-footer .container.footer-grid {
    padding-left: calc(1rem + 50px);
    padding-right: 1rem;
  }

  .footer-panorama {
    width: 135vw;
    transform: translate(0, 100px);
  }
}


/* v10.5 Kontakt-Sektion: Panorama-SVG direkt unten anheften, Footer-Skyline entfernen */
.footer-panorama-wrap,
.footer-panorama {
  display: none !important;
}

.site-footer {
  padding-bottom: 0 !important;
}

.contact-hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(180px, 18vw, 260px);
}

.contact-hero-container,
.contact-fade-panel,
.contact-panel-card {
  position: relative;
  z-index: 2;
}

.contact-bottom-panorama-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.contact-bottom-panorama {
  display: block;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  height: auto;
  margin: 0;
}

@media (max-width: 991.98px) {
  .contact-hero-section {
    padding-bottom: clamp(135px, 20vw, 190px);
  }
}

@media (max-width: 767.98px) {
  .contact-hero-section {
    padding-bottom: 115px;
  }

  .contact-bottom-panorama-wrap {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-bottom-panorama {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
  }
}


/* v10.6 footer braun + dezente Schatten für linke Reiter */
.site-footer {
  background: #31231B !important;
}

.site-footer .footer-grid {
  position: relative;
  z-index: 2;
}

.edge-actions {
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.12));
}

.edge-tab {
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}

.edge-tab--sprechzeiten,
.edge-tab--kontakt {
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

.edge-tab:hover,
.edge-tab:focus-visible {
  box-shadow: 0 6px 14px rgba(0,0,0,.16);
}


/* v10.11 Sprechzeiten attachment + panel edge strip removal */
#sprechzeitenPanel.quick-panel {
  border-right: 0 !important;
}

/* Rich calendar attachment/content styling for panel + main section */
.calendar-status-rich {
  margin-top: 1rem;
  padding-top: .95rem;
}
.calendar-status-rich .calendar-attachment {
  margin: 0 0 1rem;
}
.calendar-status-rich .calendar-attachment img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  background: #fff;
}
.calendar-status-rich .calendar-details {
  color: var(--text-soft);
  line-height: 1.68;
}
.calendar-status-rich .calendar-details p {
  margin: 0 0 .85rem;
}
.calendar-status-rich .calendar-details p:last-child {
  margin-bottom: 0;
}
.calendar-status-rich .calendar-details strong,
.calendar-status-rich .calendar-details b {
  color: #231f20;
}
.calendar-status-rich .calendar-meta {
  margin-top: .9rem;
  font-size: .84rem;
  color: var(--text-soft);
  opacity: .9;
}
#sprechzeitenPanel .calendar-status-rich .calendar-attachment img {
  max-width: 100%;
}


/* v10.12 linker Reiter in Desktop breiter + Kalender-Anhang klickbar */
@media (min-width: 768px) {
  .quick-panel {
    --bs-offcanvas-width: 380px;
  }
}

.calendar-status-rich .calendar-attachment img,
.calendar-status-rich img {
  cursor: zoom-in;
}


/* v10.13 Fancybox statt Bootstrap-Lightbox */
.hero-triple-item,
.calendar-status-rich img {
  cursor: zoom-in;
}

.fancybox__backdrop {
  background: rgba(18, 18, 20, 0.86);
}

.fancybox__container {
  --fancybox-bg: rgba(18, 18, 20, 0.86);
  --fancybox-color: #fff;
  --fancybox-accent-color: #aa9a14;
  --f-button-bg: rgba(255,255,255,0.10);
  --f-button-hover-bg: rgba(170,154,20,0.88);
  --f-button-color: #fff;
  --f-button-hover-color: #231f20;
  --f-spinner-color-1: rgba(255,255,255,0.16);
  --f-spinner-color-2: #aa9a14;
}

.fancybox__content {
  background: transparent;
}

.fancybox__caption {
  background: transparent;
  padding-top: .8rem;
  color: #fff;
  font-size: .95rem;
}

.fancybox__toolbar {
  background: linear-gradient(to bottom, rgba(0,0,0,.34), rgba(0,0,0,0));
}

.fancybox__thumbs .carousel__slide .fancybox__thumb::after {
  border-color: #aa9a14;
}

.fancybox__thumb {
  border-radius: 4px;
}

.f-button svg {
  stroke-width: 1.8;
}

@media (max-width: 767.98px) {
  .fancybox__toolbar {
    background: rgba(0,0,0,.2);
  }
}


/* v10.14 Footer wie Screenshot */
.site-footer {
  background: #31231b !important;
  color: #ffffff;
  padding: 2.9rem 0 3.2rem !important;
  margin: 0 !important;
  width: 100% !important;
}

.site-footer .container.footer-grid {
  width: min(100%, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(240px, 1fr) minmax(220px, .92fr);
  grid-template-areas:
    "contact phones legal"
    "contact phones links";
  column-gap: 5.2rem;
  row-gap: 2rem;
  align-items: start;
}

.site-footer .footer-col:nth-child(1) { grid-area: contact; }
.site-footer .footer-col:nth-child(2) { grid-area: phones; }
.site-footer .footer-col:nth-child(3) { grid-area: legal; }
.site-footer .footer-col:nth-child(4) { grid-area: links; }

.site-footer .footer-col {
  min-width: 0;
}

.site-footer .footer-col h3 {
  margin: 0 0 1rem;
  padding-bottom: .62rem;
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

.site-footer .footer-lines {
  display: grid;
  gap: 0;
}

.site-footer .footer-lines p {
  margin: 0;
  padding: .78rem 0 .82rem;
  color: #b4a50c;
  line-height: 1.52;
  font-size: .99rem;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.site-footer .footer-lines p:first-child {
  padding-top: .1rem;
}

.site-footer .footer-lines strong,
.site-footer .strong-phones strong {
  color: #ffffff;
  font-weight: 700;
}

.site-footer .footer-lines a,
.site-footer .footer-link-list a,
.site-footer .footer-cookie-btn,
.site-footer .footer-link-list span {
  color: #b4a50c;
  text-decoration: none;
}

.site-footer .footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-link-list li {
  margin: 0;
  padding: .72rem 0 .78rem;
  border-bottom: 1px solid rgba(255,255,255,.22);
  color: #b4a50c;
  line-height: 1.45;
  font-size: .99rem;
}

.site-footer .strong-phones li {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem;
  align-items: baseline;
}

.site-footer .strong-phones span {
  color: #b4a50c;
}

.site-footer .footer-link-list a:hover,
.site-footer .footer-link-list a:focus-visible,
.site-footer .footer-cookie-btn:hover,
.site-footer .footer-cookie-btn:focus-visible,
.site-footer .footer-lines a:hover,
.site-footer .footer-lines a:focus-visible {
  color: #d3c84b;
}

.site-footer .footer-cookie-btn {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

@media (max-width: 991.98px) {
  .site-footer {
    padding: 2.5rem 0 2.7rem !important;
  }

  .site-footer .container.footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "contact phones"
      "legal links";
    column-gap: 2.5rem;
    row-gap: 2rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .site-footer .container.footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "contact"
      "phones"
      "legal"
      "links";
    row-gap: 1.7rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer .footer-col h3 {
    margin-bottom: .85rem;
  }

  .site-footer .footer-lines p,
  .site-footer .footer-link-list li {
    padding-top: .68rem;
    padding-bottom: .72rem;
  }
}


/* v10.15 Footer näher am Referenz-Screenshot */
.site-footer {
  background: #332016 !important;
  color: #fff;
  padding: 2.3rem 0 2.8rem !important;
}

.site-footer .container.footer-grid {
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 2.15rem;
  padding-right: 2.15rem;
  display: grid;
  grid-template-columns: 1.12fr 1.12fr .92fr .92fr;
  column-gap: 3.9rem;
  row-gap: 1.8rem;
  align-items: start;
}

.site-footer .footer-col:nth-child(1),
.site-footer .footer-col:nth-child(2),
.site-footer .footer-col:nth-child(3),
.site-footer .footer-col:nth-child(4) {
  grid-area: auto;
}

.site-footer .footer-col h3 {
  margin: 0 0 .85rem;
  padding: 0 0 .6rem;
  border-bottom: 1px solid rgba(255,255,255,.24);
  color: #fff;
  font-size: .98rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.site-footer .footer-lines {
  display: block;
}

.site-footer .footer-lines p {
  margin: 0;
  padding: .48rem 0;
  color: #b9ab10;
  font-size: .83rem;
  line-height: 1.46;
  border-bottom: 0;
}

.site-footer .footer-lines p strong {
  color: #fff;
  font-weight: 700;
}

.site-footer .footer-lines p:nth-child(2),
.site-footer .footer-lines p:nth-child(3) {
  padding-bottom: .82rem;
  margin-bottom: .55rem;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.site-footer .footer-lines a,
.site-footer .footer-link-list a,
.site-footer .footer-cookie-btn,
.site-footer .footer-link-list span {
  color: #b9ab10;
  text-decoration: none;
}

.site-footer .footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-link-list li {
  margin: 0;
  padding: .7rem 0 .72rem;
  border-bottom: 1px solid rgba(255,255,255,.22);
  color: #b9ab10;
  font-size: .83rem;
  line-height: 1.35;
}

.site-footer .strong-phones li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .22rem;
}

.site-footer .strong-phones span {
  color: #b9ab10;
  font-weight: 600;
}

.site-footer .strong-phones strong {
  color: #fff;
  font-weight: 700;
}

.site-footer .footer-link-list a:hover,
.site-footer .footer-link-list a:focus-visible,
.site-footer .footer-cookie-btn:hover,
.site-footer .footer-cookie-btn:focus-visible,
.site-footer .footer-lines a:hover,
.site-footer .footer-lines a:focus-visible {
  color: #d6ca54;
}

.site-footer .footer-cookie-btn {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

@media (max-width: 991.98px) {
  .site-footer {
    padding: 2rem 0 2.35rem !important;
  }

  .site-footer .container.footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.3rem;
    row-gap: 1.9rem;
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }
}

@media (max-width: 767.98px) {
  .site-footer .container.footer-grid {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer .footer-col h3 {
    margin-bottom: .75rem;
  }

  .site-footer .footer-lines p,
  .site-footer .footer-link-list li {
    font-size: .88rem;
  }
}


/* v10.16 Footer exakt nach Vorlage */
.site-footer {
  background: #352116 !important;
  color: #fff;
  padding: 2.2rem 0 2.55rem !important;
  width: 100% !important;
  margin: 0 !important;
}

.site-footer .container.footer-grid {
  width: min(100%, 1160px);
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  display: grid;
  grid-template-columns: 1.22fr 1.24fr .96fr .96fr;
  column-gap: 4.35rem;
  row-gap: 1.5rem;
  align-items: start;
}

.site-footer .footer-col h3 {
  margin: 0 0 1.05rem;
  padding: 0 0 .68rem;
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.footer-contact-groups {
  display: grid;
  gap: 1rem;
}

.footer-contact-group {
  padding-bottom: .92rem;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.footer-contact-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.footer-contact-group p {
  margin: 0;
  padding: .26rem 0;
  color: #baa90f;
  font-size: .84rem;
  line-height: 1.46;
}

.footer-contact-group p strong {
  color: #baa90f;
  font-weight: 700;
}

.footer-contact-links p {
  display: flex;
  align-items: flex-start;
  gap: .44rem;
}

.footer-mini-icon {
  display: inline-block;
  width: 12px;
  min-width: 12px;
  text-align: center;
  line-height: 1.1;
  color: #baa90f;
  opacity: .9;
  font-size: .75rem;
  transform: translateY(.08rem);
}

.footer-contact-group a,
.site-footer .footer-link-list a,
.site-footer .footer-cookie-btn,
.site-footer .footer-link-list span {
  color: #baa90f;
  text-decoration: none;
}

.site-footer .footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .footer-link-list li {
  margin: 0;
  padding: .65rem 0 .68rem;
  border-bottom: 1px solid rgba(255,255,255,.22);
  color: #baa90f;
  line-height: 1.34;
  font-size: .84rem;
}

.site-footer .footer-link-list li:last-child {
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.site-footer .strong-phones li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .22rem;
}

.site-footer .strong-phones span {
  color: #baa90f;
  font-weight: 600;
}

.site-footer .strong-phones strong {
  color: #fff;
  font-weight: 700;
}

.site-footer .footer-link-list a:hover,
.site-footer .footer-link-list a:focus-visible,
.site-footer .footer-cookie-btn:hover,
.site-footer .footer-cookie-btn:focus-visible,
.footer-contact-group a:hover,
.footer-contact-group a:focus-visible {
  color: #d7ca59;
}

.site-footer .footer-cookie-btn {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

@media (max-width: 991.98px) {
  .site-footer {
    padding: 2rem 0 2.2rem !important;
  }

  .site-footer .container.footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
    row-gap: 1.8rem;
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }
}

@media (max-width: 767.98px) {
  .site-footer .container.footer-grid {
    grid-template-columns: 1fr;
    row-gap: 1.45rem;
    padding-left: calc(1rem + 10px);
    padding-right: 1rem;
  }

  .site-footer .footer-col h3 {
    margin-bottom: .85rem;
  }

  .site-footer .footer-contact-group p,
  .site-footer .footer-link-list li {
    font-size: .88rem;
  }
}


/* v10.17 Kontaktkarte + Footer 3-Spalten */
.site-footer .container.footer-grid {
  width: min(100%, 1240px);
  max-width: 1240px;
  grid-template-columns: 1.18fr 1.08fr 1.12fr;
  column-gap: 4.4rem;
}

.footer-col-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.1rem;
}

.footer-subsection {
  min-width: 0;
}

.footer-subsection h3 {
  margin-top: 0;
}

.footer-contact-group p,
.site-footer .footer-link-list li {
  word-break: normal;
  overflow-wrap: anywhere;
}

.footer-contact-links a {
  word-break: break-word;
}

.site-footer .strong-phones li,
.site-footer .footer-link-list-legal li,
.site-footer .footer-link-list-links li {
  border-top: 0 !important;
}

.site-footer .strong-phones li:first-child,
.site-footer .footer-link-list-legal li:first-child,
.site-footer .footer-link-list-links li:first-child {
  border-top: 0 !important;
}

.site-footer .strong-phones li:last-child,
.site-footer .footer-link-list-legal li:last-child,
.site-footer .footer-link-list-links li:last-child {
  border-bottom: 1px solid rgba(255,255,255,.22);
}

@media (max-width: 1100px) {
  .site-footer .container.footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
    row-gap: 1.9rem;
  }

  .footer-col-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .site-footer .container.footer-grid {
    grid-template-columns: 1fr;
    row-gap: 1.55rem;
  }
}


/* v10.18 mobile footer indent + dynamic contact background map */
@media (max-width: 767.98px) {
  .site-footer .container.footer-grid {
    padding-left: calc(1rem + 10px) !important;
    padding-right: 1rem !important;
  }
}

/* Kontaktbereich mit dynamischer My-Maps Hintergrundkarte */
.contact-hero-section {
  position: relative;
  overflow: hidden;
}

.contact-map-frame-wrap {
  position: absolute;
  inset: -12% 0 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform .08s linear;
}

.contact-map-frame {
  position: absolute;
  top: -210px;
  left: -20px;
  width: calc(100% + 360px);
  height: calc(100% + 460px);
  border: 0;
  pointer-events: none;
  filter: grayscale(1) brightness(.90) contrast(.96) saturate(.85);
}

.contact-map-frame-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(170,154,20,.16);
  mix-blend-mode: multiply;
  z-index: 2;
  pointer-events: none;
}

.contact-map-frame-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.03);
  z-index: 3;
  pointer-events: none;
}

.contact-fade-panel {
  position: relative;
  z-index: 4;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.93) 44%,
    rgba(255,255,255,0.82) 66%,
    rgba(255,255,255,0.42) 82%,
    rgba(255,255,255,0.00) 100%);
}

.contact-bottom-panorama-wrap {
  z-index: 1;
}

@media (max-width: 1399.98px) {
  .contact-map-frame {
    top: -215px;
    left: -25px;
    width: calc(100% + 420px);
    height: calc(100% + 470px);
  }
}

@media (max-width: 1199.98px) {
  .contact-map-frame {
    top: -200px;
    left: -40px;
    width: calc(100% + 450px);
    height: calc(100% + 430px);
  }
}

@media (max-width: 991.98px) {
  .contact-map-frame-wrap {
    inset: -8% 0 0 0;
  }

  .contact-map-frame {
    top: -150px;
    left: 40px;
    width: calc(100% + 360px);
    height: calc(100% + 320px);
  }

  .contact-fade-panel {
    background: linear-gradient(180deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.92) 72%,
      rgba(255,255,255,0.72) 100%);
  }
}

@media (max-width: 767.98px) {
  .contact-map-frame-wrap {
    inset: -4% 0 0 0;
  }

  .contact-map-frame {
    top: -100px;
    left: 55px;
    width: calc(100% + 290px);
    height: calc(100% + 220px);
  }

  .contact-fade-panel {
    background: linear-gradient(180deg,
      rgba(255,255,255,0.94) 0%,
      rgba(255,255,255,0.90) 74%,
      rgba(255,255,255,0.74) 100%);
    width: 100%;
  }
}


/* v10.19 mobile map left-aligned + footer starts 10px right from footer code section */
@media (max-width: 767.98px) {
  .contact-map-frame {
    left: 0 !important;
  }

  .site-footer > .container.footer-grid {
    padding-left: calc(1rem + 10px) !important;
    padding-right: 1rem !important;
  }
}


/* v10.20 mobile footer further 15px to the right */
@media (max-width: 767.98px) {
  .site-footer > .container.footer-grid {
    padding-left: calc(1rem + 25px) !important;
  }
}


/* v10.21 Clients-Slider statt Logo-Band */
.clients {
  background: var(--bg-soft-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.45rem 0 1.7rem;
  overflow: hidden;
}

.clients-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: baseline;
  margin-bottom: 1.15rem;
}

.clients-kicker,
.clients-head h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.clients-kicker {
  font-weight: 700;
  color: var(--text);
}

.clients-head h2 {
  font-weight: 700;
  color: var(--text);
}

.clients-carousel {
  position: relative;
  padding-bottom: 2rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.client-logo-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.45);
}

.client-logo-card img {
  max-height: 78px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.clients-indicators {
  position: static;
  margin: 1.15rem 0 0;
  justify-content: center;
  gap: .45rem;
}

.clients-indicators [data-bs-target] {
  width: 11px;
  height: 11px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: rgba(49,35,27,.28);
  opacity: 1;
}

.clients-indicators .active {
  background: #aa9a14;
}

@media (max-width: 991.98px) {
  .clients-head {
    grid-template-columns: 1fr;
    gap: .4rem;
  }

  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.35rem;
  }
}

@media (max-width: 767.98px) {
  .clients {
    padding: 1.25rem 0 1.5rem;
  }

  .clients-head {
    margin-bottom: .95rem;
  }

  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .95rem 1rem;
  }

  .client-logo-card {
    min-height: 88px;
    padding: .7rem .75rem;
  }

  .client-logo-card img {
    max-height: 58px;
  }
}

/* v10.21 Mobile-Footer-Einrückung wie Wichtige Rufnummern über Kontakt */
@media (max-width: 767.98px) {
  .site-footer > .container.footer-grid {
    padding-left: calc(var(--bs-gutter-x) + 1.85rem) !important;
    padding-right: 1rem !important;
  }
}


/* v10.23 Weiterbildung und Qualität */
.clients {
  background: #f4f4f4;
  padding: 3.8rem 0 2.6rem;
}

.quality-section-title {
  max-width: 1060px;
  margin: 0 auto 2.2rem;
}

.quality-section-title .section-kicker {
  display: block;
  margin-bottom: .7rem;
  color: #aa9a14;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .95rem;
  font-weight: 700;
}

.quality-section-title h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(1.9rem, 2.45vw, 3.15rem);
  line-height: 1.24;
  font-weight: 700;
  max-width: 1000px;
}

.quality-carousel {
  max-width: 1060px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.quality-logos-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 2rem;
  min-height: 180px;
}

.quality-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 135px;
  background: transparent;
  cursor: default;
}

.quality-logo {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) saturate(0) brightness(.72);
  opacity: .82;
  transition: filter .28s ease, opacity .28s ease, transform .28s ease;
}

.quality-logo-link:hover .quality-logo {
  filter: grayscale(0) saturate(1);
  opacity: 1;
  transform: translateY(-2px);
}

.quality-logo-healthnet { max-height: 86px; }
.quality-logo-praxissiegel { max-height: 110px; }
.quality-logo-ifabs { max-height: 74px; }
.quality-logo-rki { max-height: 58px; }

.quality-carousel-indicators {
  position: static;
  margin-top: 1rem;
  margin-bottom: 0;
  gap: .5rem;
  justify-content: center;
}

.quality-carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #3f2b22;
  opacity: 1;
}

.quality-carousel-indicators .active {
  background: #aa9a14;
}

@media (max-width: 991.98px) {
  .clients {
    padding: 3rem 0 2.25rem;
  }

  .quality-section-title {
    margin-bottom: 1.8rem;
  }

  .quality-logos-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    min-height: 220px;
  }
}

@media (max-width: 767.98px) {
  .clients {
    padding: 2.6rem 0 2rem;
  }

  .quality-section-title .section-kicker {
    font-size: .92rem;
  }

  .quality-section-title h2 {
    font-size: clamp(1.55rem, 6vw, 2.15rem);
    line-height: 1.28;
  }

  .quality-logos-row {
    min-height: 240px;
  }

  .quality-logo-healthnet { max-height: 76px; }
  .quality-logo-praxissiegel { max-height: 96px; }
  .quality-logo-ifabs { max-height: 66px; }
  .quality-logo-rki { max-height: 52px; }
}


/* v10.24 Qualitätsbereich: Überschrift wie Leistungsspektrum + mobiles Hochkant 1 Logo */
.quality-section-head {
  margin-bottom: 2.1rem;
  max-width: 900px;
}

.quality-section-head h2 {
  max-width: 980px;
}

.quality-carousel {
  max-width: 1060px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.quality-carousel-mobile {
  display: none;
}

.quality-logos-row-mobile {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 210px;
  align-items: center;
  justify-items: center;
}

.quality-logos-row-mobile .quality-logo-link {
  width: 100%;
  min-height: 170px;
}

.quality-logos-row-mobile .quality-logo {
  max-width: min(78vw, 280px);
}

@media (max-width: 767.98px) and (orientation: portrait) {
  .quality-carousel-desktop {
    display: none;
  }

  .quality-carousel-mobile {
    display: block;
  }

  .quality-section-head {
    margin-bottom: 1.25rem;
  }

  .quality-logos-row-mobile {
    min-height: 220px;
  }
}

@media (max-width: 767.98px) and (orientation: landscape) {
  .quality-carousel-desktop {
    display: block;
  }

  .quality-carousel-mobile {
    display: none;
  }

  .quality-logos-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
    min-height: 130px;
  }

  .quality-logo-link {
    min-height: 92px;
  }

  .quality-logo-healthnet { max-height: 56px; }
  .quality-logo-praxissiegel { max-height: 74px; }
  .quality-logo-ifabs { max-height: 48px; }
  .quality-logo-rki { max-height: 38px; }
}


/* v10.25 Einheitliche Überschriften + Qualitätslogos gleicher Höhe */

/* 1) Sprechzeiten und Kontakt wie Leistungsspektrum */
.sprechzeiten-head,
.contact-hero-head {
  margin-bottom: 2.1rem;
  max-width: 900px;
}

.sprechzeiten-head .section-kicker,
.contact-hero-head .section-kicker {
  display: inline-block;
  margin-bottom: .7rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.sprechzeiten-head h2,
.contact-hero-head h2 {
  margin: 0;
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -.03em;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

@media (max-width: 767.98px) {
  .sprechzeiten-head,
  .contact-hero-head {
    margin-bottom: 1.45rem;
  }
}

/* 2) Qualitätslogos: gleiche Höhe, Breite proportional */
/* ZEITFAKTOR FÜR LOGO-WECHSEL:
   Desktop: data-bs-interval im HTML = 5000 (ms)
   Mobile:  data-bs-interval im HTML = 4600 (ms)
   Bei Bedarf hier bzw. im HTML weiter erhöhen/verringern. */

.quality-logo-link {
  min-height: 135px;
}

.quality-logo,
.quality-logo-healthnet,
.quality-logo-praxissiegel,
.quality-logo-ifabs,
.quality-logo-rki {
  height: 78px;
  width: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  filter: grayscale(1) saturate(0) brightness(.72);
  opacity: .82;
  transition: filter .28s ease, opacity .28s ease, transform .55s ease;
}

/* 3) Leichter Zoom für aktuell sichtbare Logos */
.quality-carousel .carousel-item.active .quality-logo {
  transform: scale(1.045);
}

.quality-logo-link:hover .quality-logo {
  filter: grayscale(0) saturate(1);
  opacity: 1;
  transform: scale(1.065);
}

.quality-carousel .carousel-item:not(.active) .quality-logo {
  transform: scale(1);
}

.quality-carousel-indicators {
  margin-top: 1.05rem;
}

@media (max-width: 991.98px) {
  .quality-logo,
  .quality-logo-healthnet,
  .quality-logo-praxissiegel,
  .quality-logo-ifabs,
  .quality-logo-rki {
    height: 64px;
  }

  .quality-logo-link {
    min-height: 108px;
  }
}

@media (max-width: 767.98px) {
  .quality-logo,
  .quality-logo-healthnet,
  .quality-logo-praxissiegel,
  .quality-logo-ifabs,
  .quality-logo-rki {
    height: 58px;
  }

  .quality-logo-link {
    min-height: 96px;
  }

  .quality-logos-row-mobile .quality-logo {
    height: 70px;
    max-width: min(78vw, 280px);
  }

  .quality-logos-row-mobile .quality-logo-link {
    min-height: 170px;
  }
}


/* v10.26 Qualitätslogos größer, weiterhin einheitliche Höhe */
.quality-logo,
.quality-logo-healthnet,
.quality-logo-praxissiegel,
.quality-logo-ifabs,
.quality-logo-rki {
  height: 96px !important;
  width: auto !important;
  max-width: 100%;
}

.quality-logo-link {
  min-height: 150px !important;
}

.quality-logos-row {
  min-height: 200px;
}

@media (max-width: 991.98px) {
  .quality-logo,
  .quality-logo-healthnet,
  .quality-logo-praxissiegel,
  .quality-logo-ifabs,
  .quality-logo-rki {
    height: 80px !important;
  }

  .quality-logo-link {
    min-height: 128px !important;
  }
}

@media (max-width: 767.98px) {
  .quality-logo,
  .quality-logo-healthnet,
  .quality-logo-praxissiegel,
  .quality-logo-ifabs,
  .quality-logo-rki {
    height: 68px !important;
  }

  .quality-logo-link {
    min-height: 110px !important;
  }

  .quality-logos-row-mobile .quality-logo {
    height: 84px !important;
    width: auto !important;
    max-width: min(82vw, 320px);
  }

  .quality-logos-row-mobile .quality-logo-link {
    min-height: 185px !important;
  }
}


/* v10.28 Preloader */
body.preloader-active {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #31231B;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .45s ease, visibility .45s ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader-bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 14px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}

.site-preloader-bar-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: #AA9A14;
  box-shadow: 0 0 14px rgba(170,154,20,.42);
  transition: width .24s ease;
}

.site-preloader-inner {
  width: min(78vw, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.site-preloader-logo {
  display: block;
  width: min(100%, 460px);
  height: auto;
  transform-origin: center center;
  animation: preloaderLogoPulse 1.85s ease-in-out infinite;
}

@keyframes preloaderLogoPulse {
  0% { transform: scale(1); opacity: .92; }
  50% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); opacity: .92; }
}

@media (max-width: 767.98px) {
  .site-preloader-bar {
    height: 10px;
  }

  .site-preloader-inner {
    width: min(84vw, 380px);
    padding: 1rem;
  }

  .site-preloader-logo {
    width: min(100%, 320px);
  }
}


/* v10.29 Modal nach Preload: Aktuelle Sprechzeiten & Praxisinformationen */
.praxis-info-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

.praxis-info-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.praxis-info-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(49, 35, 27, 0.56);
  backdrop-filter: blur(2px);
}

.praxis-info-dialog {
  position: relative;
  width: min(92vw, 760px);
  max-height: min(88vh, 940px);
  overflow: auto;
  background: #f6f4ef;
  color: #31231B;
  box-shadow: 0 18px 60px rgba(49,35,27,.24);
  padding: 2rem 2rem 1.35rem;
  z-index: 1;
}

.praxis-info-close {
  position: absolute;
  top: .7rem;
  right: .8rem;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #31231B;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
}

.praxis-info-close:hover,
.praxis-info-close:focus-visible {
  opacity: 1;
}

.praxis-info-main {
  max-width: 500px;
  margin: 0 auto;
  padding: 0;
}

.praxis-info-main h1 {
  font-weight: 400;
  letter-spacing: .02em;
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 3.3vw, 2.35rem);
  color: #31231B;
}

.praxis-modal-sprechzeiten-box,
.sprechzeiten-box {
  background: rgba(255,255,255,.86);
  border-left: 8px solid #B7B833;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(49,35,27,.08);
}

.sprechzeiten-box.status-open {
  border-left-color: #2e7d32;
  background: #edf8ee;
}

.sprechzeiten-box.status-closed {
  border-left-color: #b71c1c;
  background: #fff1f1;
}

.sprechzeiten-box.status-error {
  border-left-color: #444;
  background: #eee;
}

.sprechzeiten-box .event-image {
  display: block;
  width: min(80vw,350px);
  max-width: 100%;
  height: auto;
  margin: 0 0 12px 0;
  border-radius: 0;
}

.sprechzeiten-box .info {
  line-height: 1.45;
  margin: 0 0 12px;
  color: #31231B;
}

.sprechzeiten-box .details {
  border-top: 1px solid rgba(49,35,27,.15);
  padding-top: 12px;
  line-height: 1.45;
  color: #31231B;
}

.sprechzeiten-box .details a {
  color: #AA9A14;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sprechzeiten-box .meta {
  font-size: 12px;
  opacity: .65;
  margin-top: 12px;
  color: #31231B;
}

.praxis-info-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

.praxis-info-read-btn {
  min-width: 230px;
}

body.praxis-info-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .sprechzeiten-box .event-image {
    width: min(60vw,500px);
  }
}

@media (max-width: 767.98px) {
  .praxis-info-dialog {
    width: min(94vw, 760px);
    padding: 1.35rem 1rem 1rem;
    max-height: min(90vh, 940px);
  }

  .praxis-info-main {
    max-width: 100%;
  }

  .praxis-info-main h1 {
    margin: 0 0 18px;
    padding-right: 2.2rem;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .praxis-modal-sprechzeiten-box,
  .sprechzeiten-box {
    padding: 14px 14px;
  }

  .praxis-info-actions {
    margin-top: 1rem;
  }

  .praxis-info-read-btn {
    width: 100%;
    min-width: 0;
  }
}


/* v10.30 Preloader + Cookie-Gating + Web-App-Vorladen */
.site-preloader-logo {
  width: min(100%, 600px) !important; /* ca. 30% größer */
}

@media (max-width: 767.98px) {
  .site-preloader-logo {
    width: min(100%, 416px) !important; /* ca. 30% größer mobil */
  }
}

.preloader-consent-required .cookie-settings-close,
.preloader-consent-required .btn-close.cookie-settings-close {
  display: none !important;
}

.preloader-cookie-backdrop.show {
  opacity: 0 !important;
}

body.preloader-consent-required {
  overflow: hidden;
}

.preloader-consent-required .site-preloader {
  opacity: 1 !important;
  visibility: visible !important;
}

.cookie-settings-modal {
  z-index: 10030;
}

.praxis-info-modal {
  z-index: 10040;
}


/* v10.34 Preloader überarbeitet */
.preloader-consent-required .cookie-settings-close,
.preloader-consent-required .btn-close.cookie-settings-close {
  display: none !important;
}

.preloader-cookie-backdrop.show {
  opacity: 0 !important;
}

body.preloader-consent-required {
  overflow: hidden;
}


/* v10.37 Qualitätsbereich breiter wie Leistungsspektrum + größere Logoabstände */
.quality-carousel,
#qualityCarouselDesktop.quality-carousel {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.quality-logos-row {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3.75rem;
}

.quality-logo-link {
  min-width: 0;
}

@media (max-width: 1199.98px) {
  .quality-logos-row {
    gap: 2.6rem;
  }
}

@media (max-width: 767.98px) and (orientation: landscape) {
  .quality-logos-row {
    gap: 1.4rem;
  }
}


/* v10.38 Header-Navigation: aktiver Link wie Hover */
.desktop-nav .nav-link.active {
  color: #AA9A14 !important;
}
.desktop-nav .nav-link.active::after {
  width: 100%;
  background: #AA9A14;
}


/* v10.39 Kontakt/Anfahrt gemeinsam aktiv + Footer/Map/Kontakt-Verlauf */
.site-footer {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.site-footer > .container.footer-grid {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--bs-gutter-x) !important;
  padding-right: var(--bs-gutter-x) !important;
}

@media (max-width: 767.98px) {
  .site-footer > .container.footer-grid {
    padding-left: calc(var(--bs-gutter-x) + 1.85rem) !important;
    padding-right: var(--bs-gutter-x) !important;
  }
}

/* Hintergrundkarte im Kontaktbereich immer linksbündig */
.contact-map-frame-wrap {
  position: absolute;
  inset: -12% 0 0 0 !important;
  left: 0 !important;
  right: 0 !important;
  overflow: hidden;
}

.contact-map-frame {
  position: absolute;
  left: 0 !important;
  transform: none !important;
  margin-left: 0 !important;
}

@media (max-width: 1399.98px) {
  .contact-map-frame { left: 0 !important; }
}
@media (max-width: 1199.98px) {
  .contact-map-frame { left: 0 !important; }
}
@media (max-width: 991.98px) {
  .contact-map-frame-wrap {
    inset: -8% 0 0 0 !important;
  }
  .contact-map-frame { left: 0 !important; }
}
@media (max-width: 767.98px) {
  .contact-map-frame-wrap {
    inset: -4% 0 0 0 !important;
  }
  .contact-map-frame { left: 0 !important; }
}

/* Weiß-transparenter Verlauf im Kontaktbereich auch bei kleineren Auflösungen beibehalten */
.contact-fade-panel {
  position: relative;
  z-index: 4;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.93) 44%,
    rgba(255,255,255,0.82) 66%,
    rgba(255,255,255,0.42) 82%,
    rgba(255,255,255,0.00) 100%) !important;
}

@media (max-width: 991.98px) {
  .contact-fade-panel {
    background: linear-gradient(90deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.93) 52%,
      rgba(255,255,255,0.82) 74%,
      rgba(255,255,255,0.48) 88%,
      rgba(255,255,255,0.08) 100%) !important;
  }
}

@media (max-width: 767.98px) {
  .contact-fade-panel {
    width: 100%;
    background: linear-gradient(90deg,
      rgba(255,255,255,0.94) 0%,
      rgba(255,255,255,0.92) 62%,
      rgba(255,255,255,0.78) 82%,
      rgba(255,255,255,0.42) 94%,
      rgba(255,255,255,0.12) 100%) !important;
  }
}


/* v10.40 Footer-Inhalt weiter nach rechts, damit linke Reiter nichts überdecken
   Orientierung an der sicheren linken Inhaltskante von Leistungsspektrum */
.site-footer > .container.footer-grid {
  padding-left: calc(var(--bs-gutter-x) + 2.35rem) !important;
  padding-right: var(--bs-gutter-x) !important;
}

@media (max-width: 991.98px) {
  .site-footer > .container.footer-grid {
    padding-left: calc(var(--bs-gutter-x) + 2.15rem) !important;
    padding-right: var(--bs-gutter-x) !important;
  }
}

@media (max-width: 767.98px) {
  .site-footer > .container.footer-grid {
    padding-left: calc(var(--bs-gutter-x) + 2.35rem) !important;
    padding-right: var(--bs-gutter-x) !important;
  }
}


/* v10.41 Preloader größer + Hinweistext */
.site-preloader-logo {
  width: min(100%, 900px) !important; /* ca. 50% größer als bisher */
}

.site-preloader-inner::after {
  content: "Website wird geladen";
  display: block;
  margin-top: .25rem;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .site-preloader-logo {
    width: min(100%, 620px) !important;
  }

  .site-preloader-inner::after {
    font-size: .8rem;
    letter-spacing: .05em;
  }
}

/* v10.41 Kontakt-Panel Icons + Infozeilen */
.contact-panel-card .contact-overlay-copy p {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.contact-panel-card .contact-overlay-copy p .contact-inline-icon {
  flex: 0 0 auto;
  line-height: 1.1;
  transform: translateY(.05rem);
}

.contact-overlay-lines .contact-icon-label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}


/* v10.42 Einheitliche schwarz-weiße Kontaktsymbole */
.contact-svg-icon {
  width: 18px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
}

.contact-svg-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.contact-svg-icon svg * {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.contact-icon-label,
.contact-panel-link-icon,
.contact-panel-extra .contact-panel-link-icon,
.contact-overlay-copy p {
  color: #111111;
}

.contact-icon-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.contact-overlay-copy p {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.contact-panel-link-icon {
  display: inline-flex;
  align-items: flex-start;
  gap: .55rem;
  line-height: 1.45;
}

.contact-panel-extra {
  display: grid;
  gap: .55rem;
  margin: .95rem 0 1rem;
  padding-top: .1rem;
}

.contact-panel-extra .contact-panel-link-icon {
  font-size: .96rem;
}

.contact-panel .contact-panel-link-icon .contact-svg-icon,
.contact-overlay-copy .contact-svg-icon,
.contact-icon-label .contact-svg-icon {
  transform: translateY(.08rem);
}

@media (max-width: 767.98px) {
  .contact-svg-icon,
  .contact-svg-icon svg {
    width: 17px;
    min-width: 17px;
    height: 17px;
  }
}


/* v10.43 Feinschliff Kontakt + Qualitätslogos */

/* Linke Reiter: Überschriften dezenter und einheitlicher */
.quick-panel .panel-kicker {
  font-size: .72rem;
  letter-spacing: .14em;
  font-weight: 700;
  margin-bottom: .28rem;
  color: rgba(170,154,20,.92);
}

.quick-panel .offcanvas-title {
  font-size: clamp(1.55rem, 2.15vw, 1.95rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #231f20;
}

.quick-panel .offcanvas-header {
  padding-bottom: .7rem;
}

.quick-panel .offcanvas-body {
  padding-top: .85rem;
}

/* Kontaktsymbole: dezenter, gleiche Größe, gleiche Strichstärke */
.contact-svg-icon {
  width: 16px;
  min-width: 16px;
  height: 16px;
  color: rgba(17,17,17,.88);
}

.contact-svg-icon svg {
  width: 16px;
  height: 16px;
}

.contact-svg-icon svg * {
  stroke-width: 1.55;
}

.contact-panel-link-icon,
.contact-panel-extra .contact-panel-link-icon,
.contact-icon-label,
.contact-overlay-copy p {
  gap: .5rem;
}

.contact-panel .contact-panel-link-icon .contact-svg-icon,
.contact-overlay-copy .contact-svg-icon,
.contact-icon-label .contact-svg-icon {
  transform: translateY(.12rem);
}

.contact-panel-extra {
  display: grid;
  gap: .65rem;
}

.contact-panel-extra--belowmap {
  margin: 1rem 0 0;
  padding-top: .05rem;
}

.contact-panel-extra--belowmap .contact-panel-link-icon {
  font-size: .95rem;
  line-height: 1.5;
}

/* Qualitätslogos: gleicher Abstand, Hover nur auf dem einzelnen Logo */
.quality-logos-row {
  gap: 3.2rem !important;
  justify-items: center;
  align-items: center;
}

.quality-logo-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quality-logo,
.quality-logo-healthnet,
.quality-logo-praxissiegel,
.quality-logo-ifabs,
.quality-logo-rki {
  transition: filter .28s ease, opacity .28s ease, transform .36s ease !important;
}

.quality-carousel .carousel-item.active .quality-logo {
  transform: scale(1) !important;
}

.quality-logos-row:hover .quality-logo {
  filter: grayscale(1) saturate(0) brightness(.72) !important;
  opacity: .7 !important;
  transform: scale(.98) !important;
}

.quality-logos-row:hover .quality-logo-link:hover .quality-logo {
  filter: grayscale(0) saturate(1) brightness(1) !important;
  opacity: 1 !important;
  transform: scale(1.12) !important;
}

.quality-logo-link:hover .quality-logo {
  filter: grayscale(0) saturate(1) brightness(1) !important;
  opacity: 1 !important;
  transform: scale(1.12) !important;
}

@media (max-width: 1199.98px) {
  .quality-logos-row {
    gap: 2.4rem !important;
  }
}

@media (max-width: 767.98px) {
  .contact-svg-icon,
  .contact-svg-icon svg {
    width: 15px;
    min-width: 15px;
    height: 15px;
  }

  .quality-logos-row {
    gap: 1.2rem !important;
  }
}


/* v10.44 Neues Praxissiegel + Paneltitel + Website ohne www */
.panel-title-h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.05rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.02em;
  margin: 0;
}

.contact-panel-link-icon--website {
  margin-bottom: .55rem;
}

.contact-panel a.contact-panel-link-icon,
.contact-panel span.contact-panel-link-icon {
  line-height: 1.5;
}


/* v10.45 Neues SVG-Logo + Preloader ohne Hinweistext */
.site-preloader-inner::after {
  content: none !important;
  display: none !important;
}

.panel-title-h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.05rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.02em;
  margin: 0;
}

.contact-panel-link-icon--website {
  margin-bottom: .55rem;
}

.contact-panel-extra--belowmap {
  margin-top: 1rem;
}


/* v10.46 Panel-Überschriften kleiner und dezenter */
.quick-panel .panel-kicker {
  font-size: .68rem !important;
  letter-spacing: .13em !important;
  margin-bottom: .22rem !important;
  opacity: .9;
}

.quick-panel .offcanvas-title,
.quick-panel .offcanvas-title.panel-title-h2 {
  font-size: clamp(1.42rem, 1.95vw, 1.72rem) !important;
  line-height: 1.12 !important;
  font-weight: 400 !important;
  letter-spacing: -.018em !important;
}

#kontaktPanel .offcanvas-title,
#kontaktPanel .offcanvas-title.panel-title-h2 {
  font-size: clamp(1.35rem, 1.85vw, 1.62rem) !important;
}

#kontaktPanel .offcanvas-header,
#sprechzeitenPanel .offcanvas-header {
  padding-bottom: .55rem !important;
}

#kontaktPanel .offcanvas-body,
#sprechzeitenPanel .offcanvas-body {
  padding-top: .75rem !important;
}


/* v10.46 Aktuelles nur bei Hover oder geöffnetem Modal aktiv */
.desktop-nav .nav-link[href="#aktuelles"].active,
.mobile-nav-links a[href="#aktuelles"].is-active {
  color: #31231B !important;
}

.desktop-nav .nav-link[href="#aktuelles"].active::after {
  width: 0 !important;
}

body.aktuelles-modal-open .desktop-nav .nav-link[href="#aktuelles"].active,
body.aktuelles-modal-open .mobile-nav-links a[href="#aktuelles"].is-active {
  color: #AA9A14 !important;
}

body.aktuelles-modal-open .desktop-nav .nav-link[href="#aktuelles"].active::after {
  width: 100% !important;
  background: #AA9A14 !important;
}


/* v10.48 Preloader EKG-Linie unter Logo */
.site-preloader-inner {
  width: min(92vw, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.site-preloader-logo {
  width: min(62vw, 470px) !important;
  max-width: 470px !important;
  height: auto;
  display: block;
}

.site-preloader-ekg-wrap {
  position: relative;
  width: min(96vw, 980px);
  margin-top: 2.2rem;
  overflow: hidden;
  line-height: 0;
}

.site-preloader-ekg {
  width: 100%;
  display: block;
  height: auto;
  opacity: .96;
}

.site-preloader-ekg-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40px;
  width: 20px;
  background: rgba(0, 0, 0, .86);
  box-shadow: 0 0 0 10px rgba(49, 35, 27, .92);
  animation: preloaderEkgSweep 2.4s linear infinite;
  pointer-events: none;
}

@keyframes preloaderEkgSweep {
  0% {
    transform: translateX(0);
    opacity: .95;
  }
  100% {
    transform: translateX(calc(min(96vw, 980px) + 60px));
    opacity: .95;
  }
}

@media (max-width: 767.98px) {
  .site-preloader-logo {
    width: min(72vw, 420px) !important;
  }

  .site-preloader-ekg-wrap {
    width: min(100vw, 900px);
    margin-top: 1.5rem;
  }

  .site-preloader-ekg-scan {
    width: 18px;
    box-shadow: 0 0 0 8px rgba(49, 35, 27, .92);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader-ekg-scan {
    animation-duration: 4.8s;
  }
}


/* v10.49 Preloader EKG-Linie vollbreit ohne Gap */
.site-preloader {
  overflow: hidden;
}

.site-preloader-inner {
  position: relative;
  width: 100% !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.site-preloader-logo {
  position: relative;
  z-index: 3;
  width: min(62vw, 470px) !important;
  max-width: 470px !important;
  height: auto;
  display: block;
}

.site-preloader-ekg-zone {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  width: 100vw;
  height: clamp(80px, 10vw, 118px);
  overflow: hidden;
  z-index: 2;
}

.site-preloader-ekg-track,
.site-preloader-ekg-track--clone {
  position: absolute;
  inset: 0 auto 0 0;
  width: 200%;
  height: 100%;
  background-image: url('../img/preloader-ekg-line.svg');
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 100%;
  opacity: .98;
}

.site-preloader-ekg-track--clone {
  left: 100%;
}

.site-preloader-ekg-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -48px;
  width: 20px;
  background: url('../img/preloader-ekg-scan.svg') center center / 100% 100% no-repeat;
  /* v10.50: Scan-SVG farblich an den Preloader-Hintergrund (#31231B) angepasst */
  opacity: 1;
  pointer-events: none;
  animation: preloaderEkgScanSweep 2.45s linear infinite;
  z-index: 4;
}

@keyframes preloaderEkgScanSweep {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 72px)); }
}

@media (max-width: 991.98px) {
  .site-preloader-ekg-zone {
    bottom: 16px;
    height: clamp(72px, 12vw, 104px);
  }
}

@media (max-width: 767.98px) {
  .site-preloader-logo {
    width: min(72vw, 420px) !important;
  }

  .site-preloader-ekg-zone {
    bottom: 10px;
    height: clamp(62px, 13vw, 90px);
  }

  .site-preloader-ekg-scan {
    width: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader-ekg-scan {
    animation-duration: 4.8s;
  }
}


/* v10.51 Preloader – EKG-Linie mittig unter dem Logo, vollbreit ohne Gap,
   Fortschritts-Maske mit SVG-Bar in Hintergrundfarbe */
.site-preloader {
  overflow: hidden;
}

.site-preloader-inner {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}

.site-preloader-logo {
  position: relative;
  z-index: 3;
  width: min(62vw, 470px) !important;
  max-width: 470px !important;
  height: auto;
  display: block;
}

.site-preloader-ekg-zone {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: clamp(62px, 8vw, 96px);
  margin-top: clamp(72px, 12vh, 136px);
  overflow: hidden;
  z-index: 2;
  line-height: 0;
}

.site-preloader-ekg-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/preloader-ekg-line.svg');
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 100%;
  opacity: .98;
}

.site-preloader-ekg-track--clone {
  display: none !important;
}

.site-preloader-ekg-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #31231B;
  transform: translateX(0%);
  will-change: transform;
  transition: transform .24s ease;
  z-index: 4;
  pointer-events: none;
}

.site-preloader-ekg-scan {
  position: absolute;
  left: calc(clamp(18px, 2.4vw, 34px) * -1);
  top: 0;
  width: clamp(18px, 2.4vw, 34px);
  height: 100%;
  background: url('../img/preloader-ekg-progress.svg') center center / 100% 100% no-repeat;
  opacity: 1;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .site-preloader-logo {
    width: min(68vw, 430px) !important;
  }

  .site-preloader-ekg-zone {
    height: clamp(58px, 9vw, 88px);
    margin-top: clamp(60px, 11vh, 110px);
  }
}

@media (max-width: 767.98px) {
  .site-preloader-logo {
    width: min(74vw, 390px) !important;
  }

  .site-preloader-ekg-zone {
    height: clamp(50px, 10vw, 74px);
    margin-top: clamp(48px, 9vh, 84px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader-logo {
    animation-duration: 3.2s;
  }

  .site-preloader-bar-fill,
  .site-preloader-ekg-mask {
    transition: none !important;
  }
}


/* v10.52 Preloader – EKG-Linie mit Verlauf von Grün zu Hintergrundfarbe */
.site-preloader-ekg-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(49,35,27,0) 0%,
    rgba(49,35,27,0) 58%,
    rgba(49,35,27,0.14) 72%,
    rgba(49,35,27,0.38) 84%,
    rgba(49,35,27,0.72) 93%,
    #31231B 100%
  );
  pointer-events: none;
  z-index: 1;
}

.site-preloader-ekg-track {
  isolation: isolate;
}

/* v10.52 Navigation – initial keine Vorauswahl, Aktivierung erst bei Hover / Scroll / Modal */
.desktop-nav .nav-link.active {
  color: var(--green);
}

.mobile-nav-links a.is-active {
  color: var(--green);
}


/* v10.53 Preloader – oberen grünen Ladebalken ausblenden */
.site-preloader-bar {
  display: none !important;
}

/* v10.53 Preloader – EKG-Linie über komplette Viewportbreite, weich nach rechts ausblendend */
.site-preloader-inner {
  overflow: visible;
}

.site-preloader-ekg-zone {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.site-preloader-ekg-track {
  width: 100% !important;
  background-repeat: repeat-x !important;
  background-position: left center !important;
  background-size: auto 100% !important;
}

.site-preloader-ekg-track::after {
  background: linear-gradient(
    to right,
    rgba(49,35,27,0) 0%,
    rgba(49,35,27,0) 52%,
    rgba(49,35,27,0.08) 62%,
    rgba(49,35,27,0.18) 70%,
    rgba(49,35,27,0.34) 78%,
    rgba(49,35,27,0.55) 86%,
    rgba(49,35,27,0.8) 94%,
    #31231B 100%
  ) !important;
}

@media (max-width: 767.98px) {
  .site-preloader-ekg-zone {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50%;
    transform: translateX(-50%);
  }
}


/* v10.57 EKG-Linie unter Willkommen-Sektion mit durchgehender Linie und langsamem Scan-Balken */
.section-ekg-divider {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 2.25rem;
  padding: 0;
  overflow: hidden;
}

.section-ekg-divider-line {
  position: relative;
  width: 100%;
  height: 58px;
  background-image: url('../img/welcome-ekg-line.svg');
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 100%;
  opacity: 0.98;
  overflow: hidden;
}

.section-ekg-divider-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -24px;
  width: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.18);
  animation: welcomeEkgScanner 8.8s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes welcomeEkgScanner {
  0% {
    transform: translateX(0);
    opacity: 0.95;
  }
  100% {
    transform: translateX(calc(100vw + 48px));
    opacity: 0.95;
  }
}

@media (max-width: 991.98px) {
  .section-ekg-divider {
    margin-top: 1.75rem;
  }

  .section-ekg-divider-line {
    height: 48px;
  }
}

@media (max-width: 767.98px) {
  .section-ekg-divider {
    margin-top: 1.5rem;
  }

  .section-ekg-divider-line {
    height: 42px;
  }
}


/* v10.57.1 Preloader entfernt */
.site-preloader,
.site-preloader-bar,
.site-preloader-bar-fill,
.site-preloader-inner,
.site-preloader-logo,
.site-preloader-ekg-zone,
.site-preloader-ekg-track,
.site-preloader-ekg-mask,
.site-preloader-ekg-scan {
  display: none !important;
}

body.preloader-active,
body.preloader-consent-required {
  overflow: auto !important;
}


/* v10.57 Intro-Overlay */
body.intro-active {
  overflow: hidden !important;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #31231B;
  opacity: 1;
  visibility: visible;
  transition: opacity .55s ease, visibility .55s ease;
  overflow: hidden;
}

.site-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-intro-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #B7B833;
}

.site-intro-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-6vh);
  padding: 1rem;
  text-align: center;
}

.site-intro-logo {
  width: min(72vw, 520px);
  max-width: 520px;
  height: auto;
  display: block;
  animation: siteIntroPulse 1.9s ease-in-out infinite;
  transform-origin: center center;
}

.site-intro-typing-wrap {
  margin-top: 2rem;
  min-height: 2.1rem;
}

.site-intro-typing {
  display: inline-block;
  color: rgba(230, 230, 230, 0.48);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  border-right: 1px solid rgba(230, 230, 230, 0.22);
  animation: introTyping 2.2s steps(22, end) .45s forwards, introCaret .9s step-end infinite;
}

.site-intro-ekg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: clamp(72px, 10vw, 120px);
  overflow: hidden;
  z-index: 2;
}

.site-intro-ekg-line {
  position: absolute;
  inset: 0;
  background-image: url('../img/intro-ekg-line.svg');
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: auto 100%;
  opacity: .98;
}

.site-intro-ekg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(49,35,27,0) 0%,
    rgba(49,35,27,0) 58%,
    rgba(49,35,27,.10) 72%,
    rgba(49,35,27,.26) 83%,
    rgba(49,35,27,.58) 92%,
    #31231B 100%
  );
  pointer-events: none;
  z-index: 1;
}

.site-intro-ekg-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -28px;
  width: 20px;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.32) 18%,
    rgba(255,255,255,.98) 50%,
    rgba(255,255,255,.32) 82%,
    rgba(255,255,255,0) 100%
  );
  box-shadow: 0 0 14px rgba(255,255,255,.28);
  animation: introEkgScan 4.8s linear forwards;
  z-index: 2;
}

@keyframes siteIntroPulse {
  0% { transform: scale(1); opacity: .94; }
  50% { transform: scale(1.025); opacity: 1; }
  100% { transform: scale(1); opacity: .94; }
}

@keyframes introTyping {
  from { width: 0; }
  to { width: 20ch; }
}

@keyframes introCaret {
  50% { border-color: transparent; }
}

@keyframes introEkgScan {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 48px)); }
}

@media (max-width: 991.98px) {
  .site-intro-logo {
    width: min(78vw, 460px);
  }

  .site-intro-center {
    transform: translateY(-4vh);
  }

  .site-intro-ekg {
    height: clamp(66px, 12vw, 104px);
  }
}

@media (max-width: 767.98px) {
  .site-intro-logo {
    width: min(84vw, 390px);
  }

  .site-intro-typing-wrap {
    margin-top: 1.45rem;
    min-height: 1.7rem;
  }

  .site-intro-typing {
    font-size: 1.02rem;
  }

  .site-intro-center {
    transform: translateY(-2vh);
  }

  .site-intro-ekg {
    height: clamp(56px, 13vw, 84px);
  }
}


/* v10.57 Intro/Cookie/Modal optimiert */
.site-intro-center {
  transform: translateY(-3vh) !important;
}

.site-intro-logo {
  width: 33vw !important;
  min-width: 420px;
  max-width: 720px;
}

.site-intro-ekg {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  height: clamp(44px, 5.2vw, 72px) !important;
  bottom: 0;
}

.site-intro-ekg-line {
  background-size: auto 100%;
  background-position: center bottom !important;
  opacity: .96;
}

.site-intro-ekg::after {
  background: linear-gradient(
    to right,
    rgba(49,35,27,0) 0%,
    rgba(49,35,27,0) 52%,
    rgba(49,35,27,.08) 68%,
    rgba(49,35,27,.20) 80%,
    rgba(49,35,27,.44) 90%,
    rgba(49,35,27,.78) 96%,
    #31231B 100%
  ) !important;
}

.site-intro-ekg-scan {
  display: none !important;
}

@media (max-width: 1399.98px) {
  .site-intro-logo {
    width: 40vw !important;
    min-width: 360px;
  }
}

@media (max-width: 991.98px) {
  .site-intro-logo {
    width: min(72vw, 520px) !important;
    min-width: 0;
  }

  .site-intro-ekg {
    height: clamp(40px, 7vw, 58px) !important;
  }
}

@media (max-width: 767.98px) {
  .site-intro-logo {
    width: min(82vw, 400px) !important;
  }

  .site-intro-center {
    transform: translateY(-1vh) !important;
  }

  .site-intro-ekg {
    height: clamp(34px, 7.8vw, 46px) !important;
  }
}

/* Cookiebox schmal am unteren Rand */
#cookieSettingsModal .modal-dialog {
  margin: auto auto 0 auto !important;
  width: min(100vw - 1.5rem, 760px) !important;
  max-width: 760px !important;
  padding: 0 0 .75rem;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
}

#cookieSettingsModal .modal-content,
#cookieSettingsModal .cookie-settings-box {
  border-radius: 0 !important;
}

#cookieSettingsModal .modal-content {
  margin-bottom: 0 !important;
  box-shadow: 0 18px 46px rgba(49,35,27,.22);
}

#cookieSettingsModal .cookie-settings-box {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

#cookieSettingsModal .cookie-settings-header {
  margin-bottom: .55rem !important;
}

#cookieSettingsModal .cookie-settings-title,
#cookieSettingsModal h2 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem) !important;
  line-height: 1.15;
}

#cookieSettingsModal .cookie-settings-copy,
#cookieSettingsModal .cookie-settings-description,
#cookieSettingsModal p {
  font-size: .95rem !important;
  line-height: 1.45;
}

#cookieSettingsModal .cookie-settings-options {
  margin: .6rem 0 .85rem !important;
}

#cookieSettingsModal .cookie-settings-actions {
  margin-top: .75rem !important;
}

@media (max-width: 767.98px) {
  #cookieSettingsModal .modal-dialog {
    width: min(100vw - .5rem, 100%) !important;
    padding: 0 0 .35rem;
  }

  #cookieSettingsModal .cookie-settings-box {
    padding-left: .95rem !important;
    padding-right: .95rem !important;
  }
}


/* v10.57 Cookiebox-Fix */
#cookieSettingsModal {
  padding: 0 !important;
}

#cookieSettingsModal .modal-dialog {
  pointer-events: none;
}

#cookieSettingsModal .modal-content,
#cookieSettingsModal .cookie-settings-sheet,
#cookieSettingsModal .cookie-settings-box {
  pointer-events: auto;
}

#cookieSettingsModal:not(.show) {
  display: none !important;
}

#cookieSettingsModal.show {
  display: block !important;
}

#cookieSettingsModal .modal-dialog {
  margin: auto auto 0 auto !important;
  align-items: flex-end !important;
}

#cookieSettingsModal .modal-content {
  width: 100%;
}

@media (max-width: 767.98px) {
  #cookieSettingsModal .modal-dialog {
    width: calc(100vw - .5rem) !important;
    max-width: calc(100vw - .5rem) !important;
  }
}


/* v10.57 Cookiebox-Fix V2 */
#cookieSettingsModal {
  padding: 0 !important;
  overflow: hidden auto;
}

#cookieSettingsModal .modal-dialog {
  margin: auto auto 0 auto !important;
  width: min(100vw - 1rem, 760px) !important;
  max-width: 760px !important;
  min-height: 100%;
  display: flex !important;
  align-items: flex-end !important;
  pointer-events: none;
}

#cookieSettingsModal .modal-content,
#cookieSettingsModal .cookie-settings-sheet,
#cookieSettingsModal .cookie-settings-box {
  pointer-events: auto;
  width: 100%;
}

#cookieSettingsModal .modal-content {
  margin-bottom: .35rem !important;
}

#cookieSettingsModal:not(.show) {
  display: none !important;
}

#cookieSettingsModal.show {
  display: block !important;
}

#cookieSettingsModal .btn,
#cookieSettingsModal button {
  cursor: pointer;
}

@media (max-width: 767.98px) {
  #cookieSettingsModal .modal-dialog {
    width: calc(100vw - .5rem) !important;
    max-width: calc(100vw - .5rem) !important;
  }
}


/* v10.57 cookie/modal/button refinements */
#cookieSettingsModal .modal-content,
#cookieSettingsModal .cookie-settings-sheet {
  box-shadow: 0 10px 26px rgba(49,35,27,.14) !important;
  border: 1px solid rgba(49,35,27,.10) !important;
  background: rgba(255,255,255,.96) !important;
}

#cookieSettingsModal .cookie-settings-box,
#cookieSettingsModal .modal-body,
#cookieSettingsModal .modal-footer {
  background: rgba(255,255,255,.96) !important;
}

#cookieSettingsModal .cookie-settings-header {
  margin-bottom: .35rem !important;
}

#cookieSettingsModal .cookie-settings-title,
#cookieSettingsModal h2 {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem) !important;
}

#cookieSettingsModal .cookie-settings-copy,
#cookieSettingsModal .cookie-settings-description,
#cookieSettingsModal p,
#cookieSettingsModal .cookie-consent-copy p {
  font-size: .9rem !important;
  line-height: 1.4 !important;
  color: rgba(49,35,27,.78) !important;
}

#cookieSettingsModal .consent-row {
  padding: .8rem 0 !important;
}

#cookieSettingsModal .cookie-footer-actions {
  padding-top: .35rem !important;
}

#cookieSettingsModal .btn {
  min-height: 40px;
}

.cookie-manage-button {
  background: #2f211b !important;
  border: 1px solid #b0a521 !important;
  color: #fff !important;
  transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}

.cookie-manage-button:hover {
  background: #b0a521 !important;
  border-color: #2f211b !important;
  color: #2f211b !important;
}

.back-to-top-button {
  transition: background .22s ease, color .22s ease, border-color .22s ease, opacity .22s ease !important;
  border: 1px solid #b0a521 !important;
}

.back-to-top-button:hover {
  background: #b0a521 !important;
  color: #2f211b !important;
  border-color: #2f211b !important;
}

html, body {
  overflow-x: hidden;
}


/* v10.57.x Intro entfernt / Buttons kleiner / EKG tiefer */
.cookie-manage-button {
  width: 38px !important;
  height: 38px !important;
  bottom: 10px !important;
  left: 10px !important;
  font-size: 1rem !important;
}

.cookie-manage-button .cookie-icon-svg,
.cookie-manage-button img {
  width: 18px !important;
  height: 18px !important;
}

.back-to-top-button {
  width: 38px !important;
  height: 38px !important;
  bottom: 10px !important;
  right: 10px !important;
  font-size: 1.2rem !important;
}

/* Willkommen-EKG 50px tiefer */
.section-ekg-divider {
  margin-top: calc(2.25rem + 50px) !important;
}

@media (max-width: 991.98px) {
  .section-ekg-divider {
    margin-top: calc(1.75rem + 50px) !important;
  }
}

@media (max-width: 767.98px) {
  .section-ekg-divider {
    margin-top: calc(1.5rem + 50px) !important;
  }

  .cookie-manage-button {
    width: 36px !important;
    height: 36px !important;
  }

  .cookie-manage-button .cookie-icon-svg,
  .cookie-manage-button img {
    width: 16px !important;
    height: 16px !important;
  }

  .back-to-top-button {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.08rem !important;
  }
}


/* v10.57 Bereinigung: Intro-Reste vollständig ausblenden */
body.intro-active {
  overflow: auto !important;
}
.site-intro,
.site-intro-topline,
.site-intro-center,
.site-intro-logo,
.site-intro-typing-wrap,
.site-intro-typing,
.site-intro-ekg,
.site-intro-ekg-line,
.site-intro-ekg-scan {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* v10.57 EKG im Textbereich entfernen / sauber unter Willkommen platzieren */
.section-ekg-divider {
  margin-top: 1.15rem !important;
  margin-bottom: 0 !important;
  clear: both;
  position: relative;
  z-index: 1;
}
.section-ekg-divider-line {
  height: 42px !important;
  background-position: left bottom !important;
}
@media (max-width: 991.98px) {
  .section-ekg-divider {
    margin-top: 1rem !important;
  }
  .section-ekg-divider-line {
    height: 36px !important;
  }
}
@media (max-width: 767.98px) {
  .section-ekg-divider {
    margin-top: .9rem !important;
  }
  .section-ekg-divider-line {
    height: 30px !important;
  }
}

/* Hamburger-Menü-Button quadratisch wie Cookie-Button */
.mobile-nav-toggle,
.navbar-toggler.mobile-nav-toggle {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: 1px solid #b0a521 !important;
  background: #2f211b !important;
  color: #fff !important;
  box-shadow: var(--shadow);
  transition: background .24s ease, color .24s ease, border-color .24s ease, transform .24s ease, box-shadow .24s ease !important;
}
.mobile-nav-toggle:hover,
.navbar-toggler.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible,
.navbar-toggler.mobile-nav-toggle:focus-visible {
  background: #b0a521 !important;
  color: #2f211b !important;
  border-color: #2f211b !important;
  transform: translateY(-1px);
}
.mobile-nav-toggle .navbar-toggler-icon,
.navbar-toggler.mobile-nav-toggle .navbar-toggler-icon {
  width: 18px;
  height: 12px;
}

/* Bootstrap-ähnliche Animationen / Fades / Slide-In-Out */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .75s ease, transform .75s cubic-bezier(.22,.61,.36,1), filter .75s ease;
  filter: blur(1px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.site-header,
.topbar,
.brand img,
.nav-link,
.btn,
.service-item,
.contact-fade-panel,
.footer-col,
.cookie-manage-button,
.back-to-top-button,
.mobile-nav-links a,
.quality-logo,
.hero-gallery-item img,
.hero-gallery-item::before {
  transition: all .28s ease;
}

.service-item,
.contact-fade-panel,
.footer-col,
.praxis-info-dialog,
.cookie-banner,
.cookie-settings-sheet,
.mobile-nav-panel,
.panel-map-static-link,
.gallery-card,
.hero-gallery-item,
.service-item,
.logo-item img {
  animation-duration: .45s;
  animation-timing-function: cubic-bezier(.22,.61,.36,1);
}

.praxis-info-modal {
  transition: opacity .28s ease, visibility .28s ease !important;
}
.praxis-info-dialog {
  transform: translate3d(0, 24px, 0) scale(.985);
  opacity: 0;
  transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .32s ease;
}
.praxis-info-modal.is-visible .praxis-info-dialog {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}
.praxis-info-modal-backdrop {
  transition: opacity .28s ease, backdrop-filter .28s ease;
}

.modal.fade .modal-dialog,
#cookieSettingsModal .modal-dialog {
  transform: translate3d(0, 28px, 0);
  opacity: 0;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
.modal.show .modal-dialog,
#cookieSettingsModal.show .modal-dialog {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.mobile-nav-panel.offcanvas,
.offcanvas.mobile-nav-panel {
  transition: transform .32s cubic-bezier(.22,.61,.36,1), visibility .32s ease !important;
}
.offcanvas-backdrop,
.modal-backdrop {
  transition: opacity .24s ease !important;
}

.nav-link:hover,
.mobile-nav-links a:hover,
.btn:hover,
.cookie-manage-button:hover,
.back-to-top-button:hover {
  transform: translateY(-1px);
}

.hero-gallery-item img {
  transition: transform .7s ease, filter .45s ease;
}
.hero-gallery-item:hover img {
  transform: scale(1.045);
}

@media (max-width: 767.98px) {
  .mobile-nav-toggle,
  .navbar-toggler.mobile-nav-toggle,
  .cookie-manage-button,
  .back-to-top-button {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
}


/* v10.57 Modal nach Cookie / Reload + Hamburger grün */
.mobile-nav-toggle,
.navbar-toggler.mobile-nav-toggle {
  background: #B7B833 !important;
  color: #31231B !important;
  border-color: #31231B !important;
}

.mobile-nav-toggle:hover,
.navbar-toggler.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible,
.navbar-toggler.mobile-nav-toggle:focus-visible {
  background: #31231B !important;
  color: #B7B833 !important;
  border-color: #B7B833 !important;
}

.mobile-nav-bottom {
  padding-top: 1.15rem !important;
}


/* v10.57 Text/Hamburger/Cookie-Layout */
.mobile-nav-toggle,
.navbar-toggler.mobile-nav-toggle {
  background: #B7B833 !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: var(--shadow);
}

.mobile-nav-toggle:hover,
.navbar-toggler.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible,
.navbar-toggler.mobile-nav-toggle:focus-visible {
  background: #31231B !important;
  color: #ffffff !important;
  border: 0 !important;
}

.mobile-nav-toggle .navbar-toggler-icon,
.navbar-toggler.mobile-nav-toggle .navbar-toggler-icon {
  color: #ffffff !important;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}

/* Cookiebox kompakt unten fixiert und Inhalte mittig */
.cookie-banner {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 1.2rem));
  bottom: .55rem !important;
}

.cookie-banner-inner {
  grid-template-columns: 72px 1fr auto !important;
  align-items: center !important;
  text-align: center !important;
}

.cookie-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-copy,
.cookie-copy strong,
.cookie-copy p {
  text-align: center !important;
}

.cookie-actions {
  justify-content: center !important;
  align-items: center !important;
}

/* Ausführliche Cookie-Einstellungen immer zentriert */
#cookieSettingsModal {
  display: none;
}

#cookieSettingsModal.show {
  display: block !important;
}

#cookieSettingsModal .modal-dialog {
  margin: auto !important;
  min-height: 100% !important;
  width: min(760px, calc(100vw - 1.5rem)) !important;
  max-width: 760px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem 0 !important;
}

#cookieSettingsModal .modal-content,
#cookieSettingsModal .cookie-settings-sheet {
  width: 100%;
  margin: 0 auto !important;
}

@media (max-width: 991.98px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr !important;
    gap: .75rem !important;
  }

  .cookie-brand,
  .cookie-actions {
    justify-content: center !important;
  }
}

@media (max-width: 767.98px) {
  .cookie-banner {
    width: calc(100vw - .7rem);
    bottom: .35rem !important;
  }

  #cookieSettingsModal .modal-dialog {
    width: min(calc(100vw - .5rem), 100%) !important;
    max-width: calc(100vw - .5rem) !important;
    padding: .35rem 0 !important;
  }
}

/* v10.57.1 EKG Divider im Willkommenbereich tiefer zwischen Willkommen und Leistungsspektrum */
.section-ekg-divider {
  display: block !important;
  width: 100% !important;
  margin-top: 2.15rem !important;
  margin-bottom: 2.1rem !important;
  clear: both;
  position: relative;
  z-index: 1;
}

.section-ekg-divider-line {
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  height: 40px !important;
  background-position: center center !important;
}

@media (max-width: 991.98px) {
  .section-ekg-divider {
    margin-top: 2.35rem !important;
    margin-bottom: 2.2rem !important;
  }

  .section-ekg-divider-line {
    height: 34px !important;
  }
}

@media (max-width: 767.98px) {
  .section-ekg-divider {
    margin-top: 2.6rem !important;
    margin-bottom: 2.35rem !important;
  }

  .section-ekg-divider-line {
    height: 32px !important;
  }
}

/* v10.57.1 Abstand rund um EKG-Trenner im Willkommensbereich harmonisieren */
#aktuelles.intro-section {
  padding-bottom: 2.4rem;
}

#leistungen.light-section {
  padding-top: 3.2rem;
}

@media (max-width: 991.98px) {
  #aktuelles.intro-section {
    padding-bottom: 1.9rem;
  }

  #leistungen.light-section {
    padding-top: 2.7rem;
  }
}

@media (max-width: 767.98px) {
  #aktuelles.intro-section {
    padding-bottom: 1.55rem;
  }

  #leistungen.light-section {
    padding-top: 2.3rem;
  }

  .section-ekg-divider {
    margin-top: 2.15rem !important;
    margin-bottom: 1.15rem !important;
  }
}

/* v10.57.2 Desktop: EKG-Abstand im Willkommensbereich harmonischer */
@media (min-width: 992px) {
  #aktuelles.intro-section {
    padding-bottom: 2.9rem !important;
  }

  #leistungen.light-section {
    padding-top: 3.8rem !important;
  }

  .section-ekg-divider {
    margin-top: 2.55rem !important;
    margin-bottom: 2.7rem !important;
  }

  .section-ekg-divider-line {
    height: 38px !important;
  }
}

/* v10.57.2 Dark Mode überarbeitet */
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] .light-section,
html[data-bs-theme="dark"] .section,
html[data-bs-theme="dark"] .intro-section,
html[data-bs-theme="dark"] .clients {
  color: var(--text);
  background-color: transparent;
}

html[data-bs-theme="dark"] #aktuelles.intro-section,
html[data-bs-theme="dark"] #leistungen.light-section,
html[data-bs-theme="dark"] #sprechzeiten,
html[data-bs-theme="dark"] #anfahrt,
html[data-bs-theme="dark"] #kontakt,
html[data-bs-theme="dark"] .clients,
html[data-bs-theme="dark"] .light-section {
  background: var(--bg-soft) !important;
}

html[data-bs-theme="dark"] .section-head h1,
html[data-bs-theme="dark"] .section-head h2,
html[data-bs-theme="dark"] .section-head h3,
html[data-bs-theme="dark"] .main-copy p,
html[data-bs-theme="dark"] .side-note h2,
html[data-bs-theme="dark"] .side-note li,
html[data-bs-theme="dark"] .side-note ul,
html[data-bs-theme="dark"] .service-item,
html[data-bs-theme="dark"] .content-grid,
html[data-bs-theme="dark"] .signature,
html[data-bs-theme="dark"] .signature strong,
html[data-bs-theme="dark"] .quality-section-head h2,
html[data-bs-theme="dark"] .quality-section-head p,
html[data-bs-theme="dark"] .contact-fade-panel,
html[data-bs-theme="dark"] .contact-fade-panel h3,
html[data-bs-theme="dark"] .contact-fade-panel p {
  color: var(--text) !important;
}

html[data-bs-theme="dark"] .service-item,
html[data-bs-theme="dark"] .side-note li,
html[data-bs-theme="dark"] .contact-fade-panel,
html[data-bs-theme="dark"] .footer-col,
html[data-bs-theme="dark"] .quality-carousel,
html[data-bs-theme="dark"] .quality-logos-row,
html[data-bs-theme="dark"] .time-list div,
html[data-bs-theme="dark"] .number-lines div,
html[data-bs-theme="dark"] .contact-lines div {
  border-color: rgba(255,255,255,.10) !important;
}

html[data-bs-theme="dark"] .quick-panel,
html[data-bs-theme="dark"] .quick-panel .offcanvas-header,
html[data-bs-theme="dark"] .quick-panel .offcanvas-body,
html[data-bs-theme="dark"] #kontaktPanel,
html[data-bs-theme="dark"] #sprechzeitenPanel {
  background: var(--bg-soft) !important;
  color: var(--text) !important;
  border-color: rgba(255,255,255,.10) !important;
}

html[data-bs-theme="dark"] .quick-panel .panel-kicker,
html[data-bs-theme="dark"] .quick-panel .offcanvas-title,
html[data-bs-theme="dark"] .quick-panel .offcanvas-title.panel-title-h2,
html[data-bs-theme="dark"] .calendar-status strong,
html[data-bs-theme="dark"] .calendar-status small,
html[data-bs-theme="dark"] .calendar-status-rich,
html[data-bs-theme="dark"] .calendar-status-rich p,
html[data-bs-theme="dark"] .calendar-status-rich strong,
html[data-bs-theme="dark"] .panel-extra-text,
html[data-bs-theme="dark"] .panel-extra-text p,
html[data-bs-theme="dark"] .panel-extra-text strong,
html[data-bs-theme="dark"] .panel-note-box p,
html[data-bs-theme="dark"] .contact-panel,
html[data-bs-theme="dark"] .contact-panel strong,
html[data-bs-theme="dark"] .contact-panel span,
html[data-bs-theme="dark"] .contact-panel a,
html[data-bs-theme="dark"] .contact-panel-link-icon,
html[data-bs-theme="dark"] .contact-panel-extra,
html[data-bs-theme="dark"] .contact-panel-extra span,
html[data-bs-theme="dark"] .contact-panel-extra a,
html[data-bs-theme="dark"] .time-list span,
html[data-bs-theme="dark"] .time-list strong {
  color: var(--text) !important;
}

html[data-bs-theme="dark"] .calendar-status-label,
html[data-bs-theme="dark"] .panel-text,
html[data-bs-theme="dark"] .panel-note,
html[data-bs-theme="dark"] .time-list span,
html[data-bs-theme="dark"] .contact-lines span,
html[data-bs-theme="dark"] .number-lines span,
html[data-bs-theme="dark"] .inline-note-grid p,
html[data-bs-theme="dark"] .accessibility-text,
html[data-bs-theme="dark"] .calendar-status-rich .calendar-meta {
  color: var(--text-soft) !important;
}

html[data-bs-theme="dark"] .panel-note-box {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.08) !important;
}

html[data-bs-theme="dark"] .panel-map-placeholder .map-placeholder-overlay,
html[data-bs-theme="dark"] .map-placeholder-overlay {
  background: linear-gradient(180deg, rgba(12,12,12,0) 0%, rgba(12,12,12,.82) 100%) !important;
}

html[data-bs-theme="dark"] .praxis-info-dialog {
  background: var(--bg-soft) !important;
  color: var(--text) !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.42) !important;
}

html[data-bs-theme="dark"] .praxis-info-main h1,
html[data-bs-theme="dark"] .praxis-info-close,
html[data-bs-theme="dark"] .sprechzeiten-box .info,
html[data-bs-theme="dark"] .sprechzeiten-box .details,
html[data-bs-theme="dark"] .sprechzeiten-box .meta {
  color: var(--text) !important;
}

html[data-bs-theme="dark"] .sprechzeiten-box,
html[data-bs-theme="dark"] .praxis-modal-sprechzeiten-box {
  background: rgba(255,255,255,.06) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.18) !important;
}

html[data-bs-theme="dark"] .sprechzeiten-box .details {
  border-top-color: rgba(255,255,255,.12) !important;
}

html[data-bs-theme="dark"] .sprechzeiten-box.status-open {
  background: rgba(46,125,50,.18) !important;
  border-left-color: #6ecb73 !important;
}

html[data-bs-theme="dark"] .sprechzeiten-box.status-closed {
  background: rgba(183,28,28,.18) !important;
  border-left-color: #ef5350 !important;
}

html[data-bs-theme="dark"] .sprechzeiten-box.status-error {
  background: rgba(255,255,255,.08) !important;
  border-left-color: #9e9e9e !important;
}

html[data-bs-theme="dark"] .cookie-banner,
html[data-bs-theme="dark"] .cookie-banner-inner,
html[data-bs-theme="dark"] .cookie-settings-sheet,
html[data-bs-theme="dark"] #cookieSettingsModal .modal-content,
html[data-bs-theme="dark"] .cookie-modal {
  background: var(--bg-soft) !important;
  color: var(--text) !important;
  border-color: rgba(255,255,255,.12) !important;
}

html[data-bs-theme="dark"] .cookie-copy strong,
html[data-bs-theme="dark"] .cookie-copy p,
html[data-bs-theme="dark"] .cookie-consent-copy strong,
html[data-bs-theme="dark"] .cookie-consent-copy p,
html[data-bs-theme="dark"] .cookie-inline-link,
html[data-bs-theme="dark"] .cookie-settings-header .modal-title,
html[data-bs-theme="dark"] .cookie-settings-header .panel-kicker,
html[data-bs-theme="dark"] .cookie-link-divider {
  color: var(--text) !important;
}

html[data-bs-theme="dark"] .cookie-copy p,
html[data-bs-theme="dark"] .cookie-consent-copy p,
html[data-bs-theme="dark"] .cookie-settings-description {
  color: var(--text-soft) !important;
}

html[data-bs-theme="dark"] .consent-row,
html[data-bs-theme="dark"] .cookie-footer-actions {
  border-color: rgba(255,255,255,.10) !important;
}

html[data-bs-theme="dark"] .switch span {
  background: rgba(255,255,255,.20) !important;
}

html[data-bs-theme="dark"] .switch span::before {
  background: #fff !important;
}

html[data-bs-theme="dark"] .btn-ghost,
html[data-bs-theme="dark"] .btn-outline-accent {
  color: var(--text) !important;
  border-color: rgba(255,255,255,.16) !important;
}

html[data-bs-theme="dark"] .btn-ghost:hover,
html[data-bs-theme="dark"] .btn-outline-accent:hover {
  background: rgba(255,255,255,.06) !important;
}

html[data-bs-theme="dark"] .contact-map-frame-static,
html[data-bs-theme="dark"] .panel-map-static-link img {
  filter: grayscale(1) brightness(.72) contrast(1) saturate(.85) !important;
}


/* v10.57.3 Desktop-EKG und Dark-Mode-Feinprüfung */
@media (min-width: 992px) {
  #aktuelles.intro-section {
    padding-bottom: 2.15rem !important;
  }

  #leistungen.light-section {
    padding-top: 3.35rem !important;
  }

  .section-ekg-divider {
    margin-top: 2.2rem !important;
    margin-bottom: 1.75rem !important;
  }

  .section-ekg-divider-line {
    height: 38px !important;
    background-position: center center !important;
  }
}

/* Hauptlogo im Dark Mode per invertierter SVG */
html[data-bs-theme="dark"] .brand img,
html[data-bs-theme="dark"] .contact-overlay-logo {
  filter: none !important;
}

/* Globale Text-/Flächenkorrekturen für Dark Mode */
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] main,
html[data-bs-theme="dark"] .section,
html[data-bs-theme="dark"] .light-section,
html[data-bs-theme="dark"] .intro-section,
html[data-bs-theme="dark"] .clients,
html[data-bs-theme="dark"] .simple-footer,
html[data-bs-theme="dark"] .site-footer {
  color: var(--text) !important;
}

html[data-bs-theme="dark"] .section-kicker,
html[data-bs-theme="dark"] .quality-section-head .section-kicker,
html[data-bs-theme="dark"] .mobile-nav-kicker,
html[data-bs-theme="dark"] .panel-kicker,
html[data-bs-theme="dark"] .cookie-settings-header .panel-kicker {
  color: var(--accent) !important;
}

html[data-bs-theme="dark"] .section-head h1,
html[data-bs-theme="dark"] .section-head h2,
html[data-bs-theme="dark"] .section-head h3,
html[data-bs-theme="dark"] .main-copy p,
html[data-bs-theme="dark"] .main-copy strong,
html[data-bs-theme="dark"] .signature,
html[data-bs-theme="dark"] .signature strong,
html[data-bs-theme="dark"] .side-note h2,
html[data-bs-theme="dark"] .side-note li,
html[data-bs-theme="dark"] .quality-section-head h2,
html[data-bs-theme="dark"] .quality-section-head p,
html[data-bs-theme="dark"] .service-item,
html[data-bs-theme="dark"] .contact-fade-panel,
html[data-bs-theme="dark"] .contact-fade-panel h3,
html[data-bs-theme="dark"] .contact-fade-panel p,
html[data-bs-theme="dark"] .accessibility-text,
html[data-bs-theme="dark"] .inline-note-grid p,
html[data-bs-theme="dark"] .mobile-nav-title,
html[data-bs-theme="dark"] .mobile-nav-links a,
html[data-bs-theme="dark"] .mobile-nav-bottom a {
  color: var(--text) !important;
}

html[data-bs-theme="dark"] .topbar a,
html[data-bs-theme="dark"] .topbar span,
html[data-bs-theme="dark"] .topbar-left,
html[data-bs-theme="dark"] .topbar-right,
html[data-bs-theme="dark"] .contrast-toggle {
  color: var(--text-soft) !important;
}

html[data-bs-theme="dark"] .service-item,
html[data-bs-theme="dark"] .side-note li,
html[data-bs-theme="dark"] .time-list div,
html[data-bs-theme="dark"] .number-lines div,
html[data-bs-theme="dark"] .contact-lines div,
html[data-bs-theme="dark"] .footer-col,
html[data-bs-theme="dark"] .quality-carousel,
html[data-bs-theme="dark"] .quality-logos-row,
html[data-bs-theme="dark"] .gallery-card,
html[data-bs-theme="dark"] .panel-map-static-link,
html[data-bs-theme="dark"] .team-card,
html[data-bs-theme="dark"] .contact-fade-panel {
  border-color: var(--line-strong) !important;
}

html[data-bs-theme="dark"] .time-list span,
html[data-bs-theme="dark"] .number-lines span,
html[data-bs-theme="dark"] .contact-lines span,
html[data-bs-theme="dark"] .panel-note,
html[data-bs-theme="dark"] .calendar-status-label,
html[data-bs-theme="dark"] .calendar-status small,
html[data-bs-theme="dark"] .cookie-copy p,
html[data-bs-theme="dark"] .cookie-consent-copy p,
html[data-bs-theme="dark"] .cookie-settings-description,
html[data-bs-theme="dark"] .panel-map-static-note,
html[data-bs-theme="dark"] .mobile-nav-update-label,
html[data-bs-theme="dark"] .mobile-nav-update-date,
html[data-bs-theme="dark"] .contact-panel span,
html[data-bs-theme="dark"] .contact-panel-extra span,
html[data-bs-theme="dark"] .calendar-status-rich .calendar-meta {
  color: var(--text-soft) !important;
}

html[data-bs-theme="dark"] .quick-panel,
html[data-bs-theme="dark"] .quick-panel .offcanvas-header,
html[data-bs-theme="dark"] .quick-panel .offcanvas-body,
html[data-bs-theme="dark"] #kontaktPanel,
html[data-bs-theme="dark"] #sprechzeitenPanel,
html[data-bs-theme="dark"] .mobile-nav-panel {
  background: #181818 !important;
  color: var(--text) !important;
}

html[data-bs-theme="dark"] .panel-note-box {
  background: rgba(255,255,255,.05) !important;
  border-color: rgba(255,255,255,.08) !important;
}

html[data-bs-theme="dark"] .map-placeholder-overlay,
html[data-bs-theme="dark"] .panel-map-placeholder .map-placeholder-overlay {
  background: linear-gradient(180deg, rgba(14,14,14,.08) 0%, rgba(14,14,14,.84) 100%) !important;
  color: #fff !important;
}

html[data-bs-theme="dark"] .praxis-info-dialog {
  background: #1a1a1a !important;
  color: var(--text) !important;
}

html[data-bs-theme="dark"] .praxis-info-main h1,
html[data-bs-theme="dark"] .praxis-info-close,
html[data-bs-theme="dark"] .sprechzeiten-box .info,
html[data-bs-theme="dark"] .sprechzeiten-box .details,
html[data-bs-theme="dark"] .sprechzeiten-box .meta {
  color: var(--text) !important;
}

html[data-bs-theme="dark"] .sprechzeiten-box,
html[data-bs-theme="dark"] .praxis-modal-sprechzeiten-box {
  background: rgba(255,255,255,.06) !important;
  border-left-color: var(--accent) !important;
}

html[data-bs-theme="dark"] .sprechzeiten-box .details {
  border-top-color: rgba(255,255,255,.12) !important;
}

html[data-bs-theme="dark"] .sprechzeiten-box.status-open {
  background: rgba(65, 115, 73, .28) !important;
  border-left-color: #79d58a !important;
}

html[data-bs-theme="dark"] .sprechzeiten-box.status-closed {
  background: rgba(130, 54, 54, .28) !important;
  border-left-color: #ff7a7a !important;
}

html[data-bs-theme="dark"] .sprechzeiten-box.status-error {
  background: rgba(255,255,255,.08) !important;
  border-left-color: #bcbcbc !important;
}

html[data-bs-theme="dark"] .cookie-banner,
html[data-bs-theme="dark"] .cookie-banner-inner,
html[data-bs-theme="dark"] .cookie-settings-sheet,
html[data-bs-theme="dark"] #cookieSettingsModal .modal-content,
html[data-bs-theme="dark"] .cookie-modal {
  background: #181818 !important;
  color: var(--text) !important;
  border-color: rgba(255,255,255,.10) !important;
}

html[data-bs-theme="dark"] .cookie-inline-link,
html[data-bs-theme="dark"] .cookie-link-divider {
  color: var(--accent) !important;
}

html[data-bs-theme="dark"] .btn-ghost,
html[data-bs-theme="dark"] .btn-outline-accent {
  background: rgba(255,255,255,.05) !important;
  color: var(--text) !important;
  border-color: rgba(255,255,255,.16) !important;
}

html[data-bs-theme="dark"] .btn-ghost:hover,
html[data-bs-theme="dark"] .btn-outline-accent:hover {
  background: rgba(255,255,255,.11) !important;
  color: #fff !important;
}

html[data-bs-theme="dark"] .contact-map-frame-static,
html[data-bs-theme="dark"] .panel-map-static-link img {
  filter: grayscale(1) brightness(.62) contrast(1.02) saturate(.75) !important;
}

html[data-bs-theme="dark"] .edge-tab {
  color: #fff !important;
}

html[data-bs-theme="dark"] .edge-tab--kontakt {
  background: #1f1a17 !important;
}

html[data-bs-theme="dark"] .edge-tab--sprechzeiten {
  background: var(--accent) !important;
  color: #171717 !important;
}

html[data-bs-theme="dark"] .footer-col h3,
html[data-bs-theme="dark"] .footer-col a,
html[data-bs-theme="dark"] .footer-col p,
html[data-bs-theme="dark"] .footer-col strong,
html[data-bs-theme="dark"] .footer-col span {
  color: var(--footer-text) !important;
}

html[data-bs-theme="dark"] .footer-col a:hover {
  color: var(--footer-muted) !important;
}


/* v10.57.4 Gesundheitsnetz / Leistungsspektrum / EKG-Anpassungen */
.side-note--healthnet {
  display: flex;
  align-items: center;
  min-height: 248px;
  padding-left: 3.2rem;
}

.side-note--healthnet::before {
  top: 0;
  bottom: 0;
}

.healthnet-member {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  max-width: 320px;
}

.healthnet-member-label {
  display: block;
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
}

.healthnet-member-logo {
  display: block;
  width: min(100%, 280px);
  height: auto;
}

.section-ekg-divider--after-services {
  margin-top: 1.25rem;
  margin-bottom: 2.1rem;
}

@media (min-width: 992px) {
  .intro-section .content-grid {
    align-items: center;
  }

  .side-note--healthnet {
    min-height: 280px;
  }

  .healthnet-member-logo {
    width: min(100%, 300px);
  }

  .section-ekg-divider--after-services {
    margin-top: 1.5rem;
    margin-bottom: 2.6rem;
  }
}

@media (max-width: 991.98px) {
  .side-note--healthnet {
    min-height: 0;
    padding-left: 2.35rem;
    margin-top: 1rem;
  }

  .healthnet-member {
    max-width: 280px;
  }
}

@media (max-width: 767.98px) {
  .side-note--healthnet {
    padding-left: 2rem;
    margin-top: .75rem;
  }

  .healthnet-member-logo {
    width: min(100%, 250px);
  }

  .section-ekg-divider--after-services {
    margin-top: .85rem;
    margin-bottom: 1.7rem;
  }
}

html[data-bs-theme="dark"] .healthnet-member-label {
  color: var(--text);
}


/* v10.57.5 Gesundheitsnetz ohne Text + EKG-Balkenfarbe angepasst */
.healthnet-member {
  gap: 0 !important;
}

.healthnet-member-logo {
  width: min(100%, 300px);
  margin: 0;
}

.section-ekg-divider--after-services {
  margin-top: 1.05rem !important;
  margin-bottom: 1.9rem !important;
}

.section-ekg-divider--after-services .section-ekg-divider-line::before {
  background: #F7F6F2 !important;
  box-shadow: 0 0 12px rgba(247, 246, 242, 0.55) !important;
}

@media (min-width: 992px) {
  .section-ekg-divider--after-services {
    margin-top: 1.15rem !important;
    margin-bottom: 2.2rem !important;
  }
}

@media (max-width: 991.98px) {
  .section-ekg-divider--after-services {
    margin-top: .95rem !important;
    margin-bottom: 1.7rem !important;
  }
}

@media (max-width: 767.98px) {
  .section-ekg-divider--after-services {
    margin-top: .7rem !important;
    margin-bottom: 1.45rem !important;
  }

  .healthnet-member-logo {
    width: min(100%, 235px);
  }
}


/* v10.57.6 Leistungsspektrum + EKG-Hintergrund/Abstand feinjustiert */
.section-ekg-divider--after-services .section-ekg-divider-line {
  background-color: #F7F6F2 !important;
}

.section-ekg-divider--after-services {
  margin-top: 1.05rem !important;
  margin-bottom: 1.05rem !important;
}

@media (min-width: 992px) {
  .section-ekg-divider--after-services {
    margin-top: 1.15rem !important;
    margin-bottom: 1.15rem !important;
  }
}

@media (max-width: 991.98px) {
  .section-ekg-divider--after-services {
    margin-top: .95rem !important;
    margin-bottom: .95rem !important;
  }
}

@media (max-width: 767.98px) {
  .section-ekg-divider--after-services {
    margin-top: .7rem !important;
    margin-bottom: .7rem !important;
  }
}


/* v10.57.7 Leistungsbereich + EKG ohne Trennspalt, mit 50px Hintergrund unter der Linie */
#leistungen.light-section {
  padding-bottom: 0 !important;
}

.section-ekg-divider--after-services {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 50px !important;
  background: #F7F6F2 !important;
}

.section-ekg-divider--after-services .section-ekg-divider-line {
  background-color: #F7F6F2 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.section-ekg-divider--after-services::before,
.section-ekg-divider--after-services::after {
  display: none !important;
}

@media (max-width: 991.98px) {
  .section-ekg-divider--after-services {
    padding-bottom: 50px !important;
  }
}

html[data-bs-theme="dark"] .section-ekg-divider--after-services,
html[data-bs-theme="dark"] .section-ekg-divider--after-services .section-ekg-divider-line {
  background: #F7F6F2 !important;
}


/* v10.57.8 Zusätzlich 50px Abstand VOR der EKG-Linie */
.section-ekg-divider--after-services {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

@media (max-width: 991.98px) {
  .section-ekg-divider--after-services {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}


/* v10.57.9 Typografie und Topbar */
.section-head h1,
.section-head h2,
.sprechzeiten-head h2,
.quality-section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem) !important;
  line-height: 1.18 !important;
}

#aktuelles .section-head.narrow {
  max-width: 680px !important;
}

#aktuelles .section-head h1 {
  font-size: clamp(1.85rem, 3.1vw, 2.55rem) !important;
  line-height: 1.2 !important;
}

.main-copy p,
.signature {
  font-size: 1.12rem !important;
  line-height: 1.9 !important;
}

@media (max-width: 991.98px) {
  #aktuelles .section-head h1 {
    font-size: clamp(1.7rem, 6vw, 2.2rem) !important;
  }

  .main-copy p,
  .signature {
    font-size: 1.06rem !important;
    line-height: 1.8 !important;
  }
}

.topbar-textsize {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.textsize-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--text-soft);
  cursor: pointer;
}

.textsize-toggle:hover,
.textsize-toggle:focus-visible {
  color: var(--accent-dark);
}

.topbar-separator {
  color: var(--line-strong);
}

.contrast-toggle {
  display: none !important;
}

/* legal pages richer formatting */
.legal-page h2 {
  margin-top: 2rem;
  margin-bottom: .75rem;
  font-size: 1.35rem;
  line-height: 1.28;
}

.legal-page h3 {
  margin-top: 1.2rem;
  margin-bottom: .55rem;
  font-size: 1.08rem;
  line-height: 1.35;
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.7;
}

.legal-page ul {
  margin: .35rem 0 1rem 1.15rem;
  padding: 0;
}

.legal-page li + li {
  margin-top: .25rem;
}


/* v10.57.10 Kompaktes Textsymbol rechts oben + H1 nach Section-Kicker */
.topbar-right {
  margin-left: auto;
}

.topbar-textsize-compact {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  margin-left: .45rem;
}

.textsize-aa-badge {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: .12rem;
  min-width: 42px;
  height: 28px;
  padding: 0 .45rem;
  border-radius: 0;
  background: linear-gradient(135deg, #b0a521 0 52%, #2f211b 52% 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
  line-height: 1;
}

.textsize-aa-badge .aa-small {
  font-size: .8rem;
  font-weight: 700;
  transform: translateY(-1px);
}

.textsize-aa-badge .aa-large {
  font-size: 1.22rem;
  font-weight: 700;
}

.textsize-toggle {
  min-width: 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-soft);
  padding: 0;
  border-radius: 0;
  font-size: 1rem;
  line-height: 1;
}

.textsize-toggle:hover,
.textsize-toggle:focus-visible {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.section-head > h1,
.sprechzeiten-head > h1,
.contact-hero-head > h1,
.left-aligned > h1 {
  font-size: clamp(2rem, 3.4vw, 2.75rem) !important;
  line-height: 1.18 !important;
  margin: 0;
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--text);
}

#aktuelles .section-head.narrow > h1 {
  font-size: clamp(1.85rem, 3.1vw, 2.55rem) !important;
  line-height: 1.2 !important;
}

@media (max-width: 991.98px) {
  .topbar-right {
    gap: .75rem;
  }

  .textsize-aa-badge {
    min-width: 38px;
    height: 26px;
    padding: 0 .35rem;
  }

  .textsize-aa-badge .aa-small {
    font-size: .74rem;
  }

  .textsize-aa-badge .aa-large {
    font-size: 1.1rem;
  }

  .textsize-toggle {
    min-width: 26px;
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 767.98px) {
  .topbar-left {
    display: none;
  }

  .topbar-inner {
    justify-content: flex-end;
  }

  .topbar-right {
    width: 100%;
    justify-content: flex-end;
    gap: .5rem;
  }

  .topbar-action:not(.textsize-toggle) {
    display: none !important;
  }

  .topbar-textsize-compact {
    margin-left: 0;
  }

  .section-head > h1,
  .sprechzeiten-head > h1,
  .contact-hero-head > h1,
  .left-aligned > h1 {
    font-size: clamp(1.68rem, 6vw, 2.2rem) !important;
  }
}


/* v10.57.11 Rechtseiten im Hauptdesign + dynamischere Elemente */
.subpage-body .topbar {
  display: block;
}

.subpage-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(34, 28, 25, 0.05);
  backdrop-filter: blur(12px);
}

.subpage-header .header-inner.simple {
  min-height: 82px;
}

.subpage-header .brand img {
  height: 60px;
}

.back-link {
  color: var(--text-soft);
  font-weight: 600;
  transition: color .25s ease, transform .25s ease;
}
.back-link:hover {
  color: var(--accent-dark);
  transform: translateX(-2px);
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(176,165,33,.04) 100%),
    var(--bg);
}

.legal-page .narrow-copy {
  max-width: 980px;
}

.legal-page .section-head.left-aligned {
  margin-bottom: 2rem;
}

.legal-page .section-head.left-aligned h1 {
  font-size: clamp(2rem, 3.2vw, 2.7rem) !important;
  line-height: 1.15;
}

.legal-page h2 {
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
  margin-top: 2.2rem;
  margin-bottom: .9rem;
}

.legal-page h3 {
  color: var(--text);
  font-weight: 700;
}

.legal-page p,
.legal-page li {
  max-width: 92ch;
}

.legal-page ul {
  list-style: none;
  margin-left: 0;
}
.legal-page li {
  position: relative;
  padding-left: 1rem;
}
.legal-page li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.compact-footer .footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-footer .footer-col {
  min-width: 0;
}

.compact-footer .footer-col p,
.compact-footer .footer-col a,
.compact-footer .footer-col li {
  font-size: .98rem;
  line-height: 1.7;
}

.reveal-soft {
  transition-duration: .95s !important;
}

.reveal:nth-child(1),
.reveal-soft:nth-child(1) { transition-delay: .02s; }
.reveal:nth-child(2),
.reveal-soft:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3),
.reveal-soft:nth-child(3) { transition-delay: .10s; }
.reveal:nth-child(4),
.reveal-soft:nth-child(4) { transition-delay: .14s; }
.reveal:nth-child(5),
.reveal-soft:nth-child(5) { transition-delay: .18s; }
.reveal:nth-child(6),
.reveal-soft:nth-child(6) { transition-delay: .22s; }

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(2px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.22,.61,.36,1), filter .85s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
  filter: blur(0);
}

.service-item,
.sprechzeiten-status,
.sprechzeiten-note-box,
.sprechzeiten-times div,
.sprechzeiten-acute,
.contact-fade-panel,
.footer-col,
.healthnet-member-logo,
.panel-map-static-link,
.calendar-status-rich,
.praxis-info-dialog {
  transition:
    transform .34s cubic-bezier(.22,.61,.36,1),
    box-shadow .34s ease,
    background .34s ease,
    border-color .34s ease,
    opacity .34s ease;
}

.service-item:hover,
.sprechzeiten-status:hover,
.sprechzeiten-note-box:hover,
.sprechzeiten-acute:hover,
.footer-col:hover {
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .compact-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-page .narrow-copy {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .subpage-header .header-inner.simple {
    min-height: 72px;
  }
  .subpage-header .brand img {
    height: 50px;
  }
}


/* v10.57.12 Telefonnummern, Sticky Header, WhatsApp, Cookie-Backdrop */
.phone-help-head .section-kicker,
.phone-help-head h1 {
  color: #fff !important;
}

.site-header-fixed {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1045 !important;
}

body {
  padding-top: 0;
}

.site-header + .hero-triple,
.site-header + main,
.topbar + .site-header + main,
.topbar + .site-header + .hero-triple {
  margin-top: 86px;
}

.subpage-body .site-header + main {
  margin-top: 86px;
}

@media (max-width: 991.98px) {
  .site-header + .hero-triple,
  .site-header + main,
  .topbar + .site-header + main,
  .topbar + .site-header + .hero-triple,
  .subpage-body .site-header + main {
    margin-top: 76px;
  }
}

/* stronger fly-in for service items */
.service-item.reveal-service {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(.985);
  filter: blur(2px);
}
.service-item.reveal-service.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}
.service-list .service-item:nth-child(1) { transition-delay: .02s; }
.service-list .service-item:nth-child(2) { transition-delay: .05s; }
.service-list .service-item:nth-child(3) { transition-delay: .08s; }
.service-list .service-item:nth-child(4) { transition-delay: .11s; }
.service-list .service-item:nth-child(5) { transition-delay: .14s; }
.service-list .service-item:nth-child(6) { transition-delay: .17s; }
.service-list .service-item:nth-child(7) { transition-delay: .20s; }
.service-list .service-item:nth-child(8) { transition-delay: .23s; }
.service-list .service-item:nth-child(9) { transition-delay: .26s; }
.service-list .service-item:nth-child(10) { transition-delay: .29s; }
.service-list .service-item:nth-child(11) { transition-delay: .32s; }
.service-list .service-item:nth-child(12) { transition-delay: .35s; }
.service-list .service-item:nth-child(13) { transition-delay: .38s; }

.contact-overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.contact-panel-link-icon--whatsapp span:last-child,
.footer-col a[href*="whatsapp.com/channel"] {
  font-weight: 600;
}

.modal-backdrop.show,
.preloader-cookie-backdrop {
  opacity: .58 !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background: rgba(22,22,22,.52) !important;
}

#cookieSettingsModal .modal-content,
.cookie-banner {
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}


/* v10.57.13 – Topbar/Header, Rufnummern weiß, WhatsApp, Textgrößen-Dock */
.site-header-fixed {
  position: sticky !important;
  top: 0 !important;
  left: auto;
  right: auto;
  width: 100%;
  z-index: 1038 !important;
}

.topline + .topbar + .site-header,
.topbar + .site-header {
  margin-top: 0 !important;
}

.site-header + .hero-triple,
.site-header + main,
.topbar + .site-header + main,
.topbar + .site-header + .hero-triple,
.subpage-body .site-header + main {
  margin-top: 0 !important;
}

.topbar {
  position: relative;
  z-index: 1039;
  margin-bottom: 0 !important;
  border-bottom: 0;
}

.site-header {
  margin-top: 0 !important;
}

.topbar-inner {
  min-height: 36px;
}

.emergency-section-white,
.emergency-section-white .section-kicker,
.emergency-section-white h1,
.emergency-section-white h2,
.emergency-section-white h3,
.emergency-section-white p,
.emergency-section-white span,
.emergency-section-white strong,
.emergency-section-white li,
.emergency-section-white a {
  color: #ffffff !important;
}

.emergency-section-white .number-lines div {
  border-bottom-color: rgba(255,255,255,.22);
}

.emergency-section-white .number-lines strong {
  color: #ffffff !important;
}

.contact-panel-link-icon--whatsapp span:last-child,
.contact-overlay-actions a[href*="whatsapp.com/channel"] span,
.footer-contact-links a[href*="whatsapp.com/channel"] {
  font-weight: 600;
}

.contact-overlay-actions a[href*="whatsapp.com/channel"] {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.footer-mini-icon-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
}

.textsize-dock {
  position: fixed;
  right: 0;
  top: 186px;
  z-index: 1033;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.textsize-dock-btn {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform .22s ease, filter .22s ease, background .22s ease, color .22s ease;
  box-shadow: var(--shadow);
}

.textsize-dock-btn:hover {
  transform: translateX(-2px);
  filter: brightness(1.04);
}

.textsize-dock-btn--minus {
  background: #b0a521;
  color: #4b392d;
  font-size: 1.7rem;
  font-weight: 700;
}

.textsize-dock-btn--reset {
  background: linear-gradient(135deg, #b0a521 0 50%, #4b392d 50% 100%);
  color: #fff;
}

.textsize-dock-aa {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1;
}

.textsize-dock-btn--plus {
  background: #4b392d;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .textsize-dock {
    top: 154px;
  }
  .textsize-dock-btn {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }
}

@media (max-width: 575.98px) {
  .textsize-dock {
    top: auto;
    bottom: 8.9rem;
    gap: .4rem;
  }
}

.topbar-textsize,
.topbar-textsize-compact {
  display: none !important;
}


/* v10.57.14 Topbar scrollt weg, Header bleibt fix oben */
html, body {
  overflow-x: hidden;
}

.topline {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 1060 !important;
  height: 5px !important;
}

.topbar-header-scroll-layout .topbar {
  position: sticky !important;
  top: 5px !important;
  z-index: 1046 !important;
  transition: transform .28s ease, opacity .22s ease;
}

.topbar-header-scroll-layout .site-header,
.topbar-header-scroll-layout .site-header-fixed {
  position: sticky !important;
  top: 37px !important;
  z-index: 1045 !important;
  box-shadow: none;
  transition: top .28s ease, box-shadow .28s ease, background .28s ease;
}

.topbar-header-scroll-layout.scrolled-past-topbar .topbar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.topbar-header-scroll-layout.scrolled-past-topbar .site-header,
.topbar-header-scroll-layout.scrolled-past-topbar .site-header-fixed {
  top: 5px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.topbar-header-scroll-layout .site-header + .hero-triple,
.topbar-header-scroll-layout .site-header + main,
.topbar-header-scroll-layout .topbar + .site-header + main,
.topbar-header-scroll-layout .topbar + .site-header + .hero-triple,
.topbar-header-scroll-layout.subpage-body .site-header + main {
  margin-top: 0 !important;
}

.topbar-header-scroll-layout .hero-triple-section,
.topbar-header-scroll-layout main {
  padding-top: 0;
}

@media (max-width: 991.98px) {
  .topbar-header-scroll-layout .topbar {
    top: 5px !important;
  }
  .topbar-header-scroll-layout .site-header,
  .topbar-header-scroll-layout .site-header-fixed {
    top: 37px !important;
  }
  .topbar-header-scroll-layout.scrolled-past-topbar .site-header,
  .topbar-header-scroll-layout.scrolled-past-topbar .site-header-fixed {
    top: 5px !important;
  }
}


/* v10.57.15 Header fix unter grüner Linie + Rufnummern ohne Hintergrundfarbe */
.topbar-header-scroll-layout .topbar {
  position: fixed !important;
  top: 5px !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1048 !important;
  transform: translateY(0);
  opacity: 1;
  will-change: transform, opacity;
}

.topbar-header-scroll-layout .site-header,
.topbar-header-scroll-layout .site-header-fixed {
  position: fixed !important;
  top: calc(5px + 36px) !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1047 !important;
  will-change: top, box-shadow;
}

.topbar-header-scroll-layout.scrolled-past-topbar .topbar {
  transform: translateY(calc(-100% - 5px));
  opacity: 0;
  pointer-events: none;
}

.topbar-header-scroll-layout.scrolled-past-topbar .site-header,
.topbar-header-scroll-layout.scrolled-past-topbar .site-header-fixed {
  top: 5px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.topbar-header-scroll-layout .hero-triple-section {
  margin-top: calc(5px + 36px + 80px) !important;
}

.topbar-header-scroll-layout main {
  margin-top: calc(5px + 36px + 80px) !important;
}

.topbar-header-scroll-layout .hero-triple-section + main,
.topbar-header-scroll-layout .site-header + main,
.topbar-header-scroll-layout .topbar + .site-header + main,
.topbar-header-scroll-layout .topbar + .site-header + .hero-triple,
.topbar-header-scroll-layout.subpage-body .site-header + main {
  margin-top: 0 !important;
}

@media (max-width: 991.98px) {
  .topbar-header-scroll-layout .site-header,
  .topbar-header-scroll-layout .site-header-fixed {
    top: calc(5px + 36px) !important;
  }

  .topbar-header-scroll-layout .hero-triple-section,
  .topbar-header-scroll-layout main {
    margin-top: calc(5px + 36px + 72px) !important;
  }
}

.emergency-section-clear {
  background: transparent !important;
}

.emergency-section-clear::before,
.emergency-section-clear::after {
  display: none !important;
}

.emergency-section-clear .container {
  position: relative;
  z-index: 2;
}

.emergency-section-clear .section-head,
.emergency-section-clear .number-lines {
  background: transparent !important;
}

.emergency-section {
  min-height: 50px;
}

.emergency-section .section-parallax-bg,
.emergency-section [data-parallax-bg],
.emergency-section {
  background-size: cover !important;
  background-position: center center !important;
}

@media (min-width: 992px) {
  .emergency-section {
    min-height: calc(100% + 50px);
  }
}


/* v10.57.16 Header scrollt 24px nach oben und bleibt dann fix direkt unter grüner Linie */
.topbar-header-scroll-layout .site-header,
.topbar-header-scroll-layout .site-header-fixed {
  top: calc(5px + 36px - 24px) !important;
}

.topbar-header-scroll-layout .hero-triple-section,
.topbar-header-scroll-layout main {
  margin-top: calc(5px + 36px + 80px - 24px) !important;
}

@media (max-width: 991.98px) {
  .topbar-header-scroll-layout .site-header,
  .topbar-header-scroll-layout .site-header-fixed {
    top: calc(5px + 36px - 24px) !important;
  }

  .topbar-header-scroll-layout .hero-triple-section,
  .topbar-header-scroll-layout main {
    margin-top: calc(5px + 36px + 72px - 24px) !important;
  }
}

.topbar-header-scroll-layout.scrolled-past-topbar .site-header,
.topbar-header-scroll-layout.scrolled-past-topbar .site-header-fixed {
  top: 5px !important;
}


/* v10.57.17 Gap 0px, stärkerer Schatten, rechte Text-Icons wie linke Reiter, Rufnummern wie v57-14 */
.topbar-header-scroll-layout .site-header,
.topbar-header-scroll-layout .site-header-fixed {
  top: calc(5px + 36px - 29px) !important;
}

.topbar-header-scroll-layout .hero-triple-section,
.topbar-header-scroll-layout main {
  margin-top: calc(5px + 36px + 80px - 29px) !important;
}

@media (max-width: 991.98px) {
  .topbar-header-scroll-layout .site-header,
  .topbar-header-scroll-layout .site-header-fixed {
    top: calc(5px + 36px - 29px) !important;
  }

  .topbar-header-scroll-layout .hero-triple-section,
  .topbar-header-scroll-layout main {
    margin-top: calc(5px + 36px + 72px - 29px) !important;
  }
}

.topbar-header-scroll-layout.scrolled-past-topbar .site-header,
.topbar-header-scroll-layout.scrolled-past-topbar .site-header-fixed,
.site-header.is-scrolled {
  top: 5px !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.18) !important;
}

.textsize-dock {
  gap: .45rem;
}

.textsize-dock-btn {
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  padding: 1.05rem .8rem !important;
  border-radius: 0 !important;
  box-shadow: var(--shadow);
  font-size: .75rem !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.textsize-dock-btn--minus,
.textsize-dock-btn--plus,
.textsize-dock-btn--reset {
  writing-mode: initial !important;
  transform: none !important;
}

.textsize-dock-btn--minus {
  background: #b0a521 !important;
  color: #2f211b !important;
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.textsize-dock-btn--reset {
  background: linear-gradient(135deg, #b0a521 0 50%, #2f211b 50% 100%) !important;
  color: #fff !important;
}

.textsize-dock-btn--plus {
  background: #2f211b !important;
  color: #fff !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.textsize-dock-aa {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  line-height: 1;
}

.textsize-dock-btn:hover,
.textsize-dock-btn:focus-visible {
  transform: translateX(-1px) !important;
}

@media (max-width: 991.98px) {
  .textsize-dock-btn {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: .9rem .55rem !important;
  }

  .textsize-dock-aa {
    font-size: 1.35rem !important;
  }
}

/* Rufnummern wieder wie v57-14 */
.phone-help-head .section-kicker,
.phone-help-head h1 {
  color: #fff !important;
}


/* left textsize dock between contact and cookie */
:root { --user-text-scale: 1; }

body.user-text-scaled p,
body.user-text-scaled li,
body.user-text-scaled span,
body.user-text-scaled a,
body.user-text-scaled strong,
body.user-text-scaled small,
body.user-text-scaled label,
body.user-text-scaled button,
body.user-text-scaled input,
body.user-text-scaled textarea,
body.user-text-scaled .nav-link,
body.user-text-scaled .section-kicker,
body.user-text-scaled h1,
body.user-text-scaled h2,
body.user-text-scaled h3 {
  font-size: calc(1em * var(--user-text-scale));
}

.textsize-dock--left {
  position: fixed !important;
  left: 0 !important;
  right: auto !important;
  z-index: 1034 !important;
  display: flex !important;
  flex-direction: column;
  gap: .45rem;
  visibility: visible !important;
  opacity: 1 !important;
}

.textsize-dock--left .textsize-dock-btn {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  border: 0;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.textsize-dock--left .textsize-dock-btn:hover,
.textsize-dock--left .textsize-dock-btn:focus-visible {
  transform: translateX(-1px);
}

.textsize-dock-btn--minus {
  background: #b0a521;
  color: #2f211b;
}
.textsize-dock-btn--plus {
  background: #2f211b;
  color: #fff;
}
.textsize-dock-btn--minus:hover,
.textsize-dock-btn--minus:focus-visible {
  background: #2f211b;
  color: #fff;
}
.textsize-dock-btn--plus:hover,
.textsize-dock-btn--plus:focus-visible {
  background: #b0a521;
  color: #fff;
}
.textsize-dock-btn span[aria-hidden="true"] {
  font-size: .8rem !important;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
}
.textsize-dock-btn--reset {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #b0a521 0 48%, #2f211b 48% 100%);
  color: #fff;
}
.textsize-dock-btn--reset::before {
  content: "A";
  position: absolute;
  left: 6px;
  bottom: 8px;
  font-size: .66rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}
.textsize-dock-btn--reset::after {
  content: "A";
  position: absolute;
  right: 5px;
  bottom: 6px;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}
.textsize-dock-aa {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  display: block !important;
}

@media (max-width: 991.98px) {
  .textsize-dock--left .textsize-dock-btn {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
  }
  .textsize-dock-btn--reset::before {
    left: 5px;
    bottom: 7px;
    font-size: .58rem;
  }
  .textsize-dock-btn--reset::after {
    right: 4px;
    bottom: 5px;
    font-size: .86rem;
  }
}


/* v10.57.17 refined – remove right dock, left dock between Kontakt and Cookie */
.textsize-dock:not(.textsize-dock--left) {
  display: none !important;
}

.edge-tab--sprechzeiten,
.edge-tab--kontakt,
.textsize-dock--left .textsize-dock-btn {
  width: 36px !important;
  min-width: 36px !important;
}

.edge-tab--sprechzeiten,
.edge-tab--kontakt {
  padding-left: .52rem !important;
  padding-right: .52rem !important;
  box-sizing: border-box;
}

.textsize-dock--left {
  position: fixed !important;
  left: 0 !important;
  right: auto !important;
  top: 260px;
  bottom: auto !important;
  z-index: 1034 !important;
  display: flex !important;
  flex-direction: column;
  gap: .45rem;
  visibility: visible !important;
  opacity: 1 !important;
}

.textsize-dock--left .textsize-dock-btn {
  height: 36px !important;
  border: 0;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

@media (max-width: 991.98px) {
  .edge-tab--sprechzeiten,
  .edge-tab--kontakt,
  .textsize-dock--left .textsize-dock-btn {
    width: 32px !important;
    min-width: 32px !important;
  }
  .textsize-dock--left .textsize-dock-btn {
    height: 32px !important;
  }
}


/* v10.57.17 refined-2 – Cookie links bündig, Textdock 30% tiefer, Tabs vor Header */
.cookie-manage-button,
#openCookieSettingsFab,
#cookie-reopen {
  left: 0 !important;
  margin-left: 0 !important;
}

.textsize-dock--left {
  left: 0 !important;
  right: auto !important;
  z-index: 1034 !important;
}

/* Offcanvas/Backdrops immer über Header, damit geöffnete linke Tabs nicht verdeckt werden */
.offcanvas,
.quick-panel,
#sprechzeitenPanel,
#kontaktPanel {
  z-index: 1085 !important;
}

.offcanvas.show,
.quick-panel.show,
#sprechzeitenPanel.show,
#kontaktPanel.show {
  z-index: 1090 !important;
}

.offcanvas-backdrop,
.offcanvas-backdrop.show {
  z-index: 1080 !important;
}

.site-header,
.site-header-fixed,
.sticky-top {
  z-index: 1030 !important;
}

.edge-actions {
  z-index: 1070 !important;
}

/* Footer Cookie-Link wie klickbarer Link */
.footer-cookie-btn,
#openCookieSettingsFooter {
  cursor: pointer;
}


/* v57 final */
.topbar,
.site-topbar{
  z-index:1045 !important;
}

.site-header,
.header,
.navbar,
.sticky-header{
  top: var(--topbar-height,48px) !important;
}

body{
  padding-top:0 !important;
}


/* v57 final-fix2: Header 36px tiefer bei sichtbarer Topbar + Dock tiefer */
:root {
  --visible-topbar-offset: 36px;
}

/* Header/Side-Header unter die Topbar setzen */
.site-header,
.site-header-fixed,
.header,
.navbar,
.sticky-header,
.subpage-header {
  top: var(--visible-topbar-offset) !important;
}

/* Falls das Layout die Topbar einklappt, darf der Header wieder nach oben */
.topbar.is-collapsed + .site-header,
.topbar.is-hidden + .site-header {
  top: 0 !important;
}

/* Schriftgrößen-Steuerung links sichtbar und sehr tief positionierbar */
.textsize-dock--left {
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1034 !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* v57 reworked verified: verbindliche End-Overrides */
body.topbar-header-scroll-layout .topbar {
  position: fixed !important;
  top: 5px !important;
  left: 0 !important;
  right: 0 !important;
  min-height: 36px !important;
  z-index: 1048 !important;
}

body.topbar-header-scroll-layout .site-header,
body.topbar-header-scroll-layout .site-header-fixed {
  position: fixed !important;
  top: calc(5px + 36px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1047 !important;
}

body.topbar-header-scroll-layout.scrolled-past-topbar .site-header,
body.topbar-header-scroll-layout.scrolled-past-topbar .site-header-fixed {
  top: 5px !important;
}

/* Inhalt um echte Topbar + Headerhöhe nach unten schieben */
body.topbar-header-scroll-layout main {
  margin-top: calc(5px + 36px + 95px) !important;
}

body.topbar-header-scroll-layout .hero-triple-section {
  margin-top: 0 !important;
}

@media (max-width: 991.98px) {
  body.topbar-header-scroll-layout main {
    margin-top: calc(5px + 36px + 88px) !important;
  }
}

@media (max-width: 767.98px) {
  body.topbar-header-scroll-layout .topbar {
    display: none !important;
  }

  body.topbar-header-scroll-layout .site-header,
  body.topbar-header-scroll-layout .site-header-fixed {
    top: 5px !important;
  }

  body.topbar-header-scroll-layout main {
    margin-top: calc(5px + 82px) !important;
  }
}

/* Textsize-Dock links: keine rechte Variante, feste linke Achse */
.textsize-dock:not(.textsize-dock--left) {
  display: none !important;
}

.textsize-dock--left {
  position: fixed !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1034 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .45rem !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Cookie-Button wirklich bündig links */
.cookie-manage-button,
#openCookieSettingsFab,
#cookie-reopen {
  left: 0 !important;
  margin-left: 0 !important;
}

/* Linke Reiter weiterhin vor Header/Panel */
.edge-actions {
  z-index: 1070 !important;
}

.offcanvas,
.quick-panel,
#sprechzeitenPanel,
#kontaktPanel {
  z-index: 1090 !important;
}

.offcanvas-backdrop,
.offcanvas-backdrop.show {
  z-index: 1080 !important;
}


/* v57 final: Textsize-Dock außerhalb edge-actions exakt links am Viewportrand */
.textsize-dock--left {
  position: fixed !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1071 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .45rem !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Kontaktbereich: WhatsApp als Textzeile unter Website, kein Button */
.contact-overlay-whatsapp-row .contact-icon-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.contact-overlay-whatsapp-row .bi-whatsapp {
  color: #25D366;
  font-size: 1.1rem;
  line-height: 1;
}

.contact-overlay-whatsapp-row a {
  color: inherit;
  text-decoration: none;
}

.contact-overlay-whatsapp-row a:hover,
.contact-overlay-whatsapp-row a:focus-visible {
  color: #8f8514;
}

/* Nur noch Google-Maps Button im Kontakt-Aktionsbereich */
.contact-overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}


/* v57 h2 Überschriften: alle Abschnittstitel sind h2, bleiben optisch wie die bisherigen großen Überschriften */
.section-head > h2,
.sprechzeiten-head > h2,
.contact-hero-head > h2,
.left-aligned > h2 {
  margin: 0 !important;
  line-height: 1.16 !important;
  font-weight: 400 !important;
  letter-spacing: -.03em !important;
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
}

#aktuelles .section-head.narrow > h2 {
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
}

.praxis-info-main h2 {
  margin: 0 0 1rem !important;
  font-size: clamp(2rem, 5vw, 3rem) !important;
  line-height: 1.08 !important;
  font-weight: 700 !important;
}

/* Kontaktbereich: WhatsApp-Zeile exakt im Stil des linken Kontakt-Reiters */
.contact-overlay-lines .contact-overlay-whatsapp-row {
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: .55rem !important;
  grid-column: 1 / -1 !important;
  color: #111111 !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-top: .05rem;
}

.contact-overlay-lines .contact-overlay-whatsapp-row .contact-svg-icon {
  transform: translateY(.08rem);
  color: #111111 !important;
}

.contact-overlay-lines .contact-overlay-whatsapp-row .contact-svg-icon svg * {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.contact-overlay-lines .contact-overlay-whatsapp-row span:last-child {
  color: #111111 !important;
}

.contact-overlay-lines .contact-overlay-whatsapp-row:hover span:last-child,
.contact-overlay-lines .contact-overlay-whatsapp-row:focus-visible span:last-child {
  color: #8f8514 !important;
}

/* Alte Bootstrap-Icon-WhatsApp-Zeile deaktivieren, falls Browsercache alte Klasse enthält */
.contact-overlay-whatsapp-row .bi-whatsapp {
  display: none !important;
}

/* Textsize-Dock bleibt exakt am linken Bildrand */
.textsize-dock--left {
  position: fixed !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1071 !important;
}


/* v57 h2 kleiner: Abschnittsüberschriften dezenter gestalten */
.section-head > h2,
.sprechzeiten-head > h2,
.contact-hero-head > h2,
.left-aligned > h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.35rem) !important;
  line-height: 1.18 !important;
  font-weight: 400 !important;
  letter-spacing: -.025em !important;
}

#aktuelles .section-head.narrow > h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem) !important;
  line-height: 1.18 !important;
}

.praxis-info-main h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem) !important;
  line-height: 1.14 !important;
}

@media (max-width: 767.98px) {
  .section-head > h2,
  .sprechzeiten-head > h2,
  .contact-hero-head > h2,
  .left-aligned > h2,
  #aktuelles .section-head.narrow > h2,
  .praxis-info-main h2 {
    font-size: clamp(1.45rem, 6vw, 2rem) !important;
    line-height: 1.2 !important;
  }
}


/* v57 Startmodal: Logo links neben Überschrift wie Referenz */
.praxis-info-dialog {
  width: min(92vw, 760px) !important;
  background: #f6f4ef !important;
  padding: 5.6rem 5.1rem 1.35rem !important;
}

.praxis-info-main {
  max-width: 500px !important;
  margin: 0 auto !important;
}

.praxis-info-title-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 0 4.15rem;
}

.praxis-info-title-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex: 0 0 76px;
}

.praxis-info-title-row #praxisInfoTitle {
  margin: 0 !important;
  color: #000 !important;
  font-size: clamp(2rem, 3.5vw, 2.7rem) !important;
  line-height: 1.18 !important;
  font-weight: 400 !important;
  letter-spacing: -.025em !important;
}

.praxis-modal-sprechzeiten-box,
.sprechzeiten-box.praxis-modal-sprechzeiten-box {
  width: 100%;
  background: #fff1f1 !important;
  border-left: 7px solid #d71f1f !important;
  padding: 1.2rem 1.35rem !important;
  box-shadow: 0 18px 34px rgba(49,35,27,.08) !important;
}

.sprechzeiten-box.praxis-modal-sprechzeiten-box.status-open {
  background: #edf8ee !important;
  border-left-color: #2e7d32 !important;
}

.sprechzeiten-box.praxis-modal-sprechzeiten-box.status-error {
  background: #eeeeee !important;
  border-left-color: #444 !important;
}

.praxis-info-actions {
  margin-top: 1.15rem !important;
}

.praxis-info-read-btn {
  min-width: 230px;
  min-height: 50px;
}

@media (max-width: 767.98px) {
  .praxis-info-dialog {
    width: min(94vw, 760px) !important;
    padding: 4.25rem 1.35rem 1.2rem !important;
  }

  .praxis-info-title-row {
    gap: 1rem;
    margin-bottom: 2.4rem;
  }

  .praxis-info-title-logo {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .praxis-info-title-row #praxisInfoTitle {
    font-size: clamp(1.55rem, 7vw, 2.05rem) !important;
  }
}


/* v57 Feinschliff: Startmodal dezenter + alle Abschnittsüberschriften ca. 5px kleiner */

/* Startseiten-Modal: weniger Abstand vor dem Logo, Überschrift dezenter */
.praxis-info-dialog {
  padding-top: 4.15rem !important;
}

.praxis-info-title-row {
  align-items: center !important;
  gap: 1.55rem !important;
  margin-bottom: 3.35rem !important;
}

.praxis-info-title-logo {
  width: 68px !important;
  height: 68px !important;
  flex-basis: 68px !important;
}

.praxis-info-title-row #praxisInfoTitle {
  font-size: clamp(1.65rem, 2.75vw, 2.25rem) !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  letter-spacing: -.018em !important;
}

/* Alle Abschnittsüberschriften nochmals ca. 5px kleiner */
.section-head > h2,
.sprechzeiten-head > h2,
.contact-hero-head > h2,
.left-aligned > h2 {
  font-size: clamp(1.25rem, 2.35vw, 2.04rem) !important;
  line-height: 1.2 !important;
}

#aktuelles .section-head.narrow > h2 {
  font-size: clamp(1.38rem, 2.55vw, 2.14rem) !important;
  line-height: 1.2 !important;
}

.praxis-info-main h2 {
  font-size: clamp(1.65rem, 2.75vw, 2.25rem) !important;
  line-height: 1.2 !important;
}

@media (max-width: 767.98px) {
  .praxis-info-dialog {
    padding-top: 3.25rem !important;
  }

  .praxis-info-title-row {
    gap: .85rem !important;
    margin-bottom: 2rem !important;
  }

  .praxis-info-title-logo {
    width: 50px !important;
    height: 50px !important;
    flex-basis: 50px !important;
  }

  .praxis-info-title-row #praxisInfoTitle,
  .praxis-info-main h2 {
    font-size: clamp(1.28rem, 5.6vw, 1.74rem) !important;
    line-height: 1.22 !important;
  }

  .section-head > h2,
  .sprechzeiten-head > h2,
  .contact-hero-head > h2,
  .left-aligned > h2,
  #aktuelles .section-head.narrow > h2 {
    font-size: clamp(1.14rem, 5vw, 1.69rem) !important;
    line-height: 1.22 !important;
  }
}


/* v57 Feinschliff Modal: Inhalte höher und mit harmonischem Randabstand */
.praxis-info-dialog {
  padding: 3.05rem 5.1rem 3.05rem !important;
}

.praxis-info-main {
  max-width: 500px !important;
  margin: 0 auto !important;
}

.praxis-info-title-row {
  margin-top: 0 !important;
  margin-bottom: 2.35rem !important;
}

.praxis-modal-sprechzeiten-box,
.sprechzeiten-box.praxis-modal-sprechzeiten-box {
  margin-top: 0 !important;
}

.praxis-info-actions {
  margin-top: 1.2rem !important;
  margin-bottom: 0 !important;
}

@media (max-width: 767.98px) {
  .praxis-info-dialog {
    padding: 2.4rem 1.25rem 2.4rem !important;
  }

  .praxis-info-title-row {
    margin-bottom: 1.75rem !important;
  }
}


/* v57 Modal Top-Feinschliff: Abstand oberhalb Logo/Überschrift deutlich reduziert */
.praxis-info-dialog {
  padding-top: .55rem !important;
  padding-bottom: 2.6rem !important;
}

.praxis-info-main {
  padding-top: 0 !important;
}

.praxis-info-title-row {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 2.1rem !important;
}

@media (max-width: 767.98px) {
  .praxis-info-dialog {
    padding-top: .65rem !important;
    padding-bottom: 2rem !important;
  }

  .praxis-info-title-row {
    margin-bottom: 1.45rem !important;
  }
}


/* v57 Feinschliff: Modal-Inhalte noch höher + Bedienelemente mit Schatten und ohne Kontur */

/* Startseiten-Modal: Abstand zur Oberkante nochmals deutlich reduzieren */
.praxis-info-dialog {
  padding-top: 0 !important;
}

.praxis-info-main {
  padding-top: 0 !important;
  margin-top: -50px !important;
}

.praxis-info-title-row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Auf sehr kleinen Displays nicht zu stark nach oben ziehen */
@media (max-width: 767.98px) {
  .praxis-info-main {
    margin-top: -30px !important;
  }
}

/* Linke Tabs, Schriftgrößensteuerung, Cookie-Button und To-Top-Button:
   Schatten ja, Kontur/Rand nein */
.edge-tab,
.edge-tab--sprechzeiten,
.edge-tab--kontakt,
.textsize-dock--left .textsize-dock-btn,
.cookie-manage-button,
#openCookieSettingsFab,
#cookie-reopen,
.back-to-top-button,
#backToTop {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.22) !important;
}

.edge-actions {
  filter: none !important;
}

.edge-tab:focus,
.edge-tab:focus-visible,
.textsize-dock--left .textsize-dock-btn:focus,
.textsize-dock--left .textsize-dock-btn:focus-visible,
.cookie-manage-button:focus,
.cookie-manage-button:focus-visible,
#openCookieSettingsFab:focus,
#openCookieSettingsFab:focus-visible,
#cookie-reopen:focus,
#cookie-reopen:focus-visible,
.back-to-top-button:focus,
.back-to-top-button:focus-visible,
#backToTop:focus,
#backToTop:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.28) !important;
}

.edge-tab:hover,
.textsize-dock--left .textsize-dock-btn:hover,
.cookie-manage-button:hover,
#openCookieSettingsFab:hover,
#cookie-reopen:hover,
.back-to-top-button:hover,
#backToTop:hover {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.28) !important;
}


/* v57 Rechtliche Unterseiten: erste Inhalte sofort sichtbar, weitere Abschnitte wie gehabt beim Scrollen */
.subpage-body .legal-page.reveal,
.subpage-body .legal-page .section-head.reveal,
.subpage-body .legal-page .narrow-copy > .reveal:nth-child(-n+6) {
  opacity: 1 !important;
  transform: none !important;
  transition-delay: 0s !important;
}

/* Der Seitenbereich selbst darf auf Impressum/Datenschutz nie komplett unsichtbar starten */
.subpage-body main.legal-page {
  opacity: 1 !important;
  transform: none !important;
}

/* Nachfolgende Rechtstext-Abschnitte erscheinen weiter sanft beim Scrollen, aber ohne lange Verzögerung */
.subpage-body .legal-page .reveal {
  transition-delay: 0s !important;
}
