/* schulmateriallisten.de — Redesign 2026
 * Eigene Layer auf Bootstrap-Theme. Sanftes Pastell, weiche Cards, klare Iconik.
 */

:root {
    --sml-warm-bg: #fff7ec;
    --sml-warm-bg-soft: #fffaf3;
    --sml-orange: #f7941d;
    --sml-orange-dark: #e07d0a;
    --sml-green: #7ab87a;
    --sml-green-soft: #e9f3e6;
    --sml-blue-soft: #eaf2fb;
    --sml-purple-soft: #efeaf8;
    --sml-text: #2e3a45;
    --sml-text-muted: #6b7682;
    --sml-card-shadow: 0 6px 24px rgba(46, 58, 69, .06);
    --sml-card-shadow-hover: 0 10px 32px rgba(46, 58, 69, .10);
}

body { color: var(--sml-text); background: #fff; }

/* A11y: Visually-hidden Helper (für Screen-Reader-only Headings) */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
    border: 0;
}

/* A11y: Sichtbare Fokus-Outline für Keyboard-Navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(247, 148, 29, .55);
    outline-offset: 2px;
    border-radius: 6px;
}
.btn-primary-cta:focus-visible,
.sml-nav-cta:focus-visible {
    outline: 3px solid rgba(247, 148, 29, .55);
    outline-offset: 3px;
}

/* ---------- Navbar: transparent + frosted on scroll ---------- */
.sml-navbar {
    background: transparent !important;
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    transition: background-color .2s, box-shadow .2s;
    padding-top: .85rem;
    padding-bottom: .85rem;
}
.sml-navbar.is-scrolled {
    background: rgba(255, 255, 255, .72) !important;
    box-shadow: 0 4px 18px rgba(46, 58, 69, .06);
}
.sml-navbar .nav-link {
    color: var(--sml-text) !important;
    font-weight: 500;
}
.sml-navbar .nav-link:hover { color: var(--sml-orange) !important; }

/* ---------- Navbar-Brand mit "by PACK DEN RANZEN" ---------- */
.sml-brand {
    display: inline-flex !important;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
}
.sml-brand .brand-by {
    color: var(--sml-text-muted);
    font-size: .75rem;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: .04em;
}
.sml-brand .brand-co { opacity: .85; }
@media (max-width: 575.98px) {
    .sml-brand .brand-by, .sml-brand .brand-co { display: none; }
}

