.amdc2-check {
    --amdc2-primary: #0b5ea8;
    --amdc2-primary-dark: #084878;
    --amdc2-accent: #d6a100;
    --amdc2-text: #1d2327;
    --amdc2-muted: #50575e;
    --amdc2-border: #dcdcde;
    --amdc2-surface: #ffffff;
    --amdc2-soft: #f6f7f7;
    --amdc2-success: #1f7a4d;
    --amdc2-warning: #9a6700;
    --amdc2-danger: #b32d2e;
    box-sizing: border-box;
    margin: 2rem 0;
    padding: clamp(1.1rem, 3vw, 2rem);
    border: 1px solid var(--amdc2-border);
    border-radius: 14px;
    background: var(--amdc2-surface);
    color: var(--amdc2-text);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    font: inherit;
}

.amdc2-check *,
.amdc2-check *::before,
.amdc2-check *::after {
    box-sizing: inherit;
}

.amdc2-check [hidden] {
    display: none !important;
}

.amdc2-check__header {
    margin-bottom: 1.5rem;
}

.amdc2-check__eyebrow,
.amdc2-check__result-label {
    margin: 0 0 0.4rem;
    color: var(--amdc2-primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.amdc2-check__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.18;
}

.amdc2-check__intro {
    margin: 0 0 0.8rem;
    font-size: 1.05rem;
    line-height: 1.65;
}

.amdc2-check__privacy,
.amdc2-check__disclaimer,
.amdc2-check__share-note {
    margin: 0;
    color: var(--amdc2-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.amdc2-check__share-note {
    margin-top: 0.7rem;
}

.amdc2-check__progress-wrap {
    margin-bottom: 1.25rem;
}

.amdc2-check__progress-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--amdc2-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.amdc2-check__progress {
    display: block;
    width: 100%;
    height: 0.72rem;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #e8eaed;
    color: var(--amdc2-primary);
}

.amdc2-check__progress::-webkit-progress-bar {
    background: #e8eaed;
    border-radius: 999px;
}

.amdc2-check__progress::-webkit-progress-value {
    background: var(--amdc2-primary);
    border-radius: 999px;
    transition: width 180ms ease;
}

.amdc2-check__progress::-moz-progress-bar {
    background: var(--amdc2-primary);
    border-radius: 999px;
}

.amdc2-check__question {
    min-width: 0;
    margin: 0;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--amdc2-border);
    border-radius: 12px;
    background: var(--amdc2-soft);
}

.amdc2-check__legend {
    width: 100%;
    padding: 0;
    font-size: clamp(1.12rem, 2.3vw, 1.35rem);
    font-weight: 750;
    line-height: 1.4;
}

.amdc2-check__legend:focus,
.amdc2-check__result:focus {
    outline: 3px solid rgba(11, 94, 168, 0.28);
    outline-offset: 4px;
}

.amdc2-check__question-number {
    color: var(--amdc2-primary);
}

.amdc2-check__hint {
    margin: 0.7rem 0 1rem;
    color: var(--amdc2-muted);
    line-height: 1.55;
}

.amdc2-check__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.amdc2-check__option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 3.2rem;
    margin: 0;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--amdc2-border);
    border-radius: 9px;
    background: var(--amdc2-surface);
    cursor: pointer;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.amdc2-check__option:hover {
    border-color: var(--amdc2-primary);
}

.amdc2-check__option:has(input:checked) {
    border-color: var(--amdc2-primary);
    background: #eef6fc;
    box-shadow: 0 0 0 2px rgba(11, 94, 168, 0.12);
}

.amdc2-check__option input {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    accent-color: var(--amdc2-primary);
}

.amdc2-check__option span {
    font-weight: 650;
}

.amdc2-check__option input:focus-visible,
.amdc2-check__field input:focus-visible,
.amdc2-check__field textarea:focus-visible,
.amdc2-check__checkbox input:focus-visible {
    outline: 3px solid rgba(11, 94, 168, 0.3);
    outline-offset: 3px;
}

.amdc2-check__error {
    margin: 0.85rem 0 0;
    color: var(--amdc2-danger);
    font-weight: 700;
}

.amdc2-check__navigation,
.amdc2-check__result-actions,
.amdc2-check__consultation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.amdc2-check__navigation {
    justify-content: space-between;
}

.amdc2-check__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    margin: 0;
    padding: 0.68rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.amdc2-check__button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.amdc2-check__button:focus-visible {
    outline: 3px solid rgba(11, 94, 168, 0.3);
    outline-offset: 3px;
}

.amdc2-check__button:disabled {
    opacity: 0.62;
    cursor: wait;
}

.amdc2-check__button--primary {
    background: var(--amdc2-primary);
    color: #ffffff;
}

.amdc2-check__button--primary:hover:not(:disabled) {
    background: var(--amdc2-primary-dark);
    color: #ffffff;
}

.amdc2-check__button--secondary {
    border-color: var(--amdc2-primary);
    background: #ffffff;
    color: var(--amdc2-primary-dark);
}

.amdc2-check__button--secondary:hover:not(:disabled) {
    background: #eef6fc;
    color: var(--amdc2-primary-dark);
}

.amdc2-check__button--text {
    border-color: transparent;
    background: transparent;
    color: var(--amdc2-primary-dark);
    text-decoration: underline;
}

.amdc2-check__result {
    padding: clamp(1rem, 3vw, 1.6rem);
    border: 2px solid var(--amdc2-primary);
    border-radius: 12px;
    background: #f7fbff;
}

.amdc2-check__result--proof {
    border-color: var(--amdc2-primary);
}

.amdc2-check__result--pauschal {
    border-color: var(--amdc2-success);
    background: #f4fbf7;
}

.amdc2-check__result--flexibel {
    border-color: var(--amdc2-accent);
    background: #fffaf0;
}

.amdc2-check__result--beratung {
    border-color: var(--amdc2-warning);
    background: #fff9eb;
}

.amdc2-check__result-title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    line-height: 1.3;
}

