/* ============================================
   Handgemachte Babyträume – Design System
   Modern · Professionell · Episch
   ============================================ */

:root {
    --bg: #0d0d0f;
    --bg-elevated: #16161a;
    --bg-card: #1c1c21;
    --text: #f2f2f4;
    --text-muted: #9898a0;
    --accent: #c9a962;
    --accent-hover: #ddc078;
    --accent-soft: rgba(201, 169, 98, 0.15);
    --success: #4ade80;
    --error: #f87171;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(201, 169, 98, 0.2);
    --font-sans: 'Outfit', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --duration: 0.4s;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --duration: 0.01s;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Skip-Link für Barrierefreiheit (sichtbar bei Fokus) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    z-index: 10000;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 0.75rem;
    outline: 2px solid var(--accent-hover);
    outline-offset: 2px;
}

/* ---- Header ---- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.logo:hover {
    color: var(--accent);
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--accent);
}

/* Warenkorb-Trigger */
.warenkorb-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.warenkorb-trigger:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

.warenkorb-svg {
    width: 24px;
    height: 24px;
}

.warenkorb-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--accent);
    color: var(--bg);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--duration) var(--ease);
}

.warenkorb-badge.badge-bounce {
    animation: badgeBounce 0.5s var(--ease);
}

@keyframes badgeBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.warenkorb-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
    max-width: calc(100vw - 2rem);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 200;
}

.warenkorb-dropdown.aktiv,
.warenkorb-trigger:focus .warenkorb-dropdown,
.warenkorb-trigger:hover .warenkorb-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.warenkorb-dropdown-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.95rem;
}

.dropdown-inhalt {
    max-height: 280px;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.dropdown-inhalt ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-inhalt li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.dropdown-inhalt li:last-of-type {
    border-bottom: none;
}

.dropdown-inhalt .entfernen-btn {
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    margin-left: auto;
    transition: color 0.2s;
}

.dropdown-inhalt .entfernen-btn:hover {
    color: var(--error);
}

.dropdown-inhalt .mengen-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.dropdown-inhalt .mengen-btn:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.dropdown-inhalt p {
    margin: 0;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--accent);
    text-align: right;
    border-top: 1px solid var(--border);
}

.btn-checkout {
    display: block;
    width: calc(100% - 2.5rem);
    margin: 0 1.25rem 1.25rem;
    padding: 0.9rem 1.5rem;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    text-align: center;
}

.btn-checkout:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

#bestellen-btn {
    display: none;
}

#bestellen-btn[style*="block"] {
    display: block !important;
}