/* ---------- Navbar-CTA-Pille ---------- */
.sml-nav-cta {
    display: inline-block;
    background: var(--sml-orange);
    color: #fff !important;
    padding: .55rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(247, 148, 29, .35);
    transition: background .15s, transform .15s;
}
.sml-nav-cta:hover {
    background: var(--sml-orange-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.sml-hero {
    background: linear-gradient(180deg, var(--sml-warm-bg) 0%, var(--sml-warm-bg-soft) 100%);
    padding: 3rem 0 2rem;
}
.sml-hero .row { min-height: 380px; }
.sml-hero h1 {
    font-weight: 800;
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -.01em;
    color: var(--sml-text);
    margin-bottom: 1.25rem;
}
.sml-hero h1 .accent {
    color: var(--sml-orange);
    display: block;
    margin-top: .35rem;
}
.sml-hero p.lead { font-size: 1.05rem; color: var(--sml-text-muted); max-width: 38rem; margin-bottom: 1.5rem; }
.sml-hero .btn-primary-cta {
    background: var(--sml-orange);
    color: #fff;
    border: 0;
    padding: .95rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: .5rem;
    box-shadow: 0 6px 16px rgba(247, 148, 29, .35);
    transition: background .15s, transform .15s, box-shadow .15s;
}
.sml-hero .btn-primary-cta:hover {
    background: var(--sml-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(247, 148, 29, .45);
}
.sml-hero .hero-image { max-width: 100%; height: auto; }

/* Warmer Wash hinter der Hero-Illustration (wie Mockup) */
.sml-hero .hero-illu-wrap {
    position: relative;
    text-align: center;
    padding: 1rem;
}
.sml-hero .hero-illu-wrap::before {
    content: "";
    position: absolute;
    inset: 8% 4%;
    background: radial-gradient(ellipse at 60% 50%, #fde4c5 0%, rgba(253, 228, 197, .35) 60%, transparent 80%);
    border-radius: 50%;
    z-index: 0;
}
.sml-hero .hero-illu-wrap img.hero-image { position: relative; z-index: 1; }

/* ---------- Hero schwebende Cards (Materialliste + Warenkorb) ---------- */
.sml-hero .hero-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(46, 58, 69, .14);
    z-index: 3;
    font-size: .8rem;
}
/* Linke Card: "Materialliste" - weiter außen oben links */
.sml-hero .hero-card-list {
    top: 4%; left: -4%;
    width: 110px;
    padding: .65rem .7rem;
}
.sml-hero .hc-title {
    font-weight: 700; font-size: .78rem;
    color: var(--sml-text); margin-bottom: .4rem;
}
.sml-hero .hc-list {
    list-style: none; padding: 0; margin: 0;
}
.sml-hero .hc-list li {
    display: flex; align-items: center; gap: .4rem;
    margin-bottom: .25rem;
}
.sml-hero .hc-list li::after {
    content: ""; flex: 1; height: 2px;
    background: #ece6d8; border-radius: 1px;
}
.sml-hero .hc-check {
    color: var(--sml-green); font-weight: 800;
    font-size: .8rem;
}

/* Rechte Card: "Dein Warenkorb" mit Produkten - weiter außen oben rechts */
.sml-hero .hero-card-cart {
    top: 2%; right: -4%;
    width: 230px;
    padding: .8rem .85rem;
}
.sml-hero .hc-cart-head {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: .6rem;
}
.sml-hero .hc-cart-title {
    font-weight: 700; font-size: .9rem;
    color: var(--sml-text); line-height: 1.1;
}
.sml-hero .hc-cart-sub {
    color: var(--sml-text-muted); font-size: .72rem;
    margin-top: .15rem;
}
.sml-hero .hc-cart-ok {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--sml-green); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .72rem;
    flex: 0 0 22px;
}
.sml-hero .hc-cart-items {
    list-style: none; padding: 0; margin: 0 0 .55rem;
}
.sml-hero .hc-cart-items li {
    display: flex; align-items: center; gap: .45rem;
    padding: .25rem 0;
    border-bottom: 1px solid #f3ecdf;
    font-size: .72rem;
}
.sml-hero .hc-cart-items li:last-child { border-bottom: 0; }
.sml-hero .hc-item-icon {
    width: 22px; height: 22px; flex: 0 0 22px;
    border-radius: 5px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem;
}
.sml-hero .hc-icon-amber { background: #fff0c8; }
.sml-hero .hc-icon-pink  { background: #fde0e0; }
.sml-hero .hc-icon-blue  { background: var(--sml-blue-soft); }
.sml-hero .hc-item-name {
    flex: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--sml-text); font-weight: 500;
}
.sml-hero .hc-item-price {
    color: var(--sml-text); font-weight: 700;
    white-space: nowrap;
}
.sml-hero .hc-cart-cta {
    background: var(--sml-orange);
    color: #fff; text-align: center;
    padding: .4rem .65rem;
    border-radius: 999px;
    font-weight: 700; font-size: .75rem;
    box-shadow: 0 4px 10px rgba(247, 148, 29, .3);
}

/* Verbindender gepunkteter Pfeil zwischen den Cards */
.sml-hero .hero-arrow {
    position: absolute;
    top: 18%; left: 24%;
    width: 80px; height: 32px;
    z-index: 4;
    pointer-events: none;
    opacity: .85;
}

@media (max-width: 991.98px) {
    .sml-hero .hero-card-list  { width: 95px; padding: .5rem .55rem; }
    .sml-hero .hero-card-cart  { width: 200px; }
    .sml-hero .hero-arrow      { display: none; }
}
@media (max-width: 575.98px) {
    .sml-hero .hero-card { display: none; }
}

/* Schwebende Callout-Karten auf der Illustration */
.sml-hero .hero-callout {
    position: absolute;
    z-index: 2;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(46, 58, 69, .12);
    padding: .65rem .9rem .65rem .65rem;
    display: flex; align-items: center; gap: .65rem;
    max-width: 220px;
}
.sml-hero .hero-callout .callout-icon {
    width: 38px; height: 38px;
    flex: 0 0 38px;
}
.sml-hero .hero-callout .callout-title {
    font-weight: 700; font-size: .85rem; color: var(--sml-text);
    line-height: 1.1;
}
.sml-hero .hero-callout .callout-text {
    font-size: .78rem; color: var(--sml-text-muted);
    line-height: 1.25; margin-top: .1rem;
}
@media (max-width: 575.98px) {
    .sml-hero .hero-callout { display: none; }
}

/* Kostenlos-Hinweis mit Häkchen unter dem CTA (Mockup-konform) */
.sml-hero .hero-hint {
    display: inline-flex; flex-wrap: wrap; gap: .35rem 1.1rem;
    margin-top: 1.25rem;
    color: var(--sml-text-muted);
    font-size: .85rem;
    align-items: center;
}
.sml-hero .hero-hint .hint-check {
    color: var(--sml-green); font-weight: 700;
    margin-right: .15rem;
    font-size: .9rem;
}

/* CTA mit Icon */
.cta-with-icon {
    display: inline-flex !important;
    align-items: center; gap: .5rem;
}
.cta-with-icon svg { flex-shrink: 0; }

/* Callout-Position unten rechts auf der Illustration */
.sml-hero .hero-callout-bottom { bottom: 6%; right: 0; }

/* ---------- Feature-Strip: 4 separate White-Cards mit Numbers + transparent Icons + Pfeile ---------- */
.sml-feature-strip {
    background: linear-gradient(180deg, var(--sml-warm-bg-soft) 0%, #fff 100%);
    padding: 0 0 1rem;
}
.sml-feature-strip .feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: -2.75rem;
    position: relative; z-index: 2;
}
.sml-feature-strip .feature-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(46, 58, 69, .07);
    padding: 1.6rem 1rem 1.25rem;
    text-align: center;
    transition: transform .15s, box-shadow .15s;
}
.sml-feature-strip .feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(46, 58, 69, .1);
}
.sml-feature-strip .feature-num {
    position: absolute; top: .75rem; left: .85rem;
    font-weight: 800; font-size: .82rem;
    color: var(--sml-orange);
    background: #fff5e6;
    padding: .15rem .5rem;
    border-radius: 999px;
    letter-spacing: .02em;
}
.sml-feature-strip .feature-icon-wrap {
    width: 80px; height: 80px;
    margin: .25rem auto .75rem;
    display: flex; align-items: center; justify-content: center;
}
.sml-feature-strip .feature-icon-wrap img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
}
.sml-feature-strip .feature-card h3 {
    font-weight: 700; font-size: .98rem;
    margin: 0 0 .35rem;
    line-height: 1.25;
}
.sml-feature-strip .feature-card p {
    color: var(--sml-text-muted);
    font-size: .82rem; line-height: 1.4;
    margin: 0;
}
/* Gepunktete Pfeile zwischen Feature-Cards */
.sml-feature-strip .feature-grid > .feature-card:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 50%; right: 100%;
    transform: translateY(-50%);
    width: 1rem;
    border-top: 2px dashed var(--sml-orange);
    opacity: .45;
    z-index: 0;
}

