/* ==========================================================================
   Bordershop Puttgarden Angebote - Stylesheet
   URL: https://puttgardenrodby.de/shopping/bordershop-puttgarden-angebote.html
   Version: 1.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design System)
   -------------------------------------------------------------------------- */
:root {
    /* Primary Colors */
    --primary-color: #005D8A;
    --primary-dark: #004A6F;
    --primary-light: #0077B3;
    --secondary-color: #00A0E6;
    
    /* Accent Colors */
    --accent-color: #FF6B35;
    --accent-light: #FF8A65;
    --accent-dark: #E65A2C;
    
    /* Shopping/Bordershop Theme Colors */
    --shop-gold: #D4AF37;
    --shop-burgundy: #722F37;
    --shop-cream: #FFF8E7;
    --danish-red: #C8102E;
    
    /* Status Colors */
    --success-color: #28A745;
    --warning-color: #FFC107;
    --info-color: #17A2B8;
    --danger-color: #DC3545;
    
    /* Neutral Colors */
    --dark-color: #2C3E50;
    --gray-900: #1A1A2E;
    --gray-800: #2D3748;
    --gray-700: #4A5568;
    --gray-600: #718096;
    --gray-500: #A0AEC0;
    --gray-400: #CBD5E0;
    --gray-300: #E2E8F0;
    --gray-200: #EDF2F7;
    --gray-100: #F7FAFC;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    --gradient-shop: linear-gradient(135deg, var(--shop-burgundy) 0%, #8B4557 100%);
    --gradient-gold: linear-gradient(135deg, var(--shop-gold) 0%, #E6C555 100%);
    --gradient-dark: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    --gradient-ocean: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 50%, #00B4D8 100%);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-colored: 0 10px 40px rgba(0, 93, 138, 0.3);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.3);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Typography */
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --------------------------------------------------------------------------
   Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -50px;
    left: var(--space-md);
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    z-index: 10000;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: var(--space-md);
    color: var(--white);
    outline: 3px solid var(--warning-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--space-md) 0;
}

.navbar-brand {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.navbar-brand:hover {
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: var(--space-sm) var(--space-md) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: var(--space-sm);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    background: var(--gradient-shop);
    color: var(--white);
    padding: var(--space-4xl) 0 var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--shop-gold);
    color: var(--gray-900);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-gold);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    max-width: 600px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--shop-gold);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Button Styles
   -------------------------------------------------------------------------- */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    border: none;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--gray-900);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover,
.btn-gold:focus {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    color: var(--gray-900);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: var(--white);
    color: var(--shop-burgundy);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Section Styles
   -------------------------------------------------------------------------- */
.section {
    padding: var(--space-3xl) 0;
}

.section-light {
    background: var(--gray-100);
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--dark-color);
    margin-bottom: var(--space-md);
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: none;
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
}

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

.card-header {
    padding: var(--space-lg);
    border-bottom: none;
}

.card-body {
    padding: var(--space-lg);
}

.card-footer {
    padding: var(--space-lg);
    background: var(--gray-100);
    border-top: none;
}

/* Floor Cards - Etagen-Übersicht */
.floor-card {
    position: relative;
    overflow: hidden;
}

.floor-card .floor-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gray-900);
    box-shadow: var(--shadow-gold);
}

.floor-card .card-header {
    background: var(--gradient-shop);
    color: var(--white);
}

.floor-card .floor-title {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.floor-card .product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.floor-card .product-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.floor-card .product-list li:last-child {
    border-bottom: none;
}

.floor-card .product-list li i {
    color: var(--shop-gold);
}

/* Product Category Cards */
.category-card {
    text-align: center;
    padding: var(--space-xl);
}

.category-card .category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2rem;
    color: var(--white);
}

.category-card .category-count {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--shop-burgundy);
    display: block;
}

/* --------------------------------------------------------------------------
   Insider Tips
   -------------------------------------------------------------------------- */
.insider-tip {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3CD 100%);
    border-left: 4px solid var(--shop-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
    position: relative;
}

.insider-tip::before {
    content: '💡';
    position: absolute;
    top: -15px;
    left: var(--space-lg);
    font-size: 1.5rem;
    background: var(--white);
    padding: var(--space-xs);
    border-radius: var(--radius-full);
}

.insider-tip h4 {
    color: var(--shop-burgundy);
    margin-bottom: var(--space-sm);
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE8E8 100%);
    border-left: 4px solid var(--danger-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
}

.warning-box h4 {
    color: var(--danger-color);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #E8F4FD 0%, #D1E9F6 100%);
    border-left: 4px solid var(--info-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
}

/* --------------------------------------------------------------------------
   Opening Hours Table
   -------------------------------------------------------------------------- */
.hours-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hours-table th,
.hours-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
}

.hours-table thead {
    background: var(--gradient-shop);
    color: var(--white);
}

.hours-table tbody tr {
    background: var(--white);
    transition: background var(--transition-fast);
}

.hours-table tbody tr:nth-child(even) {
    background: var(--gray-100);
}

.hours-table tbody tr:hover {
    background: var(--shop-cream);
}

.hours-table .today {
    background: var(--shop-cream) !important;
    font-weight: 700;
}

.hours-table .today td:first-child::before {
    content: '👉 ';
}

/* --------------------------------------------------------------------------
   Prospekt/Catalog Section
   -------------------------------------------------------------------------- */
.prospekt-section {
    background: var(--gradient-dark);
    color: var(--white);
    padding: var(--space-3xl) 0;
}

.prospekt-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prospekt-card .prospekt-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-section {
    background: var(--gray-100);
}

.accordion-item {
    border: none;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: var(--space-lg);
    background: var(--white);
    color: var(--dark-color);
    border-radius: var(--radius-lg) !important;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(0, 93, 138, 0.3);
}

.accordion-button::after {
    background-size: 1.25rem;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: var(--space-lg);
    background: var(--white);
}

/* --------------------------------------------------------------------------
   Zoll/Customs Info
   -------------------------------------------------------------------------- */
.customs-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.customs-card .customs-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-xl);
}

.customs-card .customs-body {
    padding: var(--space-xl);
}

.customs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.customs-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

.customs-list li:last-child {
    border-bottom: none;
}

.customs-list .amount {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    min-width: 100px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.site-footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: var(--space-sm);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
}

/* --------------------------------------------------------------------------
   Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.back-to-top:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */

/* Extra Small Devices (< 375px) */
@media (max-width: 374px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
}

/* Small Devices (375px - 575px) */
@media (min-width: 375px) and (max-width: 575px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Devices (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        padding: var(--space-4xl) 0;
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    .hero-section {
        padding: 5rem 0 4rem;
    }
    
    .navbar-nav {
        gap: var(--space-sm);
    }
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

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

/* --------------------------------------------------------------------------
   High Contrast Mode
   -------------------------------------------------------------------------- */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    }
    
    .card {
        border: 2px solid var(--dark-color);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: var(--dark-color) !important;
        padding: var(--space-lg) 0;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--gray-400);
    }
}