/* =========================================================================
 * SchulBuchManager — Public Styles
 * Landingpage, Registrierung, Rechtstexte
 * Bento-Grid-Design, orientiert am LehrerManager-Vorbild
 * ========================================================================= */

html { -webkit-text-size-adjust: 100%; }

.pub-body {
    overflow-x: hidden;
    background: #ffffff;
    color: var(--sbm-gray-800);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ----- Skip-Link ----- */
.pub-skip {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px; height: 1px; overflow: hidden;
}
.pub-skip:focus {
    position: fixed;
    top: 8px; left: 8px;
    width: auto; height: auto;
    padding: 10px 14px;
    background: var(--sbm-primary);
    color: #fff;
    border-radius: 6px;
    z-index: 1000;
}

/* ----- Topbar ----- */
.pub-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--sbm-gray-100);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
}

.pub-brand {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    color: var(--sbm-primary);
    font-size: 20px;
    letter-spacing: -0.01em;
    line-height: 1;
}
.pub-brand:hover { text-decoration: none; color: var(--sbm-primary); }

.pub-brand-a { font-weight: 400; }
.pub-brand-b { font-weight: 600; }

.pub-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pub-nav-link {
    color: var(--sbm-gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
}
.pub-nav-link:hover {
    color: var(--sbm-primary);
    background: var(--sbm-gray-50);
    text-decoration: none;
}

/* ----- Public-Buttons ----- */
.pub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    line-height: 1.2;
}
.pub-btn:hover { text-decoration: none; }

.pub-btn-primary {
    background: var(--sbm-primary);
    color: #fff;
}
.pub-btn-primary:hover {
    background: var(--sbm-primary-dark);
    color: #fff;
}

.pub-btn-ghost {
    background: #fff;
    color: var(--sbm-primary);
    border-color: var(--sbm-gray-200);
}
.pub-btn-ghost:hover {
    background: var(--sbm-gray-50);
    border-color: var(--sbm-gray-300);
    color: var(--sbm-primary);
}

.pub-btn-secondary {
    background: #fff;
    color: var(--sbm-primary);
    border-color: var(--sbm-gray-200);
}
.pub-btn-secondary:hover {
    background: var(--sbm-gray-50);
    border-color: var(--sbm-gray-300);
}

.pub-btn-large {
    padding: 12px 24px;
    font-size: 15px;
}

/* ----- Main ----- */
.pub-main {
    flex: 1 0 auto;
}

/* ----- Landing-Container ----- */
.landing {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 56px;
}

/* ----- Hero ----- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 0 32px;
}
.hero-text { flex: 1; min-width: 0; }
.hero-logo { flex-shrink: 0; line-height: 0; }
.hero-logo img { height: 120px; width: auto; display: block; }

.hero-title {
    margin: 0 0 12px 0;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.hero-title .t1 { color: var(--sbm-primary); }
.hero-title .t2 { color: var(--sbm-secondary); }

.hero-description {
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--sbm-gray-600);
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-parent-hint {
    margin: 16px 0 0 0;
    font-size: 13px;
    color: var(--sbm-gray-600);
    line-height: 1.5;
}
.hero-parent-hint a {
    color: var(--sbm-secondary);
    text-decoration: none;
    white-space: nowrap;
}
.hero-parent-hint a:hover {
    color: var(--sbm-primary);
    text-decoration: underline;
}

/* ----- Divider ----- */
.pub-divider {
    height: 1px;
    background: var(--sbm-gray-100);
    margin: 0 0 40px 0;
}

/* ----- Section-Label ----- */
.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sbm-secondary);
    margin: 0 0 16px 0;
}

/* ----- Features / Bento ----- */
.features { margin-bottom: 40px; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 12px;
}

.bento-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--sbm-gray-200);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    animation: bentoFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.bento-item:nth-child(1)  { animation-delay: 0.05s; }
.bento-item:nth-child(2)  { animation-delay: 0.10s; }
.bento-item:nth-child(3)  { animation-delay: 0.15s; }
.bento-item:nth-child(4)  { animation-delay: 0.20s; }
.bento-item:nth-child(5)  { animation-delay: 0.25s; }
.bento-item:nth-child(6)  { animation-delay: 0.30s; }
.bento-item:nth-child(7)  { animation-delay: 0.35s; }
.bento-item:nth-child(8)  { animation-delay: 0.40s; }
.bento-item:nth-child(9)  { animation-delay: 0.45s; }
.bento-item:nth-child(10) { animation-delay: 0.50s; }
.bento-item:nth-child(11) { animation-delay: 0.55s; }
.bento-item:nth-child(12) { animation-delay: 0.60s; }

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

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 60, 91, 0.03) 0%, rgba(42, 93, 103, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bento-item::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 40%,
        rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0) 60%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(31, 60, 91, 0.15);
    border-color: var(--sbm-gray-300);
}
.bento-item:hover::before { opacity: 1; }
.bento-item:hover::after  { transform: rotate(45deg) translateX(100%); }

