

/* ==========================================================================
   1. Global Styles & Variables
   ========================================================================== */

:root {
  /* Custom Theme Colors */
  --gp-color-primary: #004164;
  --gp-color-primary-light: #326683;
  --gp-color-primary-dark: #003450;
  --gp-color-secondary: #058aa0;
  --gp-color-secondary-light: #36a1b3;
  --gp-color-secondary-dark: #046e80;
  --gp-color-Tertiary: #5b82a0;
  --gp-color-kontakt: #00798d;
  --gp-color-tuerkis: #37afb9;
  --gp-color-tuerkis-light: #91d2dc;
  --gp-color-tuerkis-dark: #058ca0;
  --gp-color-dark: #333;
  --gp-color-bg-rgb: #f7f4ed;

  /* Custom Theme Colors (RGB versions for opacity) */
  --gp-color-primary-rgb: 0, 65, 100;
  --gp-color-primary-light-rgb: 50, 102, 131;
  --gp-color-primary-dark-rgb: 0, 52, 80;
  --gp-color-secondary-rgb: 5, 138, 160;
  --gp-color-secondary-light-rgb: 54, 161, 179;
  --gp-color-secondary-dark-rgb: 4, 110, 128;
  --gp-color-dark-rgb: 51, 51, 51;

  /* Bootstrap Variable Overrides */
  --bs-black: var(--gp-color-dark);
  --bs-primary: var(--gp-color-primary);
  --bs-secondary: var(--gp-color-secondary);
  --bs-dark: var(--gp-color-dark);
  --bs-body-bg: #f4f4f4;
  --bs-body-color: var(--gp-color-dark);
  --bs-link-color: var(--gp-color-primary);
  --bs-link-hover-color: var(--gp-color-primary-dark);

  --bs-primary-rgb: var(--gp-color-primary-rgb);
  --bs-secondary-rgb: var(--gp-color-secondary-rgb);
  --bs-dark-rgb: var(--gp-color-dark-rgb);

  --bs-primary-text-emphasis: var(--gp-color-primary-dark);
  --bs-secondary-text-emphasis: var(--gp-color-secondary-dark);
  --bs-primary-bg-subtle: var(--gp-color-primary-light);
  --bs-secondary-bg-subtle: var(--gp-color-secondary-light);

  --bs-font-sans-serif: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-body-font-family: 'Nunito', serif;
  --bs-body-font-size: 1rem;

  --bs-box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.1);
}

::selection {
  background: var(--gp-color-primary);
  color: var(--bs-white);
}

::-moz-selection {
  background: var(--gp-color-primary);
  color: var(--bs-white);
}


/* ==========================================================================
   2. Accessibility Styles
   ========================================================================== */

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

.skip-link {
  position: absolute;
  top: auto;
  left: -999rem;
  z-index: 10000;
  width: 1px;
  height: 1px;
  padding: 0.5rem 0.75rem;
  overflow: hidden;
  font-weight: 600;
  color: #fff;
  background: #000;
  white-space: nowrap;
  text-decoration: none;
  border: 0;
  border-radius: 4px;
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  clip: rect(0 0 0 0);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  overflow: visible;
  white-space: normal;
  clip: auto;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible,
[role="checkbox"]:focus-visible,
[role="radio"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 3px solid var(--gp-color-primary) !important;
  outline-offset: 3px !important;
  border-radius: 2px;
  box-shadow: none !important;
}

.accessible-link:focus-visible {
  outline: 2px solid #005a9c !important;
  outline-offset: 2px !important;
  text-decoration: none;
}

.switcher-triggers1 button[role="tab"]:focus-visible {
  outline: 3px solid #005f73 !important;
  outline-offset: 4px !important;
}

@media (max-width: 480px) {
  .skip-link:focus,
  .skip-link:focus-visible {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.6rem 0.9rem;
  }
}


/* ==========================================================================
   3. Base & Typography Styles
   ========================================================================== */

body {
  font-family: 'Nunito', serif;
  background-color: #f2f3ee;
}

hr {
  width: 50%;
  height: 1px;
  margin-bottom: 1.5rem;
  background-color: rgba(52, 58, 64, 0.5);
}

h1 {
  font-size: 3.5rem;
  color: var(--gp-color-secondary);
}

h2 {
  font-size: 2rem;
  color: var(--gp-color-Tertiary);
}

h3,
h4,
h5 {
  font-size: 1.2rem;
}

#main a {
  color: #00736E;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

#main a:hover,
#main a:focus {
  color: #004164;
  text-decoration: underline;
}

