@charset "UTF-8";
/*
|--------------------------------------------------------------------------
| FARBEN
|--------------------------------------------------------------------------
*/
/* line 16, app/assets/stylesheets/survey.css.scss */
:root {
  --primary: #1f1f1f;
  --primary-hover: #3a3a3a;
  --accent: #DF0029;
  --accent-light: #EADDE0;
  --text: #292929;
  --text-light: #6c6c6c;
  --background: #f3f2f0;
  --white: #ffffff;
  --border: #e2dfda;
  --radius: 6px;
}

/*
|--------------------------------------------------------------------------
| GRUNDLAGEN
|--------------------------------------------------------------------------
*/
/* line 34, app/assets/stylesheets/survey.css.scss */
* {
  box-sizing: border-box;
}

/* line 37, app/assets/stylesheets/survey.css.scss */
html {
  scroll-behavior: smooth;
}

/* line 40, app/assets/stylesheets/survey.css.scss */
body.survey {
  margin: 0;
  padding: 50px 20px;
  background: linear-gradient(135deg, #f4f3f1 0%, #ebe9e5 100%);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/*
|--------------------------------------------------------------------------
| HAUPTCONTAINER (Vorlage: .survey-container, hier Header + Main als eine Karte)
|--------------------------------------------------------------------------
*/
/* line 54, app/assets/stylesheets/survey.css.scss */
.survey-header,
.survey-main {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* line 62, app/assets/stylesheets/survey.css.scss */
.survey-header {
  padding: 55px 65px 38px;
  border-radius: var(--radius) var(--radius) 0 0;
  clip-path: inset(-60px -60px 0 -60px);
}

/* line 67, app/assets/stylesheets/survey.css.scss */
.survey-main {
  margin-top: -1px;
  /* deckt die Subpixel-Naht zur Header-Karte ab (Kati 24.09.) */
  padding: 0 65px 60px;
  border-radius: 0 0 var(--radius) var(--radius);
  clip-path: inset(0 -60px -60px -60px);
}

/*
|--------------------------------------------------------------------------
| LOGO
|--------------------------------------------------------------------------
*/
/* line 79, app/assets/stylesheets/survey.css.scss */
.survey-header {
  text-align: center;
}

/* line 82, app/assets/stylesheets/survey.css.scss */
.survey-logo {
  display: block;
  width: auto;
  max-width: 400px;
  max-height: 140px;
  height: auto;
  margin: 0 auto 30px;
}

/*
|--------------------------------------------------------------------------
| DEKORATIVE LINIE
|--------------------------------------------------------------------------
*/
/* line 96, app/assets/stylesheets/survey.css.scss */
.survey-header::after {
  content: "";
  display: block;
  width: 55px;
  height: 2px;
  margin: 0 auto;
  background: var(--accent);
}

/*
|--------------------------------------------------------------------------
| ÜBERSCHRIFT
|--------------------------------------------------------------------------
*/
/* line 110, app/assets/stylesheets/survey.css.scss */
.survey h1 {
  margin: 0 0 20px;
  color: var(--primary);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.5px;
  text-align: center;
}

/*
|--------------------------------------------------------------------------
| EINLEITUNG
|--------------------------------------------------------------------------
*/
/* line 125, app/assets/stylesheets/survey.css.scss */
.survey-card > p {
  max-width: 700px;
  margin: 0 auto 20px;
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.8;
  text-align: center;
}

/* line 133, app/assets/stylesheets/survey.css.scss */
.survey-card > p.survey-deadline {
  margin-bottom: 50px;
  color: var(--primary);
  font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| FRAGEN
|--------------------------------------------------------------------------
*/
/* line 144, app/assets/stylesheets/survey.css.scss */
.survey-question {
  min-width: 0;
  margin: 0 0 42px;
  padding: 0 0 42px;
  border: 0;
  border-bottom: 1px solid var(--border);
}

/* line 151, app/assets/stylesheets/survey.css.scss */
.survey-question:last-of-type {
  border-bottom: none;
  margin-bottom: 20px;
}

/* line 155, app/assets/stylesheets/survey.css.scss */
.survey-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
}

/* line 168, app/assets/stylesheets/survey.css.scss */
.survey-question legend {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding: 0;
  color: var(--primary);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
}

/* line 178, app/assets/stylesheets/survey.css.scss */
.has-error legend {
  color: #c00;
}

/*
|--------------------------------------------------------------------------
| ANTWORTEN
|--------------------------------------------------------------------------
*/
/* line 187, app/assets/stylesheets/survey.css.scss */
.survey-option {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  margin-bottom: 10px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .15s ease;
}

/* line 203, app/assets/stylesheets/survey.css.scss */
.survey-option:hover {
  background: #faf9f7;
  border-color: #c9c2b8;
  transform: translateY(-1px);
}

/* line 208, app/assets/stylesheets/survey.css.scss */
.survey-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* line 213, app/assets/stylesheets/survey.css.scss */
.survey-option::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1.5px solid #bcb7b0;
  border-radius: 50%;
  background: #fff;
}

/* line 222, app/assets/stylesheets/survey.css.scss */
.survey-option:has(input:checked) {
  background: var(--accent-light);
  border-color: var(--accent);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

/* line 227, app/assets/stylesheets/survey.css.scss */
.survey-option:has(input:checked)::before {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 0 5px, transparent 6px);
}

/* line 233, app/assets/stylesheets/survey.css.scss */
.survey-option input:checked + span {
  font-weight: 600;
  color: var(--accent);
}

/* line 237, app/assets/stylesheets/survey.css.scss */
.survey-option input:checked + span::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  z-index: -1;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  pointer-events: none;
}

/* line 251, app/assets/stylesheets/survey.css.scss */
.survey-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* line 255, app/assets/stylesheets/survey.css.scss */
.survey-option span {
  flex: 1;
  color: #444;
  font-size: 16px;
  line-height: 1.55;
}

/* line 262, app/assets/stylesheets/survey.css.scss */
.survey .field_with_errors {
  display: contents;
}

/*
|--------------------------------------------------------------------------
| TEXTAREA
|--------------------------------------------------------------------------
*/
/* line 271, app/assets/stylesheets/survey.css.scss */
.survey textarea {
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 17px 18px;
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
}

/* line 285, app/assets/stylesheets/survey.css.scss */
.survey textarea::placeholder {
  color: #aaa;
}

/* line 288, app/assets/stylesheets/survey.css.scss */
.survey textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 154, 104, 0.12);
}

