/* AliExpress Deutschland Guide - Custom Styles */

/* CSS Custom Properties */
:root {
  --primary-color: #e53935;
  --primary-dark: #c62828;
  --primary-light: #ff6f60;
  --secondary-color: #ff6d00;
  --accent-color: #ffc107;
  --dark-bg: #1a1a2e;
  --darker-bg: #0f0f1a;
  --light-bg: #f8f9fa;
  --card-bg: #ffffff;
  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --text-light: #b2bec3;
  --text-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.7; color: var(--text-primary); background: var(--light-bg); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.3; color: var(--text-primary); }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
p { font-size: 1.0625rem; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.05); z-index: 1000; transition: var(--transition-normal); }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 42px; width: auto; }
.logo-text { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--primary-color); }
.logo-text span { color: var(--text-primary); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 500; color: var(--text-secondary); position: relative; padding: 8px 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: var(--transition-fast); }
.nav-links a:hover { color: var(--primary-color); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; font-weight: 600; border: none; border-radius: var(--radius-md); cursor: pointer; transition: var(--transition-normal); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); color: var(--text-white); box-shadow: 0 4px 16px rgba(229, 57, 53, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(229, 57, 53, 0.4); }
.btn-secondary { background: var(--card-bg); color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background: var(--primary-color); color: var(--text-white); }
.btn-outline { background: transparent; color: var(--text-primary); border: 2px solid var(--border-color); }
.btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition-fast); }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-height) + 60px) 0 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 20% 20%, rgba(229, 57, 53, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(255, 109, 0, 0.06) 0%, transparent 50%), linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--light-bg) 100%); z-index: 0; }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text { max-width: 580px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(229, 57, 53, 0.1); color: var(--primary-color); font-size: 0.875rem; font-weight: 600; border-radius: 50px; margin-bottom: 24px; }
.hero-title { margin-bottom: 24px; background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-dark) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 40px; line-height: 1.8; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-color); }
.stat-item { text-align: left; }
.stat-number { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--primary-color); line-height: 1; }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); margin-top: 4px; }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.hero-image::before { content: ''; position: absolute; top: -20px; right: -20px; width: 200px; height: 200px; background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%); border-radius: 50%; opacity: 0.2; z-index: -1; }

.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-badge { display: inline-block; padding: 6px 16px; background: rgba(229, 57, 53, 0.1); color: var(--primary-color); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 50px; margin-bottom: 16px; }
.section-title { margin-bottom: 16px; }
.section-description { color: var(--text-secondary); font-size: 1.125rem; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { background: var(--card-bg); padding: 40px 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: var(--transition-normal); border: 1px solid transparent; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(229, 57, 53, 0.1); }
.feature-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(229, 57, 53, 0.1) 0%, rgba(255, 109, 0, 0.1) 100%); border-radius: var(--radius-md); margin-bottom: 24px; font-size: 28px; }
.feature-title { margin-bottom: 12px; }
.feature-description { color: var(--text-secondary); font-size: 0.9375rem; }

.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.guide-card { display: flex; background: var(--card-bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition-normal); }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.guide-image { width: 200px; flex-shrink: 0; overflow: hidden; }
.guide-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-normal); }
.guide-card:hover .guide-image img { transform: scale(1.05); }
.guide-content { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.guide-tag { display: inline-block; padding: 4px 12px; background: rgba(229, 57, 53, 0.1); color: var(--primary-color); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; border-radius: 50px; margin-bottom: 12px; width: fit-content; }
.guide-title { margin-bottom: 8px; font-size: 1.25rem; }
.guide-title a:hover { color: var(--primary-color); }
.guide-excerpt { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 16px; }
.guide-link { color: var(--primary-color); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.guide-link:hover { gap: 10px; }

.cta-section { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%); padding: 100px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 30% 50%, rgba(229, 57, 53, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 70% 50%, rgba(255, 109, 0, 0.1) 0%, transparent 50%); }
.cta-content { position: relative; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-section .section-title { color: var(--text-white); }
.cta-section .section-description { color: var(--text-light); margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.content-section { background: var(--card-bg); padding: 80px 0; }
.content-wrapper { max-width: 900px; margin: 0 auto; }
.content-wrapper h2 { margin-top: 48px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-color); }
.content-wrapper h3 { margin-top: 36px; margin-bottom: 16px; color: var(--primary-dark); }
.content-wrapper h4 { margin-top: 28px; margin-bottom: 12px; }
.content-wrapper p { margin-bottom: 20px; color: var(--text-secondary); }
.content-wrapper ul, .content-wrapper ol { margin-bottom: 24px; padding-left: 24px; }
.content-wrapper li { margin-bottom: 12px; color: var(--text-secondary); position: relative; padding-left: 24px; }
.content-wrapper ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-color); font-weight: 600; }
.content-wrapper ol { counter-reset: item; }
.content-wrapper ol li { counter-increment: item; }
.content-wrapper ol li::before { content: counter(item) '.'; position: absolute; left: 0; color: var(--primary-color); font-weight: 700; }
.content-wrapper blockquote { background: rgba(229, 57, 53, 0.05); border-left: 4px solid var(--primary-color); padding: 24px 32px; margin: 32px 0; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.content-wrapper blockquote p { margin-bottom: 0; font-style: italic; color: var(--text-primary); }

.tip-box { background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 109, 0, 0.1) 100%); border: 1px solid rgba(255, 193, 7, 0.3); padding: 24px 32px; border-radius: var(--radius-md); margin: 32px 0; }
.tip-box-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--secondary-color); margin-bottom: 12px; }

