/* ========================================
   VINTAGELOCATOR - Zentrale CSS-Datei
   Einheitliches Design für alle Seiten
   ======================================== */

/* ========================================
   CSS RESET & BASIS-STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   CSS VARIABLEN
   ======================================== */
:root {
    /* Hauptfarben - Neue Farbpalette */
    --primary-color: #2A5D5B;
    --secondary-color: #B3472D;
    --success-color: #2A5D5B;
    --danger-color: #B3472D;
    --warning-color: #E1B60E;
    --info-color: #2A5D5B;
    
    /* Grautöne - Neue Farbpalette */
    --white: #F5E9D7;
    --light-gray: #E8E8E8;
    --gray: #5B3A29;
    --dark-gray: #000000;
    --black: #000000;
    
    /* Typografie */
    --font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --line-height: 1.6;
    
    /* Abstände */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border & Schatten */
    --border-radius: 8px;
    --border-color: #5B3A29;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 1rem;
}

/* ========================================
   BASIS-TYPOGRAFIE
   ======================================== */
html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height);
    color: var(--dark-gray);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Überschriften */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Absätze */
p {
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Listen */
ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-xl);
}

li {
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   LAYOUT & CONTAINER
   ======================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--container-padding);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-brand a:hover {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: #E1B60E;
    text-decoration: none;
}

.nav-link[data-requires-login] {
    /* Optional: Cursor und Farbe für nicht eingeloggte Nutzer */
    cursor: pointer;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

.btn:active {
    transform: translateY(0);
}

/* Button Varianten */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #E1B60E;
    color: var(--dark-gray);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #E1B60E;
    color: var(--dark-gray);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background-color: #E1B60E;
    color: var(--dark-gray);
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #E1B60E;
    color: var(--dark-gray);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Button Größen */
.btn-sm {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-small);
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: var(--font-size-large);
}

.btn-full {
    width: 100%;
}

/* ========================================
   FORMULARE
   ======================================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    background-color: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 93, 91, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========================================
   ALERTS & MESSAGES
   ======================================== */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    border: 1px solid transparent;
}

.alert-success {
    background-color: #E8E8E8;
    color: var(--dark-gray);
    border-color: var(--primary-color);
}

.alert-error,
.alert-danger {
    background-color: #E8E8E8;
    color: var(--danger-color);
    border-color: var(--danger-color);
}

.alert-warning {
    background-color: #E8E8E8;
    color: var(--warning-color);
    border-color: var(--warning-color);
}

.alert-info {
    background-color: #E8E8E8;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.card-header {
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
}

.card-title {
    margin: 0;
    color: var(--dark-gray);
}

/* ========================================
   GRID SYSTEM
   ======================================== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(-1 * var(--spacing-md));
}

.col {
    flex: 1;
    padding: 0 var(--spacing-md);
}

.col-1 { flex: 0 0 8.333333%; }
.col-2 { flex: 0 0 16.666667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333333%; }
.col-5 { flex: 0 0 41.666667%; }
.col-6 { flex: 0 0 50%; }
.col-7 { flex: 0 0 58.333333%; }
.col-8 { flex: 0 0 66.666667%; }
.col-9 { flex: 0 0 75%; }
.col-10 { flex: 0 0 83.333333%; }
.col-11 { flex: 0 0 91.666667%; }
.col-12 { flex: 0 0 100%; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
    min-height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-large);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.hero-actions .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.hero-actions .btn-primary:hover {
    background: #E1B60E;
    color: var(--dark-gray);
}

.hero-actions .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-actions .btn-secondary:hover {
    background: #E1B60E;
    color: var(--dark-gray);
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: var(--spacing-xxl) 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xxl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.feature {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.feature h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.feature p {
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--dark-gray), var(--gray));
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta .btn:hover {
    background: #E1B60E;
    color: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* ========================================
   MAP PREVIEW
   ======================================== */
.map-preview {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

.map-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.map-icon {
    width: 80px;
    height: 80px;
    fill: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-md);
}

.map-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================
   FLASH MESSAGES
   ======================================== */
.flash {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    color: var(--white);
    font-weight: 500;
    z-index: 1001;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow);
}

.flash-success {
    background: var(--success-color);
}

.flash-error {
    background: var(--danger-color);
}

.flash-warning {
    background: var(--warning-color);
    color: var(--dark-gray);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--gray);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-xxl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-xxl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }
.p-5 { padding: var(--spacing-xxl); }

.hidden { display: none; }
.visible { display: block; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

/* ========================================
   DISCOVER PAGE SPECIFIC STYLES
   ======================================== */
.discover-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    height: calc(100vh - 80px);
}

.filters {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow-y: auto;
}

.map-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

#map {
    height: 100%;
    width: 100%;
}

.shop-list {
    max-height: 400px;
    overflow-y: auto;
}

.shop-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.shop-item:hover {
    background: var(--light-gray);
}

