/* ========================================================================== 
   Hausarztpraxis Katrin Walter
   Konsolidierte Stylesheet-Version
   ========================================================================== */

/* --------------------------------------------------------------------------
   Lokale Schrift
   Die Manrope-Dateien werden nicht mit ausgeliefert. Sie gehoeren nach
   assets/fonts/ (siehe assets/fonts/README.txt).
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Manrope";
  src: local("Manrope ExtraLight"), local("Manrope-ExtraLight"), url("../fonts/Manrope-ExtraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: local("Manrope Light"), local("Manrope-Light"), url("../fonts/Manrope-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: local("Manrope Regular"), local("Manrope-Regular"), url("../fonts/Manrope-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: local("Manrope Medium"), local("Manrope-Medium"), url("../fonts/Manrope-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: local("Manrope SemiBold"), local("Manrope-SemiBold"), url("../fonts/Manrope-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: local("Manrope Bold"), local("Manrope-Bold"), url("../fonts/Manrope-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: local("Manrope ExtraBold"), local("Manrope-ExtraBold"), url("../fonts/Manrope-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  --blue-main: rgba(0, 113, 188, 1);
  --blue-side: rgb(8, 100, 167);
  --yellow: rgba(217, 224, 33, 1);
  --orange: rgba(247, 148, 0, 1);
  --green: rgba(0, 146, 69, 1);
  --green-light: rgba(140, 198, 63, 1);
  --cyan: rgba(41, 171, 226, 1);

  --ink: #202020;
  --text: #555;
  --muted: #aaa;

  --font-main: Manrope, "Segoe UI", Arial, sans-serif;

  --sidebar-width: 320px;
  --sidebar-logo-height: 127px;
  --sidebar-emergency-height: 165px;
  --sidebar-bottom-height: 160px;

  --content-pad-left: 39px;
  --content-pad-right: 40px;
  --hero-height: 450px;

  --card-radius: 15px;
  --card-pad-y: 16px;
  --card-pad-x: 16px;
  --card-title-size: 19px;
  --card-title-gap: 14px;
  --card-body-line: 1.5;
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--blue-side);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

body.nav-open,
body.notice-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: #666;
  text-underline-offset: 2px;
}

a:hover {
  color: #333;
}

picture {
  display: block;
  max-width: 100%;
}

:where(a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0, 79, 134, .9);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

button,
input {
  font: inherit;
}

p,
li,
.info-card span,
.footer-main p,
.career-timeline p {
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.contact-copy a[href^="mailto:"],
.legal-copy a {
  overflow-wrap: anywhere;
}

.schedule-entry span,
.footer-address a,
.phone-plain a,
.emergency-number {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: fixed;
  z-index: 99999;
  top: 8px;
  left: 8px;
  transform: translateY(-140%);
  padding: 9px 13px;
  background: #fff;
  color: #111;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.skip-link:focus {
  transform: translateY(0);
}

main[tabindex="-1"]:focus {
  outline: none;
}

/* --------------------------------------------------------------------------
   Feste Desktop-Sidebar
   -------------------------------------------------------------------------- */
.site-sidebar {
  position: fixed;
  z-index: 1000;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--blue-side);
}

.sidebar-logo {
  position: relative;
  height: var(--sidebar-logo-height);
  background: #fff;
}

.sidebar-logo > a {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 210px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.sidebar-logo img {
  width: 210px;
  height: auto;
  object-fit: contain;
}

.sidebar-main {
  position: relative;
  height: calc(100vh - var(--sidebar-logo-height));
  height: calc(100dvh - var(--sidebar-logo-height));
  background: var(--blue-side);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0 0 40px;
}

.sidebar-nav a {
  display: flex;
  width: 175px;
  height: 64px;
  align-items: center;
  padding: 0 16px;
  border-radius: 6px;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: background-color .12s ease, color .12s ease;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.sidebar-nav a[aria-current="page"] {
  background: var(--yellow);
  color: #fff;
}

.sidebar-bottom {
  position: absolute;
  inset: auto 0 0;
  height: var(--sidebar-bottom-height);
  background: var(--blue-main);
}

.menu-button,
.mobile-emergency {
  display: none;
}

/* --------------------------------------------------------------------------
   Notfallnummern
   Eine einzige Definition fuer Desktop und Mobile, ohne spaetere Overrides.
   -------------------------------------------------------------------------- */
.sidebar-emergency {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: var(--sidebar-bottom-height);
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: var(--sidebar-emergency-height);
  padding: 10px 20px;
  overflow: hidden;
  background: var(--yellow);
  color: #111;
}

.emergency-item {
  min-width: 0;
}

.sidebar-emergency .emergency-item + .emergency-item {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 113, 188, .22);
}

.emergency-title {
  display: block;
  margin: 0 0 4px;
  color: #111;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
}

.emergency-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 28px;
}

.emergency-number {
  display: block;
  width: 88px;
  min-width: 88px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f00;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .02em;
  text-align: left;
  text-decoration: none;
}

.emergency-copy {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #111;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.24;
}