@media (max-width: 991.98px) {
    .sml-feature-strip .feature-grid { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
    .sml-feature-strip .feature-grid > .feature-card:not(:first-child)::before { display: none; }
}
@media (max-width: 575.98px) {
    .sml-feature-strip .feature-grid { grid-template-columns: 1fr; }
    .sml-feature-strip .feature-icon-wrap { width: 70px; height: 70px; }
}
.sml-feature-strip .feature-item h6 { font-weight: 700; margin-bottom: .25rem; }
.sml-feature-strip .feature-item p { font-size: .9rem; color: var(--sml-text-muted); margin: 0; }

/* ---------- Section-Header ---------- */
.sml-section { padding: 3rem 0 3.25rem; }
.sml-section.alt { background: var(--sml-warm-bg-soft); }
/* Feature-Strip ist direkt zwischen Hero und der ersten Section -
   reduziere top-Padding bei der direkt folgenden Section, damit kein Doppel-Air */
.sml-feature-strip + .sml-section { padding-top: 2.5rem; }
.sml-section h2 {
    text-align: center;
    font-weight: 800;
    margin: 0 0 1.75rem;
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}
.sml-section h2 + p.sub {
    text-align: center;
    color: var(--sml-text-muted);
    max-width: 40rem;
    margin: -1rem auto 1.75rem;
    font-size: .95rem;
}

/* ---------- So einfach geht's (Steps) ---------- */
.sml-steps .step-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 1.4rem 1.1rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(46, 58, 69, .05);
    height: 100%;
    display: flex; flex-direction: column; align-items: center;
    transition: transform .15s, box-shadow .15s;
}
.sml-steps .step-card p { margin-top: auto; }
.sml-steps .step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(46, 58, 69, .09);
}
.sml-steps .step-card img {
    width: auto; height: auto;
    max-width: 76px; max-height: 76px;
    object-fit: contain;
    margin-bottom: .65rem;
}
.sml-steps .step-icon {
    color: #6b8fb8;
    margin: .35rem 0 .9rem;
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 64px; height: 64px;
}
.sml-steps .step-icon svg { width: 56px; height: 56px; }
.sml-steps .step-card h5 { font-weight: 700; margin-bottom: .35rem; font-size: .98rem; }
.sml-steps .step-card p { color: var(--sml-text-muted); font-size: .82rem; margin: 0; line-height: 1.4; }
.sml-steps .step-num {
    position: absolute;
    top: 1.1rem; left: 1.1rem;
    width: 32px; height: 32px;
    background: var(--sml-green); color: #fff;
    border-radius: 50%; font-weight: 700; font-size: .9rem;
    line-height: 32px; text-align: center;
    box-shadow: 0 3px 10px rgba(122, 184, 122, .35);
    z-index: 2;
}

