html {
  color: #543e1f;
  background: #faf7f3;
}

#footer {
  text-align: center;
}

#footer hr {
  border:1px solid rgba(255,255,255,0.2);
}

.uk-navbar-nav > li > a {
  letter-spacing: 0.5px;
  font-weight: 300;
  padding: 0 10px;
}

.uk-navbar-nav > li.uk-active > a::before {
  background-color: transparent;
}

.uk-navbar-nav > li.uk-active > a::before {
  background-color: transparent;
}

.uk-navbar-nav > li.uk-active > a:hover::before {
  background-color: #eab308;
}

.uk-button {
  padding: 0 20px;
}

.uk-button:hover:not(.uk-button-text):not(.uk-button-link) {
  background-size: 100%;
}

.uk-button-primary {
  border: 1px solid #543e1f;
}

.uk-button-secondary {
  border: 1px solid #eab308;
}

.uk-button-default:hover:not(.uk-button-text):not(.uk-button-link) {
  background-color: #543e1f;
  color: #fff;
}

.uk-button-primary:hover:not(.uk-button-text):not(.uk-button-link) {
  background-color: #fff;
  color: #543e1f;
  border: 1px solid #543e1f;
}

.uk-button-secondary:hover:not(.uk-button-text):not(.uk-button-link) {
  background-color: #fff;
  color: #543e1f;
  border: 1px solid #543e1f;
}


.uk-section-default {
  background: transparent;
}

.uk-logo {
  font-size: 1.5rem;
  font-family: 'Inria Serif',serif;
  font-weight: 700;
}

.uk-card {
  background: #FFF;
  border-radius: 20px;
  box-shadow: inset 0 0 .5px 1px hsla(0,0%,100%,.075),0 0 0 1px hsla(0,0%,0%,.05),0 .3px .4px hsla(0,0%,0%,.02),0 .9px 1.5px hsla(0,0%,0%,.045),0 3.5px 6px hsla(0,0%,0%,.09);
}

.uk-table-divider tr {
  border-bottom: 1px solid #ccc;
}

.uk-open > .uk-modal-dialog {
  padding: 20px;
}

#modal-datenschutz.uk-open > .uk-modal-dialog, #modal-impressum.uk-open > .uk-modal-dialog {
  padding: 40px;
}

/* äußere Rundung bleibt immer erhalten */
.uk-modal-dialog {
  border-radius: 20px; /* oder nach Design */
  overflow: hidden;
}

/* Scroll nur im inneren Bereich */
.uk-modal-scroll {
  max-height: calc(60vh - 1rem);
  overflow-y: auto;
  padding-right: 1rem; /* Abstand zum Scrollbalken */
  padding-bottom: 1rem; /* Abstand zum Scrollbalken */
  box-sizing: border-box;
}

/* Optional: schönerer Scroll */
.uk-modal-scroll::-webkit-scrollbar {
  width: 8px;
}
.uk-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 4px;
}

.uk-modal-body {
  margin-bottom:20px;
}

[class*="uk-modal-close-"] {
  top: 15px;
  right: 15px;
  padding: 5px;
}

@media (min-width: 640px) {
  .uk-modal-body {
    padding: 20px 20px;

    padding-right: 30px;
  }
  
  .uk-modal-header {
    padding: 10px 20px;
    background: transparent;
  }
}

.service_icon {
  /*color: #EAB308;*/
  color: #FBD051;
  padding: 1rem;
  background-color: rgba(234,179,8,0.05);
  border-radius: 10px;
}
.service_icon svg {
  width: 40px;
  height: 40px;
}

#about .uk-card-body figure {
  margin: 0 auto;
}

#about .uk-card-body .tm-content-margin, #about .uk-card-body h4 {
  margin: 10px 0px;
}

#about .uk-card-body p {
  margin-bottom: 0px;
}

#about .uk-button {
  margin: 0 auto;
}

/* Grundlayout */
#gallery .uk-inline {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 10px;
}

/* Bild */
#gallery .uk-inline img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

/* Caption – standardmäßig ausgeblendet */
#gallery .uk-inline figcaption {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  font-style: normal;
  padding: 20px 30px;
}

/* Hover: Bild leicht zoomen */
#gallery .uk-inline:hover img {
  transform: scale(1.075); /* +10 % */
}

/* Hover: Caption einblenden */
#gallery .uk-inline:hover figcaption {
  opacity: 1;
}

@media (min-width: 1200px) {
  .uk-heading-medium {
    font-size: 3rem;
  }
}

.teamcard-media {
  position: relative;
}

