/* ============================================
   CHECKLISTE WIDGET - VOLLSTÄNDIG ISOLIERT
   ============================================ */

/* Widget Container Reset & Isolation */
.hausbau-checkliste-wrapper {
    all: initial;
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1f36;
    font-size: 16px;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    background: #f8f9fb;
    min-height: 100vh;
    padding-bottom: 40px;
}

.hausbau-checkliste-wrapper *,
.hausbau-checkliste-wrapper *::before,
.hausbau-checkliste-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* CSS Variablen nur für Widget */
.hausbau-checkliste-wrapper {
    --primary: #2d5016;
    --primary-light: #4a7c28;
    --accent: #6fa633;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    --info: #2196f3;
    --background: #f8f9fb;
    --surface: #ffffff;
    --text-primary: #1a1f36;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --gradient-primary: linear-gradient(135deg, #2d5016 0%, #4a7c28 100%);
}

/* HEADER */
.hausbau-checkliste-wrapper .header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.hausbau-checkliste-wrapper .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hausbau-checkliste-wrapper .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hausbau-checkliste-wrapper .header-left {
    flex: 1;
}

.hausbau-checkliste-wrapper .header-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.hausbau-checkliste-wrapper .header-logo {
    font-size: 32px;
}

.hausbau-checkliste-wrapper .header-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.hausbau-checkliste-wrapper .header-stats {
    display: flex;
    gap: 25px;
    margin-top: 10px;
}

.hausbau-checkliste-wrapper .stat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--background);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hausbau-checkliste-wrapper .stat-badge strong {
    color: var(--text-primary);
}

.hausbau-checkliste-wrapper .header-center {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hausbau-checkliste-wrapper .progress-ring-wrapper {
    position: relative;
}

.hausbau-checkliste-wrapper .progress-ring {
    width: 90px;
    height: 90px;
}

.hausbau-checkliste-wrapper .progress-ring svg {
    transform: rotate(-90deg);
}

.hausbau-checkliste-wrapper .progress-ring-circle-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.hausbau-checkliste-wrapper .progress-ring-circle {
    fill: none;
    stroke: var(--accent);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.hausbau-checkliste-wrapper .progress-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hausbau-checkliste-wrapper .progress-percent {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.hausbau-checkliste-wrapper .progress-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hausbau-checkliste-wrapper .progress-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hausbau-checkliste-wrapper .progress-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.hausbau-checkliste-wrapper .progress-icon {
    width: 24px;
    height: 24px;
    background: var(--background);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hausbau-checkliste-wrapper .progress-text {
    color: var(--text-secondary);
}

.hausbau-checkliste-wrapper .progress-number {
    font-weight: 600;
    color: var(--text-primary);
}

.hausbau-checkliste-wrapper .header-right {
    display: flex;
    gap: 10px;
}

.hausbau-checkliste-wrapper .btn-header {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    white-space: nowrap;
    font-family: inherit;
}

.hausbau-checkliste-wrapper .btn-header-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
}

.hausbau-checkliste-wrapper .btn-header-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.25);
}

.hausbau-checkliste-wrapper .btn-header-secondary {
    background: var(--background);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.hausbau-checkliste-wrapper .btn-header-secondary:hover {
    background: white;
    border-color: var(--accent);
    color: var(--accent);
}

.hausbau-checkliste-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
}

/* Setup Wizard */
.hausbau-checkliste-wrapper .setup-wizard {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.hausbau-checkliste-wrapper .wizard-header {
    text-align: center;
    margin-bottom: 40px;
}

.hausbau-checkliste-wrapper .wizard-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

.hausbau-checkliste-wrapper .wizard-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 400;
}

.hausbau-checkliste-wrapper .wizard-progress-info {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.05), rgba(111, 166, 51, 0.05));
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;
}

.hausbau-checkliste-wrapper .wizard-progress-info strong {
    color: var(--accent);
    font-weight: 600;
}

