@font-face {
  font-family: 'Jost';
  src: url('../Jost/static/Jost-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Jost';
  src: url('../Jost/static/Jost-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Jost';
  src: url('../Jost/static/Jost-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Jost';
  src: url('../Jost/static/Jost-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

* {
  box-sizing: border-box;
  font-family: 'Jost', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Jost', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff;
  color: #222;
  font-size: 20px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.logo {
  height: 100px;
}

.main {
  display: flex;
  justify-content: center;
  padding: 0 16px;
  align-items: center;
}

.footer {
  padding: 24px;
  text-align: center;
  font-size: 0.95rem;
  color: #999;
}

.footer a {
  color: #999;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

.card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.card.card-center {
  max-width: 640px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: fit-content;
}

.card-list {
  margin: 16px 0 24px;
  padding-left: 20px;
  color: #444;
}

.card-list li {
  margin-bottom: 4px;
}

.card-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
}

.card-text {
  margin: 0 0 16px;
  font-size: 22px;
  text-align: center;
}

.form-field label {
  font-size: 20px;
  color: #555;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 12px;
  font-size: 20px;
  border-radius: 10px;
  border: 1px solid #aaa;
}

.question-label {
  font-size: 20px;
  margin-bottom: 8px;
}


.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* override for larger labels */
.form-field label {
  font-size: 20px;
  color: #555;
}

.form-field input,
.form-field textarea {
  display: flex;
  width: 100%;
}

.question-scale {
  display: flex;
  width: 100%;
  max-width: fit-content;
  margin: 40px auto;
}


.question-label {
  font-size: 20px;
  margin-bottom: 8px;
}

/* Feedback-Stufen untereinander statt nebeneinander */
.scale-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Zeile mit Button + Text */
.scale-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.scale-btn {
  height: 44px;
  min-width: 64px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background-color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}

/* Text rechts neben dem Button */
.scale-label {
  font-size: 20px;
  color: #444;
}


.scale-caption {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  color: #777;
  margin-top: 4px;
}

.message {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 18px;
}

.scale-btn.selected {
  background-color: #0050d8;
  border-color: #0050d8;
  color: #ffffff;
}

.scale-caption {
  display: block;
  font-size: 20px;
  color: #777;
  margin-top: 6px;
}

.step-indicator {
  font-size: 18px;
  color: #777;
  position: unset;
}

.form-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  position: unset;
}

.btn {
  flex:1;
  height: 52px;
  border-radius: 12px;
  font-size: 22px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  border-radius: 20px;
  text-decoration: none;
  color: #ffffff;
  background: #0050d8;
}

.btn-primary:hover {
  background-color: #0041af;
}

.btn-secondary {
  border-radius: 16px;
  text-decoration: none;
  background-color: #f3f4f6;
  color: #111827;
}

.btn-secondary:disabled,
.btn-primary:disabled {
  opacity: 0.4;
  cursor: default;
}

.btn-absenden {
  margin: 10px 10px;
}

.message {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 12px;
  text-align: center;
}

.message-error {
  background-color: #fee2e2;
  color: #991b1b;
}

.message-success {
  background-color: #dcfce7;
  color: #166534;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 24px 0 12px;
}

.trust-logo {
  height: 32px;
  object-fit: contain;
}

.platform-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.platform-link {
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: #111827;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.platform-link::after {
  content: '\2197';
  margin-left: auto;
  font-size: 20px;
}

.trust-logo {
  height: 40px;
  object-fit: contain;
}

.platform-label {
  font-weight: 500;
}

.btn-cta {
  display: inline-flex;
  border-radius: 16px;
  text-decoration: none;
  color: #ffffff;
  margin: 0;
  min-width: 50%;
  justify-content: center;
  max-height: 52px;
}

.btn-cta:hover {
  background: #003fac;
}

.btn-cta-label {
  display: inline-flex;
  font-size: 22px;
  font-weight: 600;
  height: 52px;
  align-items: center;
}

.checkmark-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  position: relative;
}

.checkmark-icon::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 22px;
  width: 16px;
  height: 32px;
  border-right: 6px solid #22c55e;
  border-bottom: 6px solid #22c55e;
  transform: rotate(40deg);
}

.checkmark-icon::after {
  content: '';
}

.cte-impressum {
  text-align: left;
  max-width: fit-content;
}

.cti-impressum {
  text-align: left;
  max-width: fit-content;
}

.c-impressum {
  max-width: fit-content;
}

.h1-welcome {
  font-size: 36px;
  font-weight: 700;
}

#next-btn {
  max-width: 50%;
  min-width: 200px;
}

.feedback-text {
  font-size: 24px;
  color: #000;
}

.welcome {
  display: flex;
  flex: 1;
}

/* Responsive */
@media (max-width: 767px) {
  .header-inner {
    justify-content: center;
  }

  .logo {
    height: 60px;
  }
  .card {
    max-width: 100%;
    border-radius: 0;
  }

  .c-impressum {
    max-width: fit-content;
  }

  .step-indicator {
    position: fixed;
    bottom: 80px;
    left: 0;
    background-color: #fff;
    padding-left: 10px;
    padding-top: 10px;
    min-width: 100%;
  }

  .form-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fff;
    padding-bottom: 10px;
    padding-top: 20px;
    min-width: 100%;
  }

  .card-title {
    font-size: 24px;
  }

  #support-form {
    margin-bottom: 50px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .card {
    max-width: 520px;
  }
  .c-impressum {
    max-width: fit-content;
  }
}

@media (min-width: 1025px) {
  body {
    background-color: #ffffff;
  }
  .header {
    padding: 24px 64px 16px;
  }
  .header-inner {
    justify-content: flex-end;
  }
  .logo {
    height: 80px;
  }
  .main {
    padding: 40px 24px 64px;
  }
  .card {
    max-width: 600px;
    margin: 0 auto;
  }
  .c-impressum {
    max-width: fit-content;
  }
}
