/*
 * Praxis Dr. Korzinek / Dr. Walser – Theme
 *
 * Single stylesheet for the site (replaces Contao's CSS framework
 * reset/layout/responsive/form.css and the former layout.css, menus.css,
 * bread.scss and style.scss).
 *
 *  1. Fonts
 *  2. Tokens
 *  3. Base / reset
 *  4. Page layout
 *  5. Header
 *  6. Navigation (header, footer, breadcrumb)
 *  7. Content
 *  8. Team profiles
 *  9. Forms
 * 10. Footer, Doctolib badge
 * 11. Lightbox
 * 12. Mobile
 */

/* 1. Fonts ------------------------------------------------------------- */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../files/layout/fonts/open-sans-v15-latin-regular.woff2') format('woff2'),
       url('../../files/layout/fonts/open-sans-v15-latin-regular.woff') format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../files/layout/fonts/open-sans-v15-latin-700.woff2') format('woff2'),
       url('../../files/layout/fonts/open-sans-v15-latin-700.woff') format('woff');
}

/* 2. Tokens ------------------------------------------------------------ */

:root {
  --blue: #1394e7;
  --blue-dark: #0f7fc9;
  --blue-light: #01a4e9;
  --blue-nav: #0090d6;
  --orange: #f29200;
  --doctolib: #0596de;
  --text: #333;
  --text-muted: #565656;
  --text-soft: #666;
  --grey: #aaaeb5;
  --line: #e8edf2;
  --line-form: #dde6f0;
  --bg-alt: #f7f9fc;
  --bg-form: #f8fafd;
  --notice-bg: #fff6e5;
  --radius: 4px;
  --page-width: 960px;
  --gutter: 1rem;
}

/* 3. Base / reset ------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 15px/1.6 'Open Sans', sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
p, blockquote, pre, figure,
ul, ol, li, dl, dd,
table, th, td, form, fieldset, legend {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1em;
  font-weight: bold;
  line-height: 1.3;
}

h1, h2, h3, h4, h5, h6,
pre, blockquote, table, ol, ul, form {
  margin-bottom: 12px;
}

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 15px; }

p {
  margin-bottom: .8em;
}

ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: inherit;
}

th, td {
  text-align: start;
  vertical-align: top;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

iframe {
  max-width: 100%;
  border: 0;
}

a {
  color: var(--blue);
}

input, button, textarea, select {
  font: inherit;
}

::selection {
  background-color: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Contao helper classes */
.invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.block {
  display: flow-root;
}

.float_left,
.media--left > figure {
  float: left;
  margin-right: 1em;
}

.float_right,
.media--right > figure {
  float: right;
  margin-left: 1em;
}

.media {
  display: flow-root;
}

/* 4. Page layout ------------------------------------------------------- */

#wrapper {
  background: url("../../files/layout/verlauf_pixel.png") repeat-x;
  overflow-x: clip;
}

#header,
#container {
  max-width: var(--page-width);
  margin: 0 auto;
}

#header .inside,
#container {
  position: relative;
}

#main {
  min-height: 400px;
}

#main .inside {
  margin-bottom: 3em;
  padding-top: 1.5em;
}

/* 5. Header ------------------------------------------------------------ */

#header {
  border-bottom: 4px solid var(--blue);
}

#header .image img {
  display: block;
  width: 100%;
}

#header .overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 140px;
  background-color: rgba(255, 255, 255, .75);
  z-index: 2;
}

#header .overlay img.logo {
  display: inline-block;
  margin-top: 10px;
  margin-left: 10px;
  padding-right: 15px;
  border-right: 2px solid var(--grey);
}

#header .overlay img.tele {
  position: absolute;
  top: 10px;
  right: 0;
}

#header .textOverlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  background-color: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#header .textOverlay h1 {
  margin: 8px 0 0;
  padding-top: 9px;
  font-size: 18px;
  color: var(--blue-light);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-toggler {
  display: none;
}

.nav-toggler__button {
  padding: .4rem .6rem;
  color: var(--blue);
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.nav-toggler__button:hover,
.nav-toggler__button[aria-expanded="true"] {
  color: #fff;
  background-color: var(--blue);
}

/* 6. Navigation -------------------------------------------------------- */

#header .mod_navigation {
  position: absolute;
  top: 95px;
  left: 250px;
  z-index: 3;
}

