/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4b483;
    --secondary-color: #8ba888;
    --accent-color: #c9a66b;
    --text-color: #4a4a4a;
    --light-bg: #f9f7f4;
    --white: #ffffff;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Header und Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
    width: 100%;
    height: auto;
}

.hero-content h2 {
    font-size: 6rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.25);
    font-family: 'Allura', 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--white);
}

/* Featured Products Section */
.featured-products {
    padding: 5rem 5%;
    background-color: var(--white);
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.product-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
}

.product-link {
    display: block;
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.product-link:hover {
    background-color: var(--accent-color);
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h2 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 1rem;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Startseiten-Boxen Layout */
.main-boxes {
    max-width: 1400px;
    margin: 4rem auto 5rem auto;
    padding: 0 2.5%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-box-row {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    width: 100%;
    justify-content: center;
}

.main-box-row.small-row {
    gap: 2.5rem;
    margin-bottom: 0;
}

.main-box {
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(212,180,131,0.13);
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.35s cubic-bezier(.4,1.4,.6,1), transform 0.35s cubic-bezier(.4,1.4,.6,1);
}

.box-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.big-box {
    aspect-ratio: 1 / 1;
    min-height: unset;
    height: 500px;
    max-height: 50vw;
    position: relative;
    min-width: 0;
}

.small-box {
    aspect-ratio: 1 / 1;
    min-height: unset;
    height: 350px;
    max-height: 35vw;
    position: relative;
    min-width: 0;
}

.main-box-content {
    background: linear-gradient(0deg, rgba(212,180,131,0.92) 80%, rgba(255,255,255,0.0) 100%);
    color: #fff;
    padding: 2.2rem 2rem 1.5rem 2rem;
    border-radius: 0 0 32px 32px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(212,180,131,0.08);
    position: relative;
    z-index: 2;
    transition: background 0.4s, color 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.main-box-content h2, .main-box-content h3, .main-box-content p {
    text-align: center;
    width: 100%;
}

.main-box-content h2, .main-box-content h3 {
    font-family: 'Allura', 'Playfair Display', serif;
    color: #fff;
    transition: color 0.4s;
    font-size: 2.5rem;
    font-weight: 400;
}

.main-box-content p {
    color: #fff;
    transition: color 0.4s;
}

.main-box:hover .main-box-content {
    background: linear-gradient(0deg, rgba(255,255,255,0.98) 80%, rgba(255,255,255,0.0) 100%);
    color: #4a4a4a;
}

.main-box:hover .main-box-content h2,
.main-box:hover .main-box-content h3 {
    color: #8ba888;
    font-family: 'Allura', 'Playfair Display', serif;
    color: #fff;
}

.main-box:hover .main-box-content p {
    color: #fff;
}

@media (max-width: 1100px) {
    .main-box-row {
        flex-direction: column;
        gap: 2.5rem;
    }
    .main-box-row.small-row {
        flex-direction: column;
        gap: 2rem;
    }
    .big-box {
        height: 400px;
        max-height: none;
    }
    .small-box {
        height: 300px;
        max-height: none;
    }
}

@media (max-width: 700px) {
    .shop-hero h1, .portfolio-hero h1, .about-hero h1, .contact-hero h1 {
        font-size: 2rem;
        padding: 1.2rem 1.2rem;
        max-width: 98vw;
        border-radius: 18px;
    }
    .product-grid, .portfolio-grid {
        gap: 1.2rem;
    }
    .product-card, .portfolio-box {
        min-height: 260px;
        border-radius: 18px;
    }
    .product-card img, .portfolio-img {
        height: 140px;
        border-radius: 18px 18px 0 0;
    }
    .main-boxes {
        margin-top: 2rem;
        margin-bottom: 2.5rem;
    }
    .main-box-row {
        gap: 1rem;
    }
    .big-box, .small-box {
        height: 38vw;
        min-height: 110px;
        border-radius: 18px;
    }
    .main-box-content {
        padding: 1rem 0.7rem 0.7rem 0.7rem;
        border-radius: 0 0 18px 18px;
    }
    .main-box-content h2, .main-box-content h3 {
        font-size: 1.2rem;
    }
    .main-box-content p {
        font-size: 0.95rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .about-box, .contact-content {
        flex-direction: column !important;
        align-items: stretch;
    }
    .about-img {
        min-width: 100%;
        max-width: 100%;
        height: 180px;
    }
    .about-text, .contact-info-box, .contact-form-box {
        padding: 1.2rem 0.7rem;
        max-width: 98vw;
    }
    .value-card {
        padding: 1.2rem 0.7rem;
        max-width: 98vw;
    }
}

@media (max-width: 480px) {
    .shop-hero h1, .portfolio-hero h1, .about-hero h1, .contact-hero h1 {
        font-size: 1.2rem;
        padding: 0.7rem 0.3rem;
    }
    .product-card h3, .portfolio-title, .portfolio-box .portfolio-info h3 {
        font-size: 1.1rem;
    }
    .product-card p, .portfolio-desc, .portfolio-box .portfolio-info p {
        font-size: 0.9rem;
    }
    .main-box-content h2, .main-box-content h3 {
        font-size: 1rem;
    }
    .main-box-content p {
        font-size: 0.85rem;
    }
}

/* Startseiten-Boxen Animation und Hover */
.main-box:hover {
    box-shadow: 0 32px 80px 0 rgba(212,180,131,0.45), 0 8px 32px rgba(139,168,136,0.18);
    transform: scale(1.07);
    z-index: 20;
}

.main-box:hover .main-box-content {
    background: linear-gradient(0deg, rgba(212,180,131,0.70) 60%, rgba(255,255,255,0.0) 100%);
}

/* Unterstrich bei Links in Boxen entfernen */
.main-box,
.main-box:visited,
.main-box:active,
.main-box:hover {
    text-decoration: none !important;
    outline: none;
    box-shadow: none;
}
.main-box-content h2, .main-box-content h3, .main-box-content p {
    text-decoration: none !important;
} 