/* Testament Erstellen - Wizard Styles */

/* Main Layout */
.wizard-main {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #faf8f3 0%, #fff 100%);
}

/* Progress Bar */
.wizard-progress {
    background: white;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 2rem;
    position: sticky;
    top: 60px;
    z-index: 50;
}

.progress-bar {
    max-width: 600px;
    margin: 0 auto 0.5rem;
    height: 4px;
    background: #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width 0.5s ease;
    width: 12.5%;
}

.progress-text {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

#progress-step {
    color: var(--color-text);
    font-weight: 500;
}

/* Wizard Container */
.wizard-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

/* Wizard Steps */
.wizard-step {
    display: none;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Content */
.step-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.step-content-wide {
    max-width: 720px;
    text-align: left;
}

.step-content h1,
.step-content h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-align: center;
}

.step-content h1 {
    font-size: 1.75rem;
}

.step-content h2 {
    font-size: 1.5rem;
}

.step-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a1a1a;
    background: var(--color-primary);
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

/* Step Icon */
.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-primary-hover);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-icon-success {
    background: #d5f5e3;
    border-radius: 50%;
    padding: 1rem;
    color: #27ae60;
}

/* Info Box */
.info-box {
    display: flex;
    gap: 1rem;
    background: #faf8f3;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    text-align: left;
}

.info-box-small {
    margin-bottom: 1rem;
    padding: 1rem;
}

.info-box-small .info-box-content p {
    margin: 0;
}

/* Disclaimer Info Box */
.disclaimer-info-box {
    display: flex;
    gap: 1rem;
    background: #fef9e7;
    border: 1px solid #f0c36d;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    text-align: left;
}

.disclaimer-info-box-warning {
    background: #fff5f5;
    border-color: #e74c3c;
}

.disclaimer-info-box-warning .disclaimer-info-icon {
    color: #e74c3c;
}

.disclaimer-info-icon {
    width: 24px;
    height: 24px;
    color: #b7950b;
    flex-shrink: 0;
}

.disclaimer-info-icon svg {
    width: 100%;
    height: 100%;
}

.disclaimer-info-content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.disclaimer-info-content p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Testierfähigkeit Checks */
.testability-checks,
.formal-checks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testability-check,
.formal-check {
    cursor: pointer;
}

.testability-check input,
.formal-check input {
    display: none;
}

.testability-check-content,
.formal-check-content {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: left;
    align-items: flex-start;
}

.testability-check-content:hover,
.formal-check-content:hover {
    border-color: var(--color-primary);
    background: #fffdf5;
}

.testability-check input:checked + .testability-check-content,
.formal-check input:checked + .formal-check-content {
    border-color: #27ae60;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.15);
}

.testability-check-box,
.formal-check-box {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: white;
}

.testability-check-box svg,
.formal-check-box svg {
    width: 16px;
    height: 16px;
    opacity: 0;
    color: white;
    transition: opacity 0.2s ease;
}

.testability-check input:checked + .testability-check-content .testability-check-box,
.formal-check input:checked + .formal-check-content .formal-check-box {
    background: #27ae60;
    border-color: #27ae60;
}

.testability-check input:checked + .testability-check-content .testability-check-box svg,
.formal-check input:checked + .formal-check-content .formal-check-box svg {
    opacity: 1;
}

.testability-check-text,
.formal-check-text {
    flex: 1;
}

.testability-check-text strong,
.formal-check-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.testability-check-text span,
.formal-check-text span {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.formal-check-law {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-primary-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Checkbox Inline */
.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary-hover);
}

/* Conditional Subsection */
.conditional-subsection {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px dashed var(--color-border);
}

/* Option Card Wide & Horizontal */
.option-card-wide {
    grid-column: 1 / -1;
}

.option-card-horizontal {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.option-card-horizontal .option-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
}

.option-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.option-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.option-desc {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 400;
}

/* Ersatzerben List */
.ersatzerben-list {
    margin-bottom: 1.5rem;
}

.ersatzerbe-entry {
    background: #faf8f3;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.ersatzerbe-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ersatzerbe-for {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.ersatzerbe-for span {
    color: var(--color-primary-hover);
}

