/* General Styles */
:root {
    /* Farben werden dynamisch aus der Datenbank geladen */
    --light-color: #f5f5f5;
    --dark-color: #212121;
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Neue Variablen für 3D und moderne Effekte */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: linear-gradient(to right, rgba(245,245,245,0.8), rgba(250,250,250,0.8)), 
                      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 100 100"><rect fill="rgba(139, 107, 79, 0.03)" width="50" height="50" x="0" y="0"/><rect fill="rgba(139, 107, 79, 0.03)" width="50" height="50" x="50" y="50"/></svg>');
    background-attachment: fixed;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

/* Remove padding from sections */
section {
    padding: 100px 0;
    margin-bottom: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* 3D Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-color), var(--button-hover-color));
    color: #fff;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: skewX(-25deg);
    transition: all 0.75s;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:hover:before {
    left: 100%;
}

/* Modern Glass Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
}

.logo h1 {
    font-family: var(--font-secondary);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo h1 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo h1 a:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Enhanced Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-top: 20px;
    min-height: 500px;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), transparent 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease-out;
}

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

.hero-content h2 {
    font-family: var(--font-secondary);
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto 35px;
}

/* Modern Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* 3D Cards for Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    perspective: 1000px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    transform-style: preserve-3d;
    transform: translateZ(0);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--hover-shadow);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    transform: scale(1.05);
}

.product-card:hover .product-image img {
    transform: scale(1.12);
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 50%);
}

.product-info {
    padding: 25px;
    position: relative;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    position: relative;
}

.product-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.product-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* Shop Cards with Glass Effect */
.shop-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 30px;
    margin: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform: translateZ(0);
}

.shop-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.shop-info {
    padding: 0 15px;
    text-align: center;
}

.shop-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.shop-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    min-height: 60px;
}

/* Testimonial cards with modern styling */
.testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    padding: 35px 30px;
    margin: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--hover-shadow);
}

.testimonial-text {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.testimonial-text i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    opacity: 0.7;
}

.testimonial-text p {
    margin: 0;
    padding: 0 10px;
}

/* Legal Content Pages with modern styling */
.legal-content {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin-top: 20px;
    box-shadow: var(--card-shadow);
}

.legal-content .content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.legal-content h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

.legal-content h4 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.legal-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.legal-content a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--accent-color);
}

.legal-content a:hover:after {
    width: 100%;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    perspective: 1000px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Shops Section */
.shops {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.shops-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.shop-logo {
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-logo img {
    max-height: 100%;
    max-width: 100%;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    text-align: center;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 10px 40px 40px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: flex-start;
    scrollbar-width: thin;
}

/* Add styles to ensure scrollbar is visible on desktop */
.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-info {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
    padding: 10px;
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-align: center;
    width: 100%;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.social-links h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Spezifische Hover-Farben für Social Media Plattformen */
.social-icons a[title="TikTok"]:hover {
    background-color: #000;
}

.social-icons a[title="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-icons a[title="YouTube"]:hover {
    background-color: #ff0000;
}

.social-icons a[title="LinkedIn"]:hover {
    background-color: #0077b5;
}

.social-icons a[title="Twitter/X"]:hover {
    background-color: #1da1f2;
}

/* Custom Social Media Icons */
.social-icons a.custom-social {
    flex-direction: column;
    font-size: 0.7rem;
    padding: 5px;
}

.social-icons a.custom-social i {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.social-icons a.custom-social span {
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1;
}

/* Footer */
footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    padding: 40px;
    margin: 50px auto 30px;
    border-radius: var(--border-radius);
    max-width: 1200px;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.copyright {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* Mobile Navigation Hamburger */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        margin: 0 auto 15px;
        overflow: hidden;
        max-width: 1200px;
        width: 100%;
    }
    
    .logo {
        margin-bottom: 0;
        max-width: 70%;
    }
    
    .logo h1 {
        font-size: 1.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 999;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        visibility: hidden;
    }
    
    nav.active {
        right: 0;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        font-size: 1.2rem;
        padding: 10px;
        border-bottom: 1px solid rgba(139, 107, 79, 0.1);
    }
    
    nav ul li a:after {
        display: none;
    }
    
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .overlay.active {
        display: block;
    }
    
    .hero {
        height: 70vh;
        min-height: 450px;
        background-position: center center;
        background-size: cover;
        background-attachment: scroll;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .about-content, .contact-content, .shops-container {
        padding: 0 25px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-text, .about-image, 
    .contact-info, .social-links {
        flex: 100%;
    }
    
    .products-grid {
        padding: 0 25px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    footer {
        margin: 40px auto 20px;
        padding: 30px;
        max-width: 1200px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        margin: 0 auto 10px;
        padding: 8px 10px;
        max-width: 1200px;
        width: 100%;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    nav {
        width: 85%;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .section-header h2 {
        font-size: 1.7rem;
    }
    
    .about, .products, .shops, .testimonials, .contact {
        padding: 60px 15px;
    }
    
    .about-content, .contact-content, .shops-container {
        padding: 0 20px;
    }
    
    .products-grid {
        padding: 0 20px;
    }
    
    .testimonials-slider {
        padding: 10px 20px 30px;
    }
    
    .testimonial-card {
        flex: 0 0 300px;
        padding: 20px;
    }
    
    .shop-card {
        min-width: 100%;
    }
    
    footer {
        margin: 30px auto 15px;
        padding: 25px;
        max-width: 1200px;
        width: 100%;
    }
}

/* Alle Textinhalte zentrieren */
.about-text, .product-info, .shop-info, .testimonial-text, .contact-info, .social-links, .shop-card {
    text-align: center;
}

/* Textabstände verbessern */
p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Verbesserte Abstände für die Sektionen */
section {
    padding: 100px 30px;
    margin-bottom: 20px;
} 