#header .mod_navigation ul {
  margin: 0;
}

#header ul.level_1 > li {
  position: relative;
  display: inline-block;
  border-right: 2px solid var(--grey);
}

#header ul.level_1 > li:last-child {
  border-right: 0;
}

#header li a,
#header li strong {
  padding: 0 10px 0 5px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}

#header li a {
  color: var(--blue);
  transition: color .2s ease;
}

#header li a:hover,
#header li.active > strong,
#header li.trail > a,
#header li.trail > strong {
  color: #444;
}

/* Dropdown */
#header ul.level_2 {
  position: absolute;
  top: 100%;
  left: -999em;
  width: 140px;
  padding-top: 5px;
  z-index: 1;
}

#header li:hover > ul.level_2,
#header li:focus-within > ul.level_2,
#header li.is-open > ul.level_2 {
  left: 0;
}

#header ul.level_2 li {
  display: block;
  height: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

#header ul.level_2 li:nth-child(odd) {
  background-color: var(--blue-nav);
}

#header ul.level_2 li:nth-child(even),
#header li.diabetologie ul.level_2 li {
  background-color: var(--orange);
}

#header ul.level_2 li a,
#header ul.level_2 li strong {
  display: block;
  padding: 7px 0 0;
  text-align: center;
  color: #fff;
}

#header ul.level_2 li a:hover,
#header ul.level_2 li strong {
  color: #fff;
  text-decoration: underline;
}

/* Breadcrumb */
.mod_breadcrumb {
  margin: .5rem 5px;
}

.mod_breadcrumb ul {
  margin: 0;
}

.mod_breadcrumb li {
  display: inline-block;
  font-size: 12px;
}

.mod_breadcrumb li:not(:last-child)::after {
  padding: 0 4px 0 8px;
  content: "›";
  color: #aaa;
}

.mod_breadcrumb a {
  text-decoration: none;
  color: var(--blue);
  transition: color .2s ease;
}

.mod_breadcrumb a:hover {
  color: #444;
}

.mod_breadcrumb li.active {
  font-weight: bold;
  color: var(--text-muted);
}

/* 7. Content ----------------------------------------------------------- */

.content-text li {
  margin-left: 2em;
  list-style-type: disc;
}

.content-text li li {
  list-style-type: circle;
}

.content-text table {
  width: 100%;
  margin: .8em 0;
  font-size: 14px;
  border-collapse: collapse;
}

.content-text table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
}

.content-text table tr:last-child td {
  border-bottom: 0;
}

.content-text a {
  font-weight: bold;
  text-decoration: none;
  color: var(--blue);
  transition: color .2s ease;
}

.content-text a:hover {
  color: var(--text-muted);
}

.content-text figure img,
.content-image img {
  border-radius: var(--radius);
}

/* Practice notice (Startseite / Aktuelles), shown with start/stop dates */
.notice {
  margin: 1.5em 0;
  padding: 1em 1.25em;
  background: var(--notice-bg);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.notice p:last-child {
  margin-bottom: 0;
}

/* Emergency notice (Kontakt) */
.notice--emergency {
  background: #fdeeee;
  border-left-color: #d94040;
}

.notice--emergency h2 {
  margin-top: 0;
  color: #b22a2a;
}

.notice--emergency a {
  color: #b22a2a;
  white-space: nowrap;
}

/* Buttons (text elements: <a class="button">) */
.button,
.content-text a.button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
  text-decoration: none;
  color: #fff;
  background-color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.button:hover,
.content-text a.button:hover {
  color: #fff;
  background-color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button--secondary,
.content-text a.button--secondary {
  color: var(--blue);
  background-color: #fff;
}

/* Kontakt page + Startseite (office hours side by side) */
.contact-hours,
.contact-info,
.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
}

.contact-hours > *,
.contact-info > *,
.hours-grid > * {
  min-width: 0;
}

.contact-card,
.contact-info .notice,
.hours-grid .info-section {
  grid-column: 1 / -1;
}

.hours-grid .contact-card {
  margin-top: 1.5em;
}

.contact-card {
  margin-bottom: 1.5em;
  padding: 1.5rem;
  background: var(--bg-form);
  border: 1px solid var(--line-form);
  border-radius: 6px;
}

.contact-card h2 {
  margin-top: 0;
}

.content-text .contact-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .25em 1.5em;
  margin: 1em 0;
}

