/* DUSCHMAX Detailanfrage – aus duschmax_fragebogen/assets/app.css, gekapselt unter .dm-fragebogen (automatisch erzeugt, Anpassungen am Ende) */
.dm-fragebogen {--c-blue: #133F66; --c-blue-d: #0D2E4B; --c-blue-l: #1E5BAA; --c-blue-tint: #E8EDF4; --c-blue-rgb: 19, 63, 102; --c-yellow: #F8EB14; --c-yellow-d: #D8CC0F; --c-yellow-tint: #FEFCD5; --c-yellow-rgb: 248, 235, 20; --c-text: #0D2E4B; --c-text-soft: #4D5B7A; --c-muted: #7B86A0; --c-surface: #ffffff; --c-bg: #F1F4FA; --c-line: #D9E0EC; --c-line-strong: #B9C3D6; --c-error: #D62A3D; --c-success: #16A34A; --r-tile: 20px; --r-card: 24px; --r-pill: 999px; --shadow-xs: 0 1px 2px rgba(var(--c-blue-rgb),.05); --shadow-s: 0 4px 12px rgba(var(--c-blue-rgb),.08); --shadow-m: 0 12px 28px rgba(var(--c-blue-rgb),.14); --shadow-l: 0 20px 40px rgba(var(--c-blue-rgb),.18); --pad: clamp(16px, 4vw, 40px); --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;}
.dm-fragebogen, .dm-fragebogen * {box-sizing: border-box;}
.dm-fragebogen .dm-progress {flex: 1; display: flex; align-items: center; gap: 14px;}
.dm-fragebogen .dm-progress__bar {flex: 1; height: 8px; background: var(--c-blue-tint); border-radius: var(--r-pill); overflow: hidden; box-shadow: inset 0 1px 2px rgba(var(--c-blue-rgb),.08);}
.dm-fragebogen .dm-progress__fill {display: block; height: 100%; background: linear-gradient(90deg, var(--c-yellow), var(--c-yellow-d)); border-radius: var(--r-pill); transition: width .45s cubic-bezier(.4,0,.2,1); box-shadow: 0 0 0 2px rgba(var(--c-yellow-rgb),.18);}
.dm-fragebogen .dm-progress__label {font-size: 13px; font-weight: 700; color: var(--c-blue); font-variant-numeric: tabular-nums; min-width: 56px; text-align: right; letter-spacing: .02em;}
.dm-fragebogen .dm-stage {flex: 1; padding: clamp(24px, 4vw, 56px) var(--pad); padding-bottom: 140px; max-width: 1200px; margin: 0 auto; width: 100%; min-height: 700px; display: flex; flex-direction: column;}
.dm-fragebogen .dm-slide {display: none; animation: dm-fade .4s cubic-bezier(.4,0,.2,1);}
.dm-fragebogen .dm-slide.is-active {display: flex; flex-direction: column; flex: 1; justify-content: center;}
.dm-fragebogen .dm-slide--form.is-active,
.dm-fragebogen .dm-slide--notice.is-active,
.dm-fragebogen .dm-slide--done.is-active,
.dm-fragebogen .dm-slide--photos.is-active {justify-content: flex-start;}
@media (max-width: 720px) {
    .dm-fragebogen .dm-stage {min-height: 560px;}
}
@keyframes dm-fade {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}
.dm-fragebogen .dm-slide__head {text-align: center; margin-bottom: clamp(28px, 5vw, 48px); max-width: 820px; margin-left: auto; margin-right: auto;}
.dm-fragebogen .dm-eyebrow {display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--c-yellow-d); background: var(--c-yellow-tint); padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 18px;}
.dm-fragebogen .dm-title {font-size: clamp(26px, 5vw, 44px); line-height: 1.15; margin: 0 0 14px; font-weight: 800; letter-spacing: -.01em; color: var(--c-blue);}
.dm-fragebogen .dm-subtitle {color: var(--c-text-soft); margin: 0; font-size: clamp(15px, 1.8vw, 18px); font-weight: 500;}
.dm-fragebogen .dm-tiles {display: grid; gap: clamp(10px, 1.5vw, 18px); grid-template-columns: repeat(2, 1fr); max-width: 1100px; margin: 0 auto;}
@media (min-width: 700px) {
    .dm-fragebogen .dm-tiles--cols-3 {grid-template-columns: repeat(3, 1fr);}
    .dm-fragebogen .dm-tiles--cols-4 {grid-template-columns: repeat(4, 1fr);}
}
@media (min-width: 1024px) {
    .dm-fragebogen .dm-tiles {gap: 20px;}
}
.dm-fragebogen .dm-tile {--tile-bg: var(--c-surface); --tile-border: var(--c-line); appearance: none; -webkit-appearance: none; background: var(--tile-bg); border: 3px solid var(--tile-border); border-radius: var(--r-tile); padding: clamp(12px, 1.4vw, 18px) clamp(10px, 1.2vw, 14px) clamp(14px, 1.5vw, 18px); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: clamp(8px, 1vw, 12px); cursor: pointer; transition: transform .18s cubic-bezier(.4,0,.2,1), border-color .18s ease, box-shadow .18s ease, background .18s ease; font: inherit; color: var(--c-text); text-align: center; position: relative; box-shadow: var(--shadow-xs); min-height: clamp(220px, 26vw, 290px);}
.dm-fragebogen .dm-tile:hover {--tile-border: var(--c-blue-l); transform: translateY(-3px); box-shadow: var(--shadow-m);}
.dm-fragebogen .dm-tile:active {transform: translateY(-1px) scale(.99);}
.dm-fragebogen .dm-tile.is-selected {--tile-bg: var(--c-yellow-tint); --tile-border: var(--c-yellow); box-shadow: 0 0 0 2px rgba(var(--c-yellow-rgb),.25), var(--shadow-m);}
.dm-fragebogen .dm-tile.is-selected::after {content: "✓"; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--c-yellow); color: var(--c-blue); font-size: 16px; font-weight: 900; line-height: 30px; text-align: center; box-shadow: 0 4px 10px rgba(var(--c-yellow-rgb),.5); animation: dm-pop .25s cubic-bezier(.4,0,.2,1);}
.dm-fragebogen .dm-tile--unavailable {--tile-bg: #F5F6F8; --tile-border: #DEE3EC;}
.dm-fragebogen .dm-tile--unavailable .dm-tile__icon img,
.dm-fragebogen .dm-tile--unavailable .dm-tile__label {filter: grayscale(100%); opacity: .55;}
.dm-fragebogen .dm-tile--unavailable:hover {transform: none; box-shadow: var(--shadow-xs); --tile-border: #DEE3EC;}
.dm-fragebogen .dm-tile--unavailable.is-selected {--tile-bg: var(--c-yellow-tint); --tile-border: var(--c-yellow);}
.dm-fragebogen .dm-tile--unavailable.is-selected .dm-tile__icon img,
.dm-fragebogen .dm-tile--unavailable.is-selected .dm-tile__label {filter: none; opacity: .85;}
.dm-fragebogen .dm-tile__stamp {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg); background: rgba(255,255,255,.85); color: var(--c-error); font-weight: 900; font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px 5px; border: 3px solid var(--c-error); border-radius: 6px; pointer-events: none; z-index: 2; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(214,42,61,.35), 0 1px 2px rgba(0,0,0,.06); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; opacity: .92;}
.dm-fragebogen .dm-tiles--cols-4 .dm-tile__stamp {font-size: clamp(11px, 1.3vw, 15px); padding: 4px 12px 3px; border-width: 2.5px;}
@keyframes dm-pop {
    from { transform: scale(.4); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.dm-fragebogen .dm-tile__icon {width: 100%; height: clamp(165px, 20vw, 225px); display: flex; align-items: center; justify-content: center; flex-shrink: 0;}
.dm-fragebogen .dm-tile__icon img {max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; filter: drop-shadow(0 2px 4px rgba(var(--c-blue-rgb),.08));}
.dm-fragebogen .dm-tile__label {font-weight: 700; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.25; color: var(--c-blue);}
.dm-fragebogen .dm-tile__sub {font-size: clamp(12px, 1.15vw, 14px); color: var(--c-text-soft); line-height: 1.3; font-weight: 500;}
.dm-fragebogen .dm-tiles--cols-4 .dm-tile {min-height: clamp(170px, 20vw, 215px); padding: clamp(10px, 1.2vw, 14px) clamp(8px, 1vw, 12px) clamp(10px, 1.4vw, 14px);}
.dm-fragebogen .dm-tiles--cols-4 .dm-tile__icon {width: 100%; height: clamp(105px, 13vw, 145px);}
.dm-fragebogen .dm-extra {margin: 24px auto 0; background: var(--c-surface); border: 2px solid var(--c-yellow); border-radius: var(--r-card); padding: 22px; max-width: 600px; box-shadow: var(--shadow-s); position: relative;}
.dm-fragebogen .dm-extra__head {display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: var(--c-blue); margin-bottom: 16px;}
.dm-fragebogen .dm-extra__icon {width: 38px; height: 38px; background: var(--c-yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;}
.dm-fragebogen .dm-extra__hint {margin: 12px 0 0; font-size: 13px; color: var(--c-text-soft); line-height: 1.4;}
.dm-fragebogen .dm-field input[type="date"],
.dm-fragebogen .dm-field input[type="month"] {cursor: pointer; color-scheme: light; padding-right: 12px;}
.dm-fragebogen .dm-field input[type="date"]::-webkit-calendar-picker-indicator,
.dm-fragebogen .dm-field input[type="month"]::-webkit-calendar-picker-indicator {cursor: pointer; width: 24px; height: 24px; margin-left: 8px; opacity: 0.6; transition: opacity .15s ease, transform .15s ease; filter: invert(15%) sepia(70%) saturate(800%) hue-rotate(190deg);}
.dm-fragebogen .dm-field input[type="date"]:hover::-webkit-calendar-picker-indicator,
.dm-fragebogen .dm-field input[type="month"]:hover::-webkit-calendar-picker-indicator,
.dm-fragebogen .dm-field input[type="date"]:focus::-webkit-calendar-picker-indicator,
.dm-fragebogen .dm-field input[type="month"]:focus::-webkit-calendar-picker-indicator {opacity: 1; transform: scale(1.1);}
.dm-fragebogen .dm-slide--form .dm-form {max-width: 760px; margin: 0 auto;}
.dm-fragebogen .dm-fieldset {background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: clamp(20px, 3vw, 28px); margin: 0 0 16px; box-shadow: var(--shadow-s); position: relative;}
.dm-fragebogen .dm-fieldset > legend {padding: 4px 12px; font-weight: 800; font-size: 13px; color: var(--c-blue); background: var(--c-yellow-tint); border-radius: var(--r-pill); letter-spacing: .04em; text-transform: uppercase;}
.dm-fragebogen .dm-note {color: var(--c-text-soft); font-size: 14px; margin: 0 0 16px;}
.dm-fragebogen .dm-note--legal {background: rgba(var(--c-yellow-rgb), 0.10); border-left: 4px solid var(--c-yellow); border-radius: 8px; padding: 14px 16px; color: var(--c-text); font-size: 14px; line-height: 1.55; margin: 0 0 16px;}
.dm-fragebogen .dm-note--legal p {margin: 0 0 8px;}
.dm-fragebogen .dm-note--legal p:last-child {margin: 0;}
.dm-fragebogen .dm-note--legal strong {color: var(--c-blue);}
.dm-fragebogen .dm-note--legal a {color: var(--c-blue-l); font-weight: 600; text-decoration: underline; text-underline-offset: 2px;}
.dm-fragebogen .dm-field {display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px;}
.dm-fragebogen .dm-field > span {font-size: 13px; color: var(--c-blue); font-weight: 700; letter-spacing: .01em;}
.dm-fragebogen .dm-field input,
.dm-fragebogen .dm-field textarea,
.dm-fragebogen .dm-field select {appearance: none; -webkit-appearance: none; background: #fff; border: 2px solid var(--c-line); border-radius: 12px; padding: 14px 16px; font: inherit; color: var(--c-text); font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; width: 100%;}
.dm-fragebogen .dm-field input:focus,
.dm-fragebogen .dm-field textarea:focus,
.dm-fragebogen .dm-field select:focus {outline: none; border-color: var(--c-blue-l); box-shadow: 0 0 0 4px rgba(var(--c-blue-rgb),.12);}
.dm-fragebogen .dm-field.is-invalid input,
.dm-fragebogen .dm-field.is-invalid textarea {border-color: var(--c-error); box-shadow: 0 0 0 4px rgba(214,42,61,.10);}
.dm-fragebogen .dm-grid {display: grid; gap: 12px;}
.dm-fragebogen .dm-grid--2 {grid-template-columns: 1fr 1fr;}
.dm-fragebogen .dm-grid--3 {grid-template-columns: 1fr 1fr 1fr;}
@media (max-width: 560px) {
    .dm-fragebogen .dm-grid--2,
    .dm-fragebogen .dm-grid--3 {grid-template-columns: 1fr;}
}
@media (min-width: 561px) {
    .dm-fragebogen .dm-grid--3 {grid-template-columns: 130px 1fr;}
    .dm-fragebogen .dm-field--plz {max-width: 130px;}
}
.dm-fragebogen .dm-applicant {border-top: 2px dashed var(--c-line); margin-top: 20px; padding-top: 20px;}
.dm-fragebogen .dm-applicant:first-child {border-top: 0; margin-top: 0; padding-top: 0;}
.dm-fragebogen .dm-applicant h3,
.dm-fragebogen .dm-applicant__title {margin: 0 0 14px; font-size: 16px; color: var(--c-blue); font-weight: 800; display: flex; align-items: center; gap: 10px;}
.dm-fragebogen #dmApplicants + .dm-applicant__title {margin-top: 20px;}
.dm-fragebogen #dmApplicantsFieldset [hidden] {display: none !important;}
.dm-fragebogen .dm-applicant h3::before,
.dm-fragebogen .dm-applicant__title::before {content: ""; display: inline-block; width: 8px; height: 24px; background: var(--c-yellow); border-radius: 2px;}
.dm-fragebogen .dm-check {display: flex; align-items: flex-start; gap: 12px; font-size: 14px; cursor: pointer; line-height: 1.5;}
.dm-fragebogen .dm-check input {margin-top: 2px; width: 20px; height: 20px; accent-color: var(--c-yellow); flex-shrink: 0;}
.dm-fragebogen .dm-check a {color: var(--c-blue-l); font-weight: 700;}
.dm-fragebogen .dm-photo-guide {display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); max-width: 960px; margin: 0 auto 24px; align-items: center;}
@media (max-width: 840px) {
    .dm-fragebogen .dm-photo-guide {grid-template-columns: 1fr; gap: 20px;}
}
.dm-fragebogen .dm-photo-guide__diagram {background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: clamp(14px, 1.6vw, 22px); box-shadow: var(--shadow-s);}
.dm-fragebogen .dm-photo-guide__diagram svg {width: 100%; height: auto; display: block;}
.dm-fragebogen .dm-diagram {display: none;}
.dm-fragebogen .dm-diagram.is-active {display: block;}
.dm-fragebogen .dm-photo-guide__steps {list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;}
.dm-fragebogen .dm-photo-guide__steps li {display: flex; gap: 14px; align-items: flex-start; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.45; color: var(--c-text); box-shadow: var(--shadow-xs);}
.dm-fragebogen .dm-photo-guide__steps li strong {color: var(--c-blue);}
.dm-fragebogen .dm-photo-guide__num {flex-shrink: 0; width: 34px; height: 34px; background: var(--c-yellow); color: var(--c-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; box-shadow: 0 2px 6px rgba(var(--c-yellow-rgb), .35);}
.dm-fragebogen .dm-slide--photos .dm-upload {max-width: 720px; margin: 0 auto;}
.dm-fragebogen .dm-photo-optional {text-align: center; color: var(--c-text-soft); font-size: 13px; margin: 16px auto 0; max-width: 720px;}
.dm-fragebogen .dm-upload__drop {display: flex; align-items: center; gap: 16px; padding: 22px; border: 2px dashed var(--c-line-strong); border-radius: 14px; background: var(--c-blue-tint); color: var(--c-blue); cursor: pointer; transition: border-color .15s ease, background .15s ease;}
.dm-fragebogen .dm-upload__drop:hover {border-color: var(--c-blue-l); background: #fff;}
.dm-fragebogen .dm-upload.is-drag .dm-upload__drop {border-color: var(--c-yellow); background: var(--c-yellow-tint);}
.dm-fragebogen .dm-upload__icon {width: 48px; height: 48px; background: var(--c-yellow); color: var(--c-blue); font-size: 28px; font-weight: 900; line-height: 48px; text-align: center; border-radius: 50%; flex-shrink: 0;}
.dm-fragebogen .dm-upload__text {display: flex; flex-direction: column; gap: 2px;}
.dm-fragebogen .dm-upload__text strong {font-size: 16px; font-weight: 700;}
.dm-fragebogen .dm-upload__text small {color: var(--c-text-soft); font-size: 13px;}
.dm-fragebogen .dm-upload__list {list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px;}
.dm-fragebogen .dm-upload__list li {display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 1px solid var(--c-line); border-radius: 10px; font-size: 14px; color: var(--c-text);}
.dm-fragebogen .dm-upload__list li span {flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.dm-fragebogen .dm-upload__list li small {color: var(--c-text-soft); font-variant-numeric: tabular-nums;}
.dm-fragebogen .dm-upload__list li button {background: transparent; border: 0; color: var(--c-error); cursor: pointer; font-size: 18px; font-weight: 700; width: 28px; height: 28px; border-radius: 6px; transition: background .15s ease;}
.dm-fragebogen .dm-upload__list li button:hover {background: #FEE2E2;}
.dm-fragebogen .dm-honeypot {position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden;}
.dm-fragebogen .dm-review {max-width: 760px; margin: 0 auto 24px; display: flex; flex-direction: column; gap: 16px;}
.dm-fragebogen .dm-review__section {background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-xs);}
.dm-fragebogen .dm-review__title {margin: 0 0 12px; font-size: 14px; font-weight: 800; color: var(--c-blue); text-transform: uppercase; letter-spacing: .05em; display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--c-line);}
.dm-fragebogen .dm-review__title a {font-size: 12px; color: var(--c-blue-l); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; text-transform: none; letter-spacing: 0;}
.dm-fragebogen .dm-review__title a:hover {text-decoration: none;}
.dm-fragebogen .dm-review__list {margin: 0; display: grid; grid-template-columns: 38% 62%; gap: 8px 14px; font-size: 14px;}
.dm-fragebogen .dm-review__list dt {font-weight: 700; color: var(--c-text-soft); display: flex; align-items: center; gap: 6px;}
.dm-fragebogen .dm-review__list dt a {font-weight: 500; color: var(--c-blue-l); font-size: 11px; text-decoration: underline;}
.dm-fragebogen .dm-review__list dd {margin: 0; color: var(--c-text); word-break: break-word;}
.dm-fragebogen .dm-review__list dd small {color: var(--c-text-soft);}
@media (max-width: 540px) {
    .dm-fragebogen .dm-review__list {grid-template-columns: 1fr; gap: 2px 14px;}
    .dm-fragebogen .dm-review__list dt {margin-top: 8px; font-size: 12px;}
    .dm-fragebogen .dm-review__list dt:first-child {margin-top: 0;}
}
.dm-fragebogen .dm-review__ast {background: var(--c-blue-tint); padding: 10px 14px; border-radius: 8px; margin-bottom: 8px; font-size: 14px; color: var(--c-blue);}
.dm-fragebogen .dm-review__ast:last-child {margin-bottom: 0;}
.dm-fragebogen .dm-review__ast small {color: var(--c-text-soft);}
.dm-fragebogen .dm-final-consents {max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; background: var(--c-yellow-tint); border: 2px solid var(--c-yellow); border-radius: 16px; padding: 20px;}
.dm-fragebogen .dm-final-consent {padding: 0; background: transparent; border: 0;}
.dm-fragebogen .dm-final-consent input {width: 22px; height: 22px; accent-color: var(--c-blue); flex-shrink: 0; margin-top: 2px;}
.dm-fragebogen .dm-final-consent span {font-size: 14px; line-height: 1.5;}
.dm-fragebogen .dm-final-consent a {color: var(--c-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px;}
.dm-fragebogen .dm-nav {position: sticky; bottom: 0; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-top: 1px solid var(--c-line); padding: 16px var(--pad); padding-bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; z-index: 20;}
.dm-fragebogen .dm-btn {appearance: none; -webkit-appearance: none; border: 0; padding: 16px 28px; border-radius: 14px; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; transition: background .15s ease, color .15s ease, transform .1s ease, box-shadow .15s ease, opacity .15s ease; line-height: 1; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 8px;}
.dm-fragebogen .dm-btn:active {transform: translateY(1px);}
.dm-fragebogen .dm-btn:disabled {opacity: .45; cursor: not-allowed;}
.dm-fragebogen .dm-btn--primary {background: var(--c-yellow); color: var(--c-blue); box-shadow: 0 6px 16px rgba(var(--c-yellow-rgb),.4);}
.dm-fragebogen .dm-btn--primary:hover:not(:disabled) {background: var(--c-yellow-d); box-shadow: 0 8px 20px rgba(var(--c-yellow-rgb),.5); transform: translateY(-1px);}
.dm-fragebogen .dm-btn--ghost {background: transparent; color: var(--c-blue); border: 2px solid var(--c-line-strong);}
.dm-fragebogen .dm-btn--ghost:hover:not(:disabled) {background: var(--c-blue-tint); border-color: var(--c-blue);}
.dm-fragebogen #dmNext,
.dm-fragebogen #dmSubmit,
.dm-fragebogen #dmSkip {margin-left: auto;}
.dm-fragebogen #dmSkip + #dmNext,
.dm-fragebogen #dmSkip + #dmSubmit {margin-left: 0;}
.dm-fragebogen .dm-slide__feedback {margin-top: 20px; padding: 14px 18px; border-radius: 14px; background: #FFF1F3; color: var(--c-error); border: 2px solid #FAC9D0; font-size: 15px; font-weight: 600; text-align: center; max-width: 640px; margin-left: auto; margin-right: auto;}
.dm-fragebogen .dm-slide__feedback.is-success {background: #EDFBF1; color: var(--c-success); border-color: #BFEFCC;}
.dm-fragebogen .dm-slide__feedback ul.dm-missing {list-style: none; margin: 12px 0 0; padding: 0; text-align: left; display: grid; gap: 6px;}
.dm-fragebogen .dm-slide__feedback ul.dm-missing li {padding: 8px 12px; background: #fff; border-radius: 8px; font-weight: 500; color: var(--c-text);}
.dm-fragebogen .dm-slide__feedback ul.dm-missing a {color: var(--c-error); text-decoration: underline; font-weight: 700;}
.dm-fragebogen .dm-slide__feedback ul.dm-missing a:hover {text-decoration: none;}
.dm-fragebogen .dm-notice {max-width: 640px; margin: clamp(20px, 4vw, 60px) auto 20px; background: var(--c-surface); border: 3px solid var(--c-yellow); border-radius: var(--r-card); padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 44px); text-align: center; box-shadow: var(--shadow-l); position: relative;}
.dm-fragebogen .dm-notice::before {content: "i"; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--c-yellow); color: var(--c-blue); font-weight: 900; font-size: 22px; line-height: 44px; text-align: center; box-shadow: var(--shadow-m); font-style: italic; font-family: Georgia, serif;}
.dm-fragebogen .dm-notice__icon {width: 120px; height: 120px; margin: 12px auto 22px; display: flex; align-items: center; justify-content: center;}
.dm-fragebogen .dm-notice__icon img {max-width: 100%; max-height: 100%;}
.dm-fragebogen .dm-notice .dm-title {font-size: clamp(22px, 4vw, 30px); margin-bottom: 14px;}
.dm-fragebogen .dm-notice .dm-subtitle {margin-bottom: 28px; font-size: 15px;}
.dm-fragebogen .dm-notice__actions {display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;}
.dm-fragebogen .dm-done {text-align: center; padding: clamp(40px, 8vw, 80px) 24px; max-width: 560px; margin: 40px auto;}
.dm-fragebogen .dm-done__check {width: 110px; height: 110px; margin: 0 auto 30px; background: var(--c-yellow); color: var(--c-blue); font-size: 60px; font-weight: 900; line-height: 110px; border-radius: 50%; box-shadow: 0 16px 40px rgba(var(--c-yellow-rgb),.5); animation: dm-pop .5s cubic-bezier(.4,0,.2,1);}
.dm-fragebogen .dm-done .dm-title {font-size: clamp(28px, 5vw, 42px); margin-bottom: 16px;}
.dm-fragebogen .dm-resume {background: var(--c-yellow-tint); border: 2px solid var(--c-yellow); border-radius: var(--r-card); padding: 18px 22px; margin: 0 0 20px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-s);}
.dm-fragebogen .dm-resume p {margin: 0; flex: 1; font-size: 15px; font-weight: 600; color: var(--c-blue); min-width: 220px;}
@media (prefers-reduced-motion: reduce) {
    .dm-fragebogen .dm-slide,
    .dm-fragebogen .dm-tile,
    .dm-fragebogen .dm-progress__fill,
    .dm-fragebogen .dm-tile.is-selected::after,
    .dm-fragebogen .dm-done__check {animation: none; transition: none;}
}
@media (max-width: 720px) {
    .dm-fragebogen .dm-tile {min-height: 215px;}
    .dm-fragebogen .dm-tile__icon {height: 160px;}
    .dm-fragebogen .dm-tiles--cols-4 .dm-tile {min-height: 155px;}
    .dm-fragebogen .dm-tiles--cols-4 .dm-tile__icon {height: 100px;}
}
@media (max-width: 540px) {
    .dm-fragebogen .dm-progress__label {min-width: 44px; font-size: 12px;}
    .dm-fragebogen .dm-nav {padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); gap: 8px;}
    .dm-fragebogen .dm-btn {padding: 14px 18px; font-size: 15px;}
    .dm-fragebogen .dm-slide__head {margin-bottom: 20px;}
    .dm-fragebogen .dm-eyebrow {font-size: 11px; padding: 5px 12px; margin-bottom: 12px;}
    .dm-fragebogen .dm-tiles {gap: 10px;}
    .dm-fragebogen .dm-tile {min-height: 165px; padding: 10px 8px 10px; gap: 6px; border-width: 2px;}
    .dm-fragebogen .dm-tile__icon {width: 100%; height: 110px;}
    .dm-fragebogen .dm-tile__label {font-size: 14px; line-height: 1.2;}
    .dm-fragebogen .dm-tile__sub {font-size: 11px;}
    .dm-fragebogen .dm-tiles--cols-4 .dm-tile {min-height: 130px; padding: 8px 6px 8px;}
    .dm-fragebogen .dm-tiles--cols-4 .dm-tile__icon {width: 100%; height: 80px;}
    .dm-fragebogen .dm-tile.is-selected::after {width: 26px; height: 26px; line-height: 26px; font-size: 14px; top: 8px; right: 8px;}
    .dm-fragebogen .dm-stage {padding: 16px; padding-bottom: 100px; min-height: 520px;}
    .dm-fragebogen .dm-fieldset {padding: 16px;}
    .dm-fragebogen .dm-field input,
    .dm-fragebogen .dm-field textarea,
    .dm-fragebogen .dm-field select {padding: 12px 14px; font-size: 16px;}
}
@media (max-width: 380px) {
    .dm-fragebogen .dm-tile {min-height: 150px;}
    .dm-fragebogen .dm-tile__icon {height: 95px;}
    .dm-fragebogen .dm-tile__label {font-size: 13px;}
    .dm-fragebogen .dm-tiles--cols-4 .dm-tile {min-height: 115px;}
    .dm-fragebogen .dm-tiles--cols-4 .dm-tile__icon {height: 70px;}
}

/* ============================================================
   Einbindung in duschmax.de (von Hand, nicht aus app.css)
   ============================================================ */
.dm-fragebogen {
    --pad: clamp(14px, 3vw, 36px);
    position: relative;
    margin: 0 0 2.5rem;
    background:
        radial-gradient(900px 500px at 100% -10%, rgba(var(--c-yellow-rgb),.10), transparent 60%),
        radial-gradient(700px 400px at -10% 110%, rgba(var(--c-blue-rgb),.07), transparent 60%),
        var(--c-bg);
    border-radius: var(--r-card);
    color: var(--c-text);
    font-family: inherit;
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Fortschritt statt eigenem Kopf mit Logo: das Logo kommt von der Website */
.dm-fragebogen .dm-kopf { padding: 18px var(--innen) 0; }
.dm-fragebogen .dm-kopf__zeile { display: flex; align-items: center; gap: 16px; }
.dm-fragebogen .dm-kopf .dm-progress { flex: 1; }
.dm-fragebogen .dm-kopf .dm-progress__label { white-space: nowrap; }

.dm-fragebogen .dm-stage {
    min-height: 560px;
    max-width: none;
    padding: clamp(18px, 3vw, 40px) var(--pad) 28px;
}
@media (max-width: 720px) {
    .dm-fragebogen .dm-stage { min-height: 460px; }
}

/* Navigation klebt am unteren Rand des Fragebogens, nicht über Footer/Cookie-Banner */
.dm-fragebogen .dm-nav {
    border-radius: 0 0 var(--r-card) var(--r-card);
    z-index: 5;
}

/* Bootstrap (t3sbootstrap) zurücksetzen, wo es durchschlägt */
.dm-fragebogen legend { float: none; width: auto; margin-bottom: 0; line-height: 1.4; }
.dm-fragebogen fieldset { min-width: 0; }
.dm-fragebogen h2, .dm-fragebogen h3 { text-transform: none; }
.dm-fragebogen label { margin-bottom: 0; }
.dm-fragebogen .dm-tile { font-family: inherit; }
.dm-fragebogen .dm-tile__icon img { max-width: 100%; height: auto; }
.dm-fragebogen [hidden] { display: none !important; }

/* Feldraster: Breite aus formular.json (full | half | plz | ort) */
.dm-fragebogen .dm-felder { display: flex; flex-wrap: wrap; column-gap: 16px; }
.dm-fragebogen .dm-field--full { flex: 1 1 100%; }
.dm-fragebogen .dm-field--half { flex: 1 1 calc(50% - 8px); min-width: 220px; }
.dm-fragebogen .dm-field--plz { flex: 0 0 130px; }
.dm-fragebogen .dm-field--ort { flex: 1 1 200px; }
@media (max-width: 560px) {
    .dm-fragebogen .dm-field--half { flex-basis: 100%; }
}
.dm-fragebogen .dm-applicant__title--anschrift { margin-top: 20px; }

.dm-fragebogen .dm-noscript { padding: 0 var(--pad) 24px; font-weight: 700; }
.dm-fragebogen .dm-review__ast + p { margin-top: 8px; }
/* Das Bewertungs-Siegel der Website (unten rechts fixiert) darf „Weiter“ nicht verdecken */
@media (max-width: 1400px) {
    .dm-fragebogen .dm-nav { padding-right: calc(var(--pad) + 84px); }
}
/* Kachelraster nach der Breite des Fragebogens statt des Fensters (z. B. in einer Spalte von TwoCol) */
.dm-fragebogen { container-type: inline-size; container-name: dmfb; }
@container dmfb (max-width: 760px) {
    .dm-fragebogen .dm-tiles.dm-tiles--cols-3, .dm-fragebogen .dm-tiles.dm-tiles--cols-4 { grid-template-columns: repeat(2, 1fr); }
    .dm-fragebogen .dm-photo-guide { grid-template-columns: 1fr; }
}

/* Volle Breite: Hintergrund über die ganze Seite, Inhalt zentriert (max. 1240 px) */
.dm-fragebogen {
    --innen: max(var(--pad), calc((100% - 1240px) / 2));
    border-radius: 0;
}
.dm-fragebogen .dm-stage { padding-left: var(--innen); padding-right: var(--innen); }
.dm-fragebogen .dm-nav { border-radius: 0; padding-left: var(--innen); padding-right: var(--innen); }
@media (max-width: 1400px) {
    .dm-fragebogen .dm-nav { padding-right: calc(var(--innen) + 84px); }
}

/* Erklärung vor dem ersten Schritt */
.dm-fragebogen .dm-intro { padding: clamp(22px, 3vw, 40px) var(--innen) 4px; }
.dm-fragebogen .dm-intro__titel { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--c-blue); margin: 0 0 10px; }
.dm-fragebogen .dm-intro__text { max-width: 860px; margin: 0 0 18px; color: var(--c-text-soft); }
.dm-fragebogen .dm-intro__text strong { color: var(--c-text); }
.dm-fragebogen .dm-intro__phasen {
    list-style: none; margin: 0 0 14px; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.dm-fragebogen .dm-intro__phasen li {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; padding: 14px;
    box-shadow: var(--shadow-xs);
}
.dm-fragebogen .dm-intro__phasen strong { display: block; color: var(--c-blue); line-height: 1.25; }
.dm-fragebogen .dm-intro__phasen small { display: block; font-size: 12px; font-weight: 700; color: var(--c-yellow-d); text-transform: uppercase; letter-spacing: .06em; margin: 2px 0 4px; }
.dm-fragebogen .dm-intro__erkl { display: block; font-size: 14px; line-height: 1.4; color: var(--c-text-soft); }
.dm-fragebogen .dm-intro__nr, .dm-fragebogen .dm-phase__nr {
    flex: 0 0 auto; display: inline-grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--c-yellow); color: var(--c-blue); font-weight: 900; font-size: 15px;
}
.dm-fragebogen .dm-intro__alternative { font-size: 15px; color: var(--c-text-soft); margin: 0; }
.dm-fragebogen .dm-intro__alternative a { color: var(--c-blue-l); font-weight: 700; }
@container dmfb (max-width: 900px) {
    .dm-fragebogen .dm-intro__phasen { grid-template-columns: repeat(2, 1fr); }
}
@container dmfb (max-width: 520px) {
    .dm-fragebogen .dm-intro__phasen { grid-template-columns: 1fr; }
}

/* Abschnittsleiste über dem Fortschritt */
.dm-fragebogen .dm-phasen { list-style: none; margin: 0 0 12px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.dm-fragebogen .dm-phase {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px 5px 5px; border-radius: var(--r-pill);
    background: var(--c-surface); border: 1px solid var(--c-line);
    font-size: 14px; font-weight: 700; color: var(--c-muted);
}
.dm-fragebogen .dm-phase .dm-phase__nr { width: 24px; height: 24px; font-size: 13px; background: var(--c-blue-tint); color: var(--c-muted); }
.dm-fragebogen .dm-phase.is-active { border-color: var(--c-blue); color: var(--c-blue); box-shadow: var(--shadow-xs); }
.dm-fragebogen .dm-phase.is-active .dm-phase__nr { background: var(--c-yellow); color: var(--c-blue); }
.dm-fragebogen .dm-phase.is-done { color: var(--c-blue); }
.dm-fragebogen .dm-phase.is-done .dm-phase__nr { background: var(--c-blue); color: #fff; font-size: 0; }
.dm-fragebogen .dm-phase.is-done .dm-phase__nr::after { content: "✓"; font-size: 13px; }
@container dmfb (max-width: 600px) {
    .dm-fragebogen .dm-phase:not(.is-active) .dm-phase__titel { display: none; }
    .dm-fragebogen .dm-phase:not(.is-active) { padding-right: 5px; }
}

/* Auf Seiten mit Fragebogen: „Nach oben“-Knopf der Website aus (läge über „Weiter“, der Fragebogen scrollt selbst) */
body:has(.dm-fragebogen) .back-to-top { display: none !important; }

/* Personen mit Pflegegrad (Modell wie Partner-Konfigurator) */
.dm-fragebogen .dm-pb { border-top: 1px dashed var(--c-line); padding-top: 12px; }
.dm-fragebogen .dm-pb__check { flex: 1 1 100%; margin: 0 0 14px; }
.dm-fragebogen [data-pb-eigene], .dm-fragebogen .dm-pb__vertreter {
    background: var(--c-blue-tint); border-radius: 14px; padding: 14px 14px 0; margin: 0 0 14px;
}
.dm-fragebogen .dm-pb__datei input[type=file] { padding: 10px 12px; font-size: 14px; background: #fff; }
.dm-fragebogen .dm-field > span small { font-weight: 400; color: var(--c-muted); }
