:root {
  /*colors*/
  --txt-color: #3a3a3a;
  --light-grey: #a6a6a6;
  --akzent: #c82128;
  --mid-grey: #888888;

  /*other Variables*/
  --shadow: 0 1px 3px rgba(24, 29, 24, 0.8);
  --shadowDark: 8px 8px 8px rgba(87, 85, 84, 0.911);
  --maxwidth: 1500px;
  --paddingAll: 20px;

  /*navigation*/
  --navHight: 80px;
}

img {
  width: 100%;
}

.mat-icon {
  position: relative;
  color: rgb(56, 56, 56);
  justify-self: center;
  align-self: center;
  cursor: pointer;
  padding: 5px;
}
.red-button {
  cursor: pointer;
  font-size: 20px;
  background-color: var(--akzent);
  padding: 10px 10px 10px;
  width: 200px;
  color: white;
  border-radius: 3px;
  transition: all 0.25s;
}
.red-button:hover {
  background-color: rgb(92, 3, 3);
}
/*
KONTAKT
*/

input::placeholder {
  color: rgb(175, 175, 175);
}
textarea::placeholder {
  color: rgb(175, 175, 175);
}

.kontakt-field,
.input-small,
textarea {
  font-family: "Rajdhani", sans-serif;
  color: var(--darkGrey);
  font-size: 1em;
  width: 100%;
  padding: 12px 10px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
}
.input-small {
  padding: 6px 5px;
  margin: 8px 0;
  border-radius: 2px;
  max-width: 250px;
}

textarea {
  height: 270px;
  background-color: white;
  border-radius: 4px;
  resize: vertical;
  border: 1px solid grey;

}

.kontakt-field {
  font-family: "Rajdhani", sans-serif;
  color: var(--darkGrey);
  background-color: rgb(255, 255, 255);
  border: none;
  padding: 7px;
  border: 1px solid grey;
}
.haken {
  display: block;
  padding: 2px;
  padding-bottom: 12px;
  justify-self: end;
  align-self: center;
  width: 5px;
  height: 10px;
  border: solid rgb(255, 255, 255);
  border-width: 0 4px 4px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.false-x {
  position: absolute;
  display: block;
  justify-self: end;
  align-self: center;
  height: 25px;
  width: 2px;
  margin-left: 12px;
  background-color: rgb(167, 82, 82);
  transform: rotate(45deg);
  z-index: 1;
}

.false-xx {
  position: absolute;
  right: 00px;
  top: 0px;
  height: 25px;
  width: 2px;
  background-color: rgb(167, 82, 82);
  transform: rotate(90deg);
  z-index: 2;
}
.check-feld { 
  position: relative;
}
.check-feld-x {
  display: none;
  position: absolute;
  right: 3%;
  top: 50%;
  height: 25px;
  width: 25px;
  transform: translate(0,-50%);
}

#check-name,
#check-email,
#check-mesg {
  display: none;
}
#error-name,
#error-email,
#error-mesg {
  display: none;
}
#anfrage-form{
  position: relative;
}

#progress{
  opacity: 0;
  position: absolute;
  z-index: 1;
  display: flex;
  top: 50%;
  left:50%;
  transform: translate(-50%,-50%);
  gap: 5px;
}
.progress-block{
  text-align: left;
  z-index: 1;
  background-color: var(--akzent);
  height: 10px;
  width: 50px;
}

#responses {
  display: none;
  flex-direction: column;
  justify-content: center;
  flex-wrap: nowrap;


}
#success_message,
#error_message {
  display: flex;
  border-radius: 3px;
  position: relative;
  text-align: center;
  background: #d0d0d0;
  padding: 20px;
  flex-direction: column;
  color: white;
  align-items: center;
}
#success-img {
  margin-bottom: 20px;
  width: 250px;
  max-width: 100%;
}
#success_message .fliess {
  text-align: center;
}
#error_message {
width: 100%;;
}
#error-text {
  position: absolute;
  right: 3%;
  top: 50%;
  height: 25px;
  width: 25px;
}
#validation-error {
  display: none;
  color: var(--akzent);
}

.grid-elm2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 50px;
  padding: var(--paddingAll);
  width: 100%;
  margin-bottom: 50px;
  border: none;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: rgb(128, 128, 128);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