.header-text {
  max-width: 100%;
  box-sizing: border-box;
  font-size: 80px;
  line-height: 90px;
  color: #004164;
  text-align: left;
  overflow-wrap: anywhere;
}

.cta-text {
  font-size: 48px;
  line-height: 60px;
  color: var(--gp-color-primary);
  text-align: left;
  text-transform: uppercase;
}

.cta-text2 {
  font-size: 48px;
  line-height: 60px;
  color: var(--gp-color-secondary);
  text-align: left;
}

@media (max-width: 1600px) {
  .header-text {
    font-size: 60px;
  }
}

@media (max-width: 1200px) {
  .header-text {
    font-size: 50px;
  }
}

@media (max-width: 996px) {
  h1 {
    font-size: 36px;
  }
  .header-text {
    font-size: 36px;
    line-height: 60px;
  }
  .cta-text,
  .cta-text2 {
    font-size: 32px;
  }
/*    body {
        padding-bottom: 88px;
  } */
}

@media (max-width: 768px) {
  .header-text {
    font-size: 43.2px;
  }
}

@media (max-width: 375px) {
  .header-text {
    font-size: 28px;
  }
}


/* ==========================================================================
   4. Layout Components
   ========================================================================== */

/** Page Wrapper */
@media (min-width: 1800px) {
  #page {
    max-width: 1800px;
    margin: 0 auto;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    overflow: hidden;
  }
}

/** Header */
#header {
  position: sticky;
  top: 0;
  z-index: 5;
  opacity: 1;
}

#header.sticky {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#header .logo {
  display: inline-block;
  width: 180px;
  max-width: 100%;
  height: auto;
  transition: width 0.35s ease-in-out, height 0.35s ease-in-out;
}

#header.sticky .logo {
  width: 110px;
}

@media (min-width: 767px) {
  #header .rounded-sm {
    border-radius: 0 !important;
  }
}

@media (max-width: 991.98px) {
  #header .logo {
    width: 150px;
  }
  #header.sticky .logo {
    width: 100px;
  }
}

@media (max-width: 576px) {
  #header .logo {
    width: 190px !important;
  }
}

@media (max-width: 375px) {
  #header .logo {
    width: 140px !important;
  }
}

/** Footer */
#footer a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

#footer a:hover,
#footer a:focus {
  color: #004164;
  text-decoration: underline;
}

#footer :is(h1, h2, .h1, .h2) {
  margin-bottom: 1.2rem;
  font-weight: 900;
  color: var(--gp-color-primary);
  text-transform: lowercase;
}

#footer .contact-list {
  width: fit-content;
  text-align: left;
}

.footer-sub {
  font-size: 0.9rem;
  color: #343a40;
  background-color: #cccccc;
}

.contact-list a:hover span {
    text-decoration: underline;
}
.modal-backdrop.show {
  width: 100% !important;
  height: 100% !important;
}


@media (max-width: 991.98px) {
  #footer .col {
    text-align: center;
  }
  #footer hr {
    margin-left: auto;
    margin-right: auto;
  }
}


/* ==========================================================================
   5. Bootstrap Component Overrides
   ========================================================================== */

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--gp-color-primary);
  --bs-btn-border-color: var(--gp-color-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--gp-color-primary-dark);
  --bs-btn-hover-border-color: var(--gp-color-primary-dark);
  --bs-btn-focus-shadow-rgb: var(--gp-color-dark-rgb);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--gp-color-primary-dark);
  --bs-btn-active-border-color: var(--gp-color-primary-dark);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--gp-color-primary-dark);
  --bs-btn-disabled-border-color: var(--gp-color-primary-dark);
}

.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--gp-color-secondary);
  --bs-btn-border-color: var(--gp-color-secondary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--gp-color-secondary-dark);
  --bs-btn-hover-border-color: var(--gp-color-secondary-dark);
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--gp-color-secondary-dark);
  --bs-btn-active-border-color: var(--gp-color-secondary-dark);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--gp-color-secondary);
  --bs-btn-disabled-border-color: var(--gp-color-secondary);
}

.pagination {
  --bs-pagination-color: var(--bs-link-color);
  --bs-pagination-bg: var(--bs-body-bg);
  --bs-pagination-hover-color: var(--bs-link-hover-color);
  --bs-pagination-hover-bg: var(--bs-tertiary-bg);
  --bs-pagination-focus-color: var(--bs-link-hover-color);
  --bs-pagination-focus-bg: var(--bs-secondary-bg);
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--bs-dark-text-emphasis);
  --bs-pagination-active-border-color: var(--bs-dark-text-emphasis);
  --bs-pagination-disabled-color: var(--bs-secondary-color);
  --bs-pagination-disabled-bg: var(--bs-secondary-bg);
}