.shop-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.shop-item.active {
    background: var(--primary-color);
    color: var(--white);
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.star {
    color: #ddd;
    font-size: 1rem;
}

.star.filled {
    color: #E1B60E;
}

.rating-input .star:hover,
.rating-input .star.active {
    color: #E1B60E;
}

/* ========================================
   SHOP PAGE SPECIFIC STYLES
   ======================================== */
.shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.shop-header {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.shop-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.shop-title {
    flex: 1;
    text-align: left;
}

.shop-actions {
    flex-shrink: 0;
}

.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* EINHEITLICHE Touch-Unterstützung für alle Geräte */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    /* Mindestgröße für Touch-Geräte, aber auch Desktop-kompatibel */
    min-width: 44px;
    min-height: 44px;
}

.favorite-btn svg {
    width: 24px;
    height: 24px;
    fill: #ddd;
    transition: all 0.2s ease;
    /* EINHEITLICHE Größe für alle Geräte */
}

.favorite-btn:hover {
    background: rgba(255, 193, 7, 0.1);
}

.favorite-btn:hover svg {
    fill: #ffc107;
    transform: scale(1.1);
}

.favorite-btn.active svg {
    fill: #e74c3c;
}

.favorite-btn.active:hover svg {
    fill: #c0392b;
}

@keyframes favoriteAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.favorite-btn.animating svg {
    animation: favoriteAnimation 0.3s ease forwards;
}

/* EINHEITLICHE Styles für Desktop UND Mobile */
/* Keine Unterschiede zwischen Desktop und Mobile - 100% identisch */

/* Favoriten-Seite */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: #ddd;
}