.bento-item.large { grid-column: span 2; grid-row: span 2; padding: 28px; }
.bento-item.wide  { grid-column: span 2; }
.bento-item.tall  { grid-row: span 2; }

.bento-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--sbm-primary) 0%, var(--sbm-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.bento-item:hover .bento-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 16px -4px rgba(31, 60, 91, 0.25);
}
.bento-icon svg { width: 20px; height: 20px; fill: #fff; }

.bento-item.large .bento-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    margin-bottom: 18px;
}
.bento-item.large .bento-icon svg { width: 24px; height: 24px; }

.bento-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sbm-primary);
    margin: 0 0 6px 0;
    position: relative;
    z-index: 1;
}
.bento-item.large .bento-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.bento-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--sbm-gray-500);
    margin: 0;
    position: relative;
    z-index: 1;
}
.bento-item.large .bento-desc {
    font-size: 14px;
    line-height: 1.6;
}

.bento-visual {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 120px; height: 120px;
    opacity: 0.06;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    fill: var(--sbm-primary);
}
.bento-item:hover .bento-visual {
    opacity: 0.10;
    transform: scale(1.1) rotate(5deg);
}

.bento-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sbm-secondary);
    background: rgba(42, 93, 103, 0.08);
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

/* ----- Pricing-Card ----- */
.pricing {
    margin-bottom: 40px;
}
.pricing-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--sbm-gray-200);
    border-radius: 16px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
.pricing-info h2 {
    font-size: 22px;
    margin: 0 0 10px 0;
    color: var(--sbm-primary);
}
.pricing-info p {
    margin: 0 0 12px 0;
    color: var(--sbm-gray-600);
    line-height: 1.55;
    font-size: 14px;
}
.pricing-info ul {
    margin: 0 0 14px 0;
    padding-left: 20px;
    color: var(--sbm-gray-700);
    font-size: 14px;
    line-height: 1.7;
}
.pricing-headline {
    text-align: center;
    padding: 24px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--sbm-gray-100);
}
.pricing-headline .price {
    font-size: 38px;
    font-weight: 700;
    color: var(--sbm-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}
.pricing-headline .price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--sbm-gray-500);
    display: block;
    margin-top: 6px;
}
.pricing-headline .scale {
    font-size: 13px;
    color: var(--sbm-gray-600);
    margin-top: 12px;
    line-height: 1.5;
}

/* ----- Trust-Section ----- */
.trust {
    background: var(--sbm-gray-50);
    border: 1px solid var(--sbm-gray-100);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
}

.trust-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.trust-icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: var(--sbm-secondary);
}
.trust-icon svg { width: 100%; height: 100%; fill: currentColor; display: block; }

.trust-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--sbm-gray-600);
}

/* ----- Contact-Bar ----- */
.contact-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: var(--sbm-primary);
    border-radius: 12px;
    margin-bottom: 20px;
}
.contact-bar-text { color: #fff; }
.contact-bar-text h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}
.contact-bar-text p {
    margin: 3px 0 0 0;
    font-size: 13px;
    opacity: 0.85;
}
.contact-bar .pub-btn {
    background: #fff;
    color: var(--sbm-primary);
    flex-shrink: 0;
}
.contact-bar .pub-btn:hover {
    background: var(--sbm-gray-100);
    color: var(--sbm-primary);
}

/* ----- Legal-Pages (Impressum / Datenschutz / AGB / AVV / Kontakt) ----- */
.legal-layout {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 32px 56px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: start;
}

.legal-toc {
    font-size: 13px;
    position: sticky;
    top: 84px;
    align-self: start;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
}
.legal-toc:empty { display: none; }
.legal-toc:empty ~ .legal {
    grid-column: 1 / -1;
    max-width: 760px;
    justify-self: center;
    width: 100%;
}

