/********************************************
 *                 CSS Reset                *
 *******************************************/

/* 
 * border-box everywhere
 */

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* 
 * adapted from normalize.css
 */

html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

figcaption,
figure,
main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: inherit;
  font-weight: bolder;
}

small {
  font-size: 80%;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type="button"],
/* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

legend {
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

[hidden] {
  display: none;
}


/*
 * adapted from Contao reset.css
 */

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
code,
ol,
ul,
li,
dl,
dt,
dd,
figure,
table,
th,
td,
form,
fieldset,
legend,
input,
button,
textarea {
  margin: 0;
  padding: 0;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

caption,
th,
td {
  text-align: left;
  text-align: start;
  /* see #4596 */
  vertical-align: top;
}

abbr,
acronym {
  font-variant: normal;
  border-bottom: 1px dotted #666;
  cursor: help;
}

blockquote,
q {
  quotes: none;
}

fieldset,
img {
  border: 0;
}

ul {
  list-style-type: none;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

del {
  text-decoration: line-through;
}

ins {
  text-decoration: none;
}

header,
footer,
nav,
section,
aside,
article,
figure,
figcaption {
  display: block;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: 99%;
  font-weight: inherit;
}

pre,
code {
  font-family: Monaco, monospace;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

table {
  font-size: inherit;
}

caption,
th {
  font-weight: bold;
}

a {
  color: #00f;
}


/*
 * additional reset stuff
 */

div,
h2,
h3,
h4,
p,
a,
ul,
li,
input,
button {
  background-repeat: no-repeat;
}


/*
 * adapted from Contao layout.css
 */

/* fix some positioning issues */

#container,
.inside {
  position: relative;
}

/* format the Contao image galleries */

.ce_gallery>ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

.ce_gallery>ul li {
  float: left;
}

.ce_gallery>ul li.col_first {
  clear: left;
}

/* float classes (see #6851) */

.float_left {
  float: left;
}

.float_right {
  float: right;
}

/* clear floats */

.block {
  overflow: hidden;
}

.clear,
#clear {
  height: 0.1px;
  font-size: 0.1px;
  line-height: 0.1px;
  clear: both;
}

/* hide invisible elements */

.invisible {
  display: none !important;
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* custom layout sections */

.custom {
  display: block;
}

#container:after,
.custom:after {
  content: "";
  display: table;
  clear: both;
}
/* Inter */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url(../../files/fonts/inter-variable.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: block;
  src: url(../../files/fonts/inter-italic-variable.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Oregano */

@font-face {
  font-family: 'Oregano';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(../../files/fonts/oregano.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Geologica */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../../files/fonts/geologica.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/********************************************
 *                Custom CSS                *
 *******************************************/

/*
 * Variablen
 */

:root {
  /* typography */
  --ak-font: Geologica, sans-serif;
  --ak-font-size: 1.125rem;
  /* layout */
  --ak-content-width: 75rem;
  --ak-footer-height: 4rem;
  --ak-spacing-small: 1.5rem;
  --ak-spacing-medium: 3rem;
  --ak-spacing-large: 4.5rem;
  /* colors */
  --dark-blue: #3a5274;
  --light-blue: #57799f;
  --green-blue: #a8b2a7;
  --light-green-blue: #eaece9;
  --deep-crimson: #952323;
  --white: #ffffff;
  --ak-color-1: var(--dark-blue);
  --ak-color-2: var(--light-blue);
  --ak-color-3: var(--green-blue);
  --ak-color-4: var(--light-green-blue);
  --ak-color-5: var(--deep-crimson);
  --ak-main-bg-color: var(--white);
  --ak-main-text-color: var(--ak-color-1);
  --ak-inverse-bg-color: var(--ak-color-1);
  --ak-inverse-text-color: var(--white);
  --ak-accent-color: var(--ak-color-5);
}

/*
 * Layout
 */

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

#wrapper {
  position: relative;
  min-height: 100%;
  height: auto !important;
  height: 100%;
  width: 100%;
}

#container,
#header,
#footer {
  width: 100%;
  display: flex;
  justify-content: center;
}

#header {
  padding: 3rem 0 5rem;
}

#main,
#footer .inside {
  width: var(--ak-content-width);
}

#footer .inside {
  height: 100%;
}

#footer .inside {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#main .inside {
  min-height: 31.25rem;
}

/* Sticky Footer */

#container {
  padding-bottom: var(--ak-footer-height);
}