/* small: 1 Spalte → 3:2 */
@media (max-width: 639px) {
  .teamcard-media {
    aspect-ratio: 3 / 2;
  }
}

/* large 2 Spalten → 1:1 */
@media (min-width: 640px) and (max-width: 1199px) {
  .teamcard-media {
    aspect-ratio: 1 / 1;
  }
}

/* xlarge: 4 Spalten → 2:3 */
@media (min-width: 1200px) {
  .teamcard-media {
    aspect-ratio: 2 / 3;
  }
}

@media (min-width: 960px) {
  .uk-card-body {
    padding: 30px 30px;
  }
}

.uk-card-body ul {
  list-style: none;
  padding-left: 1.5rem; /* Platz für Bullet */
  margin-left: 0;
}

.uk-card-body ul li {
  position: relative;
  margin-bottom: 0.5em;
}

.uk-card-body ul li::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.35em;

  width: 0.75rem;
  height: 0.75rem;

  background-image: url("img/list-bullet.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

#praxisvertretung .uk-grid, #sprechzeiten-tabelle .uk-grid {
  margin-left: 0px !important;
}


/* Kontakt */

#kontakt2 .uk-card .tm-content-margin {
  margin-top: 5px;
}

#kontakt2 .uk-card h4 {
  margin-bottom: 5px;
}

#kontakt2 .uk-width-1-6\@m {
   width: calc(100% / 8);
}
#kontakt2 .uk-width-5-6\@m {
   width: calc(100% / 8 * 7);
}

@media (min-width: 640px) {

  /* nur das übergeordnete Kontakt-Grid */
  #kontakt2 .uk-container > .uk-grid.uk-grid-large {
    margin-left: -35px;
  }

  #kontakt2 .uk-container > .uk-grid.uk-grid-large > * {
    padding-left: 35px;
  }

}

/* linke Card */
#kontakt2 .uk-container > .uk-grid > .uk-width-1-2\@m {
  margin-left: 35px
}

@media (min-width: 960px) {

  /* linke Card */
  #kontakt2 .uk-container > .uk-grid > .uk-width-1-2\@m:nth-child(1) {
    width: calc(50% - 35px);
    margin-right: 35px;
  }

  /* rechte Card */
  #kontakt2 .uk-container > .uk-grid > .uk-width-1-2\@m:nth-child(2) {
    width: calc(50% - 35px);
    margin-left: 0;
  }
}

@media (max-width: 959px) {
  #kontakt2 .uk-width-1-2\@m {
    width: 100% !important;
  }

  .tm-termin-text {
    display: none;
  }

  .tm-termin-button .uk-button {
    padding-left: 12px;
    padding-right: 12px;
  }

  .tm-termin-icon {
    margin-right: 0 !important;
  }

}

