/*
@include max($tablet) {
	height: 60px;
}
*/
/*
Beispiel:
@include default_text_specs(
    $css-variable-prepend: "kc-teaser-title",
    $font-weight: 700,
    $line-height: 1,
    $text-align: "center"
);
*/
/*
Beispiel:
@include default_h1_specs(
    $css-variable-prepend: "",
    $font-weight: 700,
    $line-height: 1,
    $text-align: "center"
);
*/
/*
Beispiel:
@include default_h2_specs(
    $css-variable-prepend: "",
    $font-weight: 700,
    $line-height: 1,
    $text-align: "center"
);
*/
/*
Beispiel:
@include css_variable_prepend(
    $property: "font-size",
    $prepend-string: 'kc-teaser-title',
    $default-value: 20px
);
*/
/*
@extend %transition;
*/
/*
@extend %transition-timing;
*/
/*
@include max($tablet) {
	height: 60px;
}
*/
body,
html {
  --input-background-color: none;
  --input-background-color-hover: none;
  --input-border: 1px solid var(--primary-color-light);
  --input-font-size: 16px;
  --input-padding: 10px;
}

.hz-newsletter {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 860px;
  margin: 36px auto 0;
  font-family: var(--primary-font);
  text-align: left;
}
@media (max-width: 768px) {
  .hz-newsletter {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

.hz-newsletter__felder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
@media (max-width: 580px) {
  .hz-newsletter__felder {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hz-newsletter__feld {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.hz-newsletter__feld label {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-dark);
}
.hz-newsletter__feld input,
.hz-newsletter__feld select {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--grey-dark) 6%, var(--white));
  font-family: inherit;
  font-size: 16px;
  color: var(--grey-dark);
  outline: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.hz-newsletter__feld input::-moz-placeholder, .hz-newsletter__feld select::-moz-placeholder {
  color: color-mix(in srgb, var(--grey-dark) 45%, var(--white));
}
.hz-newsletter__feld input::placeholder,
.hz-newsletter__feld select::placeholder {
  color: color-mix(in srgb, var(--grey-dark) 45%, var(--white));
}
.hz-newsletter__feld input:hover,
.hz-newsletter__feld select:hover {
  background: color-mix(in srgb, var(--grey-dark) 9%, var(--white));
}
.hz-newsletter__feld input:focus,
.hz-newsletter__feld select:focus {
  background: var(--white);
  box-shadow: 0 0 0 2px var(--primary-color), 0 8px 24px -12px color-mix(in srgb, var(--primary-color) 60%, transparent);
}
.hz-newsletter__feld input[aria-invalid],
.hz-newsletter__feld select[aria-invalid] {
  box-shadow: 0 0 0 2px #d92d20;
}
.hz-newsletter__feld select {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--grey-dark) 50%), linear-gradient(135deg, var(--grey-dark) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.hz-newsletter__frei {
  margin-left: 4px;
  font-weight: 400;
  color: var(--text-color-light);
}

.hz-newsletter__falle {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.hz-newsletter__knopf {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: var(--primary-color);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--primary-color) 80%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.hz-newsletter__knopf::after {
  content: "\f1d8"/"";
  font-family: var(--font-awesome-font);
  font-weight: 900;
  font-size: 15px;
  transition: transform 0.2s ease;
}
.hz-newsletter__knopf::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--white) 35%, transparent), transparent);
  transform: skewX(-20deg);
  animation: hz-nl-glanz 5s ease-in-out 2s infinite;
}
.hz-newsletter__knopf:hover, .hz-newsletter__knopf:focus-visible {
  background: var(--primary-color-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--primary-color) 90%, transparent);
}
.hz-newsletter__knopf:hover::after, .hz-newsletter__knopf:focus-visible::after {
  transform: translate(3px, -2px) rotate(-8deg);
}
.hz-newsletter__knopf:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary-color) 40%, transparent);
  outline-offset: 3px;
}
.hz-newsletter__knopf:disabled {
  opacity: 0.7;
  cursor: wait;
}

.hz-newsletter__meldung {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  background: color-mix(in srgb, #d92d20 8%, var(--white));
  color: #b42318;
}
.hz-newsletter__meldung[data-art=ok] {
  background: color-mix(in srgb, #1a7f37 9%, var(--white));
  color: #1a7f37;
  font-weight: 600;
}

.hz-newsletter__hinweis {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-color-light);
}
.hz-newsletter__hinweis a {
  color: inherit;
  text-decoration: underline;
}

.hz-newsletter__bild {
  justify-self: center;
  width: 220px;
  max-width: 100%;
}
.hz-newsletter__bild svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
@media (max-width: 768px) {
  .hz-newsletter__bild {
    width: 150px;
  }
}

.hz-nl-schatten {
  fill: color-mix(in srgb, var(--grey-dark) 10%, transparent);
  transform-origin: 100px 158px;
  animation: hz-nl-schatten 3.2s ease-in-out infinite;
}

.hz-nl-umschlag {
  animation: hz-nl-schweben 3.2s ease-in-out infinite;
}

.hz-nl-hinten {
  fill: var(--primary-color-dark);
}

.hz-nl-vorne {
  fill: var(--primary-color);
}

.hz-nl-kante {
  fill: none;
  stroke: color-mix(in srgb, var(--white) 25%, transparent);
  stroke-width: 2;
}

.hz-nl-brief {
  animation: hz-nl-brief 4.8s ease-in-out infinite;
}
.hz-nl-brief rect:first-child {
  fill: var(--white);
}
.hz-nl-brief text {
  fill: var(--white);
  font-family: var(--primary-font);
  font-size: 24px;
  font-weight: 800;
}

.hz-nl-prozent {
  fill: var(--secondary-color);
}

.hz-nl-zeile {
  fill: color-mix(in srgb, var(--grey-dark) 12%, var(--white));
}

.hz-nl-funken path {
  fill: var(--secondary-color);
  transform-box: fill-box;
  transform-origin: center;
  animation: hz-nl-funke 2.4s ease-in-out infinite;
}
.hz-nl-funken path:nth-child(2) {
  fill: #f6c445;
  animation-delay: 0.8s;
}
.hz-nl-funken path:nth-child(3) {
  animation-delay: 1.6s;
}

.hz-newsletter.is-fertig .hz-nl-brief {
  animation: hz-nl-wegfliegen 1.1s cubic-bezier(0.5, 0, 0.75, 0) forwards;
}
.hz-newsletter.is-fertig .hz-newsletter__felder,
.hz-newsletter.is-fertig .hz-newsletter__knopf,
.hz-newsletter.is-fertig .hz-newsletter__hinweis {
  display: none;
}
.hz-newsletter.is-fertig .hz-newsletter__meldung {
  margin-top: 0;
  animation: hz-nl-rein 0.5s ease-out both;
}

@keyframes hz-nl-schweben {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes hz-nl-schatten {
  0%, 100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(0.86);
    opacity: 0.7;
  }
}
@keyframes hz-nl-brief {
  0%, 18% {
    transform: translateY(34px);
  }
  42%, 72% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(34px);
  }
}
@keyframes hz-nl-funke {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
@keyframes hz-nl-glanz {
  0%, 70% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}
@keyframes hz-nl-wegfliegen {
  0% {
    transform: translateY(-14px);
    opacity: 1;
  }
  100% {
    transform: translate(90px, -170px) rotate(-18deg) scale(0.6);
    opacity: 0;
  }
}
@keyframes hz-nl-rein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hz-newsletter *,
  .hz-newsletter *::before,
  .hz-newsletter *::after {
    animation: none !important;
    transition: none !important;
  }
}