/*
|--------------------------------------------------------------------------
| FEHLER
|--------------------------------------------------------------------------
*/
/* line 300, app/assets/stylesheets/survey.css.scss */
.survey-errors,
.survey-notice {
  margin-bottom: 35px;
  padding: 15px 18px;
  background: #faf0ef;
  border-left: 3px solid #a64b43;
  border-radius: 3px;
  color: #873d36;
  font-size: 15px;
}

/* line 310, app/assets/stylesheets/survey.css.scss */
.survey-errors {
  border: 2px solid #c00;
  padding: 12px;
}

/* line 314, app/assets/stylesheets/survey.css.scss */
.survey-errors p,
.survey-errors ul {
  margin: 0;
}

/* line 318, app/assets/stylesheets/survey.css.scss */
.survey-errors a {
  color: #873d36;
}

/*
|--------------------------------------------------------------------------
| ABSCHLUSS
|--------------------------------------------------------------------------
*/
/* line 327, app/assets/stylesheets/survey.css.scss */
#umfrage-form > p {
  max-width: 650px;
  margin: 20px auto 35px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

/*
|--------------------------------------------------------------------------
| BUTTON (Vorlage: .submit-button; ::after-Pfeil geht bei <input> nicht)
|--------------------------------------------------------------------------
*/
/* line 341, app/assets/stylesheets/survey.css.scss */
.survey-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 230px;
  margin: 0 auto;
  padding: 16px 30px;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .4px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}

/* line 360, app/assets/stylesheets/survey.css.scss */
.survey-button::after {
  content: "→";
  font-size: 20px;
  line-height: 1;
}

/* line 365, app/assets/stylesheets/survey.css.scss */
.survey-button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* line 370, app/assets/stylesheets/survey.css.scss */
.survey-button[disabled] {
  opacity: .6;
}