/* ==========================================================================
   6. Custom Components
   ========================================================================== */

/** Custom Buttons (.gp-btn) */
.gp-btn-primary,
.gp-btn,
.gp-btn-secondary {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  border-width: 0 !important;
  border-radius: var(--bs-border-radius-xxl);
  font-size: 1.1em;
  line-height: initial;
  color: var(--bs-white);
  background: var(--bs-secondary);
  background-image: linear-gradient(45deg, var(--gp-color-secondary-dark), var(--gp-color-secondary-light), var(--gp-color-secondary-dark));
  background-size: 500% 400% !important;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.5s ease;
}

.gp-btn-secondary:hover {
  background-position: 75% 50%;
}

.gp-btn-secondary:hover,
.gp-btn-secondary:active,
.gp-btn-secondary:focus {
  color: var(--bs-white);
  background-color: var(--gp-color-secondary-light);
}

.gp-btn-secondary:active,
.gp-btn-secondary:focus {
  transform: scale(0.95);
  transition: 0.1s;
}

.gp-btn-secondary-invert {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  border-width: 0 !important;
  border-radius: var(--bs-border-radius-xxl);
  font-size: 1.1em;
  line-height: initial;
  color: var(--gp-color-dark);
  background: var(--bs-white);
  box-shadow: rgba(0, 0, 0, 0.05) 0 0 8px;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.5s ease;
}

.gp-btn-secondary-invert:hover,
.gp-btn-secondary-invert:active,
.gp-btn-secondary-invert:focus {
  color: var(--bs-white);
  background-color: var(--gp-color-secondary-light);
}

/** Floating Action Buttons */
#float_buttons {
  position: fixed;
  right: 0;
  bottom: 0;
  padding: 1rem;
}

.float_buttons_wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-fixed {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  align-items: center;
  border-radius: 10px;
  outline: 1px solid #eeeeee4f;
  background-color: var(--bs-secondary, #c1c1c1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transform: translateY(65px);
  transition: all 250ms ease;
}

.btn-fixed:hover {
  box-shadow: 0 0 20px rgb(0 94 255);
}

.btn-fixed i {
  display: grid;
  place-content: center;
  width: 3rem;
  height: 3rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#back_to_top {
  display: grid;
  place-content: center;
  border-radius: 50%;
  color: var(--bs-white);
  background: conic-gradient(var(--bs-primary) 0deg, #eee 0deg);
  text-decoration: none;
  opacity: 0;
  transform: translateY(50px);
  transition: all 250ms ease, background 0s;
}

#back_to_top::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 3px;
  border-radius: 50%;
  background-color: #fff;
}

#back_to_top i {
  position: relative;
  z-index: 1;
  color: var(--bs-primary);
}

#back_to_top:hover {
  opacity: 0.8 !important;
}

.showButtons .btn-fixed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/** Mobile & Offcanvas Navigation */
.offcanvas {
  background-color: var(--gp-color-primary);
}

.offcanvas-fullscreen {
  width: 100vw !important;
  max-width: 100vw;
}

.offcanvas-title {
  color: white;
  font-weight: bold;
}

.logo-offcanvas {
  width: 100%;
  max-width: 200px;
  height: 90px;
  filter: invert(1) brightness(10);
}

.menu-link-lg {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gp-color-tuerkis);
  text-decoration: none;
}

.menu-link-sm {
  color: var(--gp-color-tuerkis-light);
  text-decoration: none;
}

.menu-link-lg:hover,
.menu-link-sm:hover {
  color: var(--gp-color-secondary);
}

.extra-links {
  margin-top: 2rem;
  font-size: 1rem;
  color: #ccc;
}