.hausbau-checkliste-wrapper .wizard-question {
    margin-bottom: 35px;
    background: var(--background);
    padding: 25px;
    border-radius: 12px;
}

.hausbau-checkliste-wrapper .question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.hausbau-checkliste-wrapper .question-label {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hausbau-checkliste-wrapper .help-icon {
    width: 20px;
    height: 20px;
    background: var(--info);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    cursor: help;
    position: relative;
}

.hausbau-checkliste-wrapper .help-icon:hover::after {
    content: attr(data-help);
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    max-width: 300px;
    white-space: normal;
    width: max-content;
    z-index: 1000;
    font-weight: 400;
}

.hausbau-checkliste-wrapper .question-why {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-weight: 400;
}

.hausbau-checkliste-wrapper .question-why::before {
    content: '💡';
    position: absolute;
    left: 0;
}

.hausbau-checkliste-wrapper .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.hausbau-checkliste-wrapper .option-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hausbau-checkliste-wrapper .option-card:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(111, 166, 51, 0.15);
}

.hausbau-checkliste-wrapper .option-card.selected {
    border-color: var(--accent);
    background: rgba(111, 166, 51, 0.08);
    box-shadow: 0 0 0 3px rgba(111, 166, 51, 0.1);
}

.hausbau-checkliste-wrapper .option-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.hausbau-checkliste-wrapper .option-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 15px;
}

.hausbau-checkliste-wrapper .option-description {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

.hausbau-checkliste-wrapper .wizard-footer {
    margin-top: 30px;
    text-align: center;
}

.hausbau-checkliste-wrapper .wizard-skip {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    margin-top: 15px;
    font-weight: 400;
}

.hausbau-checkliste-wrapper .wizard-skip:hover {
    color: var(--accent);
}

.hausbau-checkliste-wrapper .phases-timeline {
    position: relative;
    margin-bottom: 30px;
}

.hausbau-checkliste-wrapper .phases-overview {
    background: transparent;
    padding: 20px 0;
}

.hausbau-checkliste-wrapper .timeline-connector {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
    z-index: 0;
}

.hausbau-checkliste-wrapper .phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.hausbau-checkliste-wrapper .phase-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    position: relative;
}

.hausbau-checkliste-wrapper .phase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-color: var(--accent);
}

.hausbau-checkliste-wrapper .phase-card.current {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(111, 166, 51, 0.1);
}

.hausbau-checkliste-wrapper .phase-card.current::before {
    content: '▶ Aktuelle Phase';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.hausbau-checkliste-wrapper .phase-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.hausbau-checkliste-wrapper .phase-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.1), rgba(111, 166, 51, 0.1));
    border-radius: 12px;
    flex-shrink: 0;
}

.hausbau-checkliste-wrapper .phase-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.hausbau-checkliste-wrapper .phase-progress {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.hausbau-checkliste-wrapper .phase-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
}

.hausbau-checkliste-wrapper .phase-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.hausbau-checkliste-wrapper .stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
}

.hausbau-checkliste-wrapper .phase-duration {
    color: var(--text-secondary);
    font-size: 12px;
    padding: 6px;
    background: var(--background);
    border-radius: 6px;
    text-align: center;
    font-weight: 400;
}

.hausbau-checkliste-wrapper .set-current-btn {
    margin-top: 12px;
    padding: 8px 12px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
    color: var(--text-secondary);
    font-family: inherit;
}

.hausbau-checkliste-wrapper .set-current-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.hausbau-checkliste-wrapper .set-current-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.hausbau-checkliste-wrapper .phase-detail {
    display: none;
}

.hausbau-checkliste-wrapper .phase-detail.active {
    display: block;
}

.hausbau-checkliste-wrapper .detail-header {
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.hausbau-checkliste-wrapper .back-button {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    font-size: 14px;
    min-height: 44px;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s ease;
}

.hausbau-checkliste-wrapper .back-button:hover {
    background: rgba(255,255,255,0.3);
}

.hausbau-checkliste-wrapper .detail-title {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
}

.hausbau-checkliste-wrapper .detail-description {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
    color: white;
}

.hausbau-checkliste-wrapper .filter-bar {
    background: var(--surface);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: var(--shadow-sm);
}

.hausbau-checkliste-wrapper .filter-buttons {
    display: flex;
    gap: 10px;
}

.hausbau-checkliste-wrapper .filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-height: 44px;
    font-family: inherit;
}