.emergency-number:hover,
.emergency-number:focus-visible {
  color: #d60000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Seitenrahmen und Hero
   -------------------------------------------------------------------------- */
.page-shell {
  position: relative;
  min-height: 100vh;
  margin-left: var(--sidebar-width);
  background: #fff;
}

.page-shell::before {
  content: "";
  position: fixed;
  z-index: 990;
  top: 0;
  bottom: 0;
  left: var(--sidebar-width);
  width: 14px;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, .118) 0%,
    rgba(0, 0, 0, .082) 15%,
    rgba(0, 0, 0, .051) 31%,
    rgba(0, 0, 0, .031) 46%,
    rgba(0, 0, 0, .016) 62%,
    rgba(0, 0, 0, .008) 77%,
    rgba(0, 0, 0, 0) 100%
  );
}

main {
  min-height: 0;
}

.hero {
  height: var(--hero-height);
  background: var(--blue-main);
  color: #fff;
}

.hero-legal {
  height: 78px;
}

.hero-inner {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0 var(--content-pad-right) 0 var(--content-pad-left);
}

.hero-copy {
  max-width: 820px;
}

.hero-copy h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.4px;
  text-wrap: balance;
}

.hero-copy p {
  margin: 0;
  max-width: 720px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 2;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Gemeinsame Inhaltsregeln
   -------------------------------------------------------------------------- */
.content-section {
  padding: 35px var(--content-pad-right) 48px var(--content-pad-left);
  background: #fff;
}

.content-section h1,
.content-section h2,
.content-section h3 {
  margin-top: 0;
  color: #111;
  line-height: 1.2;
  text-wrap: balance;
}

.content-section h2 {
  font-size: 25px;
}

.content-section h3 {
  font-size: 20px;
}

.content-section p {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Karten und Zeitplaene
   -------------------------------------------------------------------------- */
.html-include[data-include-state="loading"] {
  visibility: hidden;
}

.info-warning {
  grid-column: 1 / -1;
  min-height: 94px;
  padding: var(--card-pad-y) var(--card-pad-x);
  border-radius: var(--card-radius);
  background: var(--orange);
  color: #222;
}

.info-warning h3 {
  margin: 0 0 var(--card-title-gap);
  font-size: var(--card-title-size);
  font-weight: 700;
}

.info-warning p {
  margin: 0;
  font-size: 14px;
  line-height: var(--card-body-line);
}

.info-card {
  overflow: hidden;
  padding: var(--card-pad-y) var(--card-pad-x);
  border-radius: var(--card-radius);
  font-size: 14px;
  line-height: var(--card-body-line);
}

.info-card h3 {
  margin: 0 0 var(--card-title-gap);
  font-size: var(--card-title-size);
  font-weight: 700;
  line-height: 1.3;
}

.info-card p {
  margin: 0 0 12px;
  line-height: var(--card-body-line);
}

.info-card strong {
  color: inherit;
  font-weight: 700;
}

.info-card .card-subhead {
  margin: 28px 0 8px;
}

.info-card .card-note {
  max-width: 100%;
  margin: 28px 0 0;
  font-size: 14px;
  line-height: var(--card-body-line);
}

.schedule {
  display: grid;
  gap: 4px;
  margin: 0;
}

.schedule-entry {
  min-width: 0;
}

.schedule-entry strong,
.schedule-entry span {
  display: block;
}

.schedule-entry strong {
  line-height: 1.18;
}

.schedule-entry span {
  line-height: 1.28;
}

.practice-card {
  background: var(--green);
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.practice-card h3 {
  color: #fff;
}

.practice-card p,
.dog-card p {
  line-height: var(--card-body-line);
}

.hours-card {
  background: var(--green-light);
  color: #111;
}

.emergency-card {
  background: var(--yellow);
  color: #222;
}

.dog-card {
  background: var(--cyan);
  color: #fff;
}

.dog-card h3 {
  color: #fff;
}

.dog-card p {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Startseite
   -------------------------------------------------------------------------- */
.home-content {
  padding-top: 32px;
  padding-bottom: 20px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 582px;
  gap: 26px;
  align-items: start;
}

.home-copy {
  width: 430px;
  max-width: 100%;
  margin-left: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.home-copy h2 {
  margin-bottom: 37px;
  font-size: 24px;
  font-weight: 700;
}

.home-copy p {
  margin-bottom: 26px;
}

.home-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  align-items: stretch;
}

.home-info-grid .practice-card,
.home-info-grid .hours-card {
  min-height: 549px;
}

.home-info-grid .emergency-card,
.home-info-grid .dog-card {
  min-height: 350px;
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team-content {
  padding: 58px var(--content-pad-right) 58px 38px;
}

.person-row {
  display: grid;
  grid-template-columns: 419px minmax(0, 1fr);
  gap: 84px;
  align-items: center;
}

.person-row > picture {
  width: 419px;
}

.person-row > picture > img {
  display: block;
  width: 419px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}

.silke-row > picture > img {
  height: 387px;
}

.person-text {
  max-width: 560px;
}

.person-heading {
  padding-left: 22px;
  border-left: 3px solid rgba(0, 113, 188, .16);
}

.person-heading h2 {
  margin: 0 0 2px;
  font-size: 25px;
  font-weight: 400;
}

.person-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.35;
}

.team-intro .person-heading {
  margin-bottom: 26px;
}

.person-text p {
  font-size: 16px;
  line-height: 1.45;
}

.person-facts {
  display: grid;
  gap: 2px;
  margin: 0;
}

.person-facts span {
  display: block;
}

/* Abstand nach dem Lebenslauf gehoert bewusst zur Career-Komponente.
   Dadurch kann die folgende Team-Ueberschrift nicht durch Margin-Collapsing
   oder spaetere Heading-Regeln wieder an den letzten Eintrag rutschen. */
.career {
  max-width: 1010px;
  margin: 76px 0 68px;
  color: #555;
  font-size: 16px;
}

.career h3 {
  margin: 0 0 30px;
  font-size: 20px;
  font-weight: 700;
}

.career-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}

.career-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 9px;
  left: 6px;
  width: 2px;
  border-radius: 999px;
  background: #d8e8f3;
}

.career-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 23px;
}

.career-timeline li:last-child {
  padding-bottom: 0;
}

.career-timeline li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -27px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue-main);
  box-shadow: 0 0 0 2px #d8e8f3;
}

