*{
  box-sizing: border-box;
}

:root {
  --anthrazit: #383836;
  --koralle: #E69E75;
  --hellgrau: #F8F8F8;

}


::selection {
  background: var(--koralle); /* WebKit/Blink Browsers */
  color: var(--anthrazit);
}
::-moz-selection {
  background: var(--koralle); /* Gecko Browsers */
  color: var(--anthrazit);
}

html{
  font-size: 18px;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens:auto;
}
@media screen and (min-width:1050px){
  html{
    font-size: 20px;
  }
}
@media screen and (min-width:1300px){
  html{
    font-size: 22px;
  }
}
@media screen and (min-width:1700px){
  html{
    font-size: 24px;
  }
}
@media screen and (min-width:2200px){
  html{
    font-size: 28px;
  }
}
@media screen and (min-width:2700px){
  html{
    font-size: 34px;
  }
}

body{
  font-family: 'Karla', -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  font-feature-settings: "liga";
  font-weight: 400;
  background-color: var(--hellgrau);
  color:var(--anthrazit);
  font-size: 1rem;
  line-height: 1.6rem;
  margin: 0;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}


p{
  margin:0 0 1.8rem;
}

h1{
  font-size: 2.9rem;
  line-height:3.6rem;
  font-weight: bold;
  margin: 0 0 1rem;
  hyphens:manual;
}
@media screen and (max-width:580px){
  h1{
    font-size: 2.4rem;
    line-height:3.1rem;
  }
}

h2{
  font-size: 1.6rem;
  line-height: 2.2rem;
  font-weight: bold;
  margin: 0 0 0.3rem;
}
@media screen and (max-width:580px){
  h2{
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
}

h3{
  font-size: 1rem;
  line-height:1.4rem;
  font-weight: bold;
  margin: 0 0 0.2rem;
}
h4{
  font-size: 0.7rem;
  line-height:1.3rem;
  font-weight: bold;
}
h5{
  font-size: 0.7rem;
  line-height:1.3rem;
  font-weight:normal;
}
h6{
  font-size: 0.7rem;
  line-height:1.3rem;
  font-weight:normal;
  color: rgba(28, 28, 28, 0.5);
}



ul, ol {
  margin: 25px 0 30px 0;
}

ul > li, ol > li{
  margin-bottom: 14px;
}

a, a:visited{
  color: var(--ocker);
  text-decoration: underline;
  text-decoration: none;
  font-weight: 600;
  font-style: italic;
}
a:hover, a:focus{
  text-decoration: underline;
  color:var(--koralle);
}

.artikel a, .artikel a:visited{
  color: var(--schwarz);
  text-decoration: none;
  font-weight: 600;
  font-style: italic;
  display: inline-block;
  background-image: linear-gradient( 180deg,var(--gelb) 65%,var(--gelb) 0);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: all 0.4s ease 0s;
  text-decoration: underline;
}
.artikel a:hover, a:focus{
  background-size: 100% 100%;
/*
  margin: 0.2rem;
  padding: 0.2rem;
  */
}






img{
  object-fit: cover;

  width: 100%;
}


blockquote{
  color:var(--koralle);
  font-weight:100;
  font-style:italic;
  font-size: 1.8rem;
  line-height: 2.4rem;
  margin: 1.5rem 0 2rem 2rem;
}
@media screen and (max-width:580px){
  blockquote{
    font-size: 1.3rem;
    line-height: 2.0rem;
    margin: 1.5rem 0 2rem 0;
  }
}
#avatar{
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: solid 1px rgba(0,0,0,0.2);
  margin: 0;
}
#unterschrift{
  width: 5.5rem;
  margin: 0;
}

.spam{
  unicode-bidi: bidi-override;
    direction: rtl;
}

label{
  font-size: 0.7rem;
  opacity: 0.7;

}
input, textarea{
  font-family: "jaf-facitweb", -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  line-height: 1.6rem;
  padding: 0.5rem 0.8rem;
  padding:0.3rem 0.8rem 0.35rem;
  width: 100%;
  margin: 0 0 1rem;
  background-color: var(--beige-hell);
  border-radius: 3px;
  border: 1px solid var(--beige)

}

form{
  margin: 2rem 0 7rem;
}
textarea{
  resize: vertical;
  color: rgba(28,28,28,0.9);
  padding:1.2rem 1.8rem 1.8rem;
  font-size: 1rem;
  line-height: 1.6rem;

}

input[type="submit"] {
  -webkit-appearance: none;
  font-size: 0.7rem;
  font-weight:700;
  font-style: italic;
  text-decoration: none;
  padding:0.5rem 1rem ;
  padding:0.3rem 1rem 0.35rem;
  transition: all 0.15s ease-in-out 0s;
  float:left;
  margin: 1rem 0 2rem;

  text-align: center;
  border-radius: 2px;
  width: auto;
  color:var(--schwarz);
  background-color: var(--gelb);
  border: none;
  cursor: pointer;
  margin: 0 0 1rem;

}

input[type="submit"]:hover {
  background-size: 0 0;
  padding:0.5rem 1.2rem;
  padding:0.3rem 1.1rem 0.35rem;
  letter-spacing: 1px;
  background-color:var(--gelb-highlight);


}



.fehlermeldung{
  color: red;
  font-size: 0.7rem;
  line-height: 1rem;
  font-weight: 300;
  margin: -0.5rem 0 1rem;
  display: none;
}


.invalid label{
  color: red;
  opacity: 1;
  font-weight: 700;
}
.invalid input,
.invalid textarea{
  border: 3px solid red;
  color: red;

}
.invalid textarea{
  color: var(--schwarz)
}
.invalid .fehlermeldung{
  display: block;
}
