/* ECKTREFF KIOSK - CSS Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Facebook Icon global override */
.fab.fa-facebook {
    color: #4267B2 !important;
}

a .fab.fa-facebook {
    color: #4267B2 !important;
}

/* Post Page - Deutsche Post DHL Colors */
:root {
    --primary-black: #1a1a1a;
    --primary-red: #dc2626;
    --secondary-red: #ef4444;
    --light-red: #fecaca;
    --dark-gray: #2d2d2d;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-light: #e5e5e5;
    --border-color: #404040;
    
    /* Deutsche Post DHL Colors */
    --dhl-yellow: #ffcc00;
    --dhl-red: #d40511;
    --post-blue: #0066cc;
    --post-yellow: #ffcc00;
    
    /* EcktreffKiosk Logo Colors */
    --logo-red: #e31e24;
    --logo-black: #1a1a1a;
    --logo-white: #ffffff;
    --logo-red-light: rgba(227, 30, 36, 0.8);
    --logo-red-dark: rgba(227, 30, 36, 0.9);
}

/* Allgemeine Hintergrund-Regel für alle Seiten */

/* Post page header styling */
.post-page .page-header {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.9) 0%, rgba(212, 5, 17, 0.9) 100%);
    color: white;
}

.post-page .page-header h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.post-page .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Post services styling */
.post-page .services-intro {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.2) 0%, rgba(212, 5, 17, 0.2) 100%);
    border: 2px solid var(--dhl-yellow);
}

.post-page .services-intro h2 {
    color: var(--dhl-yellow);
}

.post-page .service-item.detailed {
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid var(--dhl-yellow);
    transition: all 0.3s ease;
}

.post-page .service-item.detailed:hover {
    border-color: var(--dhl-red);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
}

.post-page .service-item.detailed h3 {
    color: var(--dhl-yellow);
}

.post-page .service-item.detailed i {
    color: var(--dhl-yellow);
}

.post-page .service-item.detailed li:before {
    color: var(--dhl-red);
}

/* Post opening hours styling */
.post-page .opening-hours-post h2 {
    color: var(--dhl-yellow);
}

.post-page .hours-card {
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid var(--dhl-yellow);
}

.post-page .hours-card h3 {
    color: var(--dhl-yellow);
    border-bottom: 2px solid var(--dhl-yellow);
}

.post-page .hours-card .time {
    color: var(--dhl-red);
}

.post-page .status-indicator-post {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.2) 0%, rgba(212, 5, 17, 0.2) 100%);
    border: 1px solid var(--dhl-yellow);
}

/* Post info section styling */
.post-page .post-info h2 {
    color: var(--dhl-yellow);
}

.post-page .info-card {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid var(--dhl-yellow);
}

.post-page .info-card h4 {
    color: var(--dhl-red);
}

.post-page .info-card h4 i {
    color: var(--dhl-yellow);
}

/* Contact CTA styling for post page */
.post-page .contact-cta {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.2) 0%, rgba(212, 5, 17, 0.2) 100%);
    border: 2px solid var(--dhl-yellow);
}

.post-page .contact-cta h3 {
    color: var(--dhl-yellow);
}

.post-page .cta-button {
    background: linear-gradient(135deg, var(--dhl-yellow) 0%, var(--dhl-red) 100%);
    color: black;
    font-weight: bold;
}