.amdc2-check__result-summary {
    margin: 0 0 1.2rem;
    font-size: 1.04rem;
    line-height: 1.6;
}

.amdc2-check__result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin: 1rem 0;
}

.amdc2-check__result-grid > div {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.75);
}

.amdc2-check__result-grid h4,
.amdc2-check__consultation h4 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
}

.amdc2-check__result-grid p,
.amdc2-check__reasons {
    margin: 0;
    line-height: 1.58;
}

.amdc2-check__reasons {
    padding-left: 1.15rem;
}

.amdc2-check__reasons li + li {
    margin-top: 0.4rem;
}

.amdc2-check__notice {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border-left: 4px solid var(--amdc2-warning);
    border-radius: 4px;
    background: #fff8e5;
    line-height: 1.55;
}

.amdc2-check__notice--status {
    color: #5c4300;
}

.amdc2-check__notice--shared {
    border-left-color: var(--amdc2-primary);
    background: #eef6fc;
    color: var(--amdc2-primary-dark);
}

.amdc2-check__action-status {
    min-height: 1.4em;
    margin: 0.8rem 0 0;
    font-weight: 700;
    line-height: 1.5;
}

.amdc2-check__action-status--success {
    color: var(--amdc2-success);
}

.amdc2-check__action-status--error {
    color: var(--amdc2-danger);
}

.amdc2-check__consultation {
    margin-top: 1.5rem;
    padding: clamp(1rem, 3vw, 1.4rem);
    border: 1px solid var(--amdc2-border);
    border-radius: 10px;
    background: #ffffff;
}

.amdc2-check__consultation > p {
    line-height: 1.6;
}

.amdc2-check__field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.amdc2-check__field {
    display: block;
    margin: 0 0 1rem;
}

.amdc2-check__field > span {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.amdc2-check__field input,
.amdc2-check__field textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.72rem 0.8rem;
    border: 1px solid var(--amdc2-border);
    border-radius: 7px;
    background: #ffffff;
    color: var(--amdc2-text);
    font: inherit;
}

.amdc2-check__field textarea {
    resize: vertical;
}

.amdc2-check__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0.5rem 0;
    line-height: 1.55;
}

.amdc2-check__checkbox input {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
    accent-color: var(--amdc2-primary);
}

.amdc2-check__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.amdc2-check__mailto-fallback {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 700;
}

.amdc2-check__method {
    margin-top: 1.25rem;
    border-top: 1px solid var(--amdc2-border);
    padding-top: 1rem;
}

.amdc2-check__method summary {
    color: var(--amdc2-primary-dark);
    font-weight: 700;
    cursor: pointer;
}

.amdc2-check__method-content {
    margin-top: 0.75rem;
    color: var(--amdc2-muted);
    line-height: 1.6;
}

.amdc2-check__method-content ul {
    padding-left: 1.25rem;
}

@media (max-width: 760px) {
    .amdc2-check__options,
    .amdc2-check__result-grid,
    .amdc2-check__field-grid {
        grid-template-columns: 1fr;
    }

    .amdc2-check__navigation,
    .amdc2-check__result-actions,
    .amdc2-check__consultation-actions {
        flex-direction: column;
    }

    .amdc2-check__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .amdc2-check *,
    .amdc2-check *::before,
    .amdc2-check *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