#footer {
  height: var(--ak-footer-height);
  padding: var(--ak-spacing-small) 0;
  position: absolute;
  bottom: 0;
}

/*
 * Farben
 */

body {
  background-color: var(--ak-main-bg-color);
  color: var(--ak-main-text-color);
}

#footer {
  background-color: var(--ak-inverse-bg-color);
  color: var(--ak-inverse-text-color);
}

/*
 * Text
 */

body {
  font-family: var(--ak-font);
  font-size: var(--ak-font-size);
  font-weight: 200;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

p,
ul,
label,
input,
button,
textarea,
.captcha_text {
  line-height: 1.375;
}

b,
strong {
  font-weight: 700;
}

p,
ul li {
  text-align: left;
  overflow-wrap: break-word;
}

ul {
  list-style-type: disc;
  list-style-position: inside;
}

p+p,
p+ul,
ul+p {
  margin-top: 1.25rem;
}

#footer * {
  font-size: calc(0.8 * var(--ak-font-size));
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ak-font);
  font-weight: 200;
  -ms-hyphens: manual;
  -moz-hyphens: manual;
  -webkit-hyphens: manual;
  hyphens: manual;
  font-style: normal;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1.125rem;
}

p+h2,
ul+h2,
ol+h2 {
  /* relativ zur font-size des Elements */
  margin-top: 1.25em;
}

h1 {
  margin-bottom: 2rem;
}

h2 {
  /* relativ zur font-size des Elements */
  margin-bottom: 0.6em;
}

h3,
h4,
h5,
h6 {
  /* relativ zur font-size des Elements */
  margin-top: 1.25em;
  margin-bottom: 0.75em;
}

h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0;
}

/*
 * Links
 */

a {
  color: var(--ak-main-text-color);
}

a:hover {
  opacity: 0.7;
}

#footer a {
  color: var(--ak-inverse-text-color);
}

a:link,
a:hover,
a:focus,
a:active,
a:visited {
  outline: none;
}

a.button {
  display: block;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  background-color: var(--ak-accent-color);
  color: var(--ak-inverse-text-color);
  text-decoration: none;
  margin: 1rem auto 0;
  font-weight: 600;
  width: 100%;
}

a.button:hover {
  opacity: 0.9;
}

a.button:active {
  transform: translateY(1px);
}

/*
 * Bilder
 */

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

/*
 * Spalten
 */

.columns {
  --column-gap: 1rem;
  --row-gap: 1rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--column-gap);
  row-gap: var(--row-gap);
}

.columns.centered {
  justify-content: center;
  text-align: center;
}

.columns.col2>div {
  width: calc((100% - var(--column-gap)) / 2);
}

.columns.col3>div {
  width: calc((100% - 2 * var(--column-gap)) / 3);
}

/*
 * Abstände
 */

.mod_article,
.margin-l {
  margin-bottom: var(--ak-spacing-large);
}

.margin-m {
  margin-bottom: var(--ak-spacing-medium);
}

.margin-s {
  margin-bottom: var(--ak-spacing-small);
}

/*
 * Logo und Untertitel
 */

#logo {
  width: 25rem;
  margin: 0 auto;
}

#logo a:hover {
  opacity: 1;
}

#untertitel {
  font-family: Geologica;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ak-color-3);
  margin-top: 2rem;
  text-align: center;
  hyphens: none;
}

/*
 * Containers
 */

.content-element-group.columns {
  --row-gap: var(--ak-spacing-large);
 }

/*
 * Ärzte
 */

#aerzte {
  --row-gap: var(--ak-spacing-medium);
 }

.arzt.content-image figcaption {
  margin-top: 1rem;
}

.arzt.content-image figcaption h3 {
  margin-bottom: 0.75rem;
}

.arzt.content-image figure img {
  border-radius: 50%;
  border: 1px solid var(--ak-color-3);
}

/*
 * Abschnitt-Überschriften
 */

h2.section,
.section h2 {
  text-align: center;
  line-height: 1.5;
  display: flex;
  flex-direction: row;
  column-gap: 0.5rem;
  align-items: center;
}

h2.section::before,
.section h2::before {
  content: " ";
  display: block;
  flex-grow: 1;
  height: 0;
  border-bottom: 1.5px solid var(--ak-color-2);
}