.hausbau-checkliste-wrapper .filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.hausbau-checkliste-wrapper .filter-btn:hover {
    border-color: var(--accent);
}

.hausbau-checkliste-wrapper .filter-stats {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
}

.hausbau-checkliste-wrapper .checklist {
    background: var(--surface);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

/* ANKLICKBARE CHECKLIST ITEMS */
.hausbau-checkliste-wrapper .checklist-item {
    padding: 15px 8px;
    margin: 0 -8px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: background 0.2s ease;
    cursor: pointer;
    border-radius: 8px;
}

.hausbau-checkliste-wrapper .checklist-item:hover {
    background: var(--background);
}

.hausbau-checkliste-wrapper .checklist-item:last-child {
    border-bottom: none;
}

.hausbau-checkliste-wrapper .checklist-item.hidden {
    display: none;
}

.hausbau-checkliste-wrapper .checkbox {
    width: 28px;
    height: 28px;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hausbau-checkliste-wrapper .checkbox:hover {
    border-color: var(--success);
}

.hausbau-checkliste-wrapper .checkbox.checked {
    background: var(--success);
    border-color: var(--success);
}

.hausbau-checkliste-wrapper .checkbox.checked::after {
    content: '✓';
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.hausbau-checkliste-wrapper .item-content {
    flex: 1;
}

.hausbau-checkliste-wrapper .item-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 15px;
}

.hausbau-checkliste-wrapper .item-description {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
}

.hausbau-checkliste-wrapper .item-priority {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.hausbau-checkliste-wrapper .priority-critical {
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger);
}

.hausbau-checkliste-wrapper .priority-high {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning);
}

.hausbau-checkliste-wrapper .priority-normal {
    background: rgba(33, 150, 243, 0.1);
    color: var(--info);
}

.hausbau-checkliste-wrapper .milestone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.3s ease;
}

.hausbau-checkliste-wrapper .milestone-overlay.show {
    display: flex;
}

.hausbau-checkliste-wrapper .milestone-card {
    background: white;
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    max-width: 500px;
    animation: scaleIn 0.5s ease;
}

.hausbau-checkliste-wrapper .milestone-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

.hausbau-checkliste-wrapper .milestone-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.hausbau-checkliste-wrapper .milestone-message {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 400;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hausbau-checkliste-wrapper .toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--surface);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    font-weight: 500;
}

.hausbau-checkliste-wrapper .toast.show {
    display: flex;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hausbau-checkliste-wrapper .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.hausbau-checkliste-wrapper .modal-overlay.active {
    display: flex;
}

.hausbau-checkliste-wrapper .modal {
    background: var(--surface);
    border-radius: 16px;
    padding: 35px;
    max-width: 550px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.hausbau-checkliste-wrapper .modal-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hausbau-checkliste-wrapper .modal-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 400;
}

.hausbau-checkliste-wrapper .link-display {
    background: var(--background);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    word-break: break-all;
    font-family: monospace;
    font-size: 12px;
    max-height: 100px;
    overflow-y: auto;
}

.hausbau-checkliste-wrapper .modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.hausbau-checkliste-wrapper .btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    min-height: 44px;
    font-family: inherit;
}

.hausbau-checkliste-wrapper .btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.hausbau-checkliste-wrapper .btn-secondary {
    background: var(--background);
    color: var(--text-primary);
}