/* Gepunktete Connector-Linien zwischen Step-Cards (1→2→3→4) */
.sml-steps .row { position: relative; }
.sml-steps .row > [class*="col-"]:not(:first-child) .step-card::before {
    content: "";
    position: absolute;
    top: 32px;
    right: 100%;
    width: 1.5rem;
    border-top: 2px dashed var(--sml-orange);
    opacity: .5;
    z-index: 0;
}
@media (max-width: 991.98px) {
    .sml-steps .row > [class*="col-"]:not(:first-child) .step-card::before { display: none; }
}
.sml-steps .step-card.tone-blue   { background: linear-gradient(180deg, #f5fafe 0%, #fff 100%); }
.sml-steps .step-card.tone-green  { background: linear-gradient(180deg, #f3f9f0 0%, #fff 100%); }
.sml-steps .step-card.tone-purple { background: linear-gradient(180deg, #f7f4fc 0%, #fff 100%); }
.sml-steps .step-card.tone-orange { background: linear-gradient(180deg, #fff5e8 0%, #fff 100%); }

/* ---------- Warum-Liste (2 Spalten Vorteile) ---------- */
/* Alte 2-spaltige Why-Items - bleibt für Fallback */
.sml-why .why-item {
    display: flex; gap: .8rem;
    background: #fff;
    border-radius: 12px;
    padding: .75rem .9rem;
    margin-bottom: .6rem;
    box-shadow: 0 3px 12px rgba(46, 58, 69, .04);
}

/* Neue 3-Spalten-Variante: Icon links, Text rechts (kein Card-Background) */
.sml-why .why-row {
    display: flex; gap: 1.1rem;
    align-items: flex-start;
    padding: 1rem .5rem;
}
.sml-why .why-row > div:last-child { padding-top: .1rem; min-width: 0; }
.sml-why .why-row-icon {
    width: 100px; height: 100px; flex: 0 0 100px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.sml-why .why-row-icon img {
    width: 88px; height: 88px;          /* fixe Größe für ALLE drei - Konsistenz */
    object-fit: contain;
}
.sml-why .why-icon-orange { background: var(--sml-warm-bg); }
.sml-why .why-icon-purple { background: var(--sml-purple-soft); }
.sml-why .why-icon-green  { background: var(--sml-green-soft); }
.sml-why .why-row h5 {
    font-weight: 700; font-size: 1rem;
    margin: .15rem 0 .35rem;
}
.sml-why .why-row p {
    color: var(--sml-text-muted);
    font-size: .88rem;
    margin: 0;
    line-height: 1.5;
}
.sml-why .why-item .why-check {
    flex: 0 0 28px; height: 28px;
    background: var(--sml-green); color: #fff;
    border-radius: 50%; display:flex; align-items:center; justify-content:center;
    font-size: .9rem; font-weight: 700;
}
.sml-why .why-item h6 { font-weight: 700; margin: 0 0 .15rem; font-size: .98rem; }
.sml-why .why-item p { margin: 0; color: var(--sml-text-muted); font-size: .9rem; }

/* ---------- Upload-Form-Card ---------- */
.sml-upload-card {
    background: #fff;
    border-radius: 22px;
    padding: 2rem 2rem;
    box-shadow: 0 10px 32px rgba(46, 58, 69, .08);
}
.sml-upload-card .form-control,
.sml-upload-card .form-select {
    border-radius: 10px;
    padding: .55rem .85rem;
    font-size: .9rem;
    border: 1px solid #e5e0d6;
    background: #fdfaf4;
    color: var(--sml-text);
}
.sml-upload-card .form-control::placeholder,
.sml-upload-card .form-select::placeholder,
.sml-upload-card textarea.form-control::placeholder {
    color: #4a5560 !important;    /* deutlich dunkleres Grau, gut lesbar */
    opacity: 1 !important;
}
.sml-upload-card .form-control::-webkit-input-placeholder {
    color: #4a5560 !important;
    opacity: 1 !important;
}
.sml-upload-card .form-control::-moz-placeholder {
    color: #4a5560 !important;
    opacity: 1 !important;
}
.sml-upload-card .form-control:-ms-input-placeholder {
    color: #4a5560 !important;
}
.sml-upload-card .form-check-label,
.sml-upload-card .form-check-input { font-size: .9rem; }
.sml-upload-card .form-control:focus {
    border-color: var(--sml-orange);
    box-shadow: 0 0 0 .2rem rgba(247, 148, 29, .15);
    background: #fff;
}
.sml-upload-card label.section-label {
    font-weight: 600; color: var(--sml-text);
    font-size: .85rem;
    margin-bottom: .3rem; display: block;
}
.sml-upload-card .btn-submit {
    background: var(--sml-orange);
    color: #fff; border: 0;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1rem;
    box-shadow: 0 6px 16px rgba(247, 148, 29, .35);
    width: 100%;
    transition: background .15s, transform .15s;
}
.sml-upload-card .btn-submit:hover {
    background: var(--sml-orange-dark);
    transform: translateY(-1px);
}
.sml-upload-card .btn-submit:hover { background: var(--sml-orange-dark); }
/* Du-bist als Pill-Chips */
.sml-upload-card .role-chips {
    display: flex; flex-wrap: wrap; gap: .4rem;
}
.sml-upload-card .role-chips .form-check {
    margin: 0; padding: 0; min-height: 0;
}
.sml-upload-card .role-chips .form-check-input {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0; pointer-events: none;
}
.sml-upload-card .role-chips .form-check-label {
    display: inline-block;
    padding: .4rem .9rem;
    border: 1px solid #e5d8bd;
    background: #fff;
    border-radius: 999px;
    font-size: .85rem; font-weight: 600;
    color: var(--sml-text);
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    user-select: none;
}
.sml-upload-card .role-chips .form-check-label:hover {
    border-color: var(--sml-orange);
    color: var(--sml-orange);
}
.sml-upload-card .role-chips .form-check-input:checked + .form-check-label {
    background: var(--sml-orange);
    border-color: var(--sml-orange);
    color: #fff;
    box-shadow: 0 4px 10px rgba(247, 148, 29, .25);
}
.sml-upload-card .role-chips .form-check-input:focus-visible + .form-check-label {
    outline: 3px solid rgba(247, 148, 29, .35);
    outline-offset: 2px;
}

/* ---------- Drag&Drop-Upload-Zone ---------- */
.sml-upload-card .dz-hidden-input {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important;
    overflow: hidden !important; clip: rect(0,0,0,0) !important;
    white-space: nowrap !important; border: 0 !important;
}
/* ---------- Upload-Progress-Overlay (während Form-Submit) ---------- */
.upload-progress {
    position: fixed;
    inset: 0;
    background: rgba(46, 58, 69, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    animation: sml-fade-in .2s ease-out;
}
.upload-progress[hidden] { display: none !important; }
@keyframes sml-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.upload-progress-card {
    background: #fff;
    border-radius: 22px;
    padding: 2rem 2.25rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
    width: 100%;
    max-width: 360px;
    text-align: center;
}
.upload-progress-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    background: var(--sml-warm-bg);
    color: var(--sml-orange);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: sml-progress-pulse 1.5s ease-in-out infinite;
}
@keyframes sml-progress-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(247, 148, 29, .35); }
    50%      { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(247, 148, 29, 0); }
}
.upload-progress-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--sml-text);
    margin: 0 0 1.1rem;
}
.upload-progress-bar {
    height: 10px;
    background: #f1ebdf;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: .6rem;
}
.upload-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--sml-orange), #ffb35a);
    border-radius: 999px;
    transition: width .15s linear;
}
.upload-progress-text {
    font-size: .92rem;
    color: var(--sml-text);
    font-weight: 700;
    margin-bottom: .85rem;
}
.upload-progress-hint {
    font-size: .78rem;
    color: var(--sml-text-muted);
    margin: 0;
}

/* Off-screen aber interaktionsfähig - WICHTIG für Mobile-Kamera:
   display:none bricht den change-Event-Loop in iOS Safari + manche Android-Browser. */
.dz-input-offscreen {
    position: absolute !important;
    left: 0; top: 0;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}
.upload-dropzone {
    border: 2px dashed #e0d5be;
    border-radius: 14px;
    background: var(--sml-warm-bg-soft);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    outline: none;
}
.upload-dropzone:hover,
.upload-dropzone:focus-visible {
    background: #fef2dc;
    border-color: var(--sml-orange);
}
.upload-dropzone.is-dragover {
    background: #fde7c2;
    border-color: var(--sml-orange);
    border-style: solid;
}
.upload-dropzone.has-files { cursor: default; }
.upload-dropzone .dz-icon {
    color: var(--sml-orange);
    margin-bottom: .5rem;
    display: inline-flex;
}
.upload-dropzone .dz-title {
    margin: 0 0 .25rem;
    font-weight: 600; font-size: .95rem;
    color: var(--sml-text);
}
.upload-dropzone .dz-link {
    background: none; border: 0;
    color: var(--sml-orange); font-weight: 700;
    text-decoration: underline;
    cursor: pointer; padding: 0;
    font-size: inherit;
}
.upload-dropzone .dz-sub {
    margin: 0 0 .85rem;
    color: var(--sml-text-muted); font-size: .82rem;
}
.upload-dropzone .dz-camera {
    display: inline-flex; align-items: center; gap: .35rem;
    background: #fff; border: 1px solid #e5d8bd;
    color: var(--sml-text); font-weight: 600;
    padding: .45rem 1rem; border-radius: 999px;
    font-size: .85rem; cursor: pointer;
    transition: background .15s, border-color .15s;
}
.upload-dropzone .dz-camera:hover {
    border-color: var(--sml-orange); color: var(--sml-orange);
}
.upload-dropzone .dz-files {
    list-style: none; padding: 0; margin: 0;
    text-align: left;
}
.upload-dropzone .dz-file {
    display: flex; align-items: center; gap: .65rem;
    background: #fff;
    border: 1px solid #f0e8d8;
    border-radius: 10px;
    padding: .5rem .75rem;
    margin-bottom: .5rem;
    font-size: .88rem;
}
.upload-dropzone .dz-file:last-child { margin-bottom: 0; }
.upload-dropzone .dz-file-icon { font-size: 1.1rem; }
.upload-dropzone .dz-file-name {
    flex: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-weight: 600;
}
.upload-dropzone .dz-file-size {
    color: var(--sml-text-muted); font-size: .8rem;
    margin-right: .25rem;
}
.upload-dropzone .dz-file-remove {
    background: #fbe9e3; border: 0;
    color: #c44a3a; font-weight: 700;
    width: 24px; height: 24px;
    border-radius: 50%; cursor: pointer;
    font-size: 1rem; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
}
.upload-dropzone .dz-file-remove:hover { background: #f6cdc0; }
.upload-dropzone.has-files .dz-empty { margin-top: 1rem; padding-top: .75rem; border-top: 1px dashed #e8dec3; }

/* Form-Group-Blöcke: a) Deine Daten, b) Deine Schule, c) Deine Liste */
.sml-upload-card .form-group-block {
    padding-top: 1.5rem; padding-bottom: 1.25rem;
    border-top: 1px solid #f1ebdf;
}
.sml-upload-card .form-group-block:first-of-type {
    padding-top: 0; border-top: 0;
}
.sml-upload-card .form-group-head {
    margin-bottom: 1rem;
}
.sml-upload-card .form-group-head {
    display: flex; align-items: center; gap: .65rem;
    margin-bottom: .9rem;
}
.sml-upload-card .form-group-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--sml-orange); color: #fff;
    font-weight: 700; font-size: .82rem;
    display: inline-flex; align-items: center; justify-content: center;
    text-transform: lowercase;
}
.sml-upload-card .form-group-head h4 {
    margin: 0; font-weight: 700; font-size: 1rem;
    color: var(--sml-text);
}
.sml-upload-card .form-group-hint {
    margin: -.25rem 0 1.1rem;
    color: var(--sml-text-muted); font-size: .88rem;
    background: var(--sml-warm-bg-soft);
    border-left: 3px solid var(--sml-orange);
    padding: .65rem .85rem;
    border-radius: 8px;
}

/* ---------- Phone-Mockup als Result-Preview ---------- */
.phone-mockup {
    position: sticky; top: 6rem;
    text-align: center;
    padding: 1.5rem 0 2rem;
}
/* Sanfter elliptischer Boden-Schatten - macht das Phone-Mockup geerdeter */
.phone-mockup::before {
    content: "";
    position: absolute;
    left: 50%; bottom: 1.5rem;
    transform: translateX(-50%);
    width: 70%; height: 24px;
    background: radial-gradient(ellipse at center, rgba(46,58,69,.18) 0%, rgba(46,58,69,0) 70%);
    z-index: 0;
    pointer-events: none;
}
.phone-frame {
    width: 280px; max-width: 100%;
    margin: 0 auto;
    background: #1d1d1f;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 28px 60px rgba(46, 58, 69, .22), 0 10px 22px rgba(46, 58, 69, .10);
    position: relative; z-index: 1;
}
.phone-notch {
    position: absolute;
    top: 12px; left: 50%; transform: translateX(-50%);
    width: 92px; height: 18px;
    background: #1d1d1f;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.phone-screen {
    background: var(--sml-warm-bg-soft);
    border-radius: 26px;
    padding: 1.75rem 1rem 1rem;
    overflow: hidden;
    text-align: left;
}
.phone-header {
    display: flex; align-items: center; gap: .5rem;
    font-weight: 700; color: var(--sml-text);
    font-size: .9rem;
    padding: .25rem 0 .75rem;
    border-bottom: 1px solid rgba(46,58,69,.08);
    margin-bottom: .65rem;
}
.phone-back { color: var(--sml-orange); font-size: 1.1rem; line-height: 1; }
.phone-item {
    display: flex; align-items: center; gap: .55rem;
    background: #fff;
    border-radius: 12px;
    padding: .55rem .55rem;
    margin-bottom: .45rem;
    box-shadow: 0 2px 6px rgba(46,58,69,.05);
}
.phone-item .item-icon {
    width: 34px; height: 34px; flex: 0 0 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.item-icon-blue   { background: var(--sml-blue-soft); }
.item-icon-orange { background: var(--sml-warm-bg); }
.item-icon-red    { background: #fde6e0; }
.item-icon-green  { background: var(--sml-green-soft); }
.phone-item .item-body { flex: 1; min-width: 0; }
.phone-item .item-title { font-size: .78rem; font-weight: 700; color: var(--sml-text); line-height: 1.2; }
.phone-item .item-sub { font-size: .68rem; color: var(--sml-text-muted); margin-top: .1rem; }
.phone-item .item-qty {
    display: inline-flex; align-items: center; gap: .25rem;
    font-size: .72rem; font-weight: 600;
}
.phone-item .item-qty button {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 0; background: var(--sml-green); color: #fff;
    font-size: .8rem; line-height: 1; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
.phone-item .item-qty span {
    min-width: 14px; text-align: center;
    color: var(--sml-text);
}
.phone-item .item-check {
    color: var(--sml-green); font-weight: 700; font-size: .85rem;
    margin-left: .15rem;
}
.phone-cta {
    margin-top: .75rem;
    background: var(--sml-orange); color: #fff;
    text-align: center; font-weight: 700; font-size: .8rem;
    padding: .65rem; border-radius: 12px;
    box-shadow: 0 4px 10px rgba(247, 148, 29, .25);
}

.phone-mockup .preview-caption {
    margin-top: 1.25rem;
    color: var(--sml-text-muted);
    font-size: .9rem;
    line-height: 1.45;
    max-width: 280px;
    margin-left: auto; margin-right: auto;
}
.phone-mockup .preview-badge {
    display: inline-block;
    background: var(--sml-orange);
    color: #fff;
    font-size: .7rem; font-weight: 700;
    padding: .12rem .5rem;
    border-radius: 999px;
    margin-right: .35rem;
    vertical-align: middle;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* ---------- (Alt) Result-Preview rechts neben dem Formular ---------- */
.form-preview {
    position: sticky;
    top: 6rem;
    background: linear-gradient(180deg, var(--sml-warm-bg) 0%, #fff 100%);
    border-radius: 22px;
    padding: 2rem 1.5rem;
    box-shadow: var(--sml-card-shadow);
    text-align: center;
}
.form-preview img { max-width: 100%; height: auto; }
.form-preview .preview-caption {
    margin-top: 1rem;
    color: var(--sml-text-muted);
    font-size: .9rem;
    line-height: 1.45;
}
.form-preview .preview-badge {
    display: inline-block;
    background: var(--sml-orange);
    color: #fff;
    font-size: .72rem; font-weight: 700;
    padding: .15rem .55rem;
    border-radius: 999px;
    margin-right: .4rem;
    vertical-align: middle;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* ---------- Detail-Tiles (Wir achten auf die wichtigen Details) ---------- */
/* Tiles schweben direkt auf der cream-Section - KEIN Card-Container, KEINE Dividers */
.sml-details .details-bar {
    background: transparent;
    box-shadow: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: stretch;
    gap: .5rem 1rem;
    padding: 0 .5rem;
}
.sml-details .detail-tile {
    text-align: center;
    padding: .5rem .35rem;
    background: transparent; border: 0;
    display: flex; flex-direction: column; align-items: center;
    justify-content: flex-start;
    transition: transform .15s;
}
.sml-details .detail-tile:hover { transform: translateY(-2px); }
.sml-details .detail-tile:hover .detail-icon { transform: scale(1.04); }
.sml-details .detail-icon { transition: transform .15s; }
.sml-details .detail-tile h3 { min-height: 2.4em; }
.sml-details .detail-tile p  { min-height: 2.4em; }
/* Tiles ohne Container - Icons floaten direkt auf der cream-Section */
.sml-details .detail-icon {
    width: 110px; height: 110px;
    margin-bottom: .9rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    display: flex; align-items: center; justify-content: center;
}
.sml-details .detail-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
}
/* Pastell-Töne in der Reihenfolge der Vorlage (peach · lavender · pink · cream-yellow · green · mint) */
.sml-details .detail-icon.tone-peach     { background: #ffe2bc; }
.sml-details .detail-icon.tone-lavender  { background: #e6dff2; }
.sml-details .detail-icon.tone-pink      { background: #f4d6dd; }
.sml-details .detail-icon.tone-yellow    { background: #fff0c2; }
.sml-details .detail-icon.tone-leafgreen { background: #d4ebd0; }
.sml-details .detail-icon.tone-mint      { background: #c9e4d8; }
.sml-details .detail-tile h6 {
    font-weight: 700; margin: 0 0 .2rem;
    font-size: .92rem; line-height: 1.2;
}
.sml-details .detail-tile p {
    color: var(--sml-text-muted);
    font-size: .8rem; line-height: 1.35;
    margin: 0;
}

@media (max-width: 991.98px) {
    .sml-details .details-bar { grid-template-columns: repeat(3, 1fr); gap: 1.5rem .5rem; }
}
@media (max-width: 575.98px) {
    .sml-details .details-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- FAQ Accordion ---------- */
.sml-faq .accordion-item {
    border: 0; margin-bottom: .75rem;
    border-radius: 14px; overflow: hidden;
    box-shadow: var(--sml-card-shadow);
}
.sml-faq .accordion-button {
    background: #fff; font-weight: 600;
    padding: 1rem 1.25rem; box-shadow: none;
}
.sml-faq .accordion-button:not(.collapsed) {
    background: var(--sml-warm-bg);
    color: var(--sml-text);
}
.sml-faq .accordion-body { color: var(--sml-text-muted); }

/* ---------- Final-CTA-Banner ---------- */
.sml-final-cta {
    background: var(--sml-warm-bg);
    padding: 3.5rem 0;
}
.sml-final-cta .cta-card {
    position: relative;
    background: transparent;
    padding: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    max-width: 980px;
    margin: 0 auto;
}
.sml-final-cta .cta-side {
    width: 150px; height: 150px;
    object-fit: contain;
    max-width: 22vw;
}
.sml-final-cta .cta-side-left  { justify-self: end; }
.sml-final-cta .cta-side-right { justify-self: start; }
.sml-final-cta .cta-center {
    text-align: center;
}
.sml-final-cta .cta-center h3 {
    font-weight: 800;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    margin: 0 0 .6rem;
}
.sml-final-cta .cta-center p {
    color: var(--sml-text-muted);
    margin: 0 0 2.25rem;
    line-height: 1.6;
}
.sml-final-cta .cta-center .btn-primary-cta { margin-top: .25rem; }
@media (max-width: 767.98px) {
    .sml-final-cta .cta-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .sml-final-cta .cta-side { width: 100px; margin: 0 auto; }
    .sml-final-cta .cta-side-right { display: none; }
}
/* (alte cta-plant/cta-action obsolet - 3-Spalten-Grid übernimmt) */
/* (alte cta-icon obsolet) */
.sml-final-cta .cta-card .cta-text { flex: 1; min-width: 240px; }
.sml-final-cta .cta-card h3 { font-weight: 800; margin: 0 0 .4rem; font-size: 1.4rem; }
.sml-final-cta .cta-card p  { margin: 0; color: var(--sml-text-muted); }
.sml-final-cta .cta-card .btn-primary-cta {
    background: var(--sml-orange);
    color: #fff; border: 0;
    padding: .95rem 1.8rem;
    border-radius: 999px; font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(247, 148, 29, .35);
    transition: background .15s, transform .15s;
}
.sml-final-cta .cta-card .btn-primary-cta:hover {
    background: var(--sml-orange-dark);
    transform: translateY(-1px);
}

/* ---------- Rate-Limit-Banner (übernommen, sanfter) ---------- */
.rate-limit-message {
    background: #fff8e6;
    border: 1px solid #f6e3a5;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    display: flex; gap: .9rem; align-items: flex-start;
}
.rate-limit-message .rate-limit-icon { font-size: 1.4rem; }

/* ---------- FAQ: 2-Spalten-Layout nach Mockup ---------- */
.sml-faq .faq-heading {
    text-align: left;
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.sml-faq .faq-all-link {
    color: var(--sml-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    display: inline-flex; align-items: center; gap: .3rem;
}
.sml-faq .faq-all-link span { transition: transform .15s; display: inline-block; }
.sml-faq .faq-all-link:hover span { transform: translateX(3px); }
.sml-faq .accordion-item {
    border: 1px solid #f1ebdf;
    border-radius: 12px;
    margin-bottom: .5rem;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
}
.sml-faq .accordion-item + .accordion-item { margin-top: 0; }
.sml-faq .accordion-button {
    font-size: .92rem;
    padding: .8rem 1.05rem;
    font-weight: 600;
}
.sml-faq .accordion-button:not(.collapsed) {
    background: var(--sml-warm-bg-soft);
}
.sml-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f7941d'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23f7941d' stroke-width='2'/%3E%3C/svg%3E");
}

/* ---------- Kontakt-CTA (nicht mehr verwendet, in Footer integriert) ---------- */
.sml-contact-cta {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, #fff 0%, var(--sml-warm-bg-soft) 100%);
}
.sml-contact-cta .contact-card {
    position: relative;
    max-width: 720px; margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 2.75rem 2rem;
    box-shadow: var(--sml-card-shadow);
    text-align: center;
    overflow: hidden;
}
.sml-contact-cta .contact-card h2 {
    font-weight: 800; margin-bottom: .75rem;
    font-size: clamp(1.6rem, 3vw, 2rem);
}
.sml-contact-cta .contact-card p {
    color: var(--sml-text-muted); margin-bottom: 1.5rem;
}
.sml-contact-cta .contact-deco {
    position: absolute; width: 90px; height: auto;
    opacity: .85; pointer-events: none;
}
.sml-contact-cta .contact-deco-left  { left: -20px; bottom: -10px; transform: rotate(-8deg); }
.sml-contact-cta .contact-deco-right { right: -16px; top: -16px; width: 80px; }
@media (max-width: 575.98px) {
    .sml-contact-cta .contact-deco { display: none; }
}

/* ---------- Footer ---------- */
.sml-footer {
    background: #fff;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #f1ebdf;
}
.sml-footer .footer-brand .brand-tag {
    color: var(--sml-text-muted);
    font-size: .9rem;
    margin: .85rem 0 0;
    max-width: 18rem;
    line-height: 1.55;
}
.sml-footer .footer-heading {
    font-weight: 700;
    font-size: .95rem;
    color: var(--sml-text);
    margin: 0 0 .85rem;
    line-height: 1.3;
}
.sml-footer .footer-links {
    list-style: none; padding: 0; margin: 0;
}
.sml-footer .footer-links li { margin-bottom: .45rem; }
.sml-footer .footer-links a {
    color: var(--sml-text-muted);
    text-decoration: none;
    font-size: .9rem;
    transition: color .15s;
}
.sml-footer .footer-links a:hover { color: var(--sml-orange); }
.sml-footer .footer-small {
    color: var(--sml-text-muted);
    font-size: .88rem;
    line-height: 1.5;
}
.sml-footer .footer-small a { color: var(--sml-orange); text-decoration: none; }
.sml-footer .footer-small a:hover { text-decoration: underline; }
.sml-footer .footer-social {
    margin-top: 1rem;
    display: flex; gap: .55rem;
}
.sml-footer .footer-made .heart { color: var(--sml-orange); }
.sml-footer .footer-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--sml-warm-bg);
    color: var(--sml-orange);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s, transform .15s;
}
.sml-footer .footer-social a:hover {
    background: var(--sml-orange);
    color: #fff;
    transform: translateY(-1px);
}

.sml-footer .footer-bottom {
    border-top: 1px solid #f1ebdf;
    margin-top: 2.25rem;
    padding-top: 1rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
    color: var(--sml-text-muted);
    font-size: .82rem;
}

/* ---------- Mobile-Feinheiten ---------- */
@media (max-width: 991.98px) {
    .sml-hero { padding: 2.25rem 0 1.5rem; }
    .sml-hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .sml-section { padding: 2.25rem 0 2.5rem; }
    .sml-section h2 { font-size: clamp(1.35rem, 4.5vw, 1.7rem); margin-bottom: 1.25rem; }
    .sml-feature-strip .feature-bar { margin-top: 0; }
    .sml-upload-card { padding: 1.25rem 1rem; }
    .sml-upload-card .form-group-num { width: 26px; height: 26px; font-size: .78rem; }
    .sml-final-cta .cta-card { text-align: center; }
    .sml-final-cta .cta-center { order: 2; }
    .sml-faq .faq-heading { text-align: center; }
    .sml-faq .faq-all-link { display: block; text-align: center; margin-bottom: 1rem; }
}

@media (max-width: 767.98px) {
    .sml-hero { text-align: center; }
    .sml-hero p.lead { margin-left: auto; margin-right: auto; }
    .sml-hero .hero-image { margin-top: 1rem; max-width: 320px; }
    .sml-hero .hero-illu-wrap { min-height: auto; }
    .sml-hero .row { min-height: auto; }
    .sml-hero .hero-card-list  { top: 2%; left: 0; width: 90px; }
    .sml-hero .hero-card-cart  { top: 0; right: 0; width: 170px; }
    .upload-dropzone { padding: 1.1rem .75rem; }
    .upload-dropzone .dz-camera { padding: .55rem 1rem; }
    .sml-upload-card .btn-submit { padding: .85rem 1.5rem; font-size: .95rem; }
    .sml-final-cta { padding: 2.5rem 0; }
    .sml-final-cta .cta-center h3 { font-size: 1.15rem; }
    .sml-footer { padding: 2.5rem 0 1.25rem; }
    .sml-footer .footer-grid { row-gap: 1.5rem !important; }
    .sml-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
}