.legal-toc-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sbm-secondary);
    margin: 0 0 10px 0;
}
.legal-toc nav {
    border-left: 2px solid var(--sbm-gray-100);
    padding: 2px 0 2px 14px;
    display: flex;
    flex-direction: column;
}
.legal-toc a {
    padding: 5px 0;
    color: var(--sbm-gray-600);
    text-decoration: none;
    line-height: 1.4;
    border-radius: 3px;
    transition: color 0.15s ease;
}
.legal-toc a:hover {
    color: var(--sbm-primary);
    text-decoration: none;
}
.legal-toc a.is-active {
    color: var(--sbm-primary);
    font-weight: 500;
}

.legal {
    max-width: 780px;
    margin: 0;
    padding: 0;
}
.legal h1 {
    font-size: 30px;
    color: var(--sbm-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}
.legal .legal-subtitle {
    color: var(--sbm-gray-500);
    font-size: 14px;
    margin: 0 0 32px 0;
}
.legal h2 {
    font-size: 20px;
    color: var(--sbm-primary);
    margin: 32px 0 10px 0;
    scroll-margin-top: 84px;
}
.legal h3 {
    font-size: 16px;
    color: var(--sbm-gray-800);
    margin: 22px 0 8px 0;
    scroll-margin-top: 84px;
}
.legal p, .legal li {
    line-height: 1.65;
    color: var(--sbm-gray-700);
    font-size: 15px;
}
.legal ul, .legal ol { padding-left: 22px; }
.legal a { color: var(--sbm-secondary); }
.legal a:hover { color: var(--sbm-primary); }
.legal .legal-box {
    background: var(--sbm-gray-50);
    border: 1px solid var(--sbm-gray-100);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
}
.legal dl.legal-data {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 6px 20px;
    margin: 8px 0 16px 0;
}
.legal dl.legal-data dt {
    color: var(--sbm-gray-500);
    font-size: 14px;
    padding-top: 2px;
}
.legal dl.legal-data dd {
    margin: 0;
    color: var(--sbm-gray-800);
    font-size: 15px;
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 28px 18px 40px;
        max-width: 760px;
    }
    .legal-toc { display: none; }
    .legal { max-width: 100%; }
    .legal dl.legal-data { grid-template-columns: 1fr; gap: 0 0; }
    .legal dl.legal-data dt { margin-top: 10px; }
    .legal dl.legal-data dd { margin: 2px 0 0 0; }
}

/* ----- Register-Form ----- */
.register {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 56px;
}
.register h1 {
    font-size: 28px;
    color: var(--sbm-primary);
    margin: 0 0 8px 0;
}
.register .lead {
    color: var(--sbm-gray-600);
    font-size: 15px;
    margin: 0 0 28px 0;
}

.register-card {
    background: #fff;
    border: 1px solid var(--sbm-gray-200);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--sbm-shadow-1);
}

.register-step {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sbm-secondary);
    margin: 0 0 14px 0;
}

.register-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.register-form .form-group { margin-bottom: 14px; }
.register-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--sbm-gray-700);
    margin-bottom: 4px;
}
.register-form input[type=text],
.register-form input[type=email],
.register-form input[type=tel],
.register-form input[type=number],
.register-form select,
.register-form textarea {
    width: 100%;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    color: var(--sbm-gray-900);
    background: #fff;
    border: 1px solid var(--sbm-gray-200);
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus {
    outline: none;
    border-color: var(--sbm-primary-soft);
    box-shadow: 0 0 0 3px rgba(31, 60, 91, 0.12);
}
.register-form .help {
    font-size: 12px;
    color: var(--sbm-gray-500);
    margin-top: 4px;
}

.avv-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 10px 0 14px 0;
}
.avv-option {
    display: block;
    padding: 14px;
    border: 1px solid var(--sbm-gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    background: #fff;
}
.avv-option:hover { border-color: var(--sbm-gray-300); }
.avv-option.selected {
    border-color: var(--sbm-primary);
    background: rgba(31, 60, 91, 0.03);
}
.avv-option input[type=radio] {
    margin-right: 8px;
}
.avv-option strong {
    color: var(--sbm-primary);
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}
.avv-option span.muted {
    display: block;
    font-size: 12px;
    color: var(--sbm-gray-500);
    margin-left: 22px;
    line-height: 1.5;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--sbm-gray-700);
    line-height: 1.5;
    margin: 8px 0;
}
.consent-row input[type=checkbox] {
    margin-top: 3px;
}