.content-text .contact-list li {
  display: contents;
  margin: 0;
  list-style: none;
}

.contact-list span {
  color: var(--text-soft);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.25em 0 0;
}

.contact-hours .sprechzeiten h2,
.hours-grid .sprechzeiten h2,
.contact-info h2 {
  margin-top: .5em;
}

.contact-hours .sprechzeiten table,
.hours-grid .sprechzeiten table {
  table-layout: auto;
}

.contact-hours .sprechzeiten td:first-child,
.hours-grid .sprechzeiten td:first-child {
  font-weight: bold;
}

/* Impressum / legal texts */
.legal-text h2 {
  margin-top: 1.75em;
  font-size: 17px;
}

.legal-text h2:first-child {
  margin-top: .5em;
}

/* Startseite */
.welcome h1 {
  margin-top: 0;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5em;
}

.info-card {
  padding: 1.25rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.info-card h2 {
  margin-top: 0;
  font-size: 17px;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card--badge {
  padding: 0;
  background: none;
  border: 0;
  text-align: center;
}

.info-card--badge img {
  width: 160px;
}

@media (min-width: 768px) {
  .sprechzeiten td:not(:nth-child(2)) {
    white-space: nowrap;
  }
}

.map-embed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  padding: 1.5rem;
  font-size: 14px;
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.map-embed--loaded {
  padding: 0;
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
}

.contact-map {
  margin-top: 1.25em;
}

/* Rezeptbestellung page */
.rx-page {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 0 2.5rem;
  align-items: start;
}

.rx-intro {
  grid-column: 1 / -1;
  margin-bottom: 1.5em;
}

.rx-intro h2 {
  margin-top: 0;
}

.rx-form {
  grid-column: 1;
  grid-row: 2;
  max-width: none;
}

.form-note {
  grid-column: 1;
  grid-row: 3;
  margin-top: 1em;
  font-size: 13px;
  color: var(--text-soft);
}

.rx-aside {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.rx-aside h2 {
  margin-top: 0;
  font-size: 17px;
}

.rx-aside h2:not(:first-child) {
  margin-top: 1.5em;
}

.content-text table.pickup-times {
  margin: .5em 0 1em;
}

.content-text .pickup-times td {
  padding: 5px 8px;
  white-space: nowrap;
}

.content-text .pickup-times td:first-child {
  font-weight: bold;
}

.content-text .pickup-times tr:nth-child(even) {
  background-color: var(--bg-alt);
}

.widget textarea::placeholder,
.widget input::placeholder {
  color: #999;
}

/* Office hours tables */
.sprechzeiten table {
  width: 100%;
  table-layout: fixed;
}

.sprechzeiten tr {
  border-bottom: 1px solid var(--line);
}

.sprechzeiten tr:nth-child(even) {
  background-color: var(--bg-alt);
}

.sprechzeiten td,
.sprechzeiten th {
  padding: 6px 8px;
}

/* Prescription sample */
.sample {
  max-width: 426px;
  margin: 12px 0;
  padding: 12px 14px;
  background: #f5f8fc;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Doctor shortcuts on the team page */
.doc-navi {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.doc-navi .content-text {
  flex: 0 1 20%;
}

/* Gallery slider (Contao core Swiper) */
.content-swiper {
  --swiper-theme-color: var(--blue);
  margin-bottom: 2em;
}

.content-swiper .swiper-slide img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

.content-swiper figure {
  margin: 0;
}

/* 8. Team profiles ----------------------------------------------------- */

.team-member {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.team-member__photo {
  flex: 0 0 250px;
  max-width: 250px;
}

.team-member__photo img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

.team-member__body {
  flex: 1 1 0;
  min-width: 0;
}

.team-member__body h2 {
  margin: 0 0 .5em;
  font-size: 20px;
}

.team-member details {
  margin: .5em 0 1em;
}

.team-member summary {
  display: inline-block;
  font-weight: bold;
  color: var(--blue);
  list-style: none;
  cursor: pointer;
}

.team-member summary::-webkit-details-marker {
  display: none;
}

.team-member summary::after {
  display: inline-block;
  margin-left: .35em;
  content: "▾";
  transition: transform .2s ease;
}

.team-member details[open] summary::after {
  transform: rotate(180deg);
}

.team-member details ul {
  margin-top: .5em;
}

.team-member .footnote {
  font-size: .8em;
  color: var(--text-soft);
}

/* 9. Forms ------------------------------------------------------------- */

.ce_form,
.content-form {
  max-width: 500px;
  padding: 1.5rem;
  background: var(--bg-form);
  border: 1px solid var(--line-form);
  border-radius: 6px;
}

.widget {
  margin-top: 14px;
}

.widget:first-child {
  margin-top: 0;
}

.widget > label,
.widget legend {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: bold;
  color: #444;
}

.widget span.mandatory {
  margin-left: 2px;
  color: #d94040;
}

.widget input[type="text"],
.widget input[type="email"],
.widget input[type="tel"],
.widget input[type="number"],
.widget input[type="date"],
.widget input:not([type]),
.widget textarea,
.widget select {
  display: block;
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.widget textarea {
  resize: vertical;
}

.widget input:focus,
.widget textarea:focus,
.widget select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 148, 231, .12);
  outline: none;
}

.widget-checkbox {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-form);
}

.widget-checkbox fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.widget-checkbox legend {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
}

.widget-checkbox fieldset > span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.widget-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  accent-color: var(--blue);
  cursor: pointer;
}

.widget-checkbox label {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: normal;
  color: #555;
  cursor: pointer;
}

.widget-submit {
  margin-top: 18px;
}

.widget-submit button,
.widget-submit input[type="submit"] {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: bold;
  line-height: normal;
  color: #fff;
  background-color: var(--blue);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s ease;
}

.widget-submit button:hover,
.widget-submit button:focus,
.widget-submit input[type="submit"]:hover {
  background-color: var(--blue-dark);
}

p.error {
  margin: 0 0 4px;
  font-size: 13px;
  color: #d94040;
}

/* 10. Footer ----------------------------------------------------------- */

#footer {
  padding: 0 var(--gutter);
  font-size: 12px;
  font-weight: bold;
  background: url("../../files/layout/footer_outer.png") left bottom repeat-x;
}

#footer .inside {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  max-width: var(--page-width);
  margin: 0 auto;
  padding-bottom: 15px;
  background: url("../../files/layout/footer_inner.png") left bottom repeat-x;
}

#footer .mod_navigation ul {
  margin: 0;
}