.empty-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.empty-state h2 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.empty-state p {
    color: #666;
    margin-bottom: 2rem;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.favorited-date {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.no-comment {
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.shop-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.shop-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.shop-details {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.shop-map {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.reviews-section {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.review-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.review-item:last-child {
    border-bottom: none;
}

.rating-input {
    margin-top: 0.5rem;
}

.rating-input .stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-input .star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.rating-input .star:hover,
.rating-input .star.active {
    color: #E1B60E;
}

.rating-text {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* ========================================
   PROFILE SPECIFIC STYLES
   ======================================== */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .dashboard-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .dashboard-header .btn {
    display: flex !important;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem !important;
  }
  
  .profile-info {
    width: 100%;
  }
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
    background: white;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.profile-info .btn {
    margin-right: 1rem;
    margin-top: 1rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.dashboard-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.shop-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-pending {
    background: #E8E8E8;
    color: var(--warning-color);
}

.status-approved {
    background: #E8E8E8;
    color: var(--primary-color);
}

/* ========================================
   FORM SPECIFIC STYLES
   ======================================== */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.form-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.half-width {
    grid-column: span 1;
}

/* ========================================
   AUTH SPECIFIC STYLES
   ======================================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    padding: 1rem;
}

.auth-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-back {
    text-align: center;
    margin-top: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    :root {
        --container-padding: 0.75rem;
        --spacing-xl: 1.5rem;
        --spacing-xxl: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Header-Menü auf Mobilgeräten verstecken */
    .nav-menu {
        display: none !important;
    }
    
    /* Header kompakter machen */
    .nav {
        padding: 0.5rem 1rem;
        justify-content: center;
    }
    
    .nav-brand {
        margin: 0;
    }
    
    .nav-brand a {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
        min-height: 60vh;
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: var(--spacing-md);
    }
    
    .stat {
        padding: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col {
        flex: none;
        width: 100%;
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Discover Page Responsive */
    .discover-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .filters {
        order: 2;
    }
    
    .map-container {
        order: 1;
        height: 400px;
    }
    
    /* Profile Responsive */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }
    
    /* Form Responsive */
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    /* Shop Page Responsive */
    .shop-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0.5rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.25rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-small);
    }
    
    .hero {
        padding: var(--spacing-lg) 0;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* ========================================
   FILE UPLOAD STYLES
   ======================================== */
.file-upload {
    margin-bottom: 1rem;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.file-upload-label:hover {
    background: var(--warning-color);
    transform: translateY(-2px);
}

.file-upload-icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.file-upload-info {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
}

/* Loading Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Location Button */
.location-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.location-btn:active {
    transform: translateY(0);
}

.location-btn svg {
    width: 24px;
    height: 24px;
    fill: #666;
    transition: fill 0.3s ease;
}

.location-btn:hover svg {
    fill: #007bff;
}

.location-btn.loading {
    pointer-events: none;
}

.location-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.location-btn.success {
    background: #d4edda;
    border-color: #28a745;
}

.location-btn.success svg {
    fill: #28a745;
}

.location-btn.error {
    background: #f8d7da;
    border-color: #dc3545;
}

.location-btn.error svg {
    fill: #dc3545;
}

/* Map Container */
.map-container {
    position: relative;
    flex: 1;
    height: 100vh;
}

#map {
    width: 100%;
    height: 100%;
}

/* Rating Input Styles */
.rating-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rating-input .stars {
    display: flex;
    gap: 2px;
}

.rating-input .star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.rating-input .star:hover,
.rating-input .star.active {
    color: #ffc107;
}

.rating-input .star.filled {
    color: #ffc107;
}

.rating-text {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
}

/* Review Item Styles */
.review-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.review-item .rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.review-item .rating .star {
    font-size: 16px;
    color: #ddd;
}

.review-item .rating .star.filled {
    color: #ffc107;
}

.review-item .rating span {
    font-weight: 500;
    color: #333;
}

.review-item .rating small {
    color: #666;
    font-size: 12px;
}

.review-item p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

/* Reviews Section */
.reviews-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.reviews-section h2 {
    margin-bottom: 1rem;
    color: #333;
}

.reviews-section h3 {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.1rem;
}

/* ========================================
   MOBILE FOOTER NAVIGATION
   ======================================== */
.mobile-footer-nav {
    display: none; /* Versteckt auf Desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 8px 0 4px 0;
    justify-content: space-around;
    align-items: center;
    height: 72px; /* Feste Höhe für konsistentes Layout */
}

/* FAB Button Styles */
.mobile-nav-fab {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 2px solid var(--white);
}

.mobile-nav-fab:hover,
.mobile-nav-fab:active {
    background-color: var(--warning-color);
    transform: translateX(-50%) scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--warning-color);
}

.fab-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Adjust spacing for other navigation items */
.mobile-nav-item {
    margin: 0 12px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 60px;
    text-decoration: none;
    color: #5B3A29;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    color: #2A5D5B;
    background: rgba(42, 93, 91, 0.05);
}

.mobile-nav-item.active {
    color: #2A5D5B;
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #2A5D5B;
    border-radius: 2px;
}

.mobile-nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.mobile-nav-item:hover .mobile-nav-icon,
.mobile-nav-item:active .mobile-nav-icon {
    transform: scale(1.1);
}

.mobile-nav-label {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* Mobile Footer Navigation - nur auf mobilen Geräten anzeigen */
@media (max-width: 768px) {
    .mobile-footer-nav {
        display: flex;
    }
    
    /* Padding für Content, damit nichts unter dem Footer verschwindet */
    body {
        padding-bottom: 72px;
    }
    
    /* Footer vom Content trennen */
    .footer {
        margin-bottom: 72px;
    }

    /* Optimierte Touch-Targets für mobile Navigation */
    .mobile-nav-item {
        min-width: 64px; /* Mindestbreite für Touch-Targets */
    }

    .mobile-nav-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 4px;
    }

    /* Optimierte Typografie für mobile Navigation */
    .mobile-nav-label {
        font-size: 12px;
        font-weight: 500;
        white-space: nowrap;
    }
}

/* ========================================
   PROFILE PAGE STYLES
   ======================================== */
.profile-page {
    min-height: 100vh;
    background: var(--light-gray);
    padding: var(--spacing-lg) 0;
}

/* Profile Card */
.dashboard-header {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

/* Profile Background Banner */
.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.9;
    z-index: 1;
}

/* Profile Content Container */
.profile-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-xl);
}

/* Profile Image */
.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow);
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 40px;
    background: white;
    position: relative;
    z-index: 2;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-image svg {
    width: 100%;
    height: 100%;
    padding: 15%;
    fill: var(--gray);
    background: white;
}

/* Profile Info */
.profile-info {
    flex: 1;
    padding-top: 40px;
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.profile-info h1 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.profile-info p {
    color: var(--gray);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
}

.profile-info .shop-count {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--light-gray);
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.profile-info .shop-count strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.profile-info .member-since {
    margin-top: var(--spacing-md);
    color: var(--dark-gray);
}

/* Profile Actions */
.profile-actions {
    margin-top: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-md);
}

.profile-actions .btn {
    padding: var(--spacing-md) var(--spacing-xl);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-actions .btn svg {
    width: 20px;
    height: 20px;
}

.profile-actions .btn-secondary {
    background: var(--light-gray);
    color: var(--dark-gray);
    border: 2px solid var(--border-color);
}

.profile-actions .btn-secondary:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--dark-gray);
}

.profile-actions .btn-primary {
    background: var(--success-color);
    color: var(--white);
    border: 2px solid var(--success-color);
}

.profile-actions .btn-primary:hover {
    background: var(--warning-color);
    color: var(--dark-gray);
    transform: translateY(-2px);
    border-color: var(--warning-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-header::before {
        height: 160px;
    }

    .profile-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--spacing-lg);
    }

    .profile-info {
        padding-top: var(--spacing-lg);
    }

    .profile-info p {
        justify-content: center;
    }

    .profile-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }

    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   EXISTING CODE ENDS HERE
   ======================================== */ 