h2.section::after,
.section h2::after {
  content: " ";
  display: block;
  flex-grow: 1;
  height: 0;
  border-bottom: 1.5px solid var(--ak-color-2);
}

/*
 * Angebot
 */

#angebot ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 1rem;
  align-content: start;
}

#angebot ul li {
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: calc((100% - 2rem) / 3);
  height: 5rem;
  padding: 1rem;
  background-color: var(--ak-color-4);
  color: var(--ak-color-1);
  border-radius: 1rem;
}

/*
 * Sprechzeiten
 */

#sprechzeiten table {
  table-layout: fixed;
}

#sprechzeiten td {
  line-height: 1.375;
}

#sprechzeiten colgroup col:first-child {
  width: 8.5rem;
}

/*
 * Termine
 */

#termine p.button {
  display: block;
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  background-color: var(--ak-inverse-bg-color);
  color: var(--ak-inverse-text-color);
}

/*
 * Aktuelles
 */

#aktuelles>div * {
  color: var(--ak-color-1);
}

#aktuelles>div {
  background-color: var(--ak-color-4);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
}

#aktuelles>div h3 {
  margin-top: 1rem;
}

#aktuelles p.info {
  font-weight: 700;
  font-size: 1rem;
}

/*
 * Footer
 */

#footerlinks {
  display: flex;
  flex-direction: row;
  column-gap: 2rem;
}

/*
 * Popups
 */

dialog.alpdeskDialogOpen {
  max-width: calc(100px + 60%);
  padding: 1rem 1.5rem 1.5rem;
  border-radius: 1rem;
  background-color: var(--ak-color-4);
}

dialog.alpdeskDialogOpen * {
  font-family: var(--ak-font);
}

/*
 * Unterseite Ärzt:innen
 */

.bio {
  display: flex;
  flex-direction: row;
  column-gap: 3rem;
}

.bio figure img {
  border-radius: 50%;
  border: 1px solid var(--ak-color-3);
}

/*
 * Media Queries
 */

@media screen and (max-width: 80rem) {

  /* width <= 1280px */

  :root {
    /* entspricht 1200px bei 1280px Breite */
    --ak-content-width: 93.75%;
  }

}

@media screen and (max-width: 58.4375rem) {

  /* width <= 935px */

  .columns.col3>div {
    width: calc((100% - var(--column-gap)) / 2);
  }

  #angebot ul li {
    width: calc((100% - 1rem) / 2);
  }

}

@media screen and (max-width: 41.875rem) {

  /* width <= 670px */

  :root {
    --ak-content-width: calc(100% - 2.5rem);
  }

  #header {
    padding-top: 7rem;
  }

  #logo {
    width: 59.6%;
  }

  .columns>div {
    width: 100% !important;
  }

  #angebot ul li {
    width: 100%;
  }

}

/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
  padding: 1rem 0.75rem 0.75rem;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger.is-active:hover {
  opacity: 0.7;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: #fff;
}

.hamburger-box {
  width: 35px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 35px;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

/*
   * Squeeze
   */
.hamburger--squeeze .hamburger-inner {
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze .hamburger-inner::before {
  transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamburger--squeeze .hamburger-inner::after {
  transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--squeeze.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.hamburger--squeeze.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/*
 * Navigation
 */

#navigation {
  position: fixed;
  top: 1rem;
  left: 1rem;
  border-radius: 0.5rem;
  background-color: var(--ak-inverse-bg-color);
  color: var(--ak-inverse-text-color);
}

#overlay {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

#menu {
  padding: 0;
  width: 0px;
  height: 0px;
  overflow: hidden;
  transition: all 250ms ease-in-out;
}

#menu.showing {
  width: 300px;
  height: 500px;
}

#menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#menu ul li {
  /* border-top: 1px solid var(--ak-color-3); */
}

#menu ul li:last-of-type {
  /* border-bottom: 1px solid var(--ak-color-3); */
}

#menu ul li strong,
#menu ul li a {
  display: block;
  text-wrap: nowrap;
  text-overflow: clip;
  padding: 1rem;
  color: var(--ak-inverse-text-color);
  text-decoration: none;
}

#menu ul li a:hover {
  background-color: var(--ak-color-1);
}
