/* ATZ Corporate Identity - Quelle: ATZ_CI_Extern.pdf */
@font-face {
  font-family: "museo-sans";
  src: url("fonts/MuseoSans_100.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "museo-sans";
  src: url("fonts/MuseoSans_300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "museo-sans";
  src: url("fonts/MuseoSans_500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "museo-sans";
  src: url("fonts/MuseoSans_700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "museo-sans";
  src: url("fonts/MuseoSans_900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --atz-ci-blue: #04305e;
  --atz-ci-gray: #575756;
  --atz-ci-yellow: #ffed00;
  --atz-ci-white: #ffffff;
  --atz-ci-black: #000000;
  --atz-ci-gradient: linear-gradient(180deg, var(--atz-ci-blue) 0%, var(--atz-ci-black) 100%);
  --atz-font-family: "museo-sans", sans-serif;
}

html,
body,
button,
input,
select,
textarea,
label {
  font-family: var(--atz-font-family) !important;
}

body:not(.meet-at-slide2) .welcome-box h1,
body:not(.meet-at-slide2) .content-box h1,
body:not(.meet-at-slide2) #loader h1,
body:not(.meet-at-slide2) #loader2 h1,
body:not(.meet-at-slide2) #step10 h1 {
  font-weight: 900 !important;
}

body.meet-at-slide2 #slide2 .slider-textbox h2,
body:not(.meet-at-slide2) #loader h4,
body:not(.meet-at-slide2) #loader2 h4 {
  font-weight: 300 !important;
}

body,
p,
label,
textarea,
input,
button,
.multiple-choice-hint,
.footer-links a {
  font-weight: 500 !important;
}

strong,
b,
.highlight,
body.meet-at-slide2 #slide2 .slider-textbox h2 .highlight {
  font-weight: 700 !important;
}

.highlight,
body.meet-at-slide2 #slide2 .slider-textbox h2 .highlight {
  color: var(--atz-ci-yellow) !important;
}

body:not(.meet-at-slide2) .content-box .box:has(> input[type="checkbox"]:checked),
body:not(.meet-at-slide2) .content-box .box:has(> input[type="radio"]:checked),
body.meet-form-fluid .content-box .box:has(> input[type="checkbox"]:checked),
body.meet-form-fluid .content-box .box:has(> input[type="radio"]:checked) {
  background: var(--atz-ci-yellow) !important;
}

body:not(.meet-at-slide2) .content-box .box input[type="checkbox"]:checked + label,
body:not(.meet-at-slide2) .content-box .box input[type="radio"]:checked + label,
body.meet-form-fluid .content-box .box input[type="checkbox"]:checked + label,
body.meet-form-fluid .content-box .box input[type="radio"]:checked + label {
  background: var(--atz-ci-yellow) !important;
  color: var(--atz-ci-blue) !important;
}

#step3 .box input:checked + label,
#step4 .box input:checked + label,
#step6 .box input:checked + label,
#step7 .box input:checked + label {
  background: var(--atz-ci-yellow) !important;
  color: var(--atz-ci-blue) !important;
  text-shadow: none !important;
}

body:not(.meet-at-slide2) .content-box .btn:hover,
body:not(.meet-at-slide2) .content-box input[type="button"]:hover,
body:not(.meet-at-slide2) .content-box input[type="submit"]:hover,
body.meet-at-slide2 #slide2 .slider-btn:hover {
  background: var(--atz-ci-yellow) !important;
  border-color: var(--atz-ci-yellow) !important;
  color: var(--atz-ci-blue) !important;
}

body:not(.meet-at-slide2) input:focus,
body:not(.meet-at-slide2) textarea:focus,
body:not(.meet-at-slide2) select:focus {
  border-color: var(--atz-ci-yellow) !important;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--atz-ci-yellow) !important;
}

.custom-loader {
  background: conic-gradient(transparent 10%, var(--atz-ci-yellow)) !important;
}

/* Einheitliche, großzügige Formular-Kacheln für kurze Schritte. */
body:not(.meet-at-slide2) #step4 .content-box,
body:not(.meet-at-slide2) #step5 .content-box,
body:not(.meet-at-slide2) #step6 .content-box,
body:not(.meet-at-slide2) #step7 .content-box {
  width: min(700px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-width: 700px !important;
  min-height: 430px !important;
  margin: 20px auto !important;
  padding: 44px 48px 30px !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  gap: 12px !important;
}

body:not(.meet-at-slide2) #step4 .content-box h1,
body:not(.meet-at-slide2) #step5 .content-box h1,
body:not(.meet-at-slide2) #step6 .content-box h1,
body:not(.meet-at-slide2) #step7 .content-box h1 {
  margin: 0 0 18px !important;
}