.warenkorb-groesse {
    font-size: 0.85em;
    color: var(--text-muted);
    display: block;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, var(--accent-soft) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(201, 169, 98, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(201, 169, 98, 0.06) 45%,
        rgba(201, 169, 98, 0.12) 50%,
        rgba(201, 169, 98, 0.06) 55%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: heroShine 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroShine {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: 0% 0; }
}

.hero-content {
    position: relative;
    max-width: 720px;
    text-align: center;
    animation: fadeUp 1s var(--ease) both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.hero-accent {
    font-style: italic;
    color: var(--accent);
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: background 0.2s, transform 0.15s;
}

.btn-hero:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Aktiver Nav-Link beim Scrollen */
.nav a.aktiv {
    color: var(--accent);
    font-weight: 600;
}

/* ---- Sections (Scroll-Animation) ---- */
.section {
    padding: 4rem 1.5rem;
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.section.sichtbar {
    opacity: 1;
    transform: translateY(0);
}

.section-alt {
    background: var(--bg-elevated);
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    margin: 0 0 2rem;
    color: var(--text);
}

/* ---- Produktkarten ---- */
.loading-products {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.produkt-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.produkt {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.produkt.sichtbar {
    opacity: 1;
    transform: translateY(0);
}

.produkt:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow), var(--shadow-glow);
    border-color: rgba(201, 169, 98, 0.35);
}

.produkt.sichtbar:hover {
    transform: translateY(-6px);
}

.produkt-bild-wrap {
    position: relative;
    overflow: hidden;
}

.produkt img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--bg-elevated);
    transition: transform 0.6s var(--ease);
}

.produkt:hover img {
    transform: scale(1.05);
}

.produkt-hover-hint {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.produkt:hover .produkt-hover-hint {
    opacity: 1;
}

.produkt h3,
.produkt p,
.produkt .verfuegbarkeit,
.produkt .preis,
.produkt .produkt-menge-steuerung {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

.produkt h3 {
    margin-top: 1.25rem;
}

.produkt h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: var(--text);
}

.produkt p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.produkt .verfuegbarkeit {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.produkt .verfuegbarkeit-anzahl {
    color: var(--success);
    font-weight: 600;
}

.produkt .preis {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.produkt-menge-steuerung {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.produkt-menge-input {
    width: 3rem;
    text-align: center;
    padding: 0.4rem;
    font-size: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
}

.mengen-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.mengen-btn:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.produkt .in-warenkorb-btn {
    margin: 0.5rem 1.25rem 1.25rem;
    padding: 0.75rem 1.25rem;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.produkt .in-warenkorb-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.dropdown-inhalt > p:first-child {
    color: var(--text-muted);
    margin: 0;
}

/* ---- Personalisieren ---- */
.section-personalisieren {
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.personalisieren-form {
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.personalisieren-form input,
.personalisieren-form select {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: border-color 0.2s;
}

.personalisieren-form input:focus,
.personalisieren-form select:focus {
    outline: none;
    border-color: var(--accent);
}

.personalisieren-form .btn-primary {
    align-self: flex-start;
}

/* ---- Buttons ---- */
.btn-primary {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ---- Toast ---- */
#benachrichtigung {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translate(-50%, -20px);
    min-width: 260px;
    max-width: 90vw;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bg);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
    text-align: center;
    box-shadow: var(--shadow);
}

.toast-erfolg {
    background: var(--success);
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.toast-fehler {
    background: var(--error);
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.toast-versteckt {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -20px);
}

/* ---- Modal ---- */
#produkt-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity 0.25s var(--ease);
}

#produkt-modal.modal-versteckt {
    display: none !important;
}

#produkt-modal:not(.modal-versteckt) .modal-inhalt {
    animation: modalIn 0.4s var(--ease) both;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-inhalt {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-schliessen {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
}

.modal-schliessen:hover {
    color: var(--text);
    background: var(--bg-card);
}

.modal-content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.modal-bild-wrapper {
    flex: 0 0 200px;
}

#modal-bild {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg-card);
}

.modal-info-wrapper {
    flex: 1;
    min-width: 0;
}

#modal-titel {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text);
}

#modal-beschreibung {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.modal-optionen {
    margin-bottom: 1rem;
}

.modal-optionen label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.modal-name-wrapper,
.modal-umtausch-wrapper {
    display: none;
}

.modal-name-wrapper[style*="display: block"],
.modal-name-wrapper[style*="display:block"] {
    display: block !important;
}

.modal-umtausch-wrapper[style*="display: block"],
.modal-umtausch-wrapper[style*="display:block"] {
    display: block !important;
}

#modal-groesse-wrapper label {
    margin-right: 1rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

#modal-name {
    display: block;
    width: 100%;
    max-width: 220px;
    margin-top: 0.5rem;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
}

#modal-in-warenkorb {
    margin-top: 0.5rem;
}

#modal-umtausch-wrapper .checkbox-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---- Footer ---- */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem 2rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-trust span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---- Rechtliche Seiten (Impressum, Datenschutz) ---- */
.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-main {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    width: 100%;
}

.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow);
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2rem);
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--text);
}

.legal-lead {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
    line-height: 1.6;
}

.legal-block {
    margin-bottom: 2rem;
}

.legal-block:last-of-type {
    margin-bottom: 0;
}

.legal-block h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--text);
}

.legal-block h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    color: var(--text-muted);
}

.legal-block p,
.legal-block ul {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text);
}

.legal-block ul {
    padding-left: 1.25rem;
}

.legal-block li {
    margin-bottom: 0.35rem;
}

.legal-block a {
    color: var(--accent);
    text-decoration: none;
}

.legal-block a:hover {
    text-decoration: underline;
}

.legal-meta {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .legal-main {
        padding: 1.5rem 1rem 3rem;
    }
    .legal-content {
        padding: 1.5rem 1.25rem;
    }
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--duration) var(--ease), visibility var(--duration), transform var(--duration) var(--ease), background 0.2s, border-color 0.2s;
}

.back-to-top.sichtbar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Focus für Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
    }

    .nav ul {
        gap: 1rem;
        order: 3;
        width: 100%;
        justify-content: flex-start;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border);
        margin-top: 0.5rem;
    }

    .hero {
        min-height: 60vh;
        padding: 3rem 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .produkt-liste {
        grid-template-columns: 1fr;
    }

    .modal-content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .modal-bild-wrapper {
        flex: none;
        max-width: 240px;
        margin: 0 auto;
    }

    .warenkorb-dropdown {
        right: 0;
        width: calc(100vw - 2rem);
        max-width: 360px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
    }
}