.hausbau-checkliste-wrapper .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 968px) {
    .hausbau-checkliste-wrapper .header {
        position: relative;
    }
    
    .hausbau-checkliste-wrapper .header-container {
        padding: 12px 15px;
    }
    
    .hausbau-checkliste-wrapper .header-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .hausbau-checkliste-wrapper .header-left {
        width: 100%;
    }
    
    .hausbau-checkliste-wrapper .header-branding {
        margin-bottom: 8px;
    }
    
    .hausbau-checkliste-wrapper .header-logo {
        font-size: 24px;
    }
    
    .hausbau-checkliste-wrapper .header-title {
        font-size: 18px;
    }
    
    .hausbau-checkliste-wrapper .header-stats {
        margin-top: 8px;
    }
    
    .hausbau-checkliste-wrapper .header-center {
        width: 100%;
        justify-content: center;
        padding: 12px 0;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        overflow: visible;
    }
    
    .hausbau-checkliste-wrapper .progress-ring-wrapper {
        position: relative;
        flex-shrink: 0;
    }
    
    .hausbau-checkliste-wrapper .progress-ring {
        width: 65px;
        height: 65px;
    }
    
    .hausbau-checkliste-wrapper .progress-ring svg {
        width: 65px;
        height: 65px;
    }
    
    .hausbau-checkliste-wrapper .progress-ring-circle-bg {
        cx: 32.5;
        cy: 32.5;
        r: 27;
    }
    
    .hausbau-checkliste-wrapper .progress-ring-circle {
        cx: 32.5;
        cy: 32.5;
        r: 27;
    }
    
    .hausbau-checkliste-wrapper .progress-percent {
        font-size: 16px;
    }
    
    .hausbau-checkliste-wrapper .progress-label {
        font-size: 10px;
    }
    
    .hausbau-checkliste-wrapper .progress-details {
        gap: 6px;
    }
    
    .hausbau-checkliste-wrapper .progress-item {
        font-size: 13px;
    }
    
    .hausbau-checkliste-wrapper .progress-icon {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
    
    .hausbau-checkliste-wrapper .header-right {
        width: 100%;
    }
    
    .hausbau-checkliste-wrapper .btn-header {
        flex: 1;
        justify-content: center;
        font-size: 13px;
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    .hausbau-checkliste-wrapper .header-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .hausbau-checkliste-wrapper .stat-badge {
        width: 100%;
        justify-content: space-between;
    }
    
    .hausbau-checkliste-wrapper .phases-grid {
        grid-template-columns: 1fr;
    }
    
    .hausbau-checkliste-wrapper .setup-wizard {
        padding: 20px;
        margin: 0;
        max-width: 100%;
    }
    
    .hausbau-checkliste-wrapper .wizard-title {
        font-size: 24px;
    }
    
    .hausbau-checkliste-wrapper .options-grid {
        grid-template-columns: 1fr;
    }
    
    .hausbau-checkliste-wrapper .option-card {
        min-height: 100px;
    }
    
    .hausbau-checkliste-wrapper .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hausbau-checkliste-wrapper .filter-buttons {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .hausbau-checkliste-wrapper .filter-btn {
        flex: 1;
    }
    
    .hausbau-checkliste-wrapper .checklist-item {
        padding: 20px 15px;
    }
    
    .hausbau-checkliste-wrapper .milestone-card {
        padding: 30px 20px;
    }
    
    .hausbau-checkliste-wrapper .milestone-icon {
        font-size: 60px;
    }
    
    .hausbau-checkliste-wrapper .milestone-title {
        font-size: 24px;
    }
    
    .hausbau-checkliste-wrapper .container {
        padding: 15px;
    }
    
    .hausbau-checkliste-wrapper .detail-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hausbau-checkliste-wrapper .progress-ring {
        width: 60px;
        height: 60px;
    }
    
    .hausbau-checkliste-wrapper .progress-ring svg {
        width: 60px;
        height: 60px;
    }
    
    .hausbau-checkliste-wrapper .progress-ring-circle-bg,
    .hausbau-checkliste-wrapper .progress-ring-circle {
        cx: 30;
        cy: 30;
        r: 25;
    }
    
    .hausbau-checkliste-wrapper .progress-percent {
        font-size: 15px;
    }
}