/* Enterbung List */
.enterbung-list {
    margin-bottom: 1rem;
}

.enterbung-entry {
    background: #faf8f3;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.info-box-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary-hover);
    flex-shrink: 0;
}

.info-box-icon svg {
    width: 100%;
    height: 100%;
}

.info-box-content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.info-box-content p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.2);
}

.form-group input::placeholder {
    color: #bbb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-flex {
    flex: 1;
}

.form-group-small {
    width: 100px;
}

.input-suffix {
    position: relative;
}

.input-suffix input {
    padding-right: 2.5rem;
}

.input-suffix span {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    font-weight: 500;
}

/* Option Cards */
.option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-cards-binary {
    grid-template-columns: 1fr 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.option-card {
    cursor: pointer;
}

.option-card input {
    display: none;
}

.option-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.2s ease;
    background: white;
}

.option-card-content:hover {
    border-color: #ccc;
}

.option-card input:checked + .option-card-content {
    border-color: var(--color-primary);
    background: #fffdf5;
    box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.2);
}

.option-icon {
    width: 32px;
    height: 32px;
    color: var(--color-text-light);
}

.option-icon svg {
    width: 100%;
    height: 100%;
}

.option-card input:checked + .option-card-content .option-icon {
    color: var(--color-primary-hover);
}

.option-card-content span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

/* Conditional Sections */
.conditional-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Children / Heir / Bequest Entries */
.child-entry,
.heir-entry,
.bequest-entry {
    background: #faf8f3;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.child-header,
.heir-header,
.bequest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.child-header span,
.bequest-header span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.heir-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.remove-child,
.remove-heir,
.remove-bequest {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.2s;
}

.remove-child:hover,
.remove-heir:hover,
.remove-bequest:hover {
    color: #e74c3c;
}

.remove-child svg,
.remove-heir svg,
.remove-bequest svg {
    width: 18px;
    height: 18px;
}

/* Add Button */
.btn-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    background: transparent;
    border: 2px dashed var(--color-border);
    border-radius: 10px;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add:hover {
    border-color: var(--color-text);
    color: var(--color-text);
    background: #faf8f3;
}

.btn-add svg {
    width: 18px;
    height: 18px;
}

/* Heir Total */
.heir-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    margin-top: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
    font-weight: 600;
}

#heir-total-value {
    color: var(--color-primary-hover);
}

#heir-total-value.error {
    color: #e74c3c;
}

#heir-total-value.success {
    color: #27ae60;
}

/* Quick Add Section */
.quick-add-section {
    margin-bottom: 1.5rem;
    text-align: left;
}

.quick-add-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.quick-add-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-add-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-add-chip:hover {
    border-color: var(--color-primary);
    background: #fffdf5;
}

.quick-add-chip.selected {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-text);
}

.quick-add-chip .chip-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-add-chip .chip-icon svg {
    width: 100%;
    height: 100%;
}

.quick-add-chip .chip-relation {
    font-size: 0.75rem;
    color: var(--color-text-light);
    font-weight: 400;
}

.quick-add-chip.selected .chip-relation {
    color: var(--color-text);
    opacity: 0.7;
}

/* Heirs Slider Section */
.heirs-slider-section {
    margin-bottom: 1.5rem;
}

.heir-slider-entry {
    background: #faf8f3;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.heir-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.heir-slider-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.heir-slider-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.heir-slider-relation {
    font-size: 0.8rem;
    color: var(--color-text-light);
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.heir-slider-remove {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.2s;
}

.heir-slider-remove:hover {
    color: #e74c3c;
}

.heir-slider-remove svg {
    width: 18px;
    height: 18px;
}

.heir-slider-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.heir-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.heir-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.15s ease;
}

.heir-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.heir-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.heir-slider-value {
    min-width: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-hover);
    text-align: right;
}

/* Custom Heir Input */
.custom-heir-input {
    background: #faf8f3;
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    animation: slideDown 0.3s ease;
}

.custom-heir-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Empty State */
.heirs-empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.heirs-empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Card Info Tooltip */
.card-info-trigger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: #f5f5f5;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.card-info-trigger:hover {
    background: var(--color-primary);
    border-color: var(--color-primary-hover);
}

