.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

/* Platzhalter für fehlende Bilder */
img[src="img/placeholder.svg"] {
    background: linear-gradient(135deg, #f1f1ee 0%, #e3e3df 100%);
    object-fit: cover;
}

.berry-gradient {
    background: linear-gradient(135deg, #ae2049 0%, #ff728e 100%);
}

.organic-shape-1 {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.organic-shape-2 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Quicksand default weight: Medium (500) statt Regular (400) */
body {
    font-weight: 500;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: #ff728e;
    color: #4d0019;
}

/* Mobile nav toggle */
.mobile-nav {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
    transform: translateX(0);
}

/* Mobile nav backdrop overlay */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Lock body scroll when mobile nav is open */
body.nav-open {
    overflow: hidden;
}

/* === UI UX Pro Max: Global UX Improvements === */

/* Focus-visible styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid #ff728e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Cursor pointer on all interactive elements */
button,
[role="button"],
.cursor-pointer,
summary {
    cursor: pointer;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Minimum touch target size for interactive elements */
button,
a,
input[type="radio"],
input[type="checkbox"] {
    min-height: 44px;
}

/* Form input base styles */
input:not([type="radio"]):not([type="checkbox"]),
textarea,
select {
    font-size: 16px; /* Prevents iOS zoom */
}

/* Fix Tailwind Forms: Radio & Checkbox keep circle/square shape */
input[type="radio"],
input[type="checkbox"] {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    min-height: unset;
}

/* Visually hidden - for screen reader only labels */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
