:root {
  --form-control-color: #e2007e;
  --select-arrow: var(--select-border);
}

* {
  margin: 0; 
  padding: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  min-width: 1vw;
  min-height: 1vh;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
}

img {
  width: 100%;
}

h1 {
  font-size: 2rem;
  color: #e2007e;
  padding: .5em 0 0;
  text-align: left;
}

h2 {
  font-size: 1.5rem;
  line-height: 1;
  background-color: #e2007e;
  color: #fff;
  padding: .5em;
  text-align: center;
  margin-bottom: 1em;
  box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
  -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
  border-radius: 0.15em;
  height: 50px;
}

.datum {
  height: auto;
}

h3 {
  width: 100%;
  margin-top: .5em;
  margin-bottom: .5em;
  font-size: 1.5rem;
}

label {
  font-weight: bold;
}

p {
  margin-top: 0.5em;
}

ul {
  list-style-position: inside;
}

.header {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 120px;
  background-color: #fff;
  z-index: 100;
  box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
}

.header-image img {
  height: 120px;
}

.container {
  display: flex;
  flex-direction: column;
  min-width: 1vw;
  padding: 150px 10px 0;
  background-color: #fefefe;
}

.rechts div, .rechts p {
  margin-bottom: 25px;
}

.form-control {
  display: flex;
  gap: 0.5em;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"] {
  width: 100%;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 1rem;
  box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
  border: none;
  border-radius: 0.15em;
}

input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 2em;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 1rem;
  background-color: #fff;
  box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
  border: none;
  border-radius: 0.15em;
}

input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 50%;
  transform: translateY(-0.075em);
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-control + .form-control {
  margin-top: .7em;
}

input[type="radio"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
  background-color: CanvasText;
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

.form-control:focus-within {
  color: var(--form-control-color);
}

.radio-container {
  width: 3em;
  height: 3em;
  border-radius: 50%;
  cursor: pointer;
  transition: 120ms transform ease-in-out;
}

.radio-container input[type="radio"] {
  width: 3em;
  height: 3em;
  opacity: 0;
}

.radio-container input[type="radio"]:checked {
  width: 3em;
  height: 3em;
}

.farben {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  width: auto;
  transition: 120ms transform ease-in-out;
  margin-bottom: 0 !important;
}

.groessen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  width: auto;
  transition: 120ms transform ease-in-out;
  margin-bottom: 0 !important;
}

.groessen div {
  width: 48%;
  margin-bottom: 0;
}

.farben h2, .groessen h2 {
  width: 100%;
}

.groessen label {
  font-weight: bold;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 0.15em;
  transform: translateY(-0.075em);
  display: flex;
  justify-content: center;
  align-items: center;
}

input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
  background-color: CanvasText;
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.disabled {
  color: #ccc;
}

.hinweise {
  width: 100%;
}

table {
  margin-top: 1em;
  width: 100%;
}

th {
  background-color: #ddd;
  padding: 0.7em;
  font-size: 0.8rem;
}

tr:nth-child(odd) td {
  background-color: #ddd;
  padding: 0.7em;
  font-size: 0.8rem;
}

tr:nth-child(even) td {
  background-color: #eee;
  padding: 0.7em;
  font-size: 0.8rem;
}

textarea {
  width: 100%;
  min-height: 100px;
  margin-top: 5px;
  font-size: 1.1rem;
  padding: 0.7em;
  box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
  -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5) inset;
  border: none;
  border-radius: 0.15em;
}

#telefon {
  margin-bottom: 2em;
}

button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  width: 100%;
  margin-bottom: 1em;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.5em;
  border-radius: 0.15em;
  background: rgb(8, 128, 240);
  color: #fff;
  box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75) inset;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75) inset;
  -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75) inset;
  cursor: pointer;
}

button:hover {
  background: rgb(6, 70, 131);
  color: #fff;
  box-shadow: 0px 0px 3px 0px rgba(255,255,255,0.75) inset;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(255,255,255,0.75) inset;
  -moz-box-shadow: 0px 0px 3px 0px rgba(255,255,255,0.75) inset;
}

.navigation {
  width: 100%;
  background-color: rgba(0,0,0,0.8);
  height: 50px;
  text-align: center;
  color: #fff;
}

.navigation a {
  line-height: 50px;
  color: #fff;
  text-decoration: none;
  transition: all 200ms;
}

.navigation a:hover {
  line-height: 50px;
  color: #ccc;
  text-decoration: underline;
  font-weight: bold;
}

#cookieConsent {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.8);
  color: #fff;
  width: 100%;
  min-height: 100%;
  height: auto;
  padding: 1em;
  z-index: 999;
}

#cookieConsent p {
  margin-bottom: 1em;
}

@media screen and (min-width: 960px) {

  .container {
    display: flex;
    flex-direction: row;
    min-width: 1vw;
    gap: 0 2em;
  }

  .links {
    min-width: 45%;
  }
  
  .groessen div {
    width: 32%;
    margin-bottom: 0;
  }
  
  #cookieConsent {
    top: auto;
    left: auto;
    bottom: 1em;
    right: 1em;
    width: 30%;
    min-height: auto;
  }

  #cookieConsent h3 {
    font-size: 1rem;
  }

  #cookieConsent p {
    font-size: 0.8rem;
  }

  #cookieConsent button {
    width: 49%;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.5em;
  }

  input[type="date"] {
    width: 30%;
  }
  
}

@media screen and (min-width: 1080px) {

  .groessen div {
    width: 23%;
    margin-bottom: 0;
  }
  
  .gender, .qualitaet, .kontakt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
    gap: 0 2em;
  }

  .gender h2, .qualitaet h2, .farben h2, .druckpositionen h2, .kontakt h2 {
    width: 100%;
  }

  .form-control + .form-control {
    margin-top: 0;
  }
  .druckpositionen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
    gap: 1em;
    margin-bottom: 0 !important;
  }

  .radio-container {
    width: 2em;
    height: 2em;
  }
  
  .radio-container input[type="radio"] {
    width: 2em;
    height: 2em;
    opacity: 0;
  }
  
  .radio-container input[type="radio"]:checked {
    width: 2em;
    height: 2em;
  }

}