.card-info-trigger svg {
    width: 14px;
    height: 14px;
    color: var(--color-text-light);
}

.card-info-trigger:hover svg {
    color: #1a1a1a;
}

.step-content {
    position: relative;
}

/* Card Info Tooltip Popup */
.card-info-tooltip {
    display: none;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    background: #1a1a1a;
    color: white;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.2s ease;
}

.card-info-tooltip.visible {
    display: block;
}

.card-info-tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.card-info-tooltip-title {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-info-tooltip-title svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.card-info-tooltip-close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.card-info-tooltip-close:hover {
    color: white;
}

.card-info-tooltip-close svg {
    width: 18px;
    height: 18px;
}

.card-info-tooltip p {
    margin: 0;
    color: #ccc;
}

.card-info-tooltip a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Asset Categories Grid */
.asset-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.asset-category-item {
    cursor: pointer;
}

.asset-category-item input[type="checkbox"] {
    display: none;
}

.asset-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: center;
}

.asset-category-item input:checked + .asset-category-card {
    border-color: var(--color-primary);
    background: #fffdf5;
    box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.2);
}

.asset-category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.asset-category-item input:checked + .asset-category-card .asset-category-icon {
    background: var(--color-primary);
}

.asset-category-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-text-light);
}

.asset-category-item input:checked + .asset-category-card .asset-category-icon svg {
    color: #1a1a1a;
}

.asset-category-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.asset-category-hint {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* Asset Zuweisung */
#asset-zuweisung-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.step-hint {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.asset-zuweisung-entry {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.asset-zuweisung-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.asset-zuweisung-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.asset-zuweisung-category-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 8px;
}

.asset-zuweisung-category-icon svg {
    width: 18px;
    height: 18px;
    color: #1a1a1a;
}

.btn-remove-asset {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
}

.asset-zuweisung-fields {
    display: grid;
    gap: 1rem;
}

.asset-zuweisung-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.btn-add-asset {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    margin-top: 0.5rem;
}

.btn-add-asset svg {
    width: 20px;
    height: 20px;
}

/* Ausgleichung Section */
.ausgleichung-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.ausgleichung-section h4 {
    margin-bottom: 0.75rem;
}

.info-box-small {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.info-box-small svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-text-light);
}

.info-box-small p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
}

.option-card-small {
    padding: 0.875rem;
}

.option-card-small .option-card-content {
    padding: 0.5rem 0.75rem;
}

@media (max-width: 480px) {
    .asset-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .asset-zuweisung-row {
        grid-template-columns: 1fr;
    }
}

/* Why Box */
.why-box {
    margin-top: 1.5rem;
    text-align: left;
}

.why-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: color 0.2s;
}

.why-toggle:hover {
    color: var(--color-text);
}

.why-toggle svg {
    width: 18px;
    height: 18px;
}

.why-content {
    display: none;
    margin-top: 0.75rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.why-content p {
    margin: 0;
}

.why-content a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.why-box.open .why-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-light);
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.wizard-next,
.wizard-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.wizard-next svg,
.wizard-back svg {
    width: 18px;
    height: 18px;
}

/* Summary Sections */
.summary-sections {
    margin: 2rem 0;
}

.summary-section {
    background: #faf8f3;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.summary-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.summary-section-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
}

