@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap");

:root {
  --blue: #2760aa;
  --dark-blue: #283371;
  --white: #ffffff;
  --black: #111111;
  --text: #4a5568;
  --light: #f6f8fb;
  --border: #dce3ed;
  --red: #d62728;
  --red-light: #fdecec;
  --font: "Montserrat", sans-serif;
  --radius: 18px;
  --radius-small: 8px;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--blue);
  color: var(--black);
  line-height: 1.45;
  font-size: 14px;
  position: relative;
  overflow-x: hidden;
}

/* Hintergrundmuster dunkelblau*/
body::after {
  content: "";
  position: fixed;
  right: -160px;
  bottom: -160px;
  width: 700px;
  height: 700px;
  background-image: url("../media/muster-dunkelblau.svg");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* HEADER */

.site-header {
  background: var(--blue);
  padding: 1.5rem 1rem 0.5rem;
  position: relative;
  z-index: 2;
}

.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 1rem;
}

.header-logo {
  width: 80px;
  height: auto;
}

/* MAIN */

.site-main {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
  position: relative;
  z-index: 2;
}

/* Quellenangabe 1 Start */

/* STARTSEITE */

.hero {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: left;
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin-bottom: 1rem;
  color: var(--black);
}

.hero p {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* STEPPER */

.progress-stepper {
  background: var(--white);
  border-radius: 999px;
  padding: 0.8rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 3;
}

.step {
  flex: 1;
  text-align: center;
}

.step-circle {
  width: 24px;
  height: 24px;
  margin: 0 auto 0.25rem;
  border-radius: 50%;
  background: var(--light);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.step.active .step-circle,
.step.done .step-circle {
  background: var(--blue);
  color: var(--white);
}

.step-label {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}

.step.active .step-label,
.step.done .step-label {
  color: var(--blue);
}

/* CARDS */

.form-card,
.confirm-card,
.content-card,
.info-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
  position: relative;
  z-index: 3;
}

/* FORM HEADER */

.group-header {
  padding: 1.6rem 1.6rem 0.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--white);
}

.group-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.group-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.group-desc {
  font-size: 0.72rem;
  color: var(--text);
}

.group-body {
  padding: 1.1rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.field-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field label,
.field-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--dark-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
}

input,
select,
textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--black);
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-small);
  padding: 0.65rem 0.85rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  background: var(--white);
  border-color: var(--blue);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

/* RADIO / CHECKBOX */

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-item,
.checkbox-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-small);
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: left;
}

.radio-item input,
.checkbox-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

/* RANGE */

.range-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text);
  font-weight: 700;
}

.range-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  text-align: left;
}

input[type="range"] {
  height: 5px;
  padding: 0;
  accent-color: var(--blue);
}

/* BUTTONS */

.form-actions {
  padding: 1.2rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--white);
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--text);
  margin: 0 1.6rem 0.5rem;
}

.btn-submit,
.btn-primary,
.btn-white {
  display: inline-block;
  width: 100%;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.4rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-submit:hover,
.btn-primary:hover,
.btn-white:hover {
  background: var(--dark-blue);
  color: var(--white);
}

.btn-ghost,
.btn-reset {
  display: inline-block;
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  padding: 0.65rem 1.4rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-ghost:hover,
.btn-reset:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ERRORS */

.error-msg {
  background: var(--red-light);
  color: var(--red);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
}

/* CONTENT */

.content-card,
.info-section {
  padding: 1.6rem;
}

.content-section {
  margin-bottom: 1.1rem;
}

.content-heading {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.content-card p,
.info-section p,
.confirm-body p {
  color: var(--text);
  font-size: 0.85rem;
}

.content-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.content-list li {
  color: var(--text);
  font-size: 0.85rem;
  padding-left: 1.1rem;
  position: relative;
}

.content-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

/* CONFIRM PAGE */

.confirm-header {
  background: var(--blue);
  color: var(--white);
  padding: 1.6rem;
  text-align: center;
}

.confirm-icon {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.confirm-title {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.confirm-body {
  padding: 1.6rem;
  text-align: left;
}

/* CTA (Call-to-action) buttons on confirm page */

.cta-center {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.cta-center a {
  width: 100%;
  max-width: 320px;
}

.summary-table {
  background: var(--light);
  border-radius: var(--radius-small);
  padding: 0.8rem;
  margin: 1.1rem 0;
}

.summary-row {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue);
}

.summary-value {
  font-size: 0.85rem;
  color: var(--black);
}

/* FOOTER */

.site-footer {
  background-color: rgba(39, 96, 170, 0);
  color: rgba(255, 255, 255, 1);
  font-size: 0.7rem;
  padding: 1.2rem 0;
  position: relative;
  z-index: 2;
}

.footer-inner {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
  text-align: left;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* DESKTOP */

@media (min-width: 650px) {
  .field-row {
    flex-direction: row;
  }

  .field-row .field {
    flex: 1;
  }

  .radio-group.horizontal {
    flex-direction: row;
  }

  .radio-group.horizontal .radio-item {
    flex: 1;
  }

  .form-actions {
    flex-direction: row;
    justify-content: space-between;
  }

  .btn-submit,
  .btn-primary {
    flex: 1;
  }

  .btn-submit,
  .btn-primary,
  .btn-white,
  .btn-ghost,
  .btn-reset {
    width: auto;
  }
}

@media (min-width: 650px) {
  .cta-center {
    flex-direction: row;
    justify-content: center;
    gap: 1.2rem;
  }

  .cta-center a {
    width: auto;
  }
}

/* Quellenangabe 1 Ende */