/* Kontaktformular: dieselbe abgerundete Formensprache wie im Fragen-Flow. */
html body:not(.meet-at-slide2) #user-info #step10 .input-group-text {
  border-radius: 25px 0 0 25px !important;
}

html body:not(.meet-at-slide2) #user-info #step10 .form-control {
  border-radius: 0 25px 25px 0 !important;
}

html body:not(.meet-at-slide2) #user-info #step10 .form-check {
  position: relative !important;
  width: calc(100% - 16px) !important;
  min-height: 48px !important;
  margin: 18px 0 0 16px !important;
  padding: 12px 16px 12px 46px !important;
  box-sizing: border-box !important;
  border: 2px solid transparent;
  border-radius: 18px !important;
  text-align: left !important;
}

html body:not(.meet-at-slide2) #user-info #step10 .form-check-input {
  float: none !important;
  position: absolute !important;
  left: 16px !important;
  top: 13px !important;
  margin: 0 !important;
}

html body:not(.meet-at-slide2) #user-info #step10 .form-check-label {
  display: block !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

html body:not(.meet-at-slide2) #user-info.was-validated #step10 .form-check:has(.form-check-input:invalid) {
  padding: 12px 16px 12px 46px !important;
  border: 2px solid #ff4d4f !important;
  border-radius: 18px !important;
}

html body:not(.meet-at-slide2) #user-info #step5 .content-box h1 {
  font-size: clamp(2rem, 3.2vw, 2.5rem) !important;
  line-height: 1.12 !important;
  margin-bottom: 24px !important;
}

html body:not(.meet-at-slide2) #user-info #step5 textarea.kommentarFeld {
  width: 100% !important;
  min-height: 110px !important;
  margin: 0 !important;
  padding: 20px 24px !important;
  box-sizing: border-box !important;
  border-radius: 25px !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
}

body:not(.meet-at-slide2) #step4 .content-box .box,
body:not(.meet-at-slide2) #step5 .content-box .box,
body:not(.meet-at-slide2) #step6 .content-box .box,
body:not(.meet-at-slide2) #step7 .content-box .box {
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body:not(.meet-at-slide2) #step3 textarea.kommentarFeld {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

body:not(.meet-at-slide2) #step4 .btn-container,
body:not(.meet-at-slide2) #step5 .btn-container,
body:not(.meet-at-slide2) #step6 .btn-container,
body:not(.meet-at-slide2) #step7 .btn-container {
  margin-top: 18px !important;
}

/*
 * Die älteren Styles behandeln step4, step6 und step7 unterschiedlich.
 * Zwei IDs sorgen hier bewusst dafür, dass alle drei Schritte gleich aussehen.
 */
html body:not(.meet-at-slide2) #user-info #step4 .content-box,
html body:not(.meet-at-slide2) #user-info #step6 .content-box,
html body:not(.meet-at-slide2) #user-info #step7 .content-box {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row !important;
}

html body:not(.meet-at-slide2) #user-info #step4 .content-box > .box,
html body:not(.meet-at-slide2) #user-info #step6 .content-box > .box,
html body:not(.meet-at-slide2) #user-info #step7 .content-box > .box {
  display: block !important;
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 25px !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.08) !important;
  transform: none !important;
}

html body:not(.meet-at-slide2) #user-info #step4 .content-box > .box:hover,
html body:not(.meet-at-slide2) #user-info #step6 .content-box > .box:hover,
html body:not(.meet-at-slide2) #user-info #step7 .content-box > .box:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: none !important;
}

html body:not(.meet-at-slide2) #user-info #step4 .content-box > .box > label,
html body:not(.meet-at-slide2) #user-info #step6 .content-box > .box > label,
html body:not(.meet-at-slide2) #user-info #step7 .content-box > .box > label {
  display: block !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 13px 18px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  color: var(--atz-ci-white) !important;
  text-shadow: none !important;
  transform: none !important;
}

html body:not(.meet-at-slide2) #user-info #step4 .content-box > .box:has(> input:checked),
html body:not(.meet-at-slide2) #user-info #step6 .content-box > .box:has(> input:checked),
html body:not(.meet-at-slide2) #user-info #step7 .content-box > .box:has(> input:checked),
html body:not(.meet-at-slide2) #user-info #step4 .content-box > .box > input:checked + label,
html body:not(.meet-at-slide2) #user-info #step6 .content-box > .box > input:checked + label,
html body:not(.meet-at-slide2) #user-info #step7 .content-box > .box > input:checked + label {
  background: var(--atz-ci-yellow) !important;
  color: var(--atz-ci-blue) !important;
  border-color: var(--atz-ci-yellow) !important;
  border-radius: 24px !important;
}