/* LABEL Container*/
.label-check-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
  position: relative;
  padding-left: 38px;
  cursor: pointer;
  margin-bottom: 7px;
  display: inline-block;
  font-size: 16px;
}
/* checkbox aspect */
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0px;
  width: 20px;
  height: 20px;
  border: 2px solid #cccccc;
  background: #ffffff;
}
/* checked mark Häckchen */
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
  content: "✔";
  position: absolute;
  top: 2px;
  left: 7px;
  font-size: 16px;
  line-height: 1.2;
  color: var(--akzent);
  transition: all 0.2s;
}
/* checked mark aspect changes */
[type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
[type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}
/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #999999;
  background-color: #dddddd;
}
[type="checkbox"]:disabled:checked + label:after {
  color: #999999;
}
[type="checkbox"]:disabled + label {
  color: #aaaaaa;
}
/* accessibility */
[type="checkbox"]:checked:focus + label:before,
[type="checkbox"]:not(:checked):focus + label:before {
  border: 2px solid --akzent;
}
/* hover style just for information */
label:hover:before {
  border: 2px solid --var(--akzent) !important;
  background: #ffffff;
}
/* IMPRESSUM */
/*IMpressum*/
#impressum,
#datenschutz {
  display: block;
  color: black;
  background-color: #cfcfcf;
  padding: 40px 20px 100px;
  max-width: 800px;
  max-width: 100%;
  max-width: 800px;
  max-width: 100%;
  display: block;
  padding: 20px;
  text-align: left;
}

#impressum p,
#datenschutz p {
  margin: auto;
  word-wrap: break-word;
  text-align: left;
  font-size: 1em;
  max-width: 700px;
}

#impressum a,
#datenschutz a {
  margin: auto;
  word-wrap: break-word;
  text-align: left;
  color: rgb(67, 67, 104);
  font-size: 1em;
}

#impressum h2,
#datenschutz h2,
#impressum h1,
#datenschutz h1 {
  margin: 20px auto 20px;
  word-wrap: break-word;
  text-align: left;
  color: var(--carmin);
  max-width: 700px;
  font-size: 1.1em;
}

#impressum h1,
#datenschutz h1 {
  margin: 40px auto 20px;
  font-size: 1.5em;
}

#impressum li,
#datenschutz li {
  margin: 20px auto 20px;
  word-wrap: break-word;
  text-align: left;
  max-width: 700px;
  font-size: 1em;
  color: rgb(0, 0, 0);
}

#impressum .btn,
#datenschutz .btn {
  display: inherit;
  margin: 50px auto 00px;
}

/*cookie*/
.cookie-background {
  display: none;
  position: absolute;
  top: 0px;
  z-index: 1999;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  max-width: var(--maxwidth);
}

#cookie {
  position: absolute;
  z-index: 2000;
  display: flex;
  opacity: 1;
  transform: translate(0px, 0px);
  flex-direction: column;
  align-items: center;
  padding: 30px;
  margin: auto;
  background: rgb(216, 216, 216);
  color: rgb(43, 43, 43);
  /* left: 50%; */
  bottom: 0%;
  /* transform: translate(-50%, -50%); */
  text-align: center;
  max-width: var(--maxwidth);
  /* max-width: 100%; */
  width: 100%;
  align-items: center;
}
.cookie-text {
  text-align: left;
}
.cookie-head {
  font-weight: 800;
  font-size: 1.6em;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: gray;
}

#cookieCloser {
  margin: auto;
  cursor: pointer;
  text-align: center;
  padding: 15px;
  background: transparent;
  color: rgb(0, 0, 0);
  border: 1px solid rgb(0, 0, 0);
  max-width: 200px;
}
.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
#cookie-button {
  cursor: pointer;
  text-align: center;
  padding: 5px 10px 5px;
  background: var(--akzent);
  color: rgb(255, 255, 255);
  border-radius: 5px;
  max-width: 300px;
}
#cookie-impressum {
  display: flex;
  margin-top: 20px;
  text-align: center;
  padding: 5px 5px 5px;

  gap: 20px;
  flex-direction: row;
}
#cookie-impressum a {
  text-transform: uppercase;
  color: rgb(88, 88, 88);
}
@media (max-width: 600px) {
  .red-button {
    margin-top: 10px;
  }
  .grid-elm2 {
    display: flex; 
    flex-direction: column;

  }
  #address-block {
    margin-top: 30px;
  }
  .cookie-head {
    font-weight: 800;
    font-size: 1em;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: gray;
  }
}