#footer ul.level_1 li {
  display: inline-block;
  border-right: 2px solid var(--grey);
}

#footer ul.level_1 li:last-child {
  border-right: 0;
}

#footer ul.level_1 a,
#footer ul.level_1 strong {
  padding: 0 5px;
  text-decoration: none;
  color: #444;
  transition: color .2s ease;
}

#footer ul.level_1 a:hover {
  color: var(--blue);
}

/* Doctolib badge (markup in the "Footer" HTML module) */
.doctolib__button {
  position: fixed;
  top: 280px;
  right: 0;
  z-index: 50;
  display: block;
  width: 100px;
  padding: 10px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: var(--doctolib);
  border-radius: var(--radius) 0 0 var(--radius);
  opacity: .9;
  transition: opacity .2s ease;
}

.doctolib__button:hover {
  opacity: 1;
}

.doctolib__brand {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: bold;
  opacity: .9;
}

/* 11. Lightbox (files/layout/site.js) ---------------------------------- */

.lightbox {
  max-width: 95vw;
  max-height: 95vh;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, .8);
}

.lightbox img {
  display: block;
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
}

.lightbox__caption {
  margin: .5em 0 0;
  font-size: 14px;
  color: #fff;
  text-align: center;
}

.lightbox__btn {
  position: absolute;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, .5);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox__btn:hover {
  background: rgba(0, 0, 0, .8);
}

