html {
    scroll-behavior: smooth;
}

:root {
    --brand-900: #0f1116;
    --brand-700: #2a2f38;
    --brand-500: #2f5368;
    --brand-300: #7f9a9d;
    --accent: #3e6f88;
    --surface: #f2f5f7;
    --surface-alt: #e6ecef;
    --text: #1f232b;
    --text-muted: #4f5963;
    --border: #cfd8dd;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 44px rgba(15, 23, 42, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Outfit", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 0% 0%, #e8eef0 0%, transparent 42%),
        radial-gradient(circle at 100% 0%, #e3ebea 0%, transparent 35%),
        var(--surface);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #f2a43c;
    outline-offset: 2px;
}

section {
    padding: 3rem 1.4rem;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 1.15rem 1.4rem 1.05rem;
    background: linear-gradient(130deg, rgba(28, 39, 52, 0.96), rgba(45, 60, 78, 0.94));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.logo-container {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.logo-container .logo {
    height: 102px;
    display: block;
}

.header-buttons {
    max-width: 1100px;
    margin: 1.15rem auto 0;
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
}

.header-btn {
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(148, 163, 184, 0.12);
    color: #fff;
    border-radius: 999px;
    padding: 0.62rem 1.08rem;
    font-size: 0.98rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.header-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.34);
}

.header-btn:active {
    transform: translateY(0);
}

.header-btn-request {
    background: linear-gradient(135deg, #3e6f88, #2f5368);
    color: #f8fbff;
    border-color: transparent;
}

.header-btn-request:hover {
    background: linear-gradient(135deg, #4d7f99, #355f76);
}

.header-btn.is-active {
    background: #fff;
    color: var(--brand-700);
    border-color: #fff;
}

.hero {
    padding-top: 2.1rem;
    padding-bottom: 1rem;
}

.hero-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: start;
}

.hero-content,
.hero-panel {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.hero-content {
    background:
        radial-gradient(circle at 90% 10%, rgba(59, 143, 138, 0.12), transparent 46%),
        linear-gradient(150deg, #ffffff 0%, #f2f6f7 100%);
    padding: 2rem;
}

.hero-kicker {
    color: #2f5368;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 0.7rem;
}

.hero h1 {
    font-size: clamp(1.95rem, 5.2vw, 3.2rem);
    line-height: 1.12;
    max-width: 18ch;
    color: #0f172a;
    font-family: "Sora", "Outfit", sans-serif;
}

.hero-lead {
    color: var(--text-muted);
    font-size: 1.08rem;
    margin-top: 1rem;
    max-width: 58ch;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero-btn {
    border-radius: 999px;
    padding: 0.72rem 1.2rem;
    font-size: 0.97rem;
    font-weight: 700;
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    border: 1px solid transparent;
    cursor: pointer;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #3e6f88, #2f5368);
    color: #fff;
}

.hero-btn-secondary {
    color: #2d4f55;
    border-color: #9fb8bb;
    background: #fff;
}

.hero-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.hero-btn:active {
    transform: translateY(0);
}

.hero-meta {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.meta-item {
    background: #eef4f5;
    border: 1px solid #c8d9db;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-panel {
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 143, 138, 0.2), transparent 38%),
        linear-gradient(165deg, #0f172a, #111827);
    color: #e2e8f0;
    padding: 2rem 1.5rem;
    align-self: start;
}

.hero-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: "Sora", "Outfit", sans-serif;
}

.hero-panel ul {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.hero-panel li {
    padding-left: 1.4rem;
    position: relative;
    color: #d5dde3;
}

.hero-panel li::before {
    content: "\2022";
    color: var(--accent);
    position: absolute;
    left: 0;
}

.hero-link {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #9cb6c8;
    font-weight: 700;
}

.services {
    background: linear-gradient(180deg, transparent 0%, #ebf0f2 18%, #ebf0f2 100%);
    padding-top: 2.1rem;
}

.services h2,
#bewertungen h2,
.contact h2 {
    max-width: 1100px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: clamp(1.55rem, 3.1vw, 2.2rem);
    color: #0f172a;
    font-family: "Sora", "Outfit", sans-serif;
}

.section-lead {
    max-width: 760px;
    margin: -1rem auto 2rem;
    text-align: center;
    color: #6a6f78;
    font-size: 1rem;
}

.contact .section-lead {
    color: #a9b7bc;
}

.card-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    background: linear-gradient(160deg, #ffffff, #f7fafb);
    border: 1px solid #d9e3e6;
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 30px rgba(30, 41, 59, 0.08);
    padding: 1.3rem 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-top: 3px solid #67a09e;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}

.card:active {
    transform: translateY(-1px);
}

.card span.fa-solid {
    color: #2f5368;
    font-size: 1.75rem;
    margin-bottom: 0.45rem;
}

.card h3 {
    font-size: 1.02rem;
    color: #1f2937;
    margin-bottom: 0.3rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.efre-notice {
    background: var(--surface-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.efre-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem;
}

.efre-badge,
.efre-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.efre-badge {
    padding: 0.8rem;
    display: flex;
    align-items: center;
}

.efre-badge-image {
    width: 100%;
    border-radius: 7px;
}

.efre-content {
    padding: 1rem 1.1rem;
}

.efre-content h2 {
    color: var(--brand-700);
    margin-bottom: 0.6rem;
}

.efre-content p {
    color: #3c4651;
}

#bewertungen {
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.75), transparent 28%),
        linear-gradient(180deg, #e8edf0 0%, #dde5e9 100%);
}


.reviews-source {
    max-width: 1160px;
    margin: 0.1rem auto 1.35rem;
    color: #46515d;
    font-size: 0.92rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(143, 160, 174, 0.3);
    border-radius: 999px;
    padding: 0.7rem 1rem;
}

.reviews-source a {
    color: #2f5368;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(47, 83, 104, 0.35);
    margin-left: 0.35rem;
}

.reviews-source a:hover {
    border-bottom-color: #2f5368;
}

.reviews-sep {
    margin: 0 0.35rem;
    color: #6b7280;
}

.swiper {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0.25rem 0 2.2rem;
}

.review-card {
    min-height: 280px;
    background: linear-gradient(165deg, #ffffff, #f5f8fa);
    border: 1px solid #d0dbe1;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 38px rgba(30, 41, 59, 0.12);
    padding: 2rem 1.55rem 1.75rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.review-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: #eef3f6;
    color: #2f5368;
    border: 1px solid rgba(47, 83, 104, 0.16);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.review-badge i {
    font-size: 0.9rem;
}

.review-stars span {
    color: #f59e0b;
    letter-spacing: 0.08em;
    font-size: 1.05rem;
}

.review-text {
    margin: 1rem 0 1.1rem;
    color: #2b3440;
    font-size: 1rem;
    line-height: 1.62;
    flex-grow: 1;
}

.review-footer {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.review-author {
    color: #2f5368;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    background: #b7c2cc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #2f5368;
}

.contact {
    color: #e2e8f0;
    background:
        radial-gradient(circle at 85% 20%, rgba(59, 143, 138, 0.22), transparent 40%),
        linear-gradient(160deg, #0b1220, #111827 72%);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.contact h2 {
    color: #f8fafc;
}

.contact-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.contact-icons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(159, 216, 212, 0.45);
    background: rgba(148, 163, 184, 0.12);
    transition: transform 0.2s ease, background 0.2s ease;
}

.contact-icons a:hover {
    transform: translateY(-2px);
    background: rgba(159, 216, 212, 0.22);
}

.contact-icons a:active {
    transform: translateY(0);
}

.map-container {
    max-width: 1000px;
    margin: 2rem auto 0;
}

.map-container iframe {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(159, 216, 212, 0.24);
}

footer {
    background: #0b1220;
    color: #cbd5e1;
    padding: 1rem;
    text-align: center;
    font-size: 0.86rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

footer a {
    color: #9cb6c8;
}

.mobile-quickbar {
    display: none;
}

/* Wizard styles */
.wizard-modal {
    position: fixed;
    inset: 0;
    background: rgba(12, 11, 10, 0.58);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.9rem;
    z-index: 100;
}

.wizard-modal.open {
    display: flex;
}

.wizard-panel {
    position: relative;
    width: min(980px, 100%);
    max-height: 92vh;
    overflow: auto;
    background: linear-gradient(165deg, #f4f7f8, #e6ecef);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
}

.wizard-progress {
    height: 8px;
    border-radius: 999px;
    background: #d6e0e2;
    margin: 1rem 2rem 1.4rem 0;
    overflow: hidden;
}

.wizard-progress>span {
    display: block;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, #3e6f88, #2f5368);
    transition: width 0.24s ease;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-step h3 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    color: #2b241f;
    margin-bottom: 0.8rem;
}

.wizard-step p {
    margin-bottom: 0.7rem;
    color: #60534a;
}

.wizard-step > :is(.wizard-grid, .wizard-list, .wizard-conditional, .wizard-input, .wizard-date, .wizard-textarea) + :is(.wizard-grid, .wizard-list, .wizard-conditional, .wizard-input, .wizard-date, .wizard-textarea) {
    margin-top: 0.7rem;
}

.wizard-step > .wizard-input + p {
    margin-top: 0.7rem;
}

.wizard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.wizard-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-option {
    background: #fff;
    border: 1px solid #d1dee1;
    border-radius: var(--radius-md);
    min-height: 110px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    cursor: pointer;
}

.wizard-option i {
    color: #2f5368;
    font-size: 1.4rem;
}

.wizard-option.selected {
    border-color: #2f5368;
    box-shadow: 0 0 0 2px rgba(47, 111, 116, 0.2);
}

.wizard-list {
    display: grid;
    gap: 0.7rem;
}

.wizard-list.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-list label {
    background: #fff;
    border: 1px solid #d1dee1;
    border-radius: var(--radius-md);
    padding: 0.8rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.wizard-list label.selected {
    border-color: #2f5368;
    background: #edf3f6;
}

.wizard-list input[type="checkbox"],
.wizard-list input[type="radio"] {
    width: 22px;
    height: 22px;
    accent-color: #2f5368;
}

.wizard-conditional {
    margin-top: 0;
    background: #fff;
    border: 1px solid #d1dee1;
    border-radius: var(--radius-md);
    padding: 0.8rem;
}

.wizard-conditional label {
    display: block;
    margin-bottom: 0.55rem;
}

.wizard-conditional.hidden {
    display: none;
}

.wizard-input,
.wizard-textarea,
.wizard-date {
    width: 100%;
    border: 1px solid #d1dee1;
    border-radius: 10px;
    background: #fff;
    padding: 0.72rem;
    font-size: 0.98rem;
    font-family: inherit;
}

.wizard-date {
    width: min(320px, 100%);
}

.wizard-textarea {
    min-height: 145px;
    resize: vertical;
}

.wizard-hint {
    margin-top: 0.35rem;
    color: #6e625a;
    font-size: 0.88rem;
}

.wizard-count {
    margin-top: 0.35rem;
    color: #6e625a;
    text-align: right;
}

.wizard-error {
    margin-top: 0.35rem;
    color: #ac2424;
    min-height: 1.2em;
}

.wizard-error a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.wizard-summary {
    display: grid;
    gap: 0.7rem;
}

.wizard-summary-item {
    background: #fff;
    border: 1px solid #d1dee1;
    border-radius: var(--radius-md);
    padding: 0.8rem 0.9rem;
}

.wizard-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.wizard-summary-head h4 {
    margin: 0;
    font-size: 1rem;
    color: #23303d;
}

.wizard-summary-edit {
    border: 1px solid #b5c3ce;
    background: #f8fafc;
    color: #2f5368;
    border-radius: 999px;
    padding: 0.22rem 0.62rem;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
}

.wizard-summary-text {
    margin: 0;
    color: #405060;
    white-space: pre-line;
}

.wizard-success {
    color: #1f7a1f;
}

.wizard-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.wiz-btn {
    border-radius: 10px;
    padding: 0.72rem 1.06rem;
    font-weight: 700;
    border: 1px solid #bba996;
    background: #fff;
    color: #2c2825;
    cursor: pointer;
}

.wiz-btn.primary {
    background: linear-gradient(135deg, #3e6f88, #2f5368);
    border-color: transparent;
    color: #fff;
}

.wiz-btn.dark {
    background: #2f3743;
    border-color: #2f3743;
    color: #fff;
}

.wiz-btn:hover {
    transform: translateY(-1px);
}

.wiz-btn:active {
    transform: translateY(0);
}

.wiz-btn:disabled,
.wiz-btn.primary:disabled,
.wiz-btn.dark:disabled {
    background: #a7b3bf !important;
    border-color: #a7b3bf !important;
    color: #eef2f7 !important;
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.wiz-close {
    position: absolute;
    top: 0.2rem;
    right: 0.75rem;
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    color: #5d6874;
    cursor: pointer;
}

.wizard-toolbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.35rem;
}

.wiz-reset {
    position: static;
    border: 1px solid #c2ccd5;
    background: #fff;
    color: #36414e;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.wizard-privacy-note {
    margin-top: 0.9rem;
    color: #55616d;
    font-size: 0.9rem;
}

.wizard-privacy-note a {
    text-decoration: underline;
    color: #2f5368;
}

.wizard-decision-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 18, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 130;
    padding: 1rem;
}

.wizard-decision-backdrop.open {
    display: flex;
}

.wizard-decision {
    width: min(520px, 100%);
    background: #f7fafc;
    border: 1px solid #cfd8dd;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.22);
}

.wizard-decision h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.25rem;
}

.wizard-decision p {
    margin: 0.6rem 0 0;
    color: #4f5963;
}

.wizard-decision-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.wizard-status-toast {
    position: fixed;
    top: 1rem;
    left: 50%;
    max-width: min(520px, calc(100vw - 2rem));
    width: max-content;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(22, 101, 52, 0.22);
    background: rgba(248, 255, 250, 0.96);
    color: #14532d;
    box-shadow: 0 20px 45px rgba(11, 18, 32, 0.2);
    opacity: 0;
    transform: translate(-50%, -12px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 130;
}

.wizard-status-toast.open {
    opacity: 1;
    transform: translate(-50%, 0);
}

.wizard-status-toast.is-error {
    border-color: rgba(172, 36, 36, 0.24);
    background: rgba(255, 247, 247, 0.98);
    color: #8f1d1d;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .efre-inner {
        grid-template-columns: 1fr;
    }

    .wizard-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 2.5rem 1rem;
    }

    header {
        padding: 0.85rem 0.9rem;
    }

    .logo-container .logo {
        height: 78px;
    }

    .header-buttons {
        margin-top: 0.7rem;
    }

    .header-btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.85rem;
    }

    /* Remove top CTA buttons on mobile; use hero + sticky quickbar. */
    #headerContactBtn,
    .header-btn-request {
        display: none;
    }

    .hero-content,
    .hero-panel {
        padding: 1.25rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .wizard-grid,
    .wizard-list.two-col,
    .wizard-grid.two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wizard-actions .wiz-btn {
        flex: 1 1 calc(50% - 0.3rem);
    }

    .review-card {
        min-height: 240px;
        padding: 1.3rem 1rem;
    }

    .reviews-source {
        border-radius: 20px;
    }

    .mobile-quickbar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
        background: rgba(11, 18, 32, 0.95);
        backdrop-filter: blur(6px);
        border-top: 1px solid rgba(159, 216, 212, 0.2);
    }

    .mobile-quickbar-btn {
        min-height: 46px;
        border-radius: 10px;
        border: 1px solid rgba(159, 216, 212, 0.4);
        background: rgba(148, 163, 184, 0.12);
        color: #e2e8f0;
        font-weight: 700;
        font-size: 0.84rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
    }

    .mobile-quickbar-btn.is-primary {
        color: #f8fbff;
        border-color: transparent;
        background: linear-gradient(135deg, #3e6f88, #2f5368);
    }

    .wizard-status-toast {
        left: 1rem;
        right: 1rem;
        top: calc(1rem + env(safe-area-inset-top, 0px));
        width: auto;
        max-width: none;
        transform: translateY(-12px);
    }

    .wizard-status-toast.open {
        transform: translateY(0);
    }

    .mobile-quickbar-btn:active {
        transform: translateY(1px);
    }

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        background-color: #0b1220;
    }

}

@media (max-width: 560px) {
    .header-btn-legal {
        display: none;
    }

    .hero-actions,
    .hero-meta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn,
    .meta-item {
        justify-content: center;
        width: 100%;
    }

    .wizard-grid,
    .wizard-list.two-col,
    .wizard-grid.two-col {
        grid-template-columns: 1fr;
    }

    .wizard-actions .wiz-btn {
        flex: 1 1 100%;
    }

    .mobile-quickbar-btn span {
        font-size: 0.8rem;
    }

    .wizard-decision-actions .wiz-btn {
        flex: 1 1 100%;
    }
}

@media (max-width: 390px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-lead {
        font-size: 0.98rem;
    }

    .header-buttons {
        gap: 0.45rem;
    }

    .header-btn {
        font-size: 0.84rem;
        padding: 0.45rem 0.72rem;
    }

    .mobile-quickbar {
        gap: 0.4rem;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .mobile-quickbar-btn {
        min-height: 44px;
        font-size: 0.78rem;
    }

    .mobile-quickbar-btn i {
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