/* CORRECTED: Common styles for all extra links */
.extra-links .extra-link,
.extra-link-1,
.extra-link-2 {
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

/* Specific color for the generic .extra-link class */
.extra-links .extra-link {
  color: var(--gp-color-tuerkis-light);
}

/* Specific color for link 1 */
.extra-link-1 {
  /* color: #BED273; */
  color: #56c1cc;
}

/* Specific color for link 2 */
.extra-link-2 {
  /* color: #8CC3BE; */
  color: #56c1cc;
}

.btn-close-lg {
  width: 2rem;
  height: 2rem;
  filter: invert(100%);
}

.custom-toggler .navbar-toggler-icon {
  width: 25px;
  height: 25px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='1' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 768px) {
  .menu-link {
    font-size: 4.5rem;
  }
}

/** Desktop Navigation */
.navbar ul {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar li {
  margin: 0 15px;
}

.navbar a {
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #004164;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar a:hover {
  border-radius: 20px;
  color: var(--gp-color-primary);
}

.kontakt-btn {
  height: 50px;
  border: 2px solid #004164 !important;
  border-radius: 8px !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  color: #fff !important;
  background-color: #004164 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  align-content: center;
}

.sm-btn {
  width: 50px;
  height: 50px;
  border: 2px solid #004164 !important;
  border-radius: 8px !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  color: #004164 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: grid;
  place-items: center;
}

.btn-dark {
  height: 50px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .d-none.d-lg-flex {
    display: flex !important;
  }
  .d-lg-none {
    display: none !important;
  }
}

/** Content Sections (.sub-content) */
.sub-content:nth-of-type(odd) {
  background-color: #f7f4ed !important;
}

.sub-content:nth-of-type(even) {
  background-color: #ffffff !important;
}

.sub-content .figure {
  width: 100% !important;
  margin-bottom: 0;
  background-color: transparent !important;
}

.sub-content .figure .figure-img,
.hero-area .figure .figure-img {
  height: 100%;
  object-fit: cover;
}

.sub-content .gp-content-box {
  display: grid;
  place-content: center;
  height: 100%;
  padding: 2rem !important;
}

.sub-content .gp-content-box :is(h2, h3) {
  color: var(--gp-color-primary) !important;
}

.sub-content .gp-content-box :is(p) {
  color: #666;
}

@media (max-width: 768px) {
  .sub-content:nth-of-type(even) {
    flex-direction: column-reverse;
  }
}

@media (min-width: 1200px) {
  .sub-content .gp-content-box {
    padding: 5rem !important;
  }
  .sub-content .figure .figure-img,
  .hero-area .figure .figure-img {
    min-height: 400px;
  }
}

/** Accordion (.gp-accordion) */
.gp-accordion {
  display: grid;
  gap: 1rem;
}

.gp-accordion .gp-accordion-item {
  margin-bottom: 1rem;
  border: 1px solid var(--bs-gray-300);
}

.gp-accordion :is(details[open]) .gp-accordion-header {
  color: #fff !important;
  background-color: var(--bs-primary) !important;
}

.gp-accordion :is(details[open]) summary:after {
  color: #fff !important;
}

/** Hero Image */
div.ccm-block-hero-image div.ccm-block-hero-image-image {
  height: 65vh !important;
}

@media (max-width: 996px) {
  div.ccm-block-hero-image div.ccm-block-hero-image-image {
    height: 50vh !important;
  }
}

@media (max-width: 575px) {
  div.ccm-block-hero-image div.ccm-block-hero-image-image {
    height: 45vh !important;
  }
}

/** Leistungen (Services) Component */
.scrollable-services-view {
  width: 100%;
  /* height: 80vh; */
  max-height: 500px;
  overflow-y: auto;
}

.services-container {
  padding: 2rem 1.5rem;
}

.service-section {
  margin-bottom: 2.5rem;
}

.service-title {
  margin-bottom: 1rem;
  font-size: 24px;
  font-weight: bold;
  color: #009B96;
}

.treatment-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.treatment-list li {
  padding: 0.35rem 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  display: flex;             /* 1. Makes the li a flex container */
  align-items: flex-start;   /* 2. Keeps the arrow aligned to the top row */
}

.treatment-list li::before {
  content: ">";
  margin-right: 0.75rem;
  font-weight: bold;
  color: #009B96;
  flex-shrink: 0;            /* 3. Prevents the arrow from squeezing when text is long */
}

@media (max-width: 768px) {
  .scrollable-services-view {
    max-height: 350px; 
  }
}

/** Sprechstunden (Consultation Hours) Component */
.sprechstunden-container1 {
  margin: auto;
}

.title1 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: bold;
  color: #5b82a0;
}

.content-switcher1 {
  display: flex;
  gap: 4rem;
}

.switcher-triggers1 {
  display: flex;
  flex-direction: column;
  flex-basis: 40%;
  flex-shrink: 0;
}

.switcher-triggers1 button[role="tab"] {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  margin: 0 0 0.5rem 0;
  border: none;
  border-radius: 4px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  color: #009b96;
  text-align: left;
  background: none;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s ease-in-out;
}

.switcher-triggers1 button[role="tab"]::before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.switcher-triggers1 button[aria-selected="true"] {
  color: #003865;
  transform: translateX(1rem);
}

.switcher-panels1 {
  flex-basis: 60%;
}

.switcher-panels1 [role="tabpanel"][hidden] {
  display: none;
}

.hours-grid {
  display: grid;
  grid-template-columns: max-content auto;
  gap: 0.5rem 2rem;
  font-size: 22px;
  line-height: 1.6;
  color: #333;
}

.hours-grid .day {
  font-weight: bold;
  color: #5b82a0;
}

.hours-grid .time {
  white-space: nowrap;
}

.hours-grid a {
  color: inherit;
  text-decoration: none;
}

.hours-grid a:hover {
  color: #058aa0;
}

@media (max-width: 992px) {
  .title1 {
    font-size: 2rem;
  }
  .content-switcher1 {
    flex-direction: column;
    gap: 2rem;
  }
  .switcher-triggers1 button[role="tab"] {
    font-size: 1.1rem;
  }
  .switcher-panels1 {
    padding-top: 21px;
    border-top: 2px solid #e0e0e0;
  }
  .hours-grid {
    font-size: 18px;
    grid-template-columns: 1fr;
    gap: 0.25rem 1rem;
  }
  .hours-grid .time {
    margin-bottom: 0.5rem;
    white-space: normal;
  }
}

@media (min-width: 576px) and (max-width: 992px) {
  .hours-grid {
    grid-template-columns: max-content auto;
    margin-bottom: 1.5rem;
  }
  .hours-grid .time {
    margin-bottom: 0;
  }
}

/** Link List */
.link-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.accessible-link {
  display: inline-block;
  padding: 0.25rem 0;
  color: #00736e;
  text-decoration: none;
}

.accessible-link::before {
  content: "> ";
  margin-right: 0.5em;
  font-weight: normal;
  color: #555;
}

.accessible-link:hover,
.accessible-link:active {
  text-decoration: underline;
}

/** Image Hover & Logo SVG */
.image-hover-effect img {
  transition: filter 0.3s ease;
}

.image-hover-effect:hover img {
  filter: invert(100%) brightness(100%);
}

.logo-wrap {
  display: inline-block;
  width: 100%;
  overflow: visible;
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.logo-wrap svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.logo-wrap svg path {
  transform-box: fill-box;
}


/* ==========================================================================
   7. Utility & Helper Classes
   ========================================================================== */

.page-bg {
  background-color: #f2f3ee;
}

.bg-primary-light {
  background-color: var(--gp-color-primary-light);
  background-image: linear-gradient(45deg, var(--gp-color-primary) 0%, var(--gp-color-primary-light) 100%) !important;
}

.bg-primary-emphasis {
  background-color: var(--gp-color-primary-dark);
}

.bg-secondary-emphasis {
  background-color: var(--gp-color-secondary-dark);
}

.text-kontakt {
  color: var(--gp-color-kontakt);
}


/* ==========================================================================
   8. Global Media Queries
   ========================================================================== */

@media (max-width: 992px) {
  .container,
  .container-md,
  .container-sm {
    max-width: calc(100% - 20px);
  }
}

@media (min-width: 1200px) {
  :root {
    --bs-body-font-size: 1.1rem;
  }
}


/* Shared Styles for both buttons */
.doctolib-link {
    background-color: #107ACA;
    color: #ffffff !important;
    font-family: Roboto, sans-serif;
    z-index: 1000;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.doctolib-link img {
    vertical-align: middle;
    width: auto;
    height: 19px;
}

/* DESKTOP VERSION (Side Tab) */
@media (min-width: 997px) {
    #doctolib-mobile { display: none !important; }
    #doctolib-desktop {
        display: block;
        position: fixed;
        top: calc(50% - 58px); /* Center vertically */
        right: 0;
        width: 138px;
        padding: 24px;
        text-align: center;
        line-height: 24px;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        box-shadow: 0px 4px 11px rgba(1, 53, 134, 0.08);
    }
}

/* MOBILE VERSION (Pill) */
@media (max-width: 996px) {
    #doctolib-desktop { display: none !important; }
    #doctolib-mobile {
        display: flex;
        position: fixed;
        bottom: 16px;
        right: 16px;
        height: 48px;
        align-items: center;
        justify-content: center;
        padding: 0 24px;
        border-radius: 24px;
        font-size: 14px;
        box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
    }
    #doctolib-mobile img { 
        margin-left: 8px; 
    }
}