.summary-edit {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.summary-edit:hover {
    color: var(--color-text);
}

.summary-row {
    display: flex;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.summary-label {
    width: 140px;
    color: var(--color-text-light);
    flex-shrink: 0;
}

.summary-value {
    color: var(--color-text);
    font-weight: 500;
}

.summary-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Disclaimer Box */
.disclaimer-box {
    display: flex;
    gap: 1.25rem;
    background: linear-gradient(135deg, #fff3cd 0%, #fef9e7 100%);
    border: 2px solid #ffc107;
    border-radius: 16px;
    padding: 1.75rem;
    margin: 2rem 0;
}

.disclaimer-icon {
    width: 48px;
    height: 48px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.disclaimer-icon svg {
    width: 24px;
    height: 24px;
    color: #1a1a1a;
}

.disclaimer-content h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.disclaimer-content > p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.disclaimer-checklist {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.disclaimer-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.disclaimer-item svg {
    width: 20px;
    height: 20px;
    color: #27ae60;
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-item span {
    font-size: 0.9rem;
    line-height: 1.5;
}

.disclaimer-paragraph {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.disclaimer-paragraph a {
    color: var(--color-text);
    text-decoration: underline;
}

/* Testament Preview */
.testament-preview {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
}

.testament-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #fafafa;
    border-bottom: 1px solid var(--color-border);
}

.testament-header h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.testament-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: #f5f5f5;
    border-color: var(--color-text);
}

.btn-icon svg {
    width: 18px;
    height: 18px;
    color: var(--color-text);
}

.testament-content {
    padding: 2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
}

/* Result Actions */
.result-header {
    text-align: center;
    margin-bottom: 1rem;
}

.result-actions {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.result-actions .btn-primary svg {
    width: 20px;
    height: 20px;
}

/* Recommendation Box */
.recommendation-box {
    display: flex;
    gap: 1rem;
    background: #ebf5fb;
    border: 1px solid #3498db;
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 2rem;
}

.recommendation-icon {
    width: 40px;
    height: 40px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recommendation-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.recommendation-content h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.recommendation-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

.recommendation-content a {
    color: #3498db;
    font-weight: 500;
}

/* Save Indicator */
.save-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-text);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 100;
}

.save-indicator.visible {
    transform: translateX(-50%) translateY(0);
}

.save-indicator svg {
    width: 16px;
    height: 16px;
    color: #27ae60;
}

/* Responsive */
@media (max-width: 640px) {
    .step-content {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .wizard-container {
        padding: 2rem 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .option-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .step-actions {
        flex-direction: column-reverse;
    }
    
    .step-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .disclaimer-box {
        flex-direction: column;
    }
    
    .disclaimer-icon {
        margin: 0 auto;
    }
    
    .disclaimer-content {
        text-align: center;
    }
    
    .disclaimer-checklist {
        text-align: left;
    }
    
    .summary-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .summary-label {
        width: auto;
    }
}

/* Trust Grid - Horizontal Layout */
.trust-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 2rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #faf8f3;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon svg {
    width: 20px;
    height: 20px;
}

.trust-icon-check {
    background: #d5f5e3;
    color: #27ae60;
}

.trust-icon-euro {
    background: #fef9e7;
    color: #b7950b;
    font-size: 1.1rem;
    font-weight: 700;
}

.trust-icon-guarantee {
    background: #ebf5fb;
    color: #3498db;
}

.trust-icon-flex {
    background: #f5eef8;
    color: #9b59b6;
}

.trust-content {
    flex: 1;
}

.trust-content h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    display: inline;
}

.trust-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.4;
    margin: 0;
    display: inline;
}

.trust-content h4::after {
    content: " – ";
    font-weight: 400;
    color: var(--color-text-light);
}

/* Testament Preview Locked */
.testament-preview-locked {
    position: relative;
    overflow: hidden;
}

.testament-locked-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
}

.testament-locked-badge svg {
    width: 14px;
    height: 14px;
}

.testament-content-wrapper {
    position: relative;
}

.testament-content-preview {
    max-height: 420px;
    overflow: hidden;
}

.testament-blur-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.5) 20%,
        rgba(255,255,255,0.8) 50%,
        rgba(255,255,255,0.95) 70%,
        rgba(255,255,255,1) 100%
    );
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
}

/* Buy CTA Box */
.buy-cta-box {
    background: linear-gradient(135deg, #fef9e7 0%, #fdf6e3 100%);
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.buy-cta-price {
    margin-bottom: 1.5rem;
}

.price-old {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.price-main {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.1;
}

.price-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.35rem;
}

.btn-buy {
    background: var(--color-primary);
    color: var(--color-text);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    border: 2px solid var(--color-primary-hover);
    cursor: pointer;
    font-weight: 600;
}

.btn-buy:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 213, 79, 0.4);
}

