/* ============================================
   GLANZOPTIK - Light Green, Black & White
   Modern Tech Store Layout
   ============================================ */

:root {
    --green-light: #7cb342;
    --green-medium: #558b2f;
    --green-dark: #33691e;
    --green-accent: #aed581;
    --black-dark: #1a1a1a;
    --black-medium: #2d2d2d;
    --white-pure: #ffffff;
    --white-cream: #f8faf5;
    --white-warm: #f1f5e8;
    --gray-light: #e0e5db;
    --gray-medium: #9a9a8a;
    --text-dark: #1f2d1f;
    --text-medium: #5a6b5a;
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-medium: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-green: 0 15px 50px rgba(124, 179, 66, 0.25);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    background: var(--white-pure);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.label-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--green-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white-pure);
    letter-spacing: 8px;
}
.preloader-dots { display: flex; gap: 8px; margin-top: 25px; }
.preloader-dot {
    width: 10px; height: 10px;
    background: var(--green-accent);
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}
.preloader-dot:nth-child(2) { animation-delay: 0.2s; }
.preloader-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* ============================================
   HEADER - Transparent to Solid
   ============================================ */

.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: var(--transition-smooth);
}
.header.transparent { background: transparent; }
.header.solid {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    width: 100%;
    transition: var(--transition-smooth);
}
.header.solid .header-main {
    padding: 15px 60px;
}
.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white-pure);
    letter-spacing: 4px;
    transition: var(--transition-smooth);
}
.header.solid .logo { color: var(--green-dark); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--white-pure);
    position: relative;
    transition: var(--transition-smooth);
}
.header.solid .nav-links a { color: var(--text-dark); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--green-light);
    transition: var(--transition-smooth);
}
.nav-links a:hover::after { width: 100%; }
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span {
    width: 25px; height: 2px;
    background: var(--white-pure);
    transition: var(--transition-smooth);
}
.header.solid .menu-toggle span { background: var(--black-dark); }

/* ============================================
   HERO - Split Screen with Gradient
   ============================================ */

.hero-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero-left {
    background: linear-gradient(145deg, var(--black-dark) 0%, var(--green-dark) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 80px 80px 100px;
    position: relative;
    overflow: hidden;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.2) 0%, transparent 70%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-light);
    color: var(--black-dark);
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 30px;
}

.hero-title {
    color: var(--white-pure);
    margin-bottom: 10px;
}

.hero-model {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--green-accent);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.hero-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 450px;
    margin-bottom: 35px;
}

/* Price Box - Modern Card */
.price-card {
    background: var(--white-pure);
    padding: 30px 35px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: var(--shadow-green);
}

.price-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-medium);
    margin-bottom: 5px;
}

.price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1;
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-top: 5px;
}

/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--green-light);
    color: var(--black-dark);
    padding: 18px 40px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 50px;
}
.cta-btn:hover {
    background: var(--green-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
}
.cta-btn svg { width: 18px; height: 18px; }

/* Hero Right - Image with Overlays */
.hero-right {
    position: relative;
    background: var(--white-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-main {
    width: 85%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.2));
    animation: floatGlasses 5s ease-in-out infinite;
}

@keyframes floatGlasses {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
}

/* Floating Labels */
.floating-label {
    position: absolute;
    background: var(--white-pure);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.floating-label.top-right {
    top: 15%;
    right: 10%;
}

.floating-label.bottom-left {
    bottom: 15%;
    left: 10%;
}

.floating-label span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-medium);
    margin-top: 3px;
}

/* ============================================
   FEATURES - Icon Grid
   ============================================ */

.features-section {
    padding: 120px 80px;
    background: var(--white-cream);
}

.section-header-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 70px;
}

.section-header-center h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header-center p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: var(--white-pure);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.feature-box:hover {
    border-color: var(--green-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-green);
}

.feature-icon {
    width: 60px; height: 60px;
    background: var(--white-cream);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 28px; height: 28px;
    color: var(--green-dark);
}

.feature-box h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

/* ============================================
   SPECS - Technical Data Table
   ============================================ */

.specs-section {
    padding: 120px 80px;
    background: var(--white-pure);
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.specs-image {
    position: relative;
}

.specs-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
}

.specs-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--green-light);
    color: var(--black-dark);
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
}

