html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin: 0;padding: 0;}
h1,h2,h3,h4,h5,h6{font-size: 100%;font-weight: normal;}
ul{list-style: none;}
button,input,select{margin: 0;}
html{box-sizing: border-box;}
*,*::before,*::after{box-sizing: inherit;}
img,video{height: auto;max-width: 100%;}
iframe{border: 0;}
table{border-collapse: collapse; border-spacing: 0;}
td,th{padding: 0;}

@font-face {font-family: 'text';src: url('../fonts/Oxygen-Light.woff2') format('woff2');font-weight: 300;font-style: normal;}
@font-face {font-family: 'text';src: url('../fonts/Oxygen-Regular.woff2') format('woff2');font-weight: 400;font-style: normal;}
@font-face {font-family: 'text';src: url('../fonts/Oxygen-Bold.woff2') format('woff2');font-weight: 700;font-style: normal;}

a {
  display: inline-block;
}

strong {
  font-weight: bold;
}

body {
  background-color: #e4e7e5;
  background-image: linear-gradient(#bbc3be,#e4e7e5);
  background-repeat: no-repeat;
}

body>div {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  overflow-wrap: break-word;
  font-family: text, sans-serif;
  font-size: 4vw;
  line-height: 1.4;
}

h1, footer {
  margin: 0 auto;
  width: min-content;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

h1 {
  padding: 1em 0 .5em;
  font-size: 7.6vw;
}

h1 a {
  text-decoration: none;
  color: black;
}

h1 a:hover {
  background-color: #e4e7e5;
}

h1 img {
  width: 50%;
}

section {
  margin-bottom: 2em;
  hyphens: manual;
}

section img {
  display: block;
  margin: 1em auto;
  border: 1px solid transparent;
  padding: 2vw;
  height: auto;
  width: 90vw;
  background-color: #d0d5d2;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  opacity: .8;
}

section a {
  padding: 0 0.2em;
  border: 1px solid transparent;
  margin-top: -0.3em;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  color: black;
}
 
section a:hover {
  border: 1px solid #78877e;
  box-shadow: none;
}

h2 {
  padding: 1em 0 .5em;
  font-size: 7vw;
  text-align: center;
}

h3 {
  padding: 1em 0 .5em 0.8em;
  font-size: 5vw;
}

p {
  padding: 0 1em .5em;
}

li {
  margin-left: 2em;
  padding: 0 1em .25em 0;
}

table {
  margin: 1rem auto;
  border-collapse: separate;
  border-spacing: .8rem .2rem;
  padding: .5em;
  text-align: left;
  vertical-align: middle;
}

table td:first-child {
  text-align: right;
}
 
table a {
  margin: 1em;
  border: 1px solid transparent;
  padding: 2% 1%;
  width: 95%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
 
form {
  margin: 1rem auto;
  padding: 1em;
}

div.form-field {
  margin-top: 0.5em;
}

form label span.required {
  display: none;
}

input,
div.form-select-wrapper select {
  width: 100%;
  padding: 8px;
  background-color: #e4e7e5;
  font-family: text, sans-serif;
  font-size: 4vw;
  line-height: 1.4;
  font-size: 1em;
}

input:focus {
  background-color: white;
}

input[type=submit] {
  width: fit-content;
  border-radius: 0;
}

#contact-form-wrapper div.notices p {
  font-weight: bold;
}


/*  Sonderbehandlung  */

body.home section > p:last-child,
body.leistungen section p {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
  margin: 0 auto;
  padding: 1em;
}

body.home section > p:last-child a,
body.leistungen section > p + p a,
#contact-form button {
  width: 6.5em;
  padding: 1em 0;
  border: 1px solid #78877e;
  margin: 2em 0.2em 0 0.3em;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  font-size: 1em;
  text-decoration: none;
  hyphens: manual;
  color: black;
  background-color: #bbc3be;
  text-align: center;
  align-self: center;
}

body.home section > p:last-child a:hover,
body.leistungen section p a:hover,
#contact-form button:hover {
  box-shadow: none;
}

body.home section > p:last-child a:last-child {
  padding: 0.304em 0;
}

body.special section > p,
body.special section > ul {
  width: fit-content;
  margin: 0 auto;
}

body.preise section > p,
body.preise section > ul {
  margin: 0 auto;
  list-style-type: square;
}

section > p:first-child {
  position: absolute;
  top: 1em;
}

section > p:first-child a {
  width: 1.7em;
  padding: 0 0 0.25em 0;
  font-size: 200%;
}

body.home section > p:first-child {
  top: 2em;
  margin-left: 18em;
}

body.home section > p:first-child a {
  width: 1em;
  border: none;
  padding: 0;
  box-shadow: none;
}

body.home section > p:first-child a {
  border: none;
  padding: 0;
  box-shadow: none;
}

body.home section > p:first-child a img {
  margin: 0;
  border; none;
  padding: 0;
  box-shadow: none;
}


footer {
  width: 100vw;
  border-top: 1px solid #bbc3be;
}

footer a {
  margin: 1em;
  padding: 4% 1%;
  text-decoration: none;
  color: black;
  text-align: center;
}

footer a:hover {
  background-color: #bbc3be;
}

@media screen and (min-width: 800px) {

body > div {
  margin: 1em auto;
  width: 60%;
  min-width: 800px;
  font-size: 1em;
  font-variant-ligatures: common-ligatures;
}

section div.center {
  text-align: center;
}

section img {
  width: 90%;
  padding: 1em;
}

h1, h2, nav, footer {
  margin: 0 auto;
  text-align: center;
}

h1 {
  padding: 1em 0 .5em;
  font-size: 2em;
  opacity: .9;
}

h1 a {
  padding: 0 1em;
}

h1>img {
  width: 200px;
}

h2 {
  margin: 1rem;
  font-size: 1.6em;
  line-height: 1.2;
}

h3 {
  margin: 0.5rem;
  padding-left: 0.4em;
  font-size: 1.2em;
  line-height: 1.2;
}

section > p:first-child {
  top: 3em;
}

input {
  font-size: 1em;
}

#contact-form-wrapper div.notices {
  position: relative;
  top: 35.2em;
  left: 17em;
  width: fit-content;
}

body.home section > p:first-child {
  position: relative;
  top: -11em;
  margin-right: 1.4em;
  text-align: right;
}

body.home section > p:first-child a {
  width: 1.7em;
}

body.home section > p:first-child + p {
  margin-top: -4em;
}

body.preise section > p,
body.preise section > ul {
  margin-left: 12vw;
}

footer {
  width: 100%;
}

footer a {
  padding: 1em;
}

}