@media (max-width: 1199px) {

  .tm-termin-text {
    display: none;
  }

  .tm-termin-button .uk-button {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tm-termin-icon {
    margin-right: 0 !important;
  }

}


.uk-input, .uk-select, .uk-textarea {
  max-width: 100%;
  width: 100%;
  border: 0 none;
  padding: 8px 12px;
  background: #faf7f3;;
  border: 1px solid #e6e1e6;
  border-radius: 5px;
  transition: background .32s ease,border .32s ease,box-shadow .32s ease;
}

.uk-input:focus, .uk-select:focus, .uk-textarea:focus {
  border: 1px solid #f1cb64;
}

/* leaflet */
.tm-leaflet-map {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Popup im Praxis-Design */
.tm-leaflet-map .leaflet-popup-content-wrapper {
  background: #543e1f;
  color: #f1cb64;
  border-radius: 12px;
}

.tm-leaflet-map .leaflet-popup-tip {
  background: #543e1f;
}

.tm-leaflet-map a {
  color: #f1cb64;
  text-decoration: underline;
}

.leaflet-top, .leaflet-bottom {
  z-index: 850 !important;
}

/* Marker-Farbe (SVG Circle) */
.tm-map-marker {
  background-color: #f1cb64;
  border: 4px solid #543e1f;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.tm-linklist {
  margin: 0;
}

.tm-linklist-link {
  display: block;
  text-decoration: none;
  color: #f1cb64;
  padding: 0.25rem 0;
}

.tm-linklist-title {
  display: block;
  color: #f1cb64;
  margin-bottom: 5px;
}

.tm-linklist-description {
  margin-top: 0.25rem;
  font-size: 1rem;
}

.tm-linklist-link:hover .tm-linklist-title {
  text-decoration: underline;
}

.uk-list li a {
  background: transparent;
  background-image: none;
  background-size: 0 0px,100% 0px,0px 0px;
}

.uk-modal-dialog {
  padding: 40px 48px;
}

.uk-modal-dialog {
  padding: 50px 58px;
}

/* Modal Größe */
.tm-booking-modal {
  width: 80vw;
  height: 80vh;
  max-width: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
}

/* Header */
.tm-booking-header {
  padding: 24px 32px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
}

.tm-booking-logo {
  height: 48px;
  width: auto;
}

.tm-booking-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}

.tm-booking-title span {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

/* Iframe */
.tm-booking-iframe {
  flex: 1;
  width: 100%;
  border: 0;
}

/* Mobile Anpassung */
@media (max-width: 639px) {
  .tm-booking-modal {
    width: 95vw;
    height: 90vh;
    border-radius: 12px;
  }

  .tm-booking-header {
    padding: 16px;
  }

  .tm-booking-title {
    font-size: 1.3rem;
  }
  
  .uk-h1, h1, .uk-heading-medium {
    font-size: 2.25rem !important;
  }
  
  .uk-card-small.uk-card-body {
    padding: 20px 20px !important;
  }
  
  .uk-modal-header {
    padding: 10px 0px !important;
  }
  
  .uk-modal-header {
    padding: 10px 0px !important;
    background: transparent !important;
  }
  
  .uk-modal-body {
    padding: 10px 0px !important;
  }
  
  .uk-modal-title {
    font-size: 1.25rem !important;
    line-height: 1.2;
  }
  
  .uk-h2, h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  html {
    font-size: 16px !important;
  }
  
  #sprechzeiten-tabelle .uk-table.uk-table-responsive td:nth-child(1){
    font-weight: 700;
  }
  
  .uk-button {
    font-size: 1rem !important;
  }
  
  .uk-grid-column-small > *, .uk-grid-small > * {
    padding-left: 0px;
  }
  
  .bg-orbs .orb{
    width: 200px;
    height: 200px;
  }
  
  #modal-datenschutz .uk-modal-body, #modal-impressum .uk-modal-body{
    padding: 20px !important;
  }
  
  #kontaktform .uk-width-1-2\@s {
    width: 100% !important;
  }
  
  #kontaktform .uk-width-1-2\@s {
    width: 100% !important;
  }
  
  #kontaktform #quiz-col {
    padding-right: 20px;
  }
  
  /* Grid darf umbrechen (Zeilen!) */
  #d13733d0-1970-4687-b877-d9a6e766c8b1 {
    flex-wrap: wrap;
  }
  
  /* JEDE Icon/Text-Zeile zusammenhalten */
  #d13733d0-1970-4687-b877-d9a6e766c8b1
  > .uk-width-1-6\@m {
    flex: 0 0 36px;
    width: 36px;
  }
  
  #d13733d0-1970-4687-b877-d9a6e766c8b1
  > .uk-width-5-6\@m {
    flex: 0 0 calc(100% - 36px);
    width: calc(100% - 36px);
  }
  
  /* verhindert, dass Text die Icon-Spalte sprengt */
  #d13733d0-1970-4687-b877-d9a6e766c8b1 > * {
    min-width: 0;
  }
  
  /* Abstand zwischen den Kontakt-Zeilen */
  #d13733d0-1970-4687-b877-d9a6e766c8b1 {
    row-gap: 1.25rem;
  }
  
  #d13733d0-1970-4687-b877-d9a6e766c8b1 > .uk-width-5-6\@m {
    margin-bottom: 1.25rem;
  }
  
  /* Abstand zwischen den Kontakt-Zeilen */
  #d13733d0-1970-4687-b877-d9a6e766c8b1 p {
    margin-bottom: 0px;
  }
  
}

  /* Container liegt hinter allem und beeinflusst keine Klicks */
.bg-orbs{
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
overflow: hidden;
}

.bg-orbs .orb{
position: absolute;
left: 50%;
top: 50%;
width: 400px;
height: 400px;
border-radius: 9999px;
transform: translate(-50%, -50%);
opacity: 0;
filter: blur(100px);
will-change: transform, opacity, left, top, width, height;
}

.bg-orbs .orb-a{ background: #eab308; }
/*.bg-orbs .orb-b{ background: #3f2a21; }*/
/* .bg-orbs .orb-b{ background: #fff; } */
.bg-orbs .orb-b{ background: #9e877e; }

/* Optional: falls du ein Grundrauschen möchtest */
/* body { background: #0b0b0b; } */