.post-page .cta-button:hover {
    background: linear-gradient(135deg, var(--dhl-red) 0%, var(--dhl-yellow) 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

/* Navigation styling for post page */
.post-page nav a {
    color: var(--text-light);
}

.post-page nav a:hover {
    color: var(--dhl-yellow);
}

.post-page nav a.active {
    color: var(--dhl-yellow);
    border-bottom: 2px solid var(--dhl-yellow);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--logo-black) !important;
    /* Hintergrundbild mit Logo-Design Overlay */
    background: 
        /* Transparenz-Overlay für 70% Sichtbarkeit */
        linear-gradient(rgba(26, 26, 26, 0.3), rgba(26, 26, 26, 0.3)),
        /* Weiße Trennlinie diagonal */
        linear-gradient(45deg, transparent 47%, rgba(255, 255, 255, 0.3) 49%, rgba(255, 255, 255, 0.3) 51%, transparent 53%),
        /* Oberes rotes Dreieck - reduzierte Transparenz */
        linear-gradient(45deg, rgba(227, 30, 36, 0.3) 0%, rgba(227, 30, 36, 0.2) 45%, transparent 50%),
        /* Unteres rotes Dreieck - reduzierte Transparenz */
        linear-gradient(225deg, rgba(227, 30, 36, 0.3) 0%, rgba(227, 30, 36, 0.2) 45%, transparent 50%),
        /* Hintergrundbild */
        url('front.jpeg'),
        /* Fallback schwarzer Hintergrund */
        var(--logo-black) !important;
    background-size: cover, cover, cover, cover, cover, auto !important;
    background-position: center, center, center, center, center, auto !important;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, auto !important;
    background-attachment: fixed !important;
}

/* Universelle Regel für alle Body-Elemente - Logo-Design mit Hintergrundbild */
html body,
body:not(.post-page),
body.main-page,
body {
    /* Hintergrundbild mit Logo-Design Overlay */
    background: 
        /* Transparenz-Overlay für 70% Sichtbarkeit */
        linear-gradient(rgba(26, 26, 26, 0.3), rgba(26, 26, 26, 0.3)),
        /* Weiße Trennlinie diagonal */
        linear-gradient(45deg, transparent 47%, rgba(255, 255, 255, 0.3) 49%, rgba(255, 255, 255, 0.3) 51%, transparent 53%),
        /* Oberes rotes Dreieck - reduzierte Transparenz */
        linear-gradient(45deg, rgba(227, 30, 36, 0.3) 0%, rgba(227, 30, 36, 0.2) 45%, transparent 50%),
        /* Unteres rotes Dreieck - reduzierte Transparenz */
        linear-gradient(225deg, rgba(227, 30, 36, 0.3) 0%, rgba(227, 30, 36, 0.2) 45%, transparent 50%),
        /* Hintergrundbild */
        url('front.jpeg'),
        /* Fallback schwarzer Hintergrund */
        var(--logo-black) !important;
    background-size: cover, cover, cover, cover, cover, auto !important;
    background-position: center, center, center, center, center, auto !important;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, auto !important;
    background-attachment: fixed !important;
}

/* Hintergrundbild front.jpeg ist jetzt aktiv mit 70% Sichtbarkeit */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
}

header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
}

/* Dünner weißer Trennstreifen zwischen Header und Navigation */
header nav {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    border-top: 2px solid white;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header nav .container {
    padding: 1rem 20px;
    justify-content: flex-end;
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

header nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    position: relative;
}

header nav a:hover {
    color: var(--primary-red);
    background: rgba(227, 30, 36, 0.1);
    transform: translateY(-2px);
}

header nav a.active {
    color: var(--primary-red);
    background: rgba(227, 30, 36, 0.15);
    font-weight: 700;
}

header nav a.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    flex-shrink: 0;
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.logo-text h1 {
    color: var(--primary-red);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.logo-text h1 i {
    margin-right: 0.5rem;
}

.tagline {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 500;
}

/* Login Button in oberer rechter Ecke */
.header-login-button {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1001;
}

.header-login-button .login-icon {
    background: var(--primary-red) !important;
    border-radius: 50% !important;
    padding: 12px !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.4) !important;
    border: 2px solid transparent !important;
    width: 44px !important;
    height: 44px !important;
    overflow: hidden !important;
}

.header-login-button .login-icon:hover {
    background: var(--secondary-red) !important;
    color: white !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.header-login-button .login-icon i {
    font-size: 1.2rem !important;
    position: relative !important;
    z-index: 1 !important;
    color: white !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.596) 0%, rgba(26, 26, 26, 0.59) 50%);
    padding: 0.5rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 38, 38, 0.2);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.status-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.status-open, .current-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-black);
    border-radius: 25px;
    border: 2px solid var(--primary-red);
    color: white;
    font-weight: 500;
}

