/* © 2026 Dr. Benedikt Matt, amrhein.at – Alle Rechte vorbehalten. */

/* Schriften Montserrat und Source Sans Pro: SIL Open Font License, /dateien/schriften/OFL-Montserrat.694d272dc7.txt, /dateien/schriften/OFL-SourceSansPro.9649787798.txt */
@font-face {
  font-family: 'Montserrat Regular';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/dateien/schriften/montserrat-regular.e0ab422e5b.woff2') format('woff2'),
       url('/dateien/schriften/montserrat-regular.17696931e2.woff') format('woff');
}
@font-face {
  font-family: 'NSR';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/dateien/schriften/source-sans-pro-regular.844ccd0cc5.woff2') format('woff2'),
       url('/dateien/schriften/source-sans-pro-regular.03f1549d6b.woff') format('woff');
}

:root {
  --gruen: #3e5b4c;
  --sand: #E1CCBE;
  --hell: #EEEDEB;
  --grau: #696969;
  --orange: rgba(223, 89, 0, 1);
  --luecke: 11px;
  --zeile: calc(min(1400px, 96vw) * .0215);
  --takt: calc(var(--zeile) + var(--luecke));
  --spalten: [voll-start] minmax(calc(2vw - 11px), 1fr) repeat(24, minmax(0, 47.792px)) minmax(calc(2vw - 11px), 1fr) [voll-end];
}
@media (max-width: 767px) {
  :root {
    --zeile: 24px;
    --spalten: [voll-start] calc(6vw - 11px) repeat(8, minmax(0, 1fr)) calc(6vw - 11px) [voll-end];
  }
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--sand);
  color: #000;
  font-family: sans-serif;
  font-size: 16px;
  overflow-wrap: break-word;
}
#seite, #fusszeile {
  --v: 1.1;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.8em;
  -webkit-font-smoothing: antialiased;
}
#seite, #fusszeile, h1, h2, h3, h4 {
  font-size: min(calc((var(--v) - 1) * 1.2vw + 1rem), max(calc((var(--v) - 1) * 16.8px + 1rem), calc(var(--v) * 1rem)));
}
@media screen and (max-width: 767px) and (orientation: portrait) {
  #seite, #fusszeile, h1, h2, h3, h4 {
    font-size: calc((var(--v) - 1) * min(1.2vh, 10.8px) + 1rem);
  }
}
h1, h2, h3, h4 {
  margin: 2rem 0;
  font-family: 'Montserrat Regular', sans-serif;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: calc(1.4em * (1 + (1 - var(--v)) / 25));
}
h1, h2 { --v: 2.6; }
h3 { --v: 1.9; }
h4 { --v: 1.2; }
p {
  margin: 1rem 0;
  font-family: 'NSR', sans-serif;
  line-height: 1.8em;
}
a {
  color: inherit;
  cursor: pointer;
  text-decoration: none !important;
}
img { border: 0; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
button, input, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: 100%;
}
button, input { line-height: normal; }
button, select { text-transform: none; }
button {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}
:focus { outline-offset: 4px; }
:focus, a:focus { outline-width: 2px; outline-style: solid; }
:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }

.seitenabschnitt {
  display: grid;
  grid-template-columns: var(--spalten);
  column-gap: var(--luecke);
  align-content: start;
  padding-bottom: var(--takt);
}
.seitenabschnitt > * {
  grid-column: 9 / 26;
  margin-top: var(--luecke);
  min-width: 0;
}
.seitenabschnitt > :first-child { margin-top: var(--takt); }
.seitenabschnitt > .schmal { grid-column: 11 / 24; }
.seitenabschnitt > .mittel { grid-column: 10 / 25; }
.seitenabschnitt > .eng { grid-column: 12 / 23; }
.seitenabschnitt > .voll { grid-column: voll; }
.seitenabschnitt > .frei-1 { margin-top: calc(var(--luecke) + var(--takt)); }
.seitenabschnitt.ohne-rest { padding-bottom: 0; }
.zeilen-2 { min-height: calc(2 * var(--zeile) + var(--luecke)); }
.zeilen-4 { min-height: calc(4 * var(--zeile) + 3 * var(--luecke)); }
.zeilen-6 { min-height: calc(6 * var(--zeile) + 5 * var(--luecke)); }
.zeilen-7 { min-height: calc(7 * var(--zeile) + 6 * var(--luecke)); }
.zeilen-13 { min-height: calc(13 * var(--zeile) + 12 * var(--luecke)); }
.zeilen-14 { min-height: calc(14 * var(--zeile) + 13 * var(--luecke)); }
.zeilen-26 { min-height: calc(26 * var(--zeile) + 25 * var(--luecke)); }
.zeilen-35 { min-height: calc(35 * var(--zeile) + 34 * var(--luecke)); }
.zeilen-63 { min-height: calc(63 * var(--zeile) + 62 * var(--luecke)); }
.zeilen-112 { min-height: calc(112 * var(--zeile) + 111 * var(--luecke)); }
.mitte, .unten {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.unten { justify-content: flex-end; }
@media (max-width: 767px) {
  .seitenabschnitt > *,
  .seitenabschnitt > .schmal,
  .seitenabschnitt > .mittel,
  .seitenabschnitt > .eng { grid-column: 2 / 10; }
  .seitenabschnitt > .m-frei-0 { margin-top: var(--luecke); }
  .seitenabschnitt > .m-frei-1 { margin-top: calc(var(--luecke) + var(--takt)); }
  .seitenabschnitt > .m-frei-2 { margin-top: calc(var(--luecke) + 2 * var(--takt)); }
  .seitenabschnitt.m-ohne-rest { padding-bottom: 0; }
  .seitenabschnitt.m-mit-rest { padding-bottom: var(--takt); }
  .m-zeilen-3 { min-height: calc(3 * var(--zeile) + 2 * var(--luecke)); }
  .m-zeilen-4 { min-height: calc(4 * var(--zeile) + 3 * var(--luecke)); }
  .m-zeilen-5 { min-height: calc(5 * var(--zeile) + 4 * var(--luecke)); }
  .m-zeilen-6 { min-height: calc(6 * var(--zeile) + 5 * var(--luecke)); }
  .m-zeilen-10 { min-height: calc(10 * var(--zeile) + 9 * var(--luecke)); }
  .m-zeilen-15 { min-height: calc(15 * var(--zeile) + 14 * var(--luecke)); }
  .m-zeilen-20 { min-height: calc(20 * var(--zeile) + 19 * var(--luecke)); }
  .m-zeilen-23 { min-height: calc(23 * var(--zeile) + 22 * var(--luecke)); }
  .m-zeilen-24 { min-height: calc(24 * var(--zeile) + 23 * var(--luecke)); }
  .m-zeilen-41 { min-height: calc(41 * var(--zeile) + 40 * var(--luecke)); }
  .m-zeilen-106 { min-height: calc(106 * var(--zeile) + 105 * var(--luecke)); }
  .m-zeilen-261 { min-height: calc(261 * var(--zeile) + 260 * var(--luecke)); }
  .m-oben, .m-mitte, .m-unten {
    display: flex;
    flex-direction: column;
  }
  .m-oben { justify-content: flex-start; }
  .m-mitte { justify-content: center; }
  .m-unten { justify-content: flex-end; }
}
.block img { max-width: 100%; }
.block > iframe { margin-bottom: 10px; }

.seitenlogo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(3 * var(--zeile) + 2 * var(--luecke));
}
.amrhein-logo {
  display: block;
  width: 77px;
  line-height: 0;
}
.amrhein-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.text > :first-child { margin-top: 0; }
.text > :last-child { margin-bottom: 0; }
.text p, .text h1, .text h2, .text h3, .text h4 { white-space: pre-wrap; }
.text h1,
.zentriert { text-align: center; }
.text p:empty::before { content: ""; display: inline-block; }
.text :not(h1):not(h2):not(h3) { overflow-wrap: break-word; }
.text ul li { list-style-type: none; }
.text ul li > * { margin-top: .5em; margin-bottom: .5em; }
.text ul li > :first-child::before {
  content: "•";
  display: inline-block;
  box-sizing: border-box;
  min-width: 40px;
  margin-left: -40px;
  padding-right: 10px;
  text-align: right;
  white-space: pre;
}
.quellen h1 { text-align: center; }
.extern-symbol { vertical-align: middle; }
.grau { color: var(--grau); }
.gruen { color: var(--gruen); }

#fusszeile {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: var(--spalten);
  grid-auto-rows: minmax(var(--zeile), auto);
  gap: var(--luecke);
  background: var(--sand);
}
#fusszeile > * {
  z-index: 1;
  min-width: 0;
}
#fusszeile > .fuss-band {
  z-index: 0;
  grid-area: 2 / voll-start / 13 / voll-end;
}
#fusszeile > .fuss-termin { grid-area: 5 / 10 / 8 / 14; }
#fusszeile > .fuss-tropfen { grid-area: 5 / 14 / 8 / 18; }
#fusszeile > .fuss-email { grid-area: 5 / 18 / 8 / 22; }
#fusszeile > .fuss-telefon { grid-area: 5 / 22 / 8 / 26; }
#fusszeile > .fuss-karte {
  grid-area: 9 / 9 / 23 / 26;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#fusszeile > .fuss-impressum {
  grid-area: 23 / 15 / 25 / 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 767px) {
  #fusszeile > .fuss-band { grid-area: 1 / voll-start / 5 / voll-end; }
  #fusszeile > .fuss-termin { grid-area: 6 / 2 / 9 / 6; }
  #fusszeile > .fuss-tropfen { grid-area: 6 / 6 / 9 / 10; }
  #fusszeile > .fuss-email { grid-area: 9 / 2 / 12 / 6; }
  #fusszeile > .fuss-telefon { grid-area: 9 / 6 / 12 / 10; }
  #fusszeile > .fuss-karte { grid-area: 12 / 2 / 20 / 10; }
  #fusszeile > .fuss-impressum {
    grid-area: 20 / voll-start / 22 / voll-end;
    justify-content: flex-end;
  }
}

