--- #### 2. `style.css` (Modernes, warmes & mobilfreundliches Design) ```css :root { --primary: #d97742; /* Warmes Terrakotta */ --primary-dark: #b85d2c; --secondary: #3b5946; /* Salbei-Waldgrün */ --bg-cream: #faf7f2; /* Gemütliches Cremeweiß */ --bg-white: #ffffff; --text-dark: #2c2a29; --text-muted: #66615e; --border: #e6dfd5; --radius: 14px; --shadow: 0 8px 24px rgba(44, 42, 41, 0.07); } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-cream); color: var(--text-dark); line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Navbar */ .navbar { background: var(--bg-white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; padding: 15px 0; } .nav-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; } .logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--text-dark); } .logo span { color: var(--primary); } .nav-links { display: flex; gap: 22px; } .nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: color 0.2s; } .nav-links a:hover { color: var(--primary); } .cart-btn { background: var(--secondary); color: white; border: none; padding: 10px 18px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: transform 0.2s; } .cart-btn:hover { transform: scale(1.03); } /* Hero */ .hero { padding: 60px 0; } .hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; } .badge { display: inline-block; background: #f2e5d7; color: var(--primary-dark); padding: 6px 14px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-bottom: 15px; } .hero-text h1 { font-size: 2.6rem; line-height: 1.2; margin-bottom: 18px; } .hero-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 28px; } .hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; } .btn-primary { background: var(--primary); color: white; padding: 14px 24px; border-radius: 10px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; display: inline-block; transition: background 0.2s; } .btn-primary:hover { background: var(--primary-dark); } .btn-secondary { background: var(--bg-white); color: var(--text-dark); padding: 14px 24px; border-radius: 10px; text-decoration: none; font-weight: 600; border: 1px solid var(--border); } .hero-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); object-fit: cover; } /* Trust Bar */ .trust-bar { background: var(--secondary); color: white; padding: 18px 0; } .trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; text-align: center; font-size: 0.95rem; } /* Sections */ .products-section, .family-section, .community-section { padding: 70px 0; } .family-section { background: var(--bg-white); } .section-header { text-align: center; max-width: 650px; margin: 0 auto 45px auto; } .section-header h2 { font-size: 2.1rem; margin-bottom: 10px; } .section-header p { color: var(--text-muted); } /* Product Grid */ .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 25px; } .product-card { background: var(--bg-white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; } .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } .product-visual { height: 190px; background: linear-gradient(135deg, #f7efe6, #ece2d5); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; padding: 15px; text-align: center; } .product-emoji { font-size: 3.8rem; margin-bottom: 8px; } .product-tag { position: absolute; top: 12px; left: 12px; background: var(--secondary); color: white; font-size: 0.75rem; padding: 4px 10px; border-radius: 20px; font-weight: 600; } .product-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; } .product-info h3 { font-size: 1.15rem; margin-bottom: 8px; } .product-info p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; flex-grow: 1; } .family-tip { background: #faf5ef; border-left: 3px solid var(--primary); padding: 8px 10px; font-size: 0.82rem; margin-bottom: 15px; border-radius: 0 6px 6px 0; } .product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; } .price { font-size: 1.25rem; font-weight: 800; color: var(--text-dark); } .add-btn { background: var(--primary); color: white; border: none; padding: 9px 15px; border-radius: 8px; font-weight: 600; cursor: pointer; } .add-btn:hover { background: var(--primary-dark); } /* Family Gallery */ .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; } .gallery-card { background: var(--bg-cream); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); } .gallery-card img { width: 100%; height: 240px; object-fit: cover; } .gallery-caption { padding: 18px; } .gallery-caption h4 { margin-bottom: 6px; } .gallery-caption p { font-size: 0.9rem; color: var(--text-muted); } /* Community */ .community-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: start; } .community-form-box { background: var(--bg-white); padding: 25px; border-radius: var(--radius); border: 1px solid var(--border); } .community-form-box h3 { margin-bottom: 15px; } input, select, textarea { width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.95rem; } .full-width { width: 100%; } .community-feed { display: flex; flex-direction: column; gap: 15px; } .post-card { background: var(--bg-white); padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); } .post-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; } .post-badge { background: #eef3f0; color: var(--secondary); padding: 3px 10px; border-radius: 12px; font-weight: 600; font-size: 0.8rem; } .family-reply { margin-top: 12px; padding: 10px 14px; background: #faf5ef; border-radius: 8px; font-size: 0.88rem; } /* Cart Modal */ .cart-modal { display: none; position: fixed; top: 0; right: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 200; justify-content: flex-end; } .cart-content { background: var(--bg-white); width: 100%; max-width: 450px; height: 100%; padding: 25px; overflow-y: auto; display: flex; flex-direction: column; } .cart-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 15px; margin-bottom: 15px; } .close-btn { background: none; border: none; font-size: 1.4rem; cursor: pointer; } .cart-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); } .qty-controls button { padding: 3px 9px; margin: 0 5px; cursor: pointer; } .cart-summary { margin: 20px 0; padding: 15px; background: var(--bg-cream); border-radius: 10px; } .summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; } .summary-row.total { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--border); padding-top: 8px; margin-top: 8px; } .form-row { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; } .btn-paypal { width: 100%; background: #0070ba; color: white; border: none; padding: 14px; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 8px; } .btn-paypal:hover { background: #005ea6; } .checkout-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; text-align: center; } /* Footer */ .footer { background: #2c2a29; color: #e6dfd5; padding: 55px 0 25px 0; } .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; margin-bottom: 35px; } .footer h4 { color: white; margin-bottom: 14px; } .footer a { color: #f0a87e; text-decoration: none; } .ai-notice { margin-top: 14px; padding: 12px; background: rgba(255,255,255,0.08); border-left: 3px solid var(--primary); border-radius: 6px; font-size: 0.85rem; } .legal-links { list-style: none; } .legal-links li { margin-bottom: 8px; } .footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.85rem; } @media (max-width: 850px) { .hero-grid, .community-layout { grid-template-columns: 1fr; } .hero-text h1 { font-size: 2rem; } }