.status-closed {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-black);
    border-radius: 25px;
    border: 2px solid #dc2626;
    color: white;
    font-weight: 500;
}

.status-open i {
    color: #10b981;
    animation: pulse 2s infinite;
}

.current-time i {
    color: var(--primary-red);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Section Styles */
section {
    padding: 0;
    position: relative;
    background: rgb(26, 26, 26, 0.9);
    backdrop-filter: blur(2px);
}

section:nth-child(even) {
    background: rgba(45, 45, 45, 0.712);
    backdrop-filter: blur(2px);
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

section h2 i {
    margin-right: 0.5rem;
}

/* Angebot Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.product-category {
    background: var(--primary-black);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.product-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.product-category i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.product-category h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-category ul {
    list-style: none;
    text-align: left;
}

.product-category li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.product-category li:last-child {
    border-bottom: none;
}

.product-category li:before {
    content: "✓";
    color: var(--primary-red);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Öffnungszeiten Section */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.hours-card {
    background: var(--primary-black);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.hours-card h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hours-card h3 i {
    margin-right: 0.5rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item.closed .time {
    color: var(--primary-red);
    font-weight: bold;
}

.day {
    font-weight: 500;
}

.time {
    color: var(--primary-red);
    font-weight: bold;
}

.note {
    text-align: center;
    margin-top: 1rem;
    color: var(--primary-red);
    font-style: italic;
    font-weight: 500;
}

/* Post Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-item {
    background: var(--primary-black);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.service-item h3 {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--text-light);
}

/* Kontakt Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.contact-item {
    background: var(--primary-black);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-red);
}

.contact-item h3 {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Footer */
footer {
    background: var(--primary-black);
    border-top: 2px solid var(--primary-red);
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

/* Social Media Icons */
.social-media {
    display: flex;
    gap: 1rem;
}

.social-media a {
    color: var(--text-light);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Facebook icon specifically blue - höchste Priorität */
.social-media a .fab.fa-facebook,
.social-media a i.fab.fa-facebook {
    color: #4267B2 !important; /* Facebook Blue - wichtig! */
}

/* Instagram icon specifically gradient colors */
.social-media a .fab.fa-instagram,
.social-media a i.fab.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #E4405F !important; /* Fallback für Browser ohne Gradient-Support */
    font-size: 1.2rem;
}

.social-media a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Spezifische Hover-Effekte für Facebook */
.social-media a:hover.facebook-link,
.social-media a[href*="facebook"]:hover {
    background: #4267B2; /* Helleres Facebook Blue */
    box-shadow: 0 4px 8px rgba(66, 103, 178, 0.4);
}

/* Spezifische Hover-Effekte für Instagram */
.social-media a:hover.instagram-link,
.social-media a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    box-shadow: 0 4px 8px rgba(228, 64, 95, 0.4);
}

.social-media a:hover .fab.fa-facebook {
    color: white !important; /* Weiß beim Hover */
}

.social-media a:hover .fab.fa-instagram {
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: white !important; /* Weiß beim Hover */
}

/* Contact page Facebook link styling */
.contact-item a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-red);
    text-decoration: underline;
}

/* Facebook icon styling on contact page */
.contact-item .fab.fa-facebook {
    color: #4267B2 !important; /* Helleres Facebook Blue - wichtig! */
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Instagram icon styling on contact page */
.contact-item .fab.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #E4405F !important; /* Fallback für Browser ohne Gradient-Support */
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.contact-item:has(.fab.fa-facebook) a {
    color: #4267B2 !important;
}

.contact-item:has(.fab.fa-instagram) a {
    color: #E4405F !important;
}

.contact-item:has(.fab.fa-facebook) a:hover {
    color: #365899 !important; /* Dunkler bei Hover */
    text-decoration: underline;
}

.contact-item:has(.fab.fa-instagram) a:hover {
    color: #c13584 !important; /* Dunkler bei Hover */
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        padding-top: 60px; /* Platz f\u00fcr den absolut positionierten Login Button */
    }

    /* Login Button auf mobilen Ger\u00e4ten */
    .header-login-button {
        position: absolute;
        top: 15px;
        right: 15px;
        transform: none;
    }

    .header-login-button .login-icon {
        padding: 10px !important;
        font-size: 1rem !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        overflow: hidden !important;
    }

    .header-login-button .login-icon i {
        font-size: 1rem !important;
        position: relative !important;
        z-index: 1 !important;
        color: white !important;
    }

    .logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .header-logo {
        height: 50px;
    }

    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    header nav .container {
        justify-content: center;
    }
    
    header nav a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    header nav a.active::after {
        bottom: -0.8rem;
        width: 25px;
        height: 2px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .status-indicator {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .products-grid,
    .hours-grid,
    .services-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 1rem 0;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    section {
        padding: 2rem 0;
    }

    .product-category,
    .hours-card,
    .service-item,
    .contact-item {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-category,
.hours-card,
.service-item,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Legal Pages Styles */
.legal-page {
    padding: 4rem 0;
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(3px);
}

.legal-page h1 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.legal-page h1 i {
    margin-right: 0.5rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.95);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Page Header Styles */
.page-header {
    padding: 4rem 0 2rem 0;
    text-align: center;
    background: rgba(45, 45, 45, 0.5);
    backdrop-filter: blur(3px);
}

.page-header h1 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-header h1 i {
    margin-right: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Navigation Active State */
nav a.active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

/* Enhanced Product Categories */
.product-category.featured {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.product-category.featured:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.2);
}

/* Special Offers Section */
.special-offers {
    margin-top: 4rem;
    text-align: center;
}

.special-offers h2 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    background: rgba(26, 26, 26, 0.95);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.highlight-item h4 {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Post Services Detail Page */
.services-intro {
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(26, 26, 26, 0.95);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.services-intro h2 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-item.detailed {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-item.detailed ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.service-item.detailed li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.service-item.detailed li:before {
    content: "✓";
    color: var(--primary-red);
    font-weight: bold;
    margin-right: 0.8rem;
}

.opening-hours-post {
    margin: 4rem 0;
    text-align: center;
}

.opening-hours-post h2 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.hours-container {
    max-width: 500px;
    margin: 0 auto;
}

.status-indicator-post {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(45, 45, 45, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: rgba(26, 26, 26, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(3px);
}

.info-card h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.info-card h4 i {
    margin-right: 0.5rem;
}

.contact-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 15px;
    border: 2px solid var(--primary-red);
}

.contact-cta h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.cta-button:hover {
    background: var(--secondary-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-section, .contact-info-section {
    background: rgba(26, 26, 26, 0.95);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.contact-form-section h2, .contact-info-section h2 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
}

/* Contact Form Styles */
.contact-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(45, 45, 45, 0.9);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--primary-red);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-button {
    background: var(--primary-red);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--secondary-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* Contact Info Section */
.contact-card {
    margin-bottom: 2rem;
}

.directions {
    margin: 2rem 0;
}

.directions h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.directions-info p {
    margin-top: 1rem;
    font-weight: 500;
    color: var(--primary-red);
}

.directions-info ul {
    margin: 0.5rem 0 1rem 1rem;
    list-style: none;
}

.directions-info li {
    padding: 0.2rem 0;
    color: var(--text-light);
}

.directions-info li:before {
    content: "→";
    color: var(--primary-red);
    margin-right: 0.5rem;
}

.special-hours {
    margin-top: 2rem;
}

.special-hours h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.info-box {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid var(--primary-red);
    border-radius: 8px;
    padding: 1rem;
}

.info-box p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Responsive for new pages */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 1.5rem;
    }
}

/* Quick Links Section */
.quick-links {
    margin-top: 3rem;
    text-align: center;
    background: rgba(26, 26, 26, 0.95);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.quick-links h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.link-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.link-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-red);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-button:hover {
    background: var(--secondary-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.link-button i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .link-buttons {
        grid-template-columns: 1fr;
    }
    
    .quick-links {
        padding: 1.5rem;
    }
}

.info-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-block h2 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-red);
    padding-left: 1rem;
}

.info-block h3 {
    color: var(--secondary-red);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.info-block p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.info-block .note {
    background: rgba(220, 38, 38, 0.1);
    border-left: 3px solid var(--primary-red);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    font-style: italic;
    color: var(--text-light);
}

.info-block ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.info-block li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.info-block a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-block a:hover {
    color: var(--secondary-red);
    text-decoration: underline;
}

.disclaimer {
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.disclaimer h3 {
    color: var(--primary-red);
    margin-top: 0;
}

.disclaimer i {
    margin-right: 0.5rem;
}

.last-updated {
    text-align: center;
    font-style: italic;
    color: var(--primary-red);
    font-weight: 500;
}

/* Responsive for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .info-block h2 {
        font-size: 1.5rem;
    }
}

/* =============================
   ANGEBOTE SEKTION
   ============================= */
.angebote-section {
    padding: 4rem 0;
    background: rgb(26, 26, 26);
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(227, 30, 36, 0.3);
    backdrop-filter: blur(10px);
}

.angebote-section h2 {
    text-align: center;
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.angebote-section h2 i {
    margin-right: 1rem;
    color: var(--primary-red);
}

.angebote-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.angebot-card {
    background: rgba(150, 141, 141, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.angebot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
}

.angebot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(227, 30, 36, 0.4);
    border-color: var(--primary-red);
}

.angebot-card h3 {
    color: var(--primary-black);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.angebot-card .content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.angebot-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.angebot-card .date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.angebot-card .date i {
    color: var(--primary-red);
}

.angebot-card .type-badge {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.angebot-card .image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    max-height: 200px;
}

.angebot-card .image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.angebot-card:hover .image img {
    transform: scale(1.05);
}

.loading-spinner {
    text-align: center;
    color: var(--text-light);
    padding: 3rem;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.loading-spinner p {
    font-size: 1.1rem;
}

.no-angebote {
    text-align: center;
    color: var(--text-light);
    padding: 3rem;
    font-style: italic;
}

.no-angebote i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
    opacity: 0.7;
}

/* Responsive Design für Angebote */
@media (max-width: 768px) {
    .angebote-section {
        padding: 2rem 0;
        margin: 1rem 0;
    }
    
    .angebote-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .angebote-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .angebot-card {
        padding: 1.5rem;
    }
    
    .angebot-card h3 {
        font-size: 1.3rem;
    }
    
    .angebot-card .meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* FACEBOOK ICON OVERRIDE - LETZTE REGEL FÜR HÖCHSTE PRIORITÄT */
footer .social-media a i.fab.fa-facebook,
footer .social-media a .fab.fa-facebook,
.footer-content .social-media a i.fab.fa-facebook,
.footer-content .social-media a .fab.fa-facebook,
a[href*="facebook"] i.fab.fa-facebook,
a[href*="facebook"] .fab.fa-facebook {
    color: #4267B2 !important;
}

/* INSTAGRAM ICON OVERRIDE - LETZTE REGEL FÜR HÖCHSTE PRIORITÄT */
footer .social-media a i.fab.fa-instagram,
footer .social-media a .fab.fa-instagram,
.footer-content .social-media a i.fab.fa-instagram,
.footer-content .social-media a .fab.fa-instagram,
a[href*="instagram"] i.fab.fa-instagram,
a[href*="instagram"] .fab.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #E4405F !important; /* Fallback */
}

footer .social-media a:hover i.fab.fa-facebook,
footer .social-media a:hover .fab.fa-facebook,
.footer-content .social-media a:hover i.fab.fa-facebook,
.footer-content .social-media a:hover .fab.fa-facebook,
a[href*="facebook"]:hover i.fab.fa-facebook,
a[href*="facebook"]:hover .fab.fa-facebook {
    color: white !important;
}

footer .social-media a:hover i.fab.fa-instagram,
footer .social-media a:hover .fab.fa-instagram,
.footer-content .social-media a:hover i.fab.fa-instagram,
.footer-content .social-media a:hover .fab.fa-instagram,
a[href*="instagram"]:hover i.fab.fa-instagram,
a[href*="instagram"]:hover .fab.fa-instagram {
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: white !important;
}