/* Performance Optimierungen */
/* Critical CSS - Wird sofort geladen */
.header, .hero, .hero-content {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* Lazy Loading für Bilder */
img {
    loading: lazy;
}

/* Font Display Swap für bessere Performance */
@font-face {
    font-family: 'Drupadi';
    src: url('assets/fonts/Drupadi-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Siffon';
    src: url('assets/fonts/SIFONN_PRO.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('assets/fonts/Raleway-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

/* Will-change für bessere Performance */
.hero-content, .benefit-category, .product-card {
    will-change: transform;
}

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

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

/* Header und Navigation */
.header {
    background: #556b2f;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-brand {
    color: white;
    font-weight: bold;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-logo .logo-image {
    height: 60px;
    width: auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.header-logo .logo-text h3 {
    font-family: 'Siffon', sans-serif;
    font-size: 1.3rem;
    margin: 0;
    font-weight: bold;
    color: white;
}

.header-logo .logo-text p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.9;
    color: white;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #f39c12;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('assets/images/matte_links.jpeg') center center/cover no-repeat;
    color: white;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Drupadi', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    background: #556b2f;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #556b2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about h1 {
    font-family: 'Drupadi', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #556b2f;
    font-weight: bold;
}

.benefits-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-category {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #556b2f;
}

.benefit-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.category-icon {
    font-size: 2.5rem;
    color: #556b2f;
    min-width: 3rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header h2 {
    font-family: 'Siffon', sans-serif;
    color: #556b2f;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.benefit-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.benefit-list li {
    color: #333 !important;
    margin-bottom: 0.5rem !important;
    padding-left: 1.5rem !important;
    position: relative !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    list-style: none !important;
}

.benefit-list li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    color: #556b2f !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    top: 0 !important;
}

/* Force benefit list styling to override any potential conflicts */
.benefits-categories .benefit-list,
.benefit-category .benefit-list,
.about .benefit-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.benefits-categories .benefit-list li,
.benefit-category .benefit-list li,
.about .benefit-list li {
    color: #333 !important;
    margin-bottom: 0.5rem !important;
    padding-left: 1.5rem !important;
    position: relative !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    list-style: none !important;
}

.benefits-categories .benefit-list li::before,
.benefit-category .benefit-list li::before,
.about .benefit-list li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    color: #556b2f !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    top: 0 !important;
}

/* Impressum Styles */
.impressum-main {
    margin-top: 80px;
    padding: 2rem 0;
    min-height: calc(100vh - 160px);
}

.impressum-title {
    font-family: 'Drupadi', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #556b2f;
    font-weight: bold;
    padding-top: 2rem;
    margin-top: 0;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(85, 107, 47, 0.1);
}

.impressum-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.impressum-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.impressum-section h2 {
    font-family: 'Siffon', sans-serif;
    color: #556b2f;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.3;
}

.impressum-section h2 br {
    display: none;
}

@media (max-width: 768px) {
    .impressum-section h2 br {
        display: block;
    }
}

.impressum-section p {
    font-family: 'Raleway', sans-serif;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1rem;
}

.impressum-section h3 {
    font-family: 'Siffon', sans-serif;
    color: #556b2f;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.impressum-section ul {
    font-family: 'Raleway', sans-serif;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333;
    padding-left: 1.5rem;
}

.impressum-section ul li {
    margin-bottom: 0.5rem;
}

.impressum-section a {
    color: #556b2f !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-section a:hover {
    color: #f39c12 !important;
    text-decoration: underline;
}

/* Spezifische Regel für alle Links in impressum-content */
.impressum-content a {
    color: #556b2f !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-content a:hover {
    color: #f39c12 !important;
    text-decoration: underline;
}

.contact-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #556b2f;
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.contact-info i {
    color: #556b2f;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: #556b2f !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #f39c12 !important;
    text-decoration: underline;
}

.impressum-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.impressum-footer p {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Back to Home Button */
.back-to-home {
    text-align: center;
    margin: 3rem 0 2rem 0;
    padding: 0 1rem;
}

.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #556b2f;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #556b2f;
    box-shadow: 0 4px 12px rgba(85, 107, 47, 0.2);
}

.back-to-home-btn:hover {
    background-color: #f39c12;
    border-color: #f39c12;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
}

.back-to-home-btn i {
    font-size: 1.2rem;
}

/* Mobile Optimizations for Back Button */
@media (max-width: 768px) {
    .back-to-home {
        margin: 2rem 0 1.5rem 0;
    }
    
    .back-to-home-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .back-to-home {
        margin: 1.5rem 0 1rem 0;
    }
    
    .back-to-home-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        gap: 0.375rem;
    }
    
    .back-to-home-btn i {
        font-size: 1.1rem;
    }
}

/* Mobile Optimizations for Impressum */
@media (max-width: 768px) {
    .impressum-main {
        margin-top: 70px;
        padding: 1rem 0;
    }
    
    .impressum-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding-top: 1.5rem;
    }
    
    .impressum-content {
        margin: 0 1rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .impressum-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .impressum-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .impressum-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .contact-details {
        padding: 1rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
    
    .contact-info {
        gap: 0.75rem;
    }
    
    .contact-info p {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .contact-info i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .impressum-main {
        margin-top: 60px;
        padding: 0.5rem 0;
    }
    
    .impressum-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
    }
    
    .impressum-footer {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .impressum-content {
        margin: 0 0.5rem;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .impressum-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .impressum-section h2 {
        font-size: 1.2rem;
    }
    
    .impressum-section p {
        font-size: 0.9rem;
    }
    
    .contact-details {
        padding: 0.75rem;
    }
    
    .contact-details p {
        font-size: 0.95rem;
    }
    
    .footer .contact-info p {
        font-size: 0.95rem;
        color: white;
    }
    
    .footer .contact-info a {
        color: white !important;
    }
}

/* Icon Visibility Optimizations */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    /* Mindestgröße für kleine Bildschirme */
    min-width: 2.5rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #556b2f;
}

/* Font Awesome Icon Styling */
.card-icon i {
    font-size: 2.5rem;
    color: #556b2f;
    transition: all 0.3s ease;
}

.card-icon i:hover {
    transform: scale(1.1);
    color: #f39c12;
}

/* Icon-Größen für verschiedene Bildschirmgrößen */
@media (max-width: 480px) {
    .card-icon {
        font-size: 2rem;
        min-width: 2rem;
        min-height: 2rem;
    }
    
    .card-icon i {
        font-size: 2rem;
    }
    
    .contact-info-simple .icon {
        font-size: 1rem;
        width: 20px;
        height: 20px;
    }
    
    .footer .contact-info a {
        color: white !important;
    }
}

@media (max-width: 320px) {
    .card-icon {
        font-size: 1.8rem;
        min-width: 1.8rem;
        min-height: 1.8rem;
    }
    
    .card-icon i {
        font-size: 1.8rem;
    }
    
    .footer .contact-info a {
        color: white !important;
    }
    
    .directions {
        padding: 0.6rem;
        margin: 0;
    }
    
    .directions li {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0.6rem 0 0.6rem 1.6rem;
        margin-bottom: 0.4rem;
        background: white;
        border-radius: 5px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        border-left: 2px solid #556b2f;
        color: #000000;
    }
    
    .directions li::before {
        left: 0.4rem;
        width: 1.2rem;
        height: 1.2rem;
        font-size: 0.9rem;
    }
}

/* Verbesserte Sichtbarkeit für Kontakt-Icons */
.contact-info-simple .icon {
    font-size: 1.3rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #556b2f;
    background: rgba(85, 107, 47, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-info-simple .icon i {
    font-size: 1.3rem;
    color: #556b2f !important;
    transition: all 0.3s ease;
}

.contact-info-simple .icon:hover {
    background: rgba(85, 107, 47, 0.2);
    transform: scale(1.05);
}

.contact-info-simple .icon i:hover {
    color: #f39c12 !important;
    transform: scale(1.1);
}

/* Verbesserte Sichtbarkeit für Footer-Icons */
.contact-info .icon {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info .icon i {
    font-size: 1rem;
    color: #f39c12;
    transition: all 0.3s ease;
}

.contact-info .icon i:hover {
    color: white;
    transform: scale(1.1);
}

/* Lightbulb Icon Verbesserung */
.lightbulb-icon {
    font-size: 1.2rem;
    color: #f39c12;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbulb-icon i {
    font-size: 1.2rem;
    color: #f39c12;
    transition: all 0.3s ease;
}

.lightbulb-icon i:hover {
    color: white;
    transform: scale(1.1);
}

/* Removed .card h3 styles as we now use .category-header h2 */

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: #556b2f;
    color: white;
}

/* Only the PREISE heading should be white */
.pricing h1 {
    font-family: 'Drupadi', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #556b2f;
    font-weight: bold;
}

/* Specific styling for the PREISE heading to make it white */
.pricing h1.pricing-title {
    color: white;
}

.pricing-cards-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Desktop Table Styles */
.pricing-table-desktop {
    display: block;
}

.pricing-cards-mobile {
    display: none;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #4a5f2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

.pricing-table th {
    background: #4a5f2a;
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    border-bottom: 1px solid #6b7a3a;
}

.pricing-table th:first-child {
    text-align: left;
}

.pricing-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid #6b7a3a;
    font-size: 0.95rem;
}

.pricing-table td:first-child {
    text-align: left;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table strong {
    color: #f39c12;
}

/* Mobile Pricing Cards */
.pricing-cards-mobile {
    display: none;
    gap: 1.5rem;
    flex-direction: column;
}

.pricing-card {
    background: #4a5f2a;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: 1px solid #6b7a3a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.pricing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #6b7a3a;
}

.pricing-card-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
}

.price-highlight {
    text-align: right;
}

.price {
    display: block;
    color: #f39c12;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.price-unit {
    display: block;
    color: #bdc3c7;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.pricing-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.detail-label {
    color: #bdc3c7;
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-value {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.example-calculation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.lightbulb-icon {
    font-size: 1.2rem;
    color: #f39c12;
}

.example-calculation p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.vat-disclaimer {
    text-align: right;
}

.vat-disclaimer p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.7;
    color: #bdc3c7;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: #f8f9fa;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonials h1 {
    font-family: 'Drupadi', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #556b2f;
    font-weight: bold;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 400px;
}

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

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

.stars {
    font-size: 1.5rem;
    color: #f39c12;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.2rem;
    justify-content: center;
}

.stars i {
    font-size: 1.5rem;
    color: #f39c12;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stars i:hover {
    color: #556b2f;
    transform: scale(1.1);
}

.testimonial-card blockquote {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.customer-info {
    font-family: 'Raleway', sans-serif;
    color: #556b2f;
    font-size: 0.9rem;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

/* About Hippofy Section */
.about-hippofy {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about-hippofy h1 {
    font-family: 'Drupadi', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #556b2f;
    font-weight: bold;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(85, 107, 47, 0.1);
}

.about-content p {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.1rem;
    text-align: center;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.products h1 {
    font-family: 'Drupadi', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #556b2f;
    font-weight: bold;
}

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

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

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

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-family: 'Raleway', sans-serif;
    color: #556b2f;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.product-content p {
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    color: #333;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #556b2f;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.contact h1 {
    font-family: 'Drupadi', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #556b2f;
    font-weight: bold;
}

/* Kontaktbereich modern & schlicht */
.contact-info-simple {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(85, 107, 47, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.contact-section {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid rgba(85, 107, 47, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.contact-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(85, 107, 47, 0.15);
    border-color: rgba(85, 107, 47, 0.2);
}

.contact-section h3 {
    color: #556b2f;
    font-size: 1.3rem;
    margin: 0 0 1.2rem 0;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-section h3::before {
    display: none;
}

.contact-info-simple p {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0.6rem 0;
    font-size: 1rem;
    color: #000000;
    line-height: 1.5;
    padding: 0.4rem 0;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-info-simple a {
    color: #000000 !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    line-height: 1.5;
    font-family: 'Raleway', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-info-simple a:hover {
    color: #f39c12 !important;
    text-decoration: underline;
    transform: translateX(3px);
}

.directions {
    list-style: none;
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(85, 107, 47, 0.1);
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.08);
    animation: fadeInUp 0.6s ease-out;
}

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

.directions li {
    position: relative;
    padding: 1rem 0 1rem 2.5rem;
    margin: 0.5rem 0;
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.6;
    border-left: 3px solid #556b2f;
    margin-left: 0;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 0.8rem;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.directions li:nth-child(1) {
    animation-delay: 0.1s;
}

.directions li:nth-child(2) {
    animation-delay: 0.2s;
}

.directions li:nth-child(3) {
    animation-delay: 0.3s;
}

.directions li:hover {
    border-left-color: #4a5f2a;
    background: linear-gradient(135deg, rgba(85, 107, 47, 0.08) 0%, rgba(85, 107, 47, 0.03) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.15);
}

.directions li::before {
    content: "→";
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #556b2f;
    font-weight: bold;
    font-size: 1.3rem;
    background: rgba(85, 107, 47, 0.1);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.directions li:hover::before {
    background: #556b2f;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.contact-info-simple .contact-message {
    color: #556b2f;
    background: linear-gradient(135deg, rgba(85, 107, 47, 0.1) 0%, rgba(74, 93, 40, 0.05) 100%);
    padding: 1.5rem;
    margin-top: 0.5rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
    border-radius: 12px;
    width: 100%;
    border: 2px solid rgba(85, 107, 47, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-simple .contact-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.contact-info-simple .contact-message:hover::before {
    left: 100%;
}

/* Alte Kontakt-Styles überschreiben */
.contact-info {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
.contact-item, .contact-details, .contact-icon {
    all: unset;
}

/* Footer */
.footer {
    background: #556b2f;
    color: white;
    padding: 2rem 0 0.5rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.footer-logo .logo-link {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 70px;
    width: auto;
}

.footer-tagline {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.footer-section h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 0.8rem 0;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.4rem 0;
    font-size: 1rem;
    line-height: 1.4;
}

.contact-info .icon {
    font-size: 1.1rem;
    color: #f39c12;
    flex-shrink: 0;
}

.footer .contact-info a {
    color: white !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.2rem 0;
}
.footer .contact-info a:hover {
    color: #f39c12 !important;
    text-decoration: underline;
    transform: translateX(2px);
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-links a {
    color: white !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
}

.legal-links a:hover {
    color: #f39c12 !important;
    text-decoration: underline;
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    font-size: 1rem;
    color: white;
    font-weight: 500;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        justify-items: center;
    }
    .footer-section {
        align-items: center;
    }
    .footer-logo {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .benefits-categories {
        gap: 2rem;
        margin: 0 1rem;
    }
    
    .benefit-category {
        padding: 2rem;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .category-header h2 {
        font-size: 1.5rem;
    }
    
    .benefit-item span {
        font-size: 1rem;
    }
    
    .product-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .testimonial-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .testimonial-card:nth-child(3) {
        grid-column: 1;
        max-width: none;
    }
    
    .about-hippofy h1 {
        font-size: 2.2rem;
    }
    
    .about-content {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    /* Hide desktop table, show mobile cards */
    .pricing-table-desktop {
        display: none;
    }
    
    .pricing-cards-mobile {
        display: flex;
    }
    
    .pricing-table {
        font-size: 0.8rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 1rem 0.5rem;
    }
    
    .pricing-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .vat-disclaimer {
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
        font-size: 1.1rem;
        gap: 0.8rem;
    }
    
    .contact-info .icon {
        font-size: 1.2rem;
    }
    
    .footer .contact-info a {
        font-size: 1.1rem;
        color: white !important;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
    
    .contact-message {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .contact-message p {
        font-size: 1rem;
    }

    .contact h1 {
        font-size: 2.2rem;
    }
    
    .contact-info-simple {
        margin: 1.5rem 1rem 0;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .contact-section {
        padding: 1rem;
    }
    
    .contact-section h3 {
        font-size: 1.2rem;
    }
    
    .contact-info-simple p {
        font-size: 1rem;
        font-weight: 500;
        color: #000000;
        font-family: 'Raleway', sans-serif;
    }
    
    .contact-info-simple a {
        font-size: 1rem;
        font-weight: 500;
        color: #000000 !important;
        font-family: 'Raleway', sans-serif;
    }
    
    .contact-info-simple a:hover {
        color: #f39c12 !important;
    }
    
    .contact-info-simple .icon {
        font-size: 1.4rem;
        width: 30px;
        height: 30px;
    }
    
    .contact-info-simple .icon i {
        font-size: 1.4rem;
    }
    
    .directions {
        padding: 1rem;
        margin: 0;
    }
    
    .directions li {
        font-size: 1rem;
        font-weight: 500;
        color: #000000;
        font-family: 'Raleway', sans-serif;
        line-height: 1.6;
        padding: 0.8rem 0 0.8rem 2rem;
        margin-bottom: 0.6rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        border-left: 3px solid #556b2f;
    }
    
    .directions li::before {
        left: 0.6rem;
        width: 1.5rem;
        height: 1.5rem;
        font-size: 1.1rem;
    }
    
    /* Additional mobile optimizations for pricing cards */
    .pricing-card {
        padding: 1.2rem;
    }
    
    .pricing-card-header h3 {
        font-size: 1.2rem;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    .detail-label,
    .detail-value {
        font-size: 0.85rem;
    }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .pricing-card {
        padding: 1rem;
    }
    
    .pricing-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .price-highlight {
        text-align: left;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .detail-label {
        color: #bdc3c7;
        font-size: 0.8rem;
    }
    
    /* Contact section improvements for very small screens */
    .contact-info-simple {
        margin: 1rem 0.5rem 0;
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-section {
        padding: 0.8rem;
    }
    
    .contact-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-info-simple p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #000000;
    }
    
    .contact-info-simple a {
        font-size: 0.95rem;
        word-break: break-all;
        color: #000000 !important;
    }
    
    .footer .contact-info a {
        color: white !important;
    }
    
    .directions {
        padding: 0.8rem;
        margin: 0;
    }
    
    .directions li {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0.7rem 0 0.7rem 1.8rem;
        margin-bottom: 0.5rem;
        background: white;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
        border-left: 2px solid #556b2f;
        color: #000000;
    }
    
    .directions li::before {
        left: 0.5rem;
        width: 1.3rem;
        height: 1.3rem;
        font-size: 1rem;
    }
    
    .contact-info-simple .icon {
        font-size: 1.2rem;
        width: 24px;
        height: 24px;
    }
    
    .contact-info-simple .icon i {
        font-size: 1.2rem;
    }
    
    .footer .contact-info a {
        color: white !important;
    }
    
    .detail-value {
        color: white;
        font-size: 0.9rem;
        font-weight: 600;
    }
} 

/* Globale h2 und h3 Styles */
h2, h3 {
    font-family: 'Siffon', sans-serif;
}

/* Spezifische h2 und h3 Styles für verschiedene Bereiche */
.about h1, .pricing h1, .products h1, .contact h1 {
    font-family: 'Drupadi', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #556b2f;
    font-weight: bold;
}

.category-header h2, .product-content h3, .contact-section h3 {
    font-family: 'Siffon', sans-serif;
    color: #556b2f;
    font-weight: bold;
}

.contact-details h3 {
    font-family: 'Siffon', sans-serif;
    margin: 0 0 0.5rem 0;
    color: #556b2f;
    font-size: 1.2rem;
    font-weight: bold;
} 

/* Alle anderen Textelemente in Raleway */
p, span, div, a, li, td, th, label, input, textarea, button {
    font-family: 'Raleway', sans-serif;
} 

/* Installation Notice */
.installation-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.exclamation-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exclamation-icon i {
    font-size: 1.2rem;
    color: #f39c12;
    transition: all 0.3s ease;
}

.exclamation-icon i:hover {
    color: white;
    transform: scale(1.1);
}

.installation-notice p {
    margin: 0;
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
} 

/* Pickup Discount */
.pickup-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 8px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.discount-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discount-icon i {
    font-size: 1.2rem;
    color: #28a745;
    transition: all 0.3s ease;
}

.discount-icon i:hover {
    color: #1e7e34;
    transform: scale(1.1);
}

.pickup-discount p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

/* Mattenplaner Section */
.mattenplaner-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.mattenplaner-section h1 {
    font-family: 'Drupadi', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #556b2f;
    font-weight: bold;
}

.mattenplaner-section .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.mattenplaner-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(85, 107, 47, 0.1);
    padding: 2rem;
    font-family: 'Raleway', sans-serif;
}

.input-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.input-section h2 {
    font-family: 'Siffon', sans-serif;
    font-size: 1.4rem;
    color: #556b2f;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-header i {
    color: #556b2f;
    font-size: 1.2rem;
}

.input-section p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.dimension-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-with-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-unit input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    padding-right: 2.5rem;
}

.input-with-unit input:focus {
    outline: none;
    border-color: #556b2f;
    box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.1);
}

.input-with-unit .unit {
    position: absolute;
    right: 0.75rem;
    color: #666;
    font-weight: 500;
    pointer-events: none;
}

.mat-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mat-option {
    position: relative;
}

.mat-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mat-option label {
    display: block;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.mat-option label:hover {
    border-color: #556b2f;
    background: #f8f9fa;
}

.mat-option input[type="radio"]:checked + label {
    border-color: #556b2f;
    background: rgba(85, 107, 47, 0.05);
    position: relative;
}

.mat-option input[type="radio"]:checked + label::after {
    content: "✓";
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #556b2f;
    font-weight: bold;
    font-size: 1.2rem;
}

.mat-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mat-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.mat-dimensions {
    color: #666;
    font-size: 0.9rem;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #556b2f;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.toggle-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.calculate-button {
    width: 100%;
    background: #556b2f;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    margin-bottom: 1rem;
}

.calculate-button:hover {
    background: #4a5f2a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(85, 107, 47, 0.3);
}

.info-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(85, 107, 47, 0.1);
    border: 1px solid rgba(85, 107, 47, 0.2);
    border-radius: 8px;
    color: #556b2f;
    font-size: 0.9rem;
}

.info-notice i {
    font-size: 1.1rem;
}

.results-container {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(85, 107, 47, 0.1);
    padding: 2rem;
}

.results-container h2 {
    font-family: 'Drupadi', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #556b2f;
    font-weight: bold;
}

.results-container .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.calculation-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.calculation-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: rgba(85, 107, 47, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(85, 107, 47, 0.1);
    min-height: 80px;
    justify-content: center;
}

.summary-label {
    color: #556b2f;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
}

/* Responsive Design für mobile Geräte */
@media (max-width: 768px) {
    .calculation-summary {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .summary-item {
        min-height: 70px;
        padding: 12px;
    }
    
    .summary-label {
        font-size: 0.8rem;
    }
    
    .summary-value {
        font-size: 1.1rem;
    }
}

.layout-visualization {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layout-container {
    position: relative;
    border: 3px solid #556b2f;
    border-radius: 8px;
    background: #f0f0f0; /* Grauer Hintergrund für die Box */
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-height: 200px;
}

.mat-element {
    border: 2px solid rgba(0,0,0,0.3);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 4px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 30px;
    min-width: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    position: absolute;
}

.mat-element:hover {
    transform: scale(1.05);
    z-index: 20;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.mat-element.full-mat {
    background: #556b2f; /* Grün für vollständige Matten */
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.3);
}

.mat-element.cut-mat {
    background: #F5A623; /* Orange für zugeschnittene Matten */
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.3);
}

.gap-info {
    margin-top: 1rem;
    width: 100%;
}

.gap-info div {
    text-align: center;
    padding: 8px;
    background: rgba(85, 107, 47, 0.1);
    border-radius: 4px;
    font-size: 0.8rem;
    color: #556b2f;
    border: 1px solid rgba(85, 107, 47, 0.2);
}

/* Responsive Design für Mattenplaner */
@media (max-width: 1024px) {
    .mattenplaner-section {
        padding: 4rem 0;
    }
    
    .mattenplaner-section h1 {
        font-size: 2.2rem;
    }
    
    .mattenplaner-content {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mattenplaner-section {
        padding: 3rem 0;
    }
    
    .mattenplaner-section h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .mattenplaner-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .mattenplaner-content {
        max-width: calc(100% - 1.5rem);
        margin: 0 auto;
        padding: 1.25rem;
    }
    
    .dimension-inputs {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .calculation-summary {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .input-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .input-section h2 {
        font-size: 1.2rem;
    }
    
    .results-container {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 600px) {
    .mattenplaner-section {
        padding: 2.5rem 0;
    }
    
    .mattenplaner-section h1 {
        font-size: 1.6rem;
    }
    
    .mattenplaner-section .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .mattenplaner-content {
        max-width: calc(100% - 1rem);
        padding: 1rem;
    }
    
    .input-section h2 {
        font-size: 1.1rem;
    }
    
    .input-section p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .mattenplaner-section {
        padding: 2rem 0;
    }
    
    .mattenplaner-section h1 {
        font-size: 1.4rem;
        line-height: 1.1;
    }
    
    .mattenplaner-section .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .mattenplaner-content {
        max-width: calc(100% - 0.5rem);
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .input-section {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .input-section h2 {
        font-size: 1rem;
    }
    
    .input-section p {
        font-size: 0.85rem;
    }
    
    .results-container {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .mat-element {
        font-size: 0.8rem;
        min-height: 35px;
    }
    
    .mat-dimensions {
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .mattenplaner-section {
        padding: 1.5rem 0;
    }
    
    .mattenplaner-section h1 {
        font-size: 1.2rem;
    }
    
    .mattenplaner-section .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .mattenplaner-content {
        max-width: calc(100% - 0.25rem);
        padding: 0.5rem;
    }
    
    .input-section {
        padding: 0.5rem;
    }
    
    .input-section h2 {
        font-size: 0.95rem;
    }
    
    .input-section p {
        font-size: 0.8rem;
    }
} 