.btn-buy svg {
    width: 22px;
    height: 22px;
}

.buy-cta-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Awards Section */
.awards-section {
    margin: 2.5rem 0;
    text-align: center;
}

.awards-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.award-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.award-badge-dark {
    background: #2c3e50;
    color: white;
}

.award-badge-dark .award-badge-title {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.award-badge-dark .award-badge-subtitle {
    font-size: 0.5rem;
    font-weight: 500;
}

.award-badge-dark .award-badge-highlight {
    font-size: 0.6rem;
    font-weight: 700;
    color: #e74c3c;
    margin-top: 2px;
}

.award-badge-green {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.award-badge-green .award-badge-title {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.award-badge-green .award-badge-subtitle {
    font-size: 0.45rem;
    font-weight: 500;
}

.award-badge-green .award-badge-stars {
    font-size: 0.6rem;
    color: #ffd54f;
    margin-top: 2px;
}

.award-badge-square {
    background: #2c3e50;
    color: white;
    border-radius: 12px;
    width: 80px;
    height: 80px;
}

.award-badge-square .award-badge-title {
    font-size: 0.55rem;
    font-weight: 700;
}

.award-badge-square .award-badge-subtitle {
    font-size: 0.5rem;
    font-weight: 500;
}

.award-badge-square .award-badge-year {
    font-size: 0.5rem;
    color: #3498db;
    margin-top: 2px;
}

.award-badge-trustpilot {
    background: var(--color-trustpilot);
    color: white;
    border-radius: 12px;
    width: 80px;
    height: 80px;
}

.award-badge-trustpilot .award-badge-score {
    font-size: 1rem;
    font-weight: 700;
}

.award-badge-trustpilot .award-badge-stars {
    font-size: 0.65rem;
    margin: 2px 0;
}

.award-badge-trustpilot .award-badge-brand {
    font-size: 0.5rem;
    font-weight: 600;
}

.award-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.4;
    margin: 0;
}

/* Trustpilot Reviews Section */
.trustpilot-reviews-section {
    margin: 2rem 0;
}

.reviews-section-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.trustpilot-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.review-card-small {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.review-card-small .review-stars {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.review-card-small .stars-box {
    display: flex;
    gap: 2px;
}

.review-card-small .stars-box span {
    color: var(--color-trustpilot);
    font-size: 1rem;
}

.review-card-small .verified {
    font-size: 0.7rem;
    color: var(--color-trustpilot);
    font-weight: 500;
}

.review-card-small .review-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.review-card-small .review-author {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 500;
    margin: 0;
}

/* Post Purchase Section */
.post-purchase-only {
    animation: fadeIn 0.5s ease;
}

.testament-full .testament-content {
    max-height: none;
}

.result-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.result-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.result-actions .btn-primary svg {
    width: 20px;
    height: 20px;
}

/* Responsive Trust Grid */
@media (max-width: 640px) {
    .trust-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .trust-content h4::after {
        content: "";
        display: block;
    }
    
    .trust-content p {
        display: block;
        margin-top: 0.25rem;
    }
    
    .buy-cta-box {
        padding: 1.5rem;
    }
    
    .price-main {
        font-size: 2rem;
    }
    
    .btn-buy {
        width: 100%;
        justify-content: center;
    }
    
    .trustpilot-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .award-badge {
        width: 80px;
        height: 80px;
    }
    
    .award-badge-square,
    .award-badge-trustpilot {
        width: 70px;
        height: 70px;
    }
}

/* Payment Success Toast */
.payment-success-toast {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #27ae60;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(39, 174, 96, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.payment-success-toast.visible {
    transform: translateX(-50%) translateY(0);
}

.payment-success-toast svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Spinner Animation */
.btn-buy .spinner {
    width: 22px;
    height: 22px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-buy:disabled {
    opacity: 0.8;
    cursor: wait;
}

/* Print Styles */
@media print {
    .wizard-progress,
    .wizard-main > *:not(.testament-content),
    .save-indicator {
        display: none !important;
    }
    
    .testament-content {
        max-height: none;
        font-size: 12pt;
        line-height: 2;
    }
}

