:root {
    --bg-color: #030303;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent: #ffcc00; 
    --accent-glow: linear-gradient(90deg, #ffcc00, #ff9500, #ffe680, #ffcc00);
    --card-bg: rgba(20, 20, 22, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; background-color: var(--bg-color); color: var(--text-main); overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

/* Navigation & Header */
.floating-nav { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: rgba(20, 20, 22, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--card-border); border-radius: 50px; padding: 12px 30px; display: flex; align-items: center; gap: 40px; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.nav-logo { font-weight: 800; font-size: 1.1rem; background: var(--accent-glow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 300% 300%; animation: gradientMove 4s ease infinite; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--text-muted); }

.cursor-glow { position: fixed; top: 0; left: 0; width: 1000px; height: 1000px; background: radial-gradient(circle, var(--glow-color) 0%, rgba(0,0,0,0) 50%); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: -1; transition: background 0.8s ease; }

header { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8rem 2rem 2rem; position: relative; }
.badge { background: rgba(255,255,255,0.05); padding: 8px 20px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; margin-bottom: 2rem; border: 1px solid var(--card-border); }
h1 { font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 1.5rem; min-height: clamp(3.5rem, 8vw, 7rem); }
.hero-text { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-muted); max-width: 650px; margin-bottom: 3rem; }
.hero-image-container { width: 100%; max-width: 800px; height: auto; margin-top: 2rem; display: flex; align-items: center; justify-content: center; position: relative; z-index: 10; }
.hero-product-img { width: 100%; max-height: 500px; object-fit: contain; filter: drop-shadow(0 40px 60px rgba(0,0,0,0.8)); animation: float 6s ease-in-out infinite; }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }

/* Bento-Grid System */
.bento-container { max-width: 1400px; margin: 0 auto; padding: 6rem 2rem; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(300px, auto); gap: 2rem; }
.bento-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 36px; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease; transform-style: preserve-3d; }
.bento-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 36px; border: 2px solid transparent; background: var(--accent-glow) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: destination-out; mask-composite: exclude; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; z-index: 10; }
.bento-card:hover::after { opacity: 0.5; }
.card-content { padding: 3rem; z-index: 2; position: relative; }
.card-image-placeholder { position: absolute; top: 0; right: 0; width: 55%; height: 100%; border-left: 1px dashed rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.1); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; z-index: 1; mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); }

.span-1 { grid-column: span 1; } .span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; } .row-span-2 { grid-row: span 2; }
.card-icon { font-size: 3rem; margin-bottom: 1.5rem; text-shadow: 0 0 20px rgba(255,204,0,0.3); }
h3 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; transform: translateZ(30px); }
p { color: var(--text-muted); font-size: 1.15rem; transform: translateZ(15px); }
.feature-list { list-style: none; color: var(--text-muted); margin-top: 1rem; line-height: 2; transform: translateZ(15px); }