/*
|--------------------------------------------------------------------------
| FUSSNOTE
|--------------------------------------------------------------------------
*/
/* line 379, app/assets/stylesheets/survey.css.scss */
.survey-card > p.survey-footnote {
  max-width: 650px;
  margin: 35px auto 0;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/*
|--------------------------------------------------------------------------
| VERLOSUNG (Markup kommt mit Task 5)
|--------------------------------------------------------------------------
*/
/* line 393, app/assets/stylesheets/survey.css.scss */
.survey-raffle {
  max-width: 620px;
  margin: 35px auto 0;
  padding-top: 35px;
  border-top: 1px solid var(--border);
}

/* line 399, app/assets/stylesheets/survey.css.scss */
.survey h2 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

/* line 407, app/assets/stylesheets/survey.css.scss */
.survey-raffle-intro {
  margin: 0 0 28px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

/* line 414, app/assets/stylesheets/survey.css.scss */
.survey-field-row {
  display: flex;
  gap: 14px;
}

/* line 418, app/assets/stylesheets/survey.css.scss */
.survey-field-row .survey-field {
  flex: 1;
  min-width: 0;
}

/* line 422, app/assets/stylesheets/survey.css.scss */
.survey-field {
  display: block;
  margin-bottom: 16px;
}

/* line 426, app/assets/stylesheets/survey.css.scss */
.survey-field span {
  display: block;
  margin-bottom: 6px;
  color: #444;
  font-size: 14px;
  font-weight: 600;
}

/* line 433, app/assets/stylesheets/survey.css.scss */
.survey-field input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}

/* line 444, app/assets/stylesheets/survey.css.scss */
.survey-field input:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(223, 0, 41, 0.1);
}

/* line 450, app/assets/stylesheets/survey.css.scss */
.survey-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  margin: 8px 0 28px;
  cursor: pointer;
}

/* line 458, app/assets/stylesheets/survey.css.scss */
.survey-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

/* line 465, app/assets/stylesheets/survey.css.scss */
.survey-consent span {
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}

/* line 472, app/assets/stylesheets/survey.css.scss */
.survey-raffle {
  text-align: left;
}

/* line 475, app/assets/stylesheets/survey.css.scss */
.survey-raffle .survey-errors {
  margin-bottom: 24px;
}

/* line 478, app/assets/stylesheets/survey.css.scss */
.survey-raffle .survey-errors ul {
  padding-left: 18px;
}

/* line 481, app/assets/stylesheets/survey.css.scss */
.survey-field label {
  display: block;
  margin-bottom: 6px;
  color: #444;
  font-size: 14px;
  font-weight: 600;
}

/* line 488, app/assets/stylesheets/survey.css.scss */
.survey-field input {
  min-height: 44px;
}

/* line 491, app/assets/stylesheets/survey.css.scss */
.survey-field-hint {
  margin: 6px 0 0;
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.5;
}

/* line 497, app/assets/stylesheets/survey.css.scss */
.survey-logo-link {
  display: inline-block;
}

/* line 500, app/assets/stylesheets/survey.css.scss */
.survey .field_with_errors input {
  border-color: #c00;
}

/* line 503, app/assets/stylesheets/survey.css.scss */
.survey-consent a {
  color: var(--accent);
}