html body:not(.meet-at-slide2) #user-info #step4 .content-box > .btn-container,
html body:not(.meet-at-slide2) #user-info #step6 .content-box > .btn-container,
html body:not(.meet-at-slide2) #user-info #step7 .content-box > .btn-container {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
}

@media (max-height: 620px) {
  html body:not(.meet-at-slide2) #user-info #step4 .content-box,
  html body:not(.meet-at-slide2) #user-info #step5 .content-box,
  html body:not(.meet-at-slide2) #user-info #step6 .content-box,
  html body:not(.meet-at-slide2) #user-info #step7 .content-box {
    min-height: 0 !important;
    margin: 6px auto !important;
    padding: 16px 28px 14px !important;
    gap: 7px !important;
  }

  html body:not(.meet-at-slide2) #user-info #step4 .content-box h1,
  html body:not(.meet-at-slide2) #user-info #step5 .content-box h1,
  html body:not(.meet-at-slide2) #user-info #step6 .content-box h1,
  html body:not(.meet-at-slide2) #user-info #step7 .content-box h1 {
    margin-bottom: 8px !important;
    font-size: clamp(1.2rem, 4.5vh, 2rem) !important;
  }

  html body:not(.meet-at-slide2) #user-info #step4 .content-box > .box > label,
  html body:not(.meet-at-slide2) #user-info #step6 .content-box > .box > label,
  html body:not(.meet-at-slide2) #user-info #step7 .content-box > .box > label {
    min-height: 40px !important;
    padding: 9px 16px !important;
  }

  html body:not(.meet-at-slide2) #user-info #step4 .content-box > .btn-container,
  html body:not(.meet-at-slide2) #user-info #step5 .content-box > .btn-container,
  html body:not(.meet-at-slide2) #user-info #step6 .content-box > .btn-container,
  html body:not(.meet-at-slide2) #user-info #step7 .content-box > .btn-container {
    margin-top: 8px !important;
  }

  html body:not(.meet-at-slide2) #user-info #step5 .content-box h1 {
    font-size: clamp(1.7rem, 7vh, 2.1rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 14px !important;
  }

  html body:not(.meet-at-slide2) #user-info #step5 textarea.kommentarFeld {
    min-height: 90px !important;
    padding: 16px 20px !important;
  }
}

/* Rechts unten: Abstand zum Cookie-Banner links, ohne gemeinsamen Footer-Hintergrund. */
#meet-legal-footer,
#meet-legal-footer-slide2 {
  position: fixed !important;
  right: max(14px, env(safe-area-inset-right)) !important;
  left: auto !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
  top: auto !important;
  width: auto !important;
  max-width: calc(100vw - 28px) !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 2px !important;
  text-align: right !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  z-index: 1100 !important;
}

#meet-legal-footer a,
#meet-legal-footer-slide2 a {
  display: inline-block !important;
  padding: 0.35rem 0.5rem !important;
  color: var(--atz-ci-white) !important;
  opacity: 1 !important;
  border-radius: 7px !important;
  white-space: nowrap !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

#meet-legal-footer a:hover,
#meet-legal-footer a:focus-visible,
#meet-legal-footer-slide2 a:hover,
#meet-legal-footer-slide2 a:focus-visible {
  background: var(--atz-ci-yellow) !important;
  color: var(--atz-ci-blue) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

#meet-legal-footer a:focus-visible,
#meet-legal-footer-slide2 a:focus-visible {
  outline: 2px solid var(--atz-ci-yellow) !important;
  outline-offset: 2px !important;
}

@media (max-width: 600px) {
  body:not(.meet-at-slide2) #step4 .content-box,
  body:not(.meet-at-slide2) #step5 .content-box,
  body:not(.meet-at-slide2) #step6 .content-box,
  body:not(.meet-at-slide2) #step7 .content-box {
    min-height: 0 !important;
    padding: 18px 14px 14px !important;
    gap: 8px !important;
  }

  #meet-legal-footer,
  #meet-legal-footer-slide2 {
    right: max(6px, env(safe-area-inset-right)) !important;
    bottom: max(6px, env(safe-area-inset-bottom)) !important;
    max-width: calc(100vw - 12px) !important;
    padding: 0 !important;
  }

  #meet-legal-footer a,
  #meet-legal-footer-slide2 a {
    padding: 0.3rem 0.38rem !important;
    font-size: clamp(0.68rem, 3vw, 0.82rem) !important;
  }
}