.register-alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}
.register-alert.error {
    background: var(--sbm-danger-bg);
    color: var(--sbm-danger);
    border: 1px solid rgba(179, 38, 30, 0.2);
}
.register-alert.success {
    background: var(--sbm-success-bg);
    color: var(--sbm-success);
    border: 1px solid rgba(34, 122, 75, 0.2);
}

.register-done {
    text-align: center;
    padding: 28px 20px;
}
.register-done-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--sbm-success-bg);
    color: var(--sbm-success);
    display: flex; align-items: center; justify-content: center;
}
.register-done-icon svg { width: 28px; height: 28px; fill: currentColor; }
.register-done h2 {
    font-size: 22px;
    color: var(--sbm-primary);
    margin: 0 0 10px 0;
}
.register-done p {
    color: var(--sbm-gray-600);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 auto 14px;
    max-width: 48ch;
}

/* ----- Footer ----- */
.pub-footer {
    flex-shrink: 0;
    border-top: 1px solid var(--sbm-gray-100);
    background: #fff;
    padding: 24px 24px 16px;
    margin-top: 40px;
}
.pub-footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.pub-footer-brand {
    color: var(--sbm-primary);
    font-size: 18px;
    letter-spacing: -0.01em;
}
.pub-footer-brand .pub-brand-a,
.pub-footer-brand .pub-brand-b { color: var(--sbm-primary); }

.pub-footer-op {
    margin-top: 6px;
    font-size: 12px;
    color: var(--sbm-gray-500);
    font-weight: 400;
}

.pub-footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.pub-footer-links a {
    font-size: 13px;
    color: var(--sbm-gray-600);
    text-decoration: none;
}
.pub-footer-links a:hover {
    color: var(--sbm-primary);
    text-decoration: underline;
}

.pub-footer-copy {
    max-width: 1040px;
    margin: 14px auto 0;
    font-size: 12px;
    color: var(--sbm-gray-400);
    text-align: right;
}

/* ----- Responsive ----- */
@media (max-width: 820px) {
    .pricing-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }
}

@media (max-width: 700px) {
    .pub-topbar {
        padding: 12px 16px;
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .pub-brand { font-size: 18px; }
    .pub-nav { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
    .pub-nav-link { font-size: 13px; padding: 6px 8px; }
    .pub-btn { padding: 8px 14px; font-size: 13px; }

    .landing { padding: 24px 16px 40px; }

    .hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 16px 0 20px;
    }
    .hero-logo { align-self: center; order: -1; }
    .hero-logo img { height: 90px; }
    .hero-text { text-align: center; width: 100%; }
    .hero-title { font-size: 26px; }
    .hero-description {
        font-size: 14px;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .pub-btn { width: 100%; }

    .pub-divider { margin: 24px 0; }

    .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .bento-item { padding: 16px; }
    .bento-item.large { grid-column: span 2; grid-row: span 1; padding: 20px; }
    .bento-item.wide  { grid-column: span 2; }
    .bento-item.tall  { grid-row: span 1; }

    .bento-icon { width: 36px; height: 36px; margin-bottom: 12px; }
    .bento-icon svg { width: 18px; height: 18px; }
    .bento-item.large .bento-icon { width: 40px; height: 40px; }
    .bento-title { font-size: 13px; }
    .bento-item.large .bento-title { font-size: 15px; }
    .bento-desc { font-size: 12px; }
    .bento-visual { width: 80px; height: 80px; }

    .trust { padding: 18px; }
    .trust-grid { grid-template-columns: 1fr; gap: 14px; }

    .contact-bar {
        flex-direction: column;
        text-align: center;
        padding: 18px;
        gap: 14px;
    }
    .contact-bar .pub-btn { width: 100%; }

    .register-form .form-row { grid-template-columns: 1fr; }
    .avv-choice { grid-template-columns: 1fr; }

    .pub-footer-inner { flex-direction: column; gap: 14px; }
    .pub-footer-copy { text-align: left; }
}

@media (max-width: 420px) {
    .hero-logo img { height: 70px; }
    .hero-title { font-size: 22px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.large, .bento-item.wide { grid-column: span 1; }
    .pricing-headline .price { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .bento-item { animation: none; }
    .bento-item::after { display: none; }
    .bento-item:hover { transform: none; }
    .bento-item:hover .bento-icon { transform: none; }
}