/* line 506, app/assets/stylesheets/survey.css.scss */
.survey-conditions {
  margin: 32px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* line 514, app/assets/stylesheets/survey.css.scss */
.survey-conditions summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* 25.09.2026 (Michaela): sichtbar machen, dass sich die Bedingungen aufklappen lassen */
/* line 524, app/assets/stylesheets/survey.css.scss */
.survey-conditions summary::-webkit-details-marker {
  display: none;
}

/* line 525, app/assets/stylesheets/survey.css.scss */
.survey-conditions summary {
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* line 526, app/assets/stylesheets/survey.css.scss */
.survey-conditions summary .survey-conditions-toggle {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  flex: 0 0 auto;
}

/* line 539, app/assets/stylesheets/survey.css.scss */
.survey-conditions summary .survey-conditions-toggle::before {
  content: "+";
}

/* line 540, app/assets/stylesheets/survey.css.scss */
.survey-conditions[open] summary .survey-conditions-toggle::before {
  content: "\2013";
}

/* line 541, app/assets/stylesheets/survey.css.scss */
.survey-conditions summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* line 545, app/assets/stylesheets/survey.css.scss */
.survey-conditions ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

/* line 549, app/assets/stylesheets/survey.css.scss */
.survey-conditions li {
  margin-bottom: 8px;
}

/*
|--------------------------------------------------------------------------
| DANKESSEITE / ZUSTANDSSEITE
|--------------------------------------------------------------------------
*/
/* line 558, app/assets/stylesheets/survey.css.scss */
.survey-thanks,
.survey-state {
  padding: 25px 10px 20px;
  text-align: center;
}

/* line 563, app/assets/stylesheets/survey.css.scss */
.survey-thanks h1,
.survey-state h1 {
  margin-bottom: 20px;
}

/* line 567, app/assets/stylesheets/survey.css.scss */
.survey-thanks > p,
.survey-state > p {
  max-width: 620px;
  margin: 0 auto 15px;
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.8;
}

/* line 575, app/assets/stylesheets/survey.css.scss */
.survey-thanks > p.survey-notice {
  font-size: 15px;
  text-align: left;
}

/* line 579, app/assets/stylesheets/survey.css.scss */
.survey-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 28px;
}

/*
|--------------------------------------------------------------------------
| HONEYPOT
|--------------------------------------------------------------------------
*/
/* line 597, app/assets/stylesheets/survey.css.scss */
.survey-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/*
|--------------------------------------------------------------------------
| VORSCHAU-BALKEN (nur Admin)
|--------------------------------------------------------------------------
*/
/* line 610, app/assets/stylesheets/survey.css.scss */
.survey-preview {
  margin-bottom: 25px;
  background: #c00;
  color: #fff;
  padding: 12px;
  font-weight: bold;
}

/* line 617, app/assets/stylesheets/survey.css.scss */
.survey-preview a {
  color: #fff;
}

/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/
/* line 626, app/assets/stylesheets/survey.css.scss */
.survey-footer {
  max-width: 900px;
  margin: 20px auto 0;
  font-size: 13px;
  text-align: center;
}

/* line 632, app/assets/stylesheets/survey.css.scss */
.survey-footer a {
  color: var(--text-light);
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/
@media (max-width: 700px) {
  /* line 642, app/assets/stylesheets/survey.css.scss */
  body.survey {
    padding: 20px 12px;
  }
  /* line 645, app/assets/stylesheets/survey.css.scss */
  .survey-header {
    padding: 35px 22px 0;
  }
  /* line 648, app/assets/stylesheets/survey.css.scss */
  .survey-main {
    padding: 0 22px 40px;
  }
  /* line 651, app/assets/stylesheets/survey.css.scss */
  .survey-logo {
    max-width: 300px;
    max-height: 110px;
  }
  /* line 655, app/assets/stylesheets/survey.css.scss */
  .survey h1 {
    font-size: 28px;
  }
  /* line 658, app/assets/stylesheets/survey.css.scss */
  .survey-card > p {
    font-size: 16px;
  }
  /* line 662, app/assets/stylesheets/survey.css.scss */
  .survey-card:not(.survey-thanks):not(.survey-state) > p:not(.survey-footnote) {
    text-align: left;
  }
  /* line 665, app/assets/stylesheets/survey.css.scss */
  .survey-question legend {
    font-size: 17px;
  }
  /* line 668, app/assets/stylesheets/survey.css.scss */
  .survey-option {
    padding: 15px;
  }
  /* line 671, app/assets/stylesheets/survey.css.scss */
  .survey-option span {
    font-size: 15px;
  }
  /* line 674, app/assets/stylesheets/survey.css.scss */
  .survey-button {
    width: 100%;
  }
  /* line 677, app/assets/stylesheets/survey.css.scss */
  .survey-field-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 400px) {
  /* line 683, app/assets/stylesheets/survey.css.scss */
  .survey-header {
    padding: 28px 17px 0;
  }
  /* line 686, app/assets/stylesheets/survey.css.scss */
  .survey-main {
    padding: 0 17px 35px;
  }
  /* line 689, app/assets/stylesheets/survey.css.scss */
  .survey h1 {
    font-size: 25px;
  }
  /* line 692, app/assets/stylesheets/survey.css.scss */
  .survey-option {
    gap: 11px;
    padding: 13px;
  }
}