.content-image { margin: 40px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.content-image img { width: 100%; }
.content-image figcaption { background: var(--light-bg); padding: 12px 20px; font-size: 0.875rem; color: var(--text-secondary); text-align: center; }

.toc { background: var(--light-bg); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 48px; }
.toc-title { font-size: 1.25rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.toc-list { padding-left: 0; }
.toc-list li { padding-left: 0; margin-bottom: 8px; }
.toc-list li::before { display: none; }
.toc-list a { color: var(--primary-color); font-weight: 500; }
.toc-list a:hover { text-decoration: underline; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border-radius: var(--radius-md); margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { padding: 24px 32px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition-fast); }
.faq-question:hover { color: var(--primary-color); }
.faq-answer { padding: 0 32px 24px; color: var(--text-secondary); }

.footer { background: var(--dark-bg); color: var(--text-light); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand p { margin-top: 20px; font-size: 0.9375rem; line-height: 1.8; }
.footer-title { color: var(--text-white); font-size: 1rem; font-weight: 600; margin-bottom: 24px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-light); font-size: 0.9375rem; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--primary-color); }
.footer-contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 0.9375rem; }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.875rem; }

.page-header { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%); padding: calc(var(--header-height) + 60px) 0 80px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 20% 50%, rgba(229, 57, 53, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(255, 109, 0, 0.08) 0%, transparent 50%); }
.page-header-content { position: relative; text-align: center; max-width: 800px; margin: 0 auto; }
.page-header .breadcrumb { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; font-size: 0.875rem; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb span { color: var(--primary-color); }
.page-header h1 { color: var(--text-white); margin-bottom: 20px; }
.page-header p { color: var(--text-light); font-size: 1.25rem; }

.guides-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.guide-card-vertical { background: var(--card-bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition-normal); }
.guide-card-vertical:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.guide-card-vertical .guide-image { width: 100%; height: 200px; }
.guide-card-vertical .guide-content { padding: 28px; }

.trust-content { max-width: 800px; margin: 0 auto; }
.trust-content h2 { margin-top: 48px; margin-bottom: 20px; }
.trust-content h3 { margin-top: 32px; margin-bottom: 16px; }
.trust-content p { color: var(--text-secondary); margin-bottom: 16px; }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-switcher-btn { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: transparent; border: 1px solid var(--border-color); border-radius: var(--radius-sm); cursor: pointer; font-size: 0.875rem; color: var(--text-secondary); transition: var(--transition-fast); }
.lang-switcher-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.lang-dropdown { position: absolute; top: 100%; right: 0; margin-top: 8px; background: var(--card-bg); border-radius: var(--radius-md); box-shadow: var(--shadow-md); min-width: 160px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition-fast); z-index: 100; }
.lang-switcher:hover .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 0.875rem; color: var(--text-secondary); transition: var(--transition-fast); }
.lang-dropdown a:hover { background: var(--light-bg); color: var(--primary-color); }
.lang-dropdown a.active { color: var(--primary-color); font-weight: 600; }

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { max-width: 100%; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { max-width: 500px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-grid { grid-template-columns: 1fr; }
  .guides-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--card-bg); flex-direction: column; padding: 24px; gap: 16px; box-shadow: var(--shadow-md); }
  .nav-links.active { display: flex; }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .guide-card { flex-direction: column; }
  .guide-card .guide-image { width: 100%; height: 200px; }
  .guides-list { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; text-align: center; }
  .stat-item { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
  .cta-section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }
::selection { background: rgba(229, 57, 53, 0.2); color: var(--primary-dark); }