.fixed-sidebar-leistungen-band, .fixed-sidebar-faq-band, .fixed-sidebar-kontakt-band {
  width: 100%;
  height: 280px;
  background: linear-gradient(to bottom, rgba(238, 237, 235, 0), rgba(238, 237, 235, 0.4), rgba(238, 237, 235, 0));
  transform: skewY(4deg);
}
.fixed-sidebar-team-band, .fixed-sidebar-ordinationszeiten-band {
  width: 100%;
  height: 280px;
  background: linear-gradient(to bottom, rgba(238, 237, 235, 0), rgba(238, 237, 235, 0.4), rgba(238, 237, 235, 0));
  transform: skewY(-4deg);
}
.fixed-sidebar-start-band2 {
  width: 100%;
  height: 1500px;
  background: linear-gradient(to bottom, rgba(238, 237, 235, 0), rgba(225, 204, 190, 0.5), rgba(225, 204, 190, 1), rgba(225, 204, 190, 1), #E1CCBE, #E1CCBE, #E1CCBE, #E1CCBE, #E1CCBE);
  transform: skewY(-4deg);
}
.hover-kippen,
.kontaktmoeglichkeiten { transition: transform 0.5s; }
a:hover .hover-kippen,
a:hover .kontaktmoeglichkeiten { transform: scale(1.05, 1.05) rotate(3deg) translateY(-5px); }
.hover-zoom-4 { transition: transform 0.5s; }
.hover-zoom-4:hover { transform: scale(1.1, 1.1); }
@media screen and (max-width: 767px) {
  #myModalArztauswahl .desktop-only-heading { display: none; }
  .fixed-sidebar-start-band2 { display: none; }
  .fixed-sidebar-kontakt-band, .fixed-sidebar-team-band, .fixed-sidebar-leistungen-band,
  .fixed-sidebar-ordinationszeiten-band, .fixed-sidebar-faq-band { height: 125px; }
  .kontaktmoeglichkeiten { width: 35px; height: 35px; }
  .kontaktmoeglichkeiten-a h4 { font-size: 0.9rem; }
}

.fluss,
.fluss-achse,
.fluss-adresse { display: none; }
@media screen and (min-width: 768px) {
  .fluss {
    display: block;
    position: absolute;
    top: 0;
    z-index: 11;
    pointer-events: none;
  }
  .fluss svg {
    display: block;
    overflow: visible;
  }
  .fluss .fluss-bett,
  .fluss .fluss-wasser {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .fluss .fluss-bett { stroke: var(--hell); }
  .fluss .fluss-wasser { stroke: var(--gruen); }
  .fluss .fluss-punkt {
    fill: var(--gruen);
    stroke: var(--sand);
    stroke-width: 2.5;
  }
  .fluss .fluss-arm-bett,
  .fluss .fluss-arm-wasser {
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .fluss .fluss-arm-bett { stroke: var(--hell); }
  .fluss .fluss-arm-wasser { stroke: var(--gruen); }
  .fluss .fluss-neben-bett,
  .fluss .fluss-neben-wasser {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .fluss-achse {
    display: block;
    position: fixed;
    top: 0;
    left: calc(max(2vw - 11px, (100% - 1400px - 22px) / 2) + min((1400px - 253px) / 24, (100% - 253px - 4vw) / 24) + 44px);
    width: 80px;
    height: 0;
    visibility: hidden;
    pointer-events: none;
  }
  html.adresse-am-fluss #fusszeile a.standortkarte-adresse { display: none; }
  html.adresse-am-fluss .fluss-adresse {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: absolute;
    z-index: 51;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    color: var(--gruen);
    font-family: 'Montserrat Regular', sans-serif;
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }
  .fluss-adresse:focus-visible {
    outline: 2px solid var(--gruen);
    outline-offset: 4px;
    border-radius: 5px;
  }
  .fluss-adresse-kreis {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--sand);
    box-shadow: inset 0 0 0 2.5px var(--hell);
  }
  .fluss-adresse-kreis svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: var(--gruen);
  }
  .fluss-adresse-kreis svg.fluss-ring,
  .fluss-adresse-kreis svg.fluss-wellen {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }
  .fluss-ring-wasser {
    fill: none;
    stroke: var(--gruen);
    stroke-width: 2.5;
    stroke-dasharray: 0 80;
  }
  .fluss-ring-punkt {
    fill: var(--gruen);
    stroke: var(--sand);
    stroke-width: 1.5;
    opacity: 0;
  }
  .fluss-welle {
    fill: none;
    stroke: var(--gruen);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    transform-box: fill-box;
    transform-origin: 50% 50%;
    opacity: 0;
    animation: fluss-welle 1.4s cubic-bezier(0.25, 0.6, 0.35, 1) forwards;
  }
  @keyframes fluss-welle {
    0% { opacity: 0.6; transform: scale(1.14); }
    100% { opacity: 0; transform: scale(2.14); }
  }
  @media (prefers-reduced-motion: reduce) {
    .fluss-welle { display: none; }
  }
  .fluss-auslauf {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 60px;
    height: 88px;
    margin-left: -30px;
    overflow: visible;
    pointer-events: none;
  }
  .fluss-auslauf path {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}