.lightbox__close { top: -22px; right: -22px; }
.lightbox__prev  { top: 50%; left: 8px; transform: translateY(-50%); }
.lightbox__next  { top: 50%; right: 8px; transform: translateY(-50%); }

/* 12. Mobile ----------------------------------------------------------- */

@media (max-width: 980px) {
  #main .inside {
    margin-right: var(--gutter);
    margin-left: var(--gutter);
  }
}

@media (max-width: 767px) {
  /* Header: row 1 logo + menu button, row 2 phone numbers, then the image */
  #header .overlay {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: auto;
    padding: 10px var(--gutter);
    background: #fff;
  }

  #header .overlay img.logo {
    display: block;
    width: 160px;
    margin: 0;
    padding: 0;
    border: 0;
  }

  #header .overlay .tele-link {
    order: 3;
    flex-basis: 100%;
  }

  #header .overlay img.tele {
    position: static;
    display: block;
    width: 190px;
  }

  .nav-toggler {
    display: block;
  }

  #header .textOverlay {
    height: auto;
    padding: 6px var(--gutter);
    background-color: rgba(255, 255, 255, .85);
  }

  #header .textOverlay h1 {
    margin: 0;
    padding: 0;
    font-size: 13px;
    letter-spacing: 1px;
  }

  /* Off-canvas navigation */
  #header .mod_navigation {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    padding: 5rem 10% 2rem;
    overflow-y: auto;
    background: #fff;
  }

  #header .mod_navigation.nav--mobile--active {
    display: block;
  }

  #header ul.level_1 > li {
    display: block;
    border: 0;
    margin-bottom: .5rem;
  }

  #header li a,
  #header li strong {
    display: inline-block;
    padding: .25rem 0;
    font-size: 1.1rem;
  }

  #header ul.level_2 {
    position: static;
    width: auto;
    margin: 0 0 .5rem 1.5rem;
    padding: 0;
  }

  #header ul.level_2 li,
  #header ul.level_2 li:nth-child(odd),
  #header ul.level_2 li:nth-child(even),
  #header li.diabetologie ul.level_2 li {
    height: auto;
    background: transparent;
    box-shadow: none;
  }

  #header ul.level_2 li a,
  #header ul.level_2 li strong {
    padding: .2rem 0;
    font-size: 1rem;
    text-align: left;
    text-transform: none;
    color: var(--blue-light);
  }

  #header ul.level_2 li strong {
    color: var(--text-muted);
    text-decoration: none;
  }

  body.nav-open .nav-toggler {
    position: fixed;
    top: 1rem;
    right: var(--gutter);
    z-index: 101;
  }

  body.nav-open {
    overflow: hidden;
  }

  /* Content */
  .doc-navi {
    flex-wrap: wrap;
  }

  .doc-navi .content-text {
    flex-basis: 45%;
  }

  .team--overview td {
    display: block;
  }

  .contact-hours,
  .contact-info,
  .hours-grid,
  .rx-page {
    display: block;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card--badge img {
    width: 120px;
  }

  .rx-form {
    padding: 1rem;
  }

  .rx-aside {
    margin-top: 2em;
  }

  .contact-card {
    padding: 1rem;
  }

  .content-text .contact-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .content-text .contact-list span {
    margin-top: .5em;
    font-size: 13px;
  }

  .contact-actions .button {
    flex: 1 1 100%;
    text-align: center;
  }

  .content-text table td img {
    min-width: 0 !important;
    max-width: 140px;
  }

  .team-member {
    flex-direction: column;
    gap: 1rem;
  }

  .team-member__photo {
    flex-basis: auto;
    width: 100%;
    max-width: 300px;
  }

  .sprechzeiten table {
    table-layout: auto;
    font-size: 14px;
  }

  /* Doctolib: compact bar at the bottom instead of the side badge */
  .doctolib__button {
    top: auto;
    bottom: 0;
    right: var(--gutter);
    width: auto;
    padding: 8px 14px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .doctolib__button br {
    display: none;
  }

  .doctolib__brand {
    display: inline;
    margin: 0 0 0 4px;
  }

  #footer {
    padding-bottom: 3rem;
  }

  #footer .inside {
    flex-direction: column;
  }
}