.career-timeline time {
  display: inline-flex;
  width: max-content;
  max-width: 112px;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 113, 188, .07);
  color: var(--blue-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.career-timeline p {
  max-width: 820px;
  margin: 3px 0 0;
  color: #555;
  font-size: 16px;
  line-height: 1.48;
}

.team-overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  color: #111;
  font-size: 20px;
  font-weight: 700;
}

.team-overline::before {
  content: "";
  width: 4px;
  height: 24px;
  flex: 0 0 4px;
  border-radius: 999px;
  background: var(--yellow);
}

.team-member {
  margin-bottom: 60px;
  padding-top: 8px;
}

.team-member + .team-member {
  margin-top: 18px;
  padding-top: 48px;
  border-top: 1px solid #e9edf0;
}

.team-member .person-text {
  align-self: center;
  max-width: 520px;
}

.team-member .person-subtitle {
  max-width: 520px;
}

/* --------------------------------------------------------------------------
   Leistungen
   -------------------------------------------------------------------------- */
.services-content {
  padding-top: 30px;
  padding-bottom: 45px;
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 582px;
  gap: 26px;
  align-items: start;
}

.services-copy {
  max-width: 610px;
  color: #555;
  font-size: 16px;
  line-height: 1.48;
}

.services-copy h2 {
  margin: 9px 0 35px;
  color: #111;
  font-size: 24px;
}

.services-copy ul {
  margin: 0 0 30px;
  padding: 0 8px 0 32px;
  list-style-type: circle;
}

.services-copy li {
  margin: 0 0 2px;
  padding-left: 1px;
  line-height: 1.48;
}

.services-copy .services-subheading {
  max-width: 560px;
  margin: 34px 0 28px;
  font-size: 25px;
  line-height: 1.2;
}

