/* ===== fit4win.ch - Modern CSS ===== */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --secondary: #00c9a7;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--dark); line-height: 1.7; background: var(--white); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; color: var(--gray); }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: var(--shadow); padding: 1rem 0; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--dark); }
.logo span { color: var(--primary); }
nav ul { display: flex; list-style: none; gap: 2rem; }
nav ul li a { color: var(--dark); font-weight: 500; position: relative; padding: 0.5rem 0; }
nav ul li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 1001; }
.hamburger span { width: 28px; height: 3px; background: var(--dark); border-radius: 3px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
.hero { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%); padding-top: 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, var(--primary) 0%, transparent 70%); opacity: 0.15; border-radius: 50%; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero-text h1 span { color: var(--secondary); }
.hero-text p { color: rgba(255,255,255,0.8); font-size: 1.2rem; margin-bottom: 2rem; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-graphic { width: 100%; max-width: 450px; aspect-ratio: 1; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: white; animation: morph 8s ease-in-out infinite; }
@keyframes morph { 0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; } 50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; } }
.btn { display: inline-block; padding: 0.9rem 2rem; border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); border: none; text-align: center; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 15px rgba(26,115,232,0.3); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,115,232,0.4); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--dark); }
section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: var(--white); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); border: 1px solid #eee; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.12); }
.service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; margin-bottom: 1.5rem; }
.service-card h3 { margin-bottom: 0.8rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { width: 100%; height: 400px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.stat-item { text-align: center; }
.stat-item .number { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-item .label { font-size: 0.85rem; color: var(--gray); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; counter-reset: step; }
.step { text-align: center; padding: 2rem; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--primary); color: white; border-radius: 50%; font-weight: 700; font-size: 1.2rem; margin: 0 auto 1.5rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background: var(--light); padding: 2rem; border-radius: var(--radius); border-left: 4px solid var(--primary); }
.testimonial-card p { font-style: italic; margin-bottom: 1rem; }
.testimonial-author { font-weight: 600; color: var(--dark); }
.contact-section { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form { background: var(--white); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.8rem 1.2rem; border: 2px solid #e9ecef; border-radius: 8px; font-size: 1rem; font-family: inherit; transition: var(--transition); background: var(--white); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,115,232,0.1); }
.form-group textarea { min-height: 150px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; justify-content: center; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.contact-info-icon { width: 45px; height: 45px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; }
.cta-section { background: linear-gradient(135deg, var(--dark), #16213e); text-align: center; padding: 5rem 0; }
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; }
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--white); margin-bottom: 1.5rem; }
.footer-col p { color: rgba(255,255,255,0.6); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.9rem; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.page-header { background: linear-gradient(135deg, var(--dark), #16213e); padding: 8rem 0 4rem; text-align: center; }
.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.7); }
.page-content { padding: 4rem 0; }
.page-content h2 { margin-top: 2rem; }
.page-content ul, .page-content ol { margin-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: 0.5rem; color: var(--gray); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.pricing-card { background: var(--white); border-radius: var(--radius); padding: 2.5rem; text-align: center; box-shadow: var(--shadow); border: 2px solid #eee; transition: var(--transition); }
.pricing-card.featured { border-color: var(--primary); transform: scale(1.05); }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin: 1rem 0; }
.pricing-price span { font-size: 1rem; color: var(--gray); }
.pricing-features { list-style: none; margin: 1.5rem 0; text-align: left; }
.pricing-features li { padding: 0.5rem 0; border-bottom: 1px solid #eee; color: var(--gray); }
.pricing-features li::before { content: '\2713  '; color: var(--secondary); font-weight: bold; }
.form-success { display: none; background: #d4edda; color: #155724; padding: 1rem; border-radius: 8px; margin-top: 1rem; }
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero-graphic { max-width: 300px; }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav ul { position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px; height: 100vh; background: var(--white); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; transition: var(--transition); box-shadow: -5px 0 20px rgba(0,0,0,0.1); }
  nav ul.active { right: 0; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr; } }
