:root {
            --teal: #2CCCD3; --teal-dk: #1A9EA5; --teal-lt: rgba(44,204,211,0.08);
            --gold: #FFD447; --gold-dk: #B8860B; --gold-lt: rgba(255,212,71,0.1);
            --purple: #8b5cf6; --purple-dk: #7c3aed; --purple-lt: rgba(139,92,246,0.08);
            --dark: #0F2E36; --gray: #8A939B; --gray-lt: #EAECEE; --bg: #F7F9FA;
            --radius: 16px; --radius-sm: 10px;
            --ease: cubic-bezier(0.16, 1, 0.3, 1);
        }
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
            -webkit-font-smoothing: antialiased;
            background: var(--bg);
            min-height: 100vh;
            min-height: 100dvh;
            overflow-x: hidden;
        }
        *:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

        /* Wizard Layout */
        .wizard {
            min-height: 100vh; min-height: 100dvh;
            display: flex; flex-direction: column;
            position: relative;
            background: radial-gradient(ellipse at 20% 20%, rgba(44,204,211,0.06) 0%, transparent 55%),
                        radial-gradient(ellipse at 80% 80%, rgba(255,212,71,0.05) 0%, transparent 55%),
                        var(--bg);
        }

        /* Header */
        .wiz-header {
            position: sticky; top: 0; z-index: 10;
            background: rgba(247,249,250,0.92); backdrop-filter: blur(12px);
            padding: 1rem 1.5rem 0.8rem;
            display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
        }
        .wiz-header-top {
            display: flex; align-items: center; width: 100%; max-width: 500px;
        }
        .wiz-back {
            width: 40px; height: 40px; border: none; background: none;
            font-size: 1.2rem; color: var(--gray); cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            border-radius: 50%; transition: all 0.2s;
            visibility: hidden; opacity: 0;
        }
        .wiz-back.visible { visibility: visible; opacity: 1; }
        .wiz-back:hover { background: rgba(0,0,0,0.05); }
        .wiz-logo { height: 40px; margin: 0 auto; }
        .wiz-logo-spacer { width: 40px; }

        /* Progress */
        .wiz-progress {
            width: 100%; max-width: 500px;
            height: 4px; background: rgba(138,147,155,0.15);
            border-radius: 2px; overflow: hidden;
        }
        .wiz-progress-fill {
            height: 100%; width: 0%;
            background: linear-gradient(90deg, var(--teal), var(--gold));
            border-radius: 2px;
            transition: width 0.5s var(--ease);
        }

        /* Body */
        .wiz-body {
            flex: 1; display: flex; align-items: center; justify-content: center;
            padding: 1.5rem 1.2rem 2rem;
            overflow: hidden; position: relative;
        }

        /* Steps */
        .step {
            width: 100%; max-width: 520px;
            display: none; flex-direction: column; align-items: center;
        }
        .step.step-wide { max-width: 900px; }
        .step.active { display: flex; animation: stepIn 0.35s var(--ease) both; }
        .step.exit-left { display: flex; animation: exitLeft 0.25s ease-in both; pointer-events: none; position: absolute; }
        .step.exit-right { display: flex; animation: exitRight 0.25s ease-in both; pointer-events: none; position: absolute; }

        @keyframes stepIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes exitLeft { to { opacity: 0; transform: translateX(-60px); } }
        @keyframes exitRight { to { opacity: 0; transform: translateX(60px); } }

        .step-q {
            font-size: 1.35rem; font-weight: 700; color: var(--dark);
            text-align: center; margin-bottom: 0.4rem; line-height: 1.3;
        }
        .step-sub {
            font-size: 0.85rem; color: var(--gray);
            text-align: center; margin-bottom: 1.5rem;
        }

        /* Option Cards */
        .opts { display: grid; gap: 0.7rem; width: 100%; }
        .opts.cols-1 { grid-template-columns: 1fr; }
        .opts.cols-2 { grid-template-columns: repeat(2, 1fr); }
        @media(max-width:500px){ .opts.cols-2 { grid-template-columns: 1fr; } }
        .opts.cols-3 { grid-template-columns: 1fr; }

        .opt {
            background: #fff; border: 2px solid var(--gray-lt);
            border-radius: var(--radius); padding: 1.2rem 1rem;
            cursor: pointer; display: flex; align-items: center; gap: 1rem;
            transition: all 0.25s var(--ease);
            -webkit-tap-highlight-color: transparent;
            min-height: 56px; position: relative;
            text-decoration: none; color: inherit;
        }
        .opt:active { transform: scale(0.97); }
        .opt.selected { border-color: var(--teal); background: var(--teal-lt); }
        .opt.selected .opt-check { opacity: 1; transform: scale(1); }

        .opt-icon {
            width: 48px; height: 48px; border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.4rem; flex-shrink: 0;
        }
        .opt-text { flex: 1; }
        .opt-title { font-size: 0.95rem; font-weight: 700; color: var(--dark); }
        .opt-desc { font-size: 0.78rem; color: var(--gray); margin-top: 2px; line-height: 1.3; }
        .opt-check {
            width: 24px; height: 24px; border-radius: 50%;
            background: var(--teal); color: #fff;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.75rem; font-weight: 700;
            opacity: 0; transform: scale(0.5);
            transition: all 0.2s var(--ease); flex-shrink: 0;
        }

        /* Big role cards */
        .opt.opt-big {
            flex-direction: column; text-align: center;
            padding: 1.5rem 1rem; gap: 0.5rem;
        }
        .opt.opt-big .opt-icon { width: 56px; height: 56px; font-size: 1.6rem; }
        .opt.opt-big .opt-tag {
            font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em;
            text-transform: uppercase;
        }
        .opt.opt-big .opt-title { font-size: 1rem; margin-bottom: 0.3rem; }
        .opt.opt-big .opt-pts {
            display: flex; flex-direction: column; gap: 4px;
            width: 100%; margin-top: 0.3rem;
        }
        .opt.opt-big .opt-pt {
            font-size: 0.78rem; color: #576068; text-align: left;
            display: flex; align-items: center; gap: 6px;
            padding: 4px 8px; background: var(--bg); border-radius: 6px;
        }
        .opt.opt-big .opt-pt .dot {
            width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; display: inline-block;
        }

        /* Plan cards */
        .opt.opt-plan { flex-direction: column; text-align: center; padding: 1.5rem; position: relative; }
        .opt.opt-plan.recommended { border-color: var(--teal); }
        .opt.opt-plan .plan-badge {
            position: absolute; top: -10px; right: 12px;
            background: var(--teal); color: #fff; font-size: 0.65rem; font-weight: 700;
            padding: 3px 10px; border-radius: 20px; letter-spacing: 0.03em;
        }
        .opt.opt-plan .plan-price {
            font-size: 1.8rem; font-weight: 800; color: var(--dark);
        }
        .opt.opt-plan .plan-price span { font-size: 0.85rem; font-weight: 500; color: var(--gray); }
        .opt.opt-plan .plan-name { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 0.3rem 0; }
        .opt.opt-plan .plan-features {
            list-style: none; text-align: left; width: 100%; margin-top: 0.5rem;
        }
        .opt.opt-plan .plan-features li {
            font-size: 0.8rem; color: #576068; padding: 4px 0;
            display: flex; align-items: center; gap: 6px;
        }
        .opt.opt-plan .plan-features li::before {
            content: '\2713'; color: var(--teal); font-weight: 700; font-size: 0.9rem;
        }

        /* PLZ Input */
        .plz-wrap { width: 100%; }
        .plz-input {
            width: 100%; padding: 1rem; border: 2px solid var(--gray-lt);
            border-radius: var(--radius); font-size: 1.1rem; font-family: inherit;
            text-align: center; letter-spacing: 0.15em; font-weight: 700;
            color: var(--dark); transition: border-color 0.2s;
        }
        .plz-input:focus { border-color: var(--teal); outline: none; }
        .plz-input::placeholder { color: #ccc; font-weight: 400; letter-spacing: 0.05em; }
        .plz-quick {
            display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
            margin-top: 0.8rem;
        }
        .plz-btn {
            padding: 6px 12px; border: 1px solid var(--gray-lt); border-radius: 20px;
            background: #fff; font-size: 0.78rem; color: var(--gray); cursor: pointer;
            font-family: inherit; font-weight: 600; transition: all 0.2s;
        }
        .plz-btn:hover, .plz-btn.active { border-color: var(--teal); color: var(--teal); background: var(--teal-lt); }
        .plz-multi {
            display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
        }
        .plz-btn-m {
            padding: 8px 14px; border: 2px solid var(--gray-lt); border-radius: 20px;
            background: #fff; font-size: 0.82rem; color: var(--gray); cursor: pointer;
            font-family: inherit; font-weight: 600; transition: all 0.2s;
        }
        .plz-btn-m:hover { border-color: var(--gold); color: var(--gold-dk); }
        .plz-btn-m.selected { border-color: var(--gold-dk); color: #fff; background: var(--gold-dk); }

        /* Weiter Button */
        .btn-next {
            width: 100%; padding: 0.95rem; border: none;
            border-radius: var(--radius); font-size: 1rem; font-weight: 700;
            color: #fff; cursor: pointer; font-family: inherit;
            margin-top: 1.2rem; transition: all 0.25s var(--ease);
            min-height: 52px;
        }
        .btn-next:disabled { opacity: 0.4; cursor: not-allowed; }
        .btn-next:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
        .btn-next.teal { background: var(--teal); }
        .btn-next.gold { background: var(--gold-dk); }
        .btn-next.purple { background: var(--purple); }

        /* Registration Form */
        .reg-form { width: 100%; }
        .reg-summary {
            display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
            margin-bottom: 1.2rem;
        }
        .reg-tag {
            font-size: 0.72rem; font-weight: 600; padding: 4px 10px;
            border-radius: 20px; background: var(--teal-lt); color: var(--teal-dk);
        }
        .form-row { display: flex; gap: 0.6rem; }
        .form-row > .form-group { flex: 1; }
        .form-group { margin-bottom: 0.8rem; }
        .form-label {
            display: block; font-size: 0.78rem; font-weight: 600;
            color: var(--dark); margin-bottom: 0.3rem;
        }
        .form-input {
            width: 100%; padding: 0.85rem 1rem; border: 2px solid var(--gray-lt);
            border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit;
            color: var(--dark); transition: border-color 0.2s;
        }
        .form-input:focus { border-color: var(--teal); outline: none; }
        .form-checkbox {
            display: flex; align-items: center; gap: 8px;
            font-size: 0.78rem; color: var(--gray); margin: 0.8rem 0;
        }
        .form-checkbox input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--teal); }
        .form-checkbox a { color: var(--teal); }

        /* Footer */
        .wiz-footer { border-top:1px solid rgba(15,46,54,0.06); background:rgba(255,255,255,0.8); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
            padding: 1rem 1.5rem 1.5rem; text-align: center;
        }
        .wiz-trust {
            display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
            margin-bottom: 0.6rem;
        }
        .wiz-trust span {
            display: flex; align-items: center; gap: 4px;
            font-size: 0.72rem; color: var(--gray); font-weight: 500;
        }
        .wiz-trust svg { flex-shrink: 0; }
        .wiz-login {
            font-size: 0.82rem; color: var(--gray);
        }
        .wiz-login a { color: var(--teal); font-weight: 600; text-decoration: none; }
        .wiz-login a:hover { text-decoration: underline; }
        .wiz-login .sep { color: var(--gray-lt); margin: 0 0.3rem; }

        /* Desktop */
        @media (min-width: 700px) {
            .wiz-body { align-items: center; padding-top: 2.5rem; }
            .opts.cols-3 { grid-template-columns: repeat(3, 1fr); }
            .step-q { font-size: 1.5rem; }
            .form-row { gap: 0.8rem; }
        }

        /* Noscript */
        noscript .ns-cards { display: flex; flex-direction: column; gap: 1rem; max-width: 400px; margin: 2rem auto; padding: 0 1rem; }
        noscript .ns-card { display: block; padding: 1.5rem; background: #fff; border: 2px solid var(--gray-lt); border-radius: var(--radius); text-align: center; text-decoration: none; color: var(--dark); font-weight: 700; }
        
        /* Mobile: Kacheln voll ausnutzen */
        @media (max-width: 699px) {
            .step { max-width: 100% !important; }
            .wiz-body {
                padding: 0 1rem 1rem;
                align-items: center;
            }
            .step[data-step="role"] {
                justify-content: flex-start;
                height: auto;
            }
            .step[data-step="role"] .step-q {
                font-size: 1.5rem;
                margin-bottom: 0.2rem;
            }
            .step[data-step="role"] .step-sub {
                margin-bottom: 1rem;
            }
            .step[data-step="role"] .opts {
                gap: 0.8rem;
            }
            .opt.opt-big {
                flex-direction: row;
                text-align: left;
                padding: 1.4rem 1.2rem;
                gap: 1rem;
                min-height: 100px;
                align-items: center;
            }
            .opt.opt-big .opt-icon {
                width: 72px;
                height: 72px;
                font-size: 2rem;
                border-radius: 18px;
                flex-shrink: 0;
            }
            .opt.opt-big .opt-title {
                font-size: 1.15rem;
                margin-bottom: 0.15rem;
            }
            .opt.opt-big .opt-desc {
                font-size: 0.85rem;
                line-height: 1.4;
                color: var(--gray);
            }
            .opt.opt-big .opt-pts {
                display: none;
            }
            .opt.opt-big .opt-tag {
                display: none;
            }
            .opt.opt-big .opt-check {
                width: 28px;
                height: 28px;
            }
        
            /* Role cards: bigger on mobile */
            .step[data-step="role"] .opt {
                padding: 1.4rem 1.3rem !important;
                min-height: 72px;
                gap: 1rem;
                border-radius: 14px !important;
                border-width: 2px !important;
                border-left-width: 4px !important;
            }
            .step[data-step="role"] .opt .opt-icon {
                width: 50px !important;
                height: 50px !important;
                border-radius: 12px !important;
            }
            .step[data-step="role"] .opt .opt-icon svg {
                width: 26px;
                height: 26px;
            }
            .step[data-step="role"] .opt .opt-title {
                font-size: 1rem !important;
                line-height: 1.3;
            }
            .step[data-step="role"] .opt .opt-desc {
                font-size: 0.82rem !important;
                color: rgba(15,46,54,0.55);
                margin-top: 3px;
                line-height: 1.35;
            }
            .step[data-step="role"] .opts {
                gap: 0.9rem !important;
            }
            /* All option cards: slightly bigger touch targets on mobile */
            .opt {
                padding: 1.1rem 1rem;
                min-height: 60px;
            }
            .opt-title {
                font-size: 0.95rem;
            }
            .opt-desc {
                font-size: 0.8rem;
            }

        }