.services-side {
  display: grid;
  width: 571px;
  max-width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.services-card {
  min-height: 610px;
  font-size: 16px;
  line-height: var(--card-body-line);
}

.services-card.info-card h3 {
  margin-bottom: var(--card-title-gap);
}

.services-card .card-note {
  margin-top: 28px;
  font-size: 15px;
  line-height: var(--card-body-line);
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-content {
  padding-top: 30px;
  padding-bottom: 45px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 582px;
  gap: 26px;
  align-items: start;
}

.contact-copy {
  max-width: 610px;
  color: #444;
  font-size: 16px;
  line-height: 1.48;
}

.contact-copy h2 {
  margin: 12px 0 2px;
  font-size: 24px;
}

.contact-copy h2:nth-of-type(2) {
  margin: 31px 0 29px;
}

.contact-copy p {
  margin-bottom: 25px;
  line-height: 1.48;
}

.contact-copy a:not(.contact-action) {
  color: #999;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-cards .services-card {
  min-height: 600px;
}

.contact-cards .emergency-card {
  min-height: 654px;
}

/* --------------------------------------------------------------------------
   Kontakt-Aktionen
   -------------------------------------------------------------------------- */
.contact-actions {
  display: flex;
  width: min(100%, 390px);
  gap: 14px;
  margin: 10px 0 32px;
}

.contact-action {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 8px;
  background: var(--yellow);
  color: #111;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .10);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}

.contact-action:hover {
  color: #111;
  filter: brightness(.98);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .13);
}

.contact-action:focus-visible {
  color: #111;
  outline: 3px solid rgba(0, 113, 188, .24);
  outline-offset: 3px;
}

.contact-action--primary {
  border-color: var(--blue-main);
  background: var(--blue-main);
  color: #fff;
}

.contact-action--primary:hover,
.contact-action--primary:focus-visible {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Mobile Schnellaktionen
   -------------------------------------------------------------------------- */
.mobile-quick-actions {
  display: none;
}


.error-actions {
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Karte / OpenStreetMap-Consent
   -------------------------------------------------------------------------- */
.map-consent {
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  background: #eef2f4;
}

.map-consent__preview {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.map-consent__preview > picture,
.map-consent__preview > picture > img {
  width: 100%;
  height: 300px;
}

.map-consent__preview > picture > img {
  object-fit: cover;
  filter: saturate(.75) contrast(.92);
}

.map-consent__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(255, 255, 255, .88);
  color: #222;
  text-align: center;
  backdrop-filter: blur(2px);
}

.map-consent__overlay strong {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 700;
}

.map-consent__overlay p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
}

.map-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px 14px;
}

.map-consent__load {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 5px;
  background: var(--blue-main);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.map-consent__load:hover {
  background: #075f9d;
}

.map-consent__actions a {
  color: var(--blue-main);
  font-size: 13px;
  font-weight: 600;
}

.map-consent__frame,
.map-consent__frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  background: #eef2f4;
}

.map-consent__frame[hidden],
.map-consent__preview[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Impressum / Datenschutz
   -------------------------------------------------------------------------- */
.legal-content {
  padding-top: 50px;
  padding-bottom: 38px;
}

.legal-copy {
  max-width: 760px;
  color: #555;
  font-size: 16px;
  line-height: 1.48;
}

.legal-copy h1 {
  margin: 0 0 40px;
  color: #111;
  font-size: 26px;
  font-weight: 400;
}

.legal-copy h2 {
  margin: 36px 0 12px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.legal-copy p {
  margin: 0 0 29px;
}

.legal-copy strong {
  color: #222;
}

.legal-copy a {
  color: #999;
}

.legal-note {
  padding: 15px;
  background: #f2f2f2;
}

.legal-copy code {
  padding: .08em .3em;
  border-radius: 3px;
  background: #f1f3f4;
  color: #333;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .88em;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 480px 225px;
  gap: 129px;
  justify-content: start;
  min-height: 279px;
  padding: 52px 56px 34px;
  background: var(--blue-main);
}

.footer-address {
  font-size: 16px;
  line-height: 1.42;
}

.footer-address p {
  margin: 0 0 24px;
}

.footer-address strong {
  font-size: 14px;
}

.footer-address a {
  color: #fff;
  text-decoration: none;
}

.footer-links {
  width: 225px;
}

.footer-links a {
  display: block;
  padding: 12px 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  opacity: .85;
}

.footer-bottom {
  display: flex;
  min-height: 90px;
  align-items: center;
  padding: 18px 56px;
  background: var(--blue-side);
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.footer-bottom__identity {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .38em;
}

.footer-bottom__brand-separator {
  opacity: .7;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: #fff;
  opacity: .86;
}

.footer-bottom__links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 10px;
}

.footer-bottom__separator {
  margin: 0 7px;
  opacity: .7;
}

/* --------------------------------------------------------------------------
   Cookie-/Datenschutz-Consent
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  z-index: 20000;
  right: 22px;
  bottom: 22px;
  left: calc(var(--sidebar-width) + 22px);
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #fff;
  color: #333;
  box-shadow: 0 14px 42px rgba(0, 0, 0, .24);
}

.cookie-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 22px 24px;
}

.cookie-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--blue-main);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cookie-banner h2,
.cookie-settings__head h2 {
  margin: 0 0 7px;
  color: #111;
  font-size: 21px;
  line-height: 1.2;
}

.cookie-banner p,
.cookie-settings-dialog p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner__links,
.cookie-settings__links {
  display: flex;
  gap: 16px;
  margin-top: 9px;
}

.cookie-banner__links a,
.cookie-settings__links a {
  color: var(--blue-main);
  font-size: 12px;
}

.cookie-banner__actions,
.cookie-settings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--blue-main);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-button--primary {
  background: var(--blue-main);
  color: #fff;
}

.cookie-button--primary:hover {
  background: #075f9d;
}

.cookie-button--secondary {
  border-color: #bbb;
  background: #fff;
  color: #222;
}

.cookie-button--ghost {
  background: #fff;
  color: var(--blue-main);
}

.cookie-settings-dialog {
  width: min(620px, calc(100vw - 32px));
  max-width: 620px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #333;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.cookie-settings-dialog::backdrop {
  background: rgba(0, 0, 0, .48);
}

.cookie-settings__card {
  padding: 24px;
}

.cookie-settings__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.cookie-settings__close {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 15px;
  border: 1px solid #e1e5e8;
  border-radius: 8px;
  background: #fff;
}

.cookie-option--fixed {
  background: #f6f8f9;
}

.cookie-option strong,
.cookie-option span {
  display: block;
}

.cookie-option strong {
  color: #111;
  font-size: 15px;
}

.cookie-option span {
  margin-top: 2px;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.cookie-option input {
  width: 21px;
  height: 21px;
  accent-color: var(--blue-main);
}

.cookie-settings__actions {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.footer-links [data-cookie-settings] {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Erneut-oeffnen-Button fuer aktive Praxishinweise
   -------------------------------------------------------------------------- */
.praxis-notice-trigger {
  display: inline-flex;
  width: 175px;
  height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  box-shadow: none;
  font: 700 17px/1 var(--font-main);
  text-align: left;
  cursor: pointer;
  transition: box-shadow .15s ease, transform .15s ease;
}

.praxis-notice-trigger[hidden] {
  display: none !important;
}

.praxis-notice-trigger:hover {
  background: var(--orange);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2);
}

.praxis-notice-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.praxis-notice-trigger__icon {
  display: block;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
}

.praxis-notice-trigger__text {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .praxis-notice-trigger {
    position: fixed;
    z-index: 8500;
    top: auto;
    right: 10px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    left: auto;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 0;
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
    transform: none;
  }

  .praxis-notice-trigger:hover {
    box-shadow: 0 7px 22px rgba(0, 0, 0, .24);
    transform: scale(1.04);
  }

  .praxis-notice-trigger__icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .praxis-notice-trigger__text {
    display: none;
  }

  body.nav-open .praxis-notice-trigger {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Praxis-Hinweis-Dialog
   -------------------------------------------------------------------------- */
.praxis-modal {
  position: fixed;
  inset: 0;
  width: min(1280px, calc(100vw - 48px));
  max-width: 1280px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #21333a;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .32);
}

.praxis-modal:focus {
  outline: none;
}

.praxis-modal::backdrop {
  background: rgba(0, 0, 0, .48);
}

.praxis-modal--fallback {
  z-index: 30000;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .48), 0 18px 55px rgba(0, 0, 0, .32);
}

.praxis-modal__frame {
  display: block;
  width: 100%;
  height: min(82vh, 760px);
  max-height: calc(100dvh - 32px);
  border: 0;
  background: #fff;
}

.praxis-modal__close {
  position: absolute;
  z-index: 10;
  top: 24px;
  right: 34px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  transition: transform .15s ease;
}

.praxis-modal__close:hover {
  transform: scale(1.08);
}

.praxis-modal__close:focus-visible {
  outline: 3px solid #1d759e;
  outline-offset: 3px;
}

.praxis-modal__close span,
.praxis-modal__close span::after {
  position: absolute;
  top: 26px;
  left: 9px;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.praxis-modal__close span {
  transform: rotate(45deg);
}

.praxis-modal__close span::after {
  top: 0;
  left: 0;
  transform: rotate(90deg);
}

/* --------------------------------------------------------------------------
   Inhalt des Hinweis-Iframes
   -------------------------------------------------------------------------- */
.notice-document {
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  background: #fff;
  color: #21333a;
}

.notice-document .practice-notice {
  max-width: 1280px;
  margin: 0 auto;
}

.notice-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.practice-notice {
  --notice-blue: #0071bc;
  --notice-green: #39a935;
  --notice-red: #d62b1f;
  width: 100%;
  padding: clamp(38px, 4.4vw, 58px) clamp(28px, 5.6vw, 72px) clamp(38px, 4.4vw, 58px);
  background: #fff;
}

.notice-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  margin-bottom: clamp(24px, 3.6vw, 38px);
}

.notice-motif {
  display: flex;
  flex: 0 1 175px;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.notice-motif--left {
  order: 1;
}

.notice-brand {
  order: 2;
  display: flex;
  flex: 1 1 520px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 18px);
}

.notice-motif--right {
  order: 3;
}

.notice-motif__image {
  width: 100%;
  max-width: 210px;
  max-height: 168px;
  height: auto;
  object-fit: contain;
}

.notice-motif--right .notice-motif__image {
  max-width: 215px;
  max-height: 185px;
}

.notice-brand__full-logo {
  width: clamp(210px, 31vw, 330px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.notice-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.48;
  overflow-wrap: break-word;
}

.notice-copy p {
  margin: 0 0 12px;
}

.notice-greeting,
.notice-closure,
.notice-representation__title {
  font-weight: 800;
}

.notice-closure {
  margin: clamp(25px, 3.6vw, 38px) auto;
  color: var(--notice-red);
  line-height: 1.34;
}

.notice-representation {
  margin: 0 auto clamp(24px, 3.5vw, 34px);
  color: var(--notice-blue);
}

.notice-representation__title {
  margin-bottom: 14px;
}

.notice-representative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 24px;
  align-items: start;
}

.notice-representative-grid--multiple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.notice-representation address {
  font-size: .88em;
  font-style: normal;
  line-height: 1.55;
}

.notice-representation a {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.notice-additional-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 auto clamp(22px, 3vw, 30px);
  font-size: .78em;
}

.notice-additional-info__item {
  display: grid;
  gap: 3px;
  margin: 0 !important;
  padding: 11px 14px;
  border: 1px solid rgba(0, 113, 188, .18);
  border-radius: 10px;
  background: rgba(0, 113, 188, .055);
  color: var(--notice-blue);
  line-height: 1.35;
}

.notice-additional-info__item--emergency {
  border-color: rgba(206, 40, 40, .2);
  background: rgba(206, 40, 40, .055);
  color: var(--notice-red);
}

.notice-additional-info__item span {
  font-size: .9em;
}

.notice-additional-info__item strong {
  font-weight: 800;
}

.notice-additional-info__item a {
  color: inherit;
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.notice-bottom {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr) minmax(0, 150px);
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  width: min(1080px, 100%);
  margin: 4px auto 0;
}

.notice-bottom .notice-motif {
  min-width: 0;
  flex: none;
}

.notice-bottom .notice-motif__image {
  max-width: 145px;
  max-height: 115px;
}

.notice-motif--bottom-left {
  grid-column: 1;
}

.notice-motif--bottom-right {
  grid-column: 3;
}

.notice-return {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.48;
}

/* --------------------------------------------------------------------------
   Kleiner Desktop / Notebook-Breite
   -------------------------------------------------------------------------- */
@media (min-width: 901px) and (max-width: 1300px) {
  :root {
    --sidebar-width: 260px;
    --content-pad-left: 30px;
    --content-pad-right: 30px;
  }

  .sidebar-nav {
    padding-left: 30px;
  }


  .sidebar-emergency {
    padding-right: 17px;
    padding-left: 17px;
  }

  .emergency-line {
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 9px;
  }

  .emergency-number {
    width: 84px;
    min-width: 84px;
    font-size: 22px;
  }

  .emergency-copy {
    font-size: 11px;
  }

  .person-row {
    grid-template-columns: minmax(300px, 38%) minmax(0, 1fr);
    gap: 55px;
  }

  .person-row > picture,
  .person-row > picture > img {
    width: 100%;
  }

  .person-text {
    padding-top: 0;
  }

  .services-side {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 40px;
  }

  .team-content {
    padding-right: 30px;
    padding-left: 30px;
  }
}

/* Zwischenbreite: Fliesstext nicht zwischen schmale Karten quetschen. */
@media (min-width: 901px) and (max-width: 1120px) {
  .home-grid,
  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-copy {
    width: min(640px, 100%);
    max-width: 100%;
    margin-left: 0;
  }

  .home-info-grid,
  .services-side,
  .contact-side {
    width: min(720px, 100%);
    max-width: 100%;
  }

  .services-copy,
  .contact-copy {
    max-width: 720px;
  }

  .contact-side {
    margin-top: 0;
  }

  .home-info-grid .practice-card,
  .home-info-grid .hours-card,
  .home-info-grid .emergency-card,
  .home-info-grid .dog-card,
  .services-card,
  .contact-cards .services-card,
  .contact-cards .emergency-card {
    min-height: 0;
  }
}

/* Niedrige Notebook-Fenster: Sidebar bleibt kollisionsfrei. */
@media (min-width: 901px) and (max-height: 880px) {
  :root {
    --sidebar-emergency-height: 146px;
    --sidebar-bottom-height: 84px;
  }

  .sidebar-nav {
    padding-top: 18px;
  }

  .sidebar-nav a {
    height: 46px;
  }

  .praxis-notice-trigger {
    height: 44px;
    margin-top: 8px;
  }

  .sidebar-emergency {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .sidebar-emergency .emergency-item + .emergency-item {
    margin-top: 5px;
    padding-top: 5px;
  }

  .emergency-title {
    margin-bottom: 2px;
  }
}

/* --------------------------------------------------------------------------
   Tablet / Mobile Navigation
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  :root {
    --hero-height: 300px;
  }

  body {
    background: #fff;
  }

  .site-sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    overflow: visible;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
  }

  .sidebar-logo {
    height: 84px;
  }

  .sidebar-logo > a {
    top: 7px;
    left: 16px;
    width: 170px;
    height: 70px;
    transform: none;
  }

  .sidebar-logo img {
    width: 170px;
    height: auto;
  }

  .menu-button {
    position: absolute;
    top: 20px;
    right: 18px;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: var(--blue-main);
    cursor: pointer;
  }

  .menu-button::before,
  .menu-button::after,
  .menu-button span {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    transition: transform .15s ease, opacity .15s ease;
  }

  .menu-button[aria-expanded="true"] span {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"]::before {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"]::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .sidebar-main {
    height: auto;
  }

  .sidebar-nav {
    display: none;
    padding: 8px 16px 16px;
  }

  .sidebar-nav.open {
    display: flex;
  }

  .sidebar-nav a {
    width: 100%;
    height: 50px;
    padding: 0 14px;
  }

  .sidebar-emergency,
  .sidebar-bottom {
    display: none;
  }

  .page-shell {
    margin-left: 0;
  }

  .page-shell::before {
    display: none;
  }

  .mobile-emergency {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    padding: 11px 18px 12px;
    background: var(--yellow);
    color: #111;
  }

  .mobile-emergency .emergency-item + .emergency-item {
    border-left: 1px solid rgba(0, 113, 188, .18);
    padding-left: 22px;
  }

  .mobile-emergency .emergency-line {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 10px;
  }

  .mobile-emergency .emergency-number {
    width: 88px;
    min-width: 88px;
    font-size: 23px;
  }

  .mobile-emergency .emergency-copy {
    font-size: 11.5px;
  }

  .hero {
    height: var(--hero-height);
  }

  .hero-legal {
    height: 50px;
  }

  .hero-inner {
    padding: 32px 24px;
  }

  .hero-copy h1 {
    font-size: 35px;
  }

  .hero-copy p {
    max-width: 720px;
    font-size: 20px;
    line-height: 1.55;
  }

  .content-section {
    padding: 34px 24px 45px;
  }

  .home-grid,
  .services-grid,
  .contact-grid {
    display: block;
  }

  .home-copy {
    width: auto;
    max-width: 620px;
    margin: 0 0 35px;
  }

  .home-info-grid {
    max-width: 650px;
    margin: 0 auto;
  }

  .home-info-grid .practice-card,
  .home-info-grid .hours-card,
  .home-info-grid .emergency-card,
  .home-info-grid .dog-card,
  .services-card,
  .contact-cards .services-card,
  .contact-cards .emergency-card {
    min-height: 0;
  }

  .person-row {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 35px;
  }

  .person-row > picture,
  .person-row > picture > img {
    width: 100%;
    height: auto;
  }

  .person-text {
    max-width: 100%;
  }

  .career {
    margin-top: 58px;
  }

  .services-copy,
  .contact-copy {
    max-width: 680px;
  }

  .services-side {
    width: 100%;
    margin-top: 38px;
  }

  .contact-side {
    margin-top: 38px;
  }


  .footer-main {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 50px;
    min-height: 260px;
    padding: 42px 28px;
  }

  .footer-bottom {
    min-height: 70px;
    padding: 18px 28px;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .cookie-banner__content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Smartphone
   -------------------------------------------------------------------------- */
@media (max-width: 620px) {
  :root {
    --hero-height: 240px;
  }

  .sidebar-logo {
    height: 78px;
  }

  .sidebar-logo > a {
    top: 7px;
    width: 158px;
    height: 64px;
  }

  .sidebar-logo img {
    width: 158px;
    height: auto;
  }

  .menu-button {
    top: 17px;
  }

  .mobile-emergency {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .mobile-emergency .emergency-item {
    padding: 11px 18px 12px;
  }

  .mobile-emergency .emergency-item + .emergency-item {
    border-top: 1px solid rgba(0, 113, 188, .18);
    border-left: 0;
    padding-left: 18px;
  }

  .hero-inner {
    padding: 24px 20px;
  }

  .hero-copy h1 {
    margin-bottom: 16px;
    font-size: 31px;
  }

  .hero-copy p {
    max-width: none;
    font-size: 18px;
  }

  .content-section {
    padding: 30px 20px 40px;
  }

  .home-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .info-warning {
    grid-column: auto;
  }

  .info-card {
    padding: 18px 17px 20px;
  }

  .info-card .card-note {
    margin-top: 26px;
  }

  .person-row {
    display: block;
  }

  .person-row > picture {
    max-width: 419px;
    margin: 0 auto 28px;
  }

  .person-row > picture > img {
    width: 100%;
    height: auto;
  }

  .person-text,
  .team-member .person-text {
    max-width: 419px;
    margin-right: auto;
    margin-left: auto;
  }

  .person-heading {
    padding-left: 16px;
  }

  .team-intro .person-heading {
    margin-bottom: 28px;
  }

  .person-text h2 {
    font-size: 24px;
  }

  .career {
    margin: 52px 0 64px;
  }

  .career h3 {
    margin-bottom: 24px;
  }

  .career-timeline {
    padding-left: 25px;
  }

  .career-timeline::before {
    left: 5px;
  }

  .career-timeline li {
    display: block;
    padding: 0 0 25px;
  }

  .career-timeline li::before {
    top: 7px;
    left: -25px;
  }

  .career-timeline time {
    margin-bottom: 7px;
    white-space: normal;
  }

  .career-timeline p {
    margin-top: 0;
    font-size: 15px;
  }

  .career-timeline li:last-child {
    padding-bottom: 0;
  }

  .team-member,
  .team-member + .team-member {
    border-top: 0;
  }

  .team-member + .team-member {
    margin-top: 18px;
    padding-top: 42px;
    border-top: 1px solid #eee;
  }

  .services-copy,
  .contact-copy {
    max-width: none;
  }

  .services-copy ul {
    padding-right: 0;
    padding-left: 24px;
  }

  .services-copy .services-subheading {
    max-width: none;
    font-size: 22px;
  }

  .services-side,
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-side {
    gap: 22px;
  }

  .map-consent,
  .map-consent__preview,
  .map-consent__preview > picture,
  .map-consent__preview > picture > img {
    min-height: 300px;
    height: 300px;
  }

  .map-consent__frame,
  .map-consent__frame iframe {
    height: 340px;
  }

  .legal-content {
    padding-top: 35px;
  }

  .legal-copy h1 {
    margin-bottom: 30px;
    font-size: 25px;
  }

  .footer-main {
    display: block;
    padding: 36px 24px;
  }

  .footer-links {
    width: 100%;
    margin-top: 30px;
  }

  .footer-bottom {
    display: block;
    min-height: 64px;
    padding: 18px 24px;
  }

  .footer-bottom__links {
    display: flex;
    width: 100%;
    gap: 6px 12px;
    margin: 8px 0 0;
  }

  .footer-bottom__separator {
    display: none;
  }

  .footer-bottom__links a {
    display: inline;
    margin: 0;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .mobile-quick-actions {
    position: fixed;
    z-index: 9000;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .12);
    backdrop-filter: blur(8px);
  }

  .mobile-quick-actions a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
  }

  .mobile-quick-actions__call {
    background: var(--blue-main);
    color: #fff;
  }

  .mobile-quick-actions__booking {
    background: var(--yellow);
    color: #111;
  }

  .mobile-quick-actions a:hover,
  .mobile-quick-actions a:focus-visible {
    filter: brightness(.96);
  }

  body.nav-open .mobile-quick-actions,
  body.notice-open .mobile-quick-actions {
    display: none;
  }

  .cookie-banner {
    right: 8px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    left: 8px;
    border-radius: 9px;
  }

  .cookie-banner__content {
    padding: 17px;
  }

  .cookie-banner h2 {
    font-size: 19px;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .cookie-banner__actions .cookie-button--primary {
    grid-column: 1 / -1;
    order: -1;
  }

  .cookie-button {
    width: 100%;
  }

  .cookie-settings__card {
    padding: 18px;
  }

  .cookie-settings__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .praxis-modal {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 12px;
  }

  .praxis-modal__frame {
    max-height: calc(100dvh - 20px);
  }

  .praxis-modal__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  }

  .praxis-modal__close span {
    top: 50%;
    left: 50%;
    width: 22px;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .praxis-modal__close span::after {
    top: 0;
    left: 0;
    width: 22px;
  }

  .practice-notice {
    padding: 20px 14px 26px;
  }

  .notice-top {
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 18px;
  }

  .notice-brand {
    order: 1;
    flex: 0 0 100%;
    justify-content: flex-start;
    padding: 0 44px 0 0;
  }

  .notice-motif--left,
  .notice-motif--right {
    flex: 1 1 calc(50% - 9px);
  }

  .notice-motif--left {
    order: 2;
  }

  .notice-motif--right {
    order: 3;
  }

  .notice-brand__full-logo {
    width: min(230px, calc(100vw - 76px));
  }

  .notice-motif__image {
    width: auto;
    max-width: 118px;
    max-height: 84px;
  }

  .notice-motif--right .notice-motif__image {
    max-width: 112px;
    max-height: 92px;
  }

  .notice-copy {
    font-size: 16px;
    line-height: 1.46;
  }

  .notice-copy p {
    margin-bottom: 10px;
  }

  .notice-closure {
    margin: 20px auto;
  }

  .notice-representation {
    margin-bottom: 20px;
  }

  .notice-representation__title {
    margin-bottom: 10px;
  }

  .notice-representation address {
    font-size: .93em;
  }

  .notice-representative-grid--multiple {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .notice-additional-info {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-bottom: 18px;
    font-size: .84em;
  }

  .notice-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    margin-top: 2px;
  }

  .notice-bottom .notice-return {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 2px;
    font-size: 15px;
  }

  .notice-motif--bottom-left {
    grid-column: 1;
    grid-row: 2;
  }

  .notice-motif--bottom-right {
    grid-column: 2;
    grid-row: 2;
  }

  .notice-bottom .notice-motif__image {
    width: auto;
    max-width: 98px;
    max-height: 74px;
  }
}

/* Tablet-Hinweisdialog: Branding oben, Motive darunter. */
@media (min-width: 621px) and (max-width: 860px) {
  .notice-top {
    flex-wrap: wrap;
    gap: 14px 28px;
  }

  .notice-brand {
    order: 1;
    flex: 0 0 100%;
    padding: 0 48px;
  }

  .notice-motif--left,
  .notice-motif--right {
    flex: 1 1 calc(50% - 14px);
  }

  .notice-motif--left {
    order: 2;
  }

  .notice-motif--right {
    order: 3;
  }

  .notice-motif__image {
    width: auto;
    max-width: min(170px, 100%);
    max-height: 118px;
  }

  .notice-motif--right .notice-motif__image {
    max-width: min(160px, 100%);
    max-height: 128px;
  }

  .notice-bottom {
    grid-template-columns: minmax(0, 110px) minmax(0, 1fr) minmax(0, 110px);
    gap: 18px;
  }

  .notice-bottom .notice-motif__image {
    max-width: 110px;
    max-height: 90px;
  }
}

@media (max-width: 380px) {
  .practice-notice {
    padding-right: 11px;
    padding-left: 11px;
  }

  .notice-brand {
    padding-right: 40px;
  }

  .notice-brand__full-logo {
    width: min(215px, calc(100vw - 66px));
  }

  .notice-motif__image {
    max-width: 104px;
    max-height: 74px;
  }

  .notice-motif--right .notice-motif__image {
    max-width: 98px;
    max-height: 80px;
  }

  .notice-copy {
    font-size: 15.5px;
  }
}

/* Kurze Landscape-Screens fuer den Hinweisdialog. */
@media (max-height: 560px) and (orientation: landscape) {
  .praxis-modal {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
  }

  .practice-notice {
    padding-top: 18px;
  }

  .notice-top {
    flex-wrap: nowrap;
    gap: 14px;
    margin-bottom: 14px;
  }

  .notice-brand {
    order: 2;
    flex: 1 1 auto;
    justify-content: center;
    padding: 0 42px 0 0;
  }

  .notice-motif--left,
  .notice-motif--right {
    flex: 0 1 110px;
  }

  .notice-motif--left {
    order: 1;
  }

  .notice-motif--right {
    order: 3;
  }

  .notice-motif__image,
  .notice-motif--right .notice-motif__image {
    max-height: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sidebar-nav a,
  .menu-button::before,
  .menu-button::after,
  .menu-button span,
  .praxis-modal__close,
  .praxis-notice-trigger {
    transition: none;
  }
}