/* Batterie Balken */
.battery-stats { margin-top: 2.5rem; width: 100%; transform: translateZ(15px); }
.stat-row { display: flex; align-items: center; margin-bottom: 1.5rem; }
.stat-label { width: 180px; font-weight: 600; font-size: 1rem; }
.bar-bg { flex-grow: 1; height: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; position: relative;}
.bar-fill { height: 100%; border-radius: 4px; width: 0; transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.gradient-bar { background: var(--accent-glow); background-size: 200% 200%; animation: gradientMove 3s ease infinite; }
.stat-val { width: 90px; text-align: right; font-family: monospace; color: var(--text-muted); font-size: 1.1rem;}

@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Farbauswahl Design-Karte */
.color-selector { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; transform: translateZ(15px); }
.color-btn { width: 45px; height: 45px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.3s; }
.color-btn:hover { transform: scale(1.15); border-color: #fff; box-shadow: 0 0 20px rgba(255,255,255,0.2); }
#design { padding: 0; overflow: hidden; }
.design-centered-layout { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; }
.design-text-area { padding: 4rem 2rem 2rem 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 800px; }
.design-text-area .color-selector { justify-content: center; margin-top: 1rem; }
.design-image-area { display: flex; justify-content: center; align-items: center; width: 100%; flex-grow: 1; padding: 0 2rem 3rem 2rem; background: radial-gradient(circle at center, rgba(255,255,255,0.02) 0%, transparent 70%); }
.floating-group-img { width: auto; max-width: 100%; max-height: 500px; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8)); transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.bento-card:hover .floating-group-img { transform: scale(1.05) translateY(-10px); }

/* --- NEU: MARKTANALYSE CHART CSS --- */
.chart-container {
    width: 100%; 
    max-width: 900px; 
    background: rgba(0,0,0,0.4); 
    border-radius: 24px; 
    border: 1px solid var(--card-border);
    padding: 3rem 2rem 1rem 2rem;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

.market-chart { width: 100%; height: auto; display: block; overflow: visible; }

/* Die Animation zieht die Linie beim Hereinscrollen nach */
.reveal.active .chart-cabana-line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawLine 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.5s;
}

.reveal.active .chart-dot {
    opacity: 0;
    animation: fadeInDot 0.8s ease forwards;
    animation-delay: 3s; /* Punkt erscheint erst, wenn die Linie fertig ist */
}

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeInDot { to { opacity: 1; } }


/* --- PREISKALKULATION CSS IM BANANA-THEME --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.pricing-column { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--card-border); border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; }
.pricing-column h3 { font-size: 1.4rem; margin-bottom: 0.2rem; transform: none; }
.pricing-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem; transform: none; }

.pricing-option { border: 2px solid var(--card-border); border-radius: 16px; padding: 1.2rem; margin-bottom: 1rem; cursor: pointer; transition: all 0.3s ease; background: rgba(0,0,0,0.3); }
.pricing-option:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.pricing-option.active { border-color: var(--accent); background: rgba(255, 204, 0, 0.08); }

.option-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.opt-title { font-weight: 700; font-size: 1.05rem; }
.opt-price { font-weight: 700; }
.option-footer { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.mini-bar-bg { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 0.8rem; overflow: hidden; }
.mini-bar-fill { height: 100%; background: var(--accent-glow); background-size: 200% 200%; animation: gradientMove 3s ease infinite; border-radius: 2px; }

.pricing-summary-box { background: linear-gradient(135deg, rgba(255, 204, 0, 0.08) 0%, rgba(20,20,22,0.8) 100%); border: 1px solid var(--accent); border-radius: 24px; padding: 2.5rem; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.summary-left { flex: 1; padding-right: 4rem; }
.summary-right { flex: 0.8; display: flex; flex-direction: column; align-items: center; border-left: 1px solid var(--card-border); padding-left: 4rem; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.8rem; font-size: 0.95rem; color: #ccc; }
.highlight-row { margin-top: 1rem; align-items: center; }
.score-display { text-align: center; margin-bottom: 2rem; }
.score-number { font-size: 4.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin: 0.5rem 0; text-shadow: 0 0 30px rgba(255, 204, 0, 0.4); }
.score-bar-container { width: 100%; max-width: 300px; }

/* Global Animations */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.reveal { opacity: 0; transform: translateY(50px) scale(0.95); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }
.delay-1 { animation-delay: 0.3s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.6s; transition-delay: 0.2s; }

@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1024px) {
    .bento-container { grid-template-columns: repeat(2, 1fr); gap: 1.5rem;}
    .span-4 { grid-column: span 2; }
    .card-image-placeholder { width: 100%; height: 60%; top: auto; bottom: 0; mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); }
    .design-text-area { padding: 3rem 2rem 1rem 2rem; }
    .floating-group-img { max-height: 400px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-summary-box { flex-direction: column; }
    .summary-left { padding-right: 0; width: 100%; margin-bottom: 3rem; }
    .summary-right { border-left: none; border-top: 1px solid var(--card-border); padding-left: 0; padding-top: 3rem; width: 100%; }
}
@media (max-width: 768px) {
    .bento-container { grid-template-columns: 1fr; }
    .span-2, .span-4 { grid-column: span 1; }
    .floating-nav { width: 90%; justify-content: space-between; gap: 10px; padding: 12px 20px;}
    .floating-group-img { max-height: 300px; }
    #pricing .card-content { padding: 2rem 1.5rem; }
    .chart-container { padding: 1rem; }
}