.specs-badge-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.specs-badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.specs-content h2 {
    color: var(--text-dark);
    margin-bottom: 40px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--gray-light);
}

.specs-table td {
    padding: 18px 0;
    font-size: 0.95rem;
}

.specs-table td:first-child {
    color: var(--text-medium);
    width: 45%;
}

.specs-table td:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

/* ============================================
   GALLERY - Horizontal Scroll
   ============================================ */

.gallery-section {
    padding: 80px 0;
    background: var(--black-dark);
    overflow: hidden;
}

.gallery-section h2 {
    color: var(--white-pure);
    text-align: center;
    margin-bottom: 50px;
    padding: 0 80px;
}

.gallery-scroll {
    display: flex;
    gap: 20px;
    padding: 0 80px;
    overflow-x: auto;
    scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar { display: none; }

.gallery-item {
    flex: 0 0 350px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img { transform: scale(1.1); }

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 120px 80px;
    background: linear-gradient(135deg, var(--green-light) 0%, var(--green-dark) 100%);
    text-align: center;
}

.cta-section h2 {
    color: var(--white-pure);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-section .cta-btn {
    background: var(--white-pure);
    color: var(--green-dark);
}

.cta-section .cta-btn:hover {
    background: var(--green-accent);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--black-dark);
    color: var(--white-pure);
    padding: 80px 80px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--green-light);
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--white-pure);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.footer-col li { margin-bottom: 12px; }

.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-col a:hover { color: var(--green-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1100px) {
    .hero-split { grid-template-columns: 1fr; }
    .hero-left { padding: 160px 50px 60px; text-align: center; }
    .hero-description { margin: 0 auto 35px; }
    .price-card { margin-bottom: 30px; }
    .hero-right { min-height: 50vh; padding: 40px; }
    .floating-label { display: none; }
    .specs-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header { padding: 0 !important; }
    .header-main { padding: 15px 30px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--black-dark);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }
    .nav-links.active { display: flex; }
    .nav-links a { color: var(--white-pure); }
    .menu-toggle { display: flex; }
    .hero-left { padding: 140px 30px 50px; }
    .features-section, .specs-section { padding: 80px 30px; }
    .gallery-section h2, .gallery-scroll { padding: 0 30px; }
    .cta-section { padding: 80px 30px; }
    .footer { padding: 60px 30px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* ============================================
   ADDED PREMIUM STYLES - GLANZOPTIK
   ============================================ */

/* Disclosure Banner */
.disclosure-banner {
    background: var(--green-dark);
    color: var(--white-cream);
    padding: 8px 30px;
    text-align: center;
    font-size: 0.75rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.5px;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.solid .disclosure-banner {
    background: var(--black-dark);
}

/* Preloader German Text styling */
.preloader-text {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--green-accent);
    font-size: 1rem;
    margin-top: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes pulseText {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Footer Disclosure */
.footer-disclosure {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: left;
}

/* Cookie Table Styles */
.cookie-table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
    background: var(--white-cream);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.cookie-table th {
    background: var(--green-dark);
    color: var(--white-pure);
    padding: 15px 20px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

.cookie-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-light);
    color: var(--text-dark);
}

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

.cookie-table tr:nth-child(even) {
    background: rgba(124, 179, 66, 0.04);
}

/* Info Cards for Datenschutzerklärung and AGB */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 35px 0;
}

.info-card {
    background: var(--white-cream);
    border: 1px solid var(--gray-light);
    border-left: 4px solid var(--green-light);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-left-color: var(--green-dark);
}

.info-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 svg {
    color: var(--green-light);
    flex-shrink: 0;
}

.info-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Returns Process Step Timeline (Rückgaberecht) */
.return-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.return-step {
    background: var(--white-cream);
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.return-step:hover {
    transform: translateY(-5px);
    border-color: var(--green-light);
    box-shadow: var(--shadow-medium);
}

.return-step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    color: var(--white-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.return-step h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.return-step p {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Detail Page Custom Styles */
.rating-section {
    background: var(--white-cream);
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    padding: 35px;
    margin-top: 40px;
    box-shadow: var(--shadow-soft);
}

.rating-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    border-left: 4px solid var(--green-light);
    padding-left: 15px;
}

.rating-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.rating-bar-bg {
    height: 8px;
    background: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green-light), var(--green-medium));
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .return-grid {
        grid-template-columns: 1fr;
    }
}