/* ===== FOLIENMARKT TEMPLATE CSS - ERWEITERTE VERSION ===== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* ===== HEADER STYLES ===== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* ===== DESKTOP NAVIGATION ===== */
.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-link:hover {
    color: #0066cc;
    background-color: #f8f9fa;
}

.nav-link.phone {
    background: #0066cc;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link.phone:hover {
    background: #0052a3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

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

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

.mobile-nav-link.phone {
    background: #0066cc;
    color: white;
    font-weight: 600;
    margin-top: 10px;
}

.mobile-nav-link.phone:hover {
    background: #0052a3;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: #6c757d;
    font-weight: bold;
}

.breadcrumb-list a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
    color: #6c757d;
    font-weight: 500;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== TABLE OF CONTENTS ===== */
.toc {
    background: #f8f9fa;
    padding: 60px 0;
}

.toc-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #333;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #0066cc;
}

.toc-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.toc-number {
    background: #0066cc;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

/* ===== MAIN CONTENT ===== */
.main {
    padding: 40px 0;
}

.main-content {
    min-height: 60vh;
    padding: 40px 0;
}

/* ===== CATEGORY SECTIONS ===== */
.category-section {
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.category-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    max-width: 100%;
}

.category-header.reverse {
    grid-template-columns: 1fr 1fr;
}

.category-header.reverse .category-content {
    order: 2;
}

.category-header.reverse .category-image {
    order: 1;
}

.category-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-title {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.category-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #0066cc;
    margin-bottom: 20px;
}

.category-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

/* ===== CATEGORY DETAILS ===== */
.category-details {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 20px;
    margin-top: 40px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.detail-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 10px;
}

.detail-card ul {
    list-style: none;
}

.detail-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.detail-card li:last-child {
    border-bottom: none;
}

.detail-card li strong {
    color: #0066cc;
}

.detail-card li:has(✓) {
    color: #28a745;
    font-weight: 500;
}

/* ===== CTA BUTTONS ===== */
.cta-button {
    display: inline-block;
    background: #ff6600;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
    color: white;
}

.cta-button.primary {
    background: #0066cc;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.cta-button.primary:hover {
    background: #0052a3;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: #ff6600;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    opacity: 0.6;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

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

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.category-section {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .toc-title {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 2.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Header Mobile */
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        padding: 12px 0;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* TOC Mobile */
    .toc {
        padding: 40px 0;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .toc-title {
        font-size: 2rem;
    }
    
    /* Category Mobile */
    .category-header {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .category-header.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .category-header.reverse .category-content {
        order: 2;
    }

    .category-header.reverse .category-image {
        order: 1;
    }
    
    .category-title {
        font-size: 1.76rem;
    }
    
    .category-details {
        padding: 30px 20px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .detail-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .detail-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .detail-card li {
        padding: 10px 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* CTA Mobile */
    .cta-title {
        font-size: 1.76rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
        display: block;
        text-align: center;
        margin: 10px auto;
        max-width: 280px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    /* Breadcrumb Mobile */
    .breadcrumb {
        padding: 8px 0;
    }
    
    .breadcrumb-list {
        font-size: 0.9rem;
    }
    
    /* Main Content Mobile */
    .main-content {
        padding: 20px 0;
    }
    
    /* Spezifische H2-Anpassungen für mobile Geräte */
    h2 {
        font-size: 1.6rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .toc-title {
        font-size: 1.6rem;
    }
    
    .category-title {
        font-size: 1.44rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .mobile-nav {
        padding: 15px;
    }
    
    .mobile-nav-link {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .category-details {
        padding: 20px 15px;
    }
    
    .detail-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .detail-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .detail-card li {
        padding: 8px 0;
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .cta-title {
        font-size: 1.44rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* Spezifische H2-Anpassungen für sehr kleine mobile Geräte */
    h2 {
        font-size: 1.28rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.nav-link:focus,
.mobile-nav-link:focus,
.cta-button:focus,
.mobile-menu-toggle:focus,
.toc-item:focus {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link:hover {
        background-color: #000;
        color: #fff;
    }
    
    .cta-button {
        border: 2px solid #000;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .breadcrumb,
    .toc,
    .cta-section,
    .footer,
    .mobile-menu-toggle,
    .mobile-nav {
        display: none;
    }
    
    .main,
    .main-content {
        padding: 0;
    }
    
    .category-section {
        page-break-inside: avoid;
        margin-bottom: 40px;
    }
    
    .hero {
        background: none;
        color: #000;
        padding: 20px 0;
    }
    
    .cta-button {
        background: none;
        color: #000;
        border: 2px solid #000;
    }
}

/* ===== SKIP LINKS ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #0066cc;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: bold;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* ===== FOOTER LINKS ===== */
.footer-phone,
.footer-email {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-phone:hover,
.footer-email:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ===== ARIA SUPPORT ===== */
[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== ADDITIONAL STYLES FROM OLD CSS ===== */

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* TOC Active States */
.toc-item.active {
    background: #0066cc !important;
    color: white !important;
    transform: scale(1.05);
}

.toc-item.active .toc-number {
    background: white !important;
    color: #0066cc !important;
}

.toc-item.active .toc-text {
    color: white !important;
}

/* Header Scrolled State */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Image Loading States */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Keyboard Navigation */
body:not(.keyboard-navigation) *:focus {
    outline: none;
}

.keyboard-navigation *:focus {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}



/* ===== CONTACT PAGE STYLES ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 1rem;
}

.contact-email {
    font-size: 1.1rem;
    font-weight: 500;
    color: #0066cc;
    margin-top: 1rem;
}

.contact-link {
    display: inline-block;
    background: #ff6600;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact-link:hover {
    background: #e55a00;
    color: white;
    text-decoration: none;
}

.whatsapp-link {
    background: #25D366;
}

.whatsapp-link:hover {
    background: #20b358;
}

.superchat-link {
    background: #0066cc;
}

.superchat-link:hover {
    background: #0052a3;
}

.opening-hours {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #0066cc;
    text-align: left;
}

.contact-additional-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.contact-additional-info h3 {
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-additional-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Active navigation link */
.nav-link.active,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

/* Mobile responsiveness for contact page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        font-size: 2.5rem;
    }
    
    .contact-title {
        font-size: 1.3rem;
    }
    
    .contact-additional-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .contact-additional-info h3 {
        font-size: 1.3rem;
    }
    
    .contact-additional-info p {
        font-size: 1rem;
    }
}

