/* ========================================== 0. THEME VARIABLEN (Vollständig Dynamisch) ========================================== */ :root { /* --- Hell-Modus --- */ --bg-body: #ffffff; --bg-section-alt: #ddddec; --text-main: #333333; --text-muted: #666666; --header-bg: rgba(255, 255, 255, 0.95); /* Cards */ --card-bg: #ffffff; --card-shadow: rgba(0, 0, 0, 0.08); --border-color: #eeeeee; /* Hero & Akzente */ --accent: #6072c5; --accent-text: #ffffff; --accent-dark: #764ba2; --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); --hero-text: #ffffff; --hero-h1-gradient: linear-gradient(45deg, #ffffff, #d1d8ff); /* Footer */ --footer-bg: #1a1a1a; --footer-text: #bbbbbb; --footer-link-hover: #ffffff; } [data-theme="dark"] { /* --- Dunkel-Modus --- */ --bg-body: #0f111a; --bg-section-alt: #161925; --text-main: #e0e6ed; --text-muted: #94a3b8; --header-bg: rgba(15, 17, 26, 0.96); /* Cards */ --card-bg: #1c2132; --card-shadow: rgba(0, 0, 0, 0.3); --border-color: #2d334a; /* Hero & Akzente (Im Darkmode etwas entspannter) */ --accent: #6e6abc; --accent-text: #ffffff; --accent-dark: #3d4593; --hero-gradient: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); --hero-text: #e2e8f0; --hero-h1-gradient: linear-gradient(45deg, #818cf8, #c084fc); /* Footer */ --footer-bg: #070910; --footer-text: #64748b; --footer-link-hover: #818cf8; } /* ========================================== 1. RESET & BASIS STILE ========================================== */ * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: var(--text-main); background-color: var(--bg-body); overflow-x: hidden; transition: all 0.3s ease; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* ========================================== 2. HEADER & NAVIGATION ========================================== */ header { background-color: var(--header-bg); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); position: fixed; width: 100%; top: 0; z-index: 1000; } nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; } .nav-right { display: flex; align-items: center; gap: 1.5rem; } .logo { font-size: 1.5rem; font-weight: bold; color: var(--accent); text-decoration: none; } .nav-links { display: flex; gap: 2rem; list-style: none; } .nav-links a { color: var(--text-main); text-decoration: none; font-weight: 500; } .nav-links a:hover { color: var(--accent); } /* Container für die Header-Buttons */ .theme-header-btn { position: relative; } /* Gemeinsames Styling für die Haupt-Buttons im Header */ .lang-btn, .theme-btn { background: none; border: 1px solid var(--border-color); border-radius: 20px; /* Einheitliche Rundung */ padding: 8px 12px; cursor: pointer; font-size: 1.1rem; color: var(--text-main); transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 5px; } .theme-btn { border-radius: 50%; /* Runde Form für Theme-Btn */ width: 40px; height: 40px; } .lang-btn:hover, .theme-btn:hover { border-color: var(--accent); background: rgba(102, 126, 234, 0.1); } /* Gemeinsames Styling für die Dropdowns */ .lang-dropdown, .theme-dropdown { position: absolute; top: calc(100% + 10px); /* Leicht abgesetzt */ right: 0; background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 5px 15px var(--card-shadow); display: none; flex-direction: column; min-width: 140px; z-index: 2000 !important; overflow: hidden; } .lang-dropdown.show, .theme-dropdown.show { display: flex; } /* Einheitliche Optionen im Dropdown */ .lang-dropdown a.theme-option, .theme-dropdown .theme-option { background: transparent; border: none; width: 100%; padding: 10px 15px; text-align: left; cursor: pointer; color: var(--text-main); font-size: 0.9rem; text-decoration: none; transition: background 0.2s; display: flex; align-items: center; gap: 10px; } .lang-dropdown a.theme-option:hover, .theme-dropdown .theme-option:hover { background-color: var(--accent); color: var(--accent-text); } /* ========================================== 3. HERO SECTION ========================================== */ .hero { min-height: 100vh; /*height: calc(100vh - 45px); margin-top: 45px;*/ display: flex; align-items: center; justify-content: center; text-align: center; background: var(--hero-gradient); color: var(--hero-text); padding: 80px 20px; transition: background 0.5s ease; } .hero h1 { font-size: 3.5rem; margin-bottom: 1rem; background: var(--hero-h1-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; } .hero p { font-size: 1.5rem; margin-bottom: 1.5rem; opacity: 0.9; } /* ========================================== 4. BUTTONS & INPUTS (Neu gestylt) ========================================== */ /* Basis Styling für alle Buttons (CTA, Demo, Send) */ .cta-button, .send-btn, .demo-button, .demo-buttons button { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.8rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.2s ease; cursor: pointer; border: none; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); } /* Haupt-Buttons (Akzentfarbe) */ .cta-button, .send-btn, .demo-buttons button { background-color: var(--accent); color: var(--accent-text); } .cta-button:hover, .send-btn:hover, .demo-buttons button:hover { background-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); } /* Sekundär-Buttons (Grau/Alt) */ .demo-button { background-color: var(--bg-section-alt); color: var(--text-main); border: 1px solid var(--border-color); } .demo-button:hover { background-color: var(--border-color); transform: translateY(-2px); } .demo-buttons { display: flex; gap: 1rem; justify-content: center; padding: 1rem; flex-wrap: wrap; margin-top: 2rem; } /* ========================================== 5. SECTIONS & CARDS ========================================== */ section { /*padding: 80px 0;*/ background-color: var(--bg-body); } .section-dark .chat-input-area{ background-color: var(--bg-section-alt); } h2 { text-align: center; font-size: 2.5rem; padding: 2.5rem 0; margin-bottom: -2rem; color: var(--text-main); } .text { /*max-width: 1200px;*/ margin: 0 auto; text-align: center; font-size: 1.1rem; line-height: 1.8; color: var(--text-muted); } /* ========================================== 6. FOOTER ========================================== */ footer { background-color: var(--footer-bg); color: var(--footer-text); text-align: center; padding: 60px 0; transition: background 0.3s ease; } .footer-links a { color: var(--footer-text); text-decoration: none; margin: 0 1rem; } .footer-links a:hover { color: var(--footer-link-hover); } /* ========================================== 7. RESPONSIVENESS ========================================== */ /* --- Standard: Logo kurz ausblenden, lang anzeigen --- */ /* Standard für Desktop: Beide sichtbar */ .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; } .hamburger span { display: block; width: 25px; height: 3px; background-color: var(--accent); border-radius: 3px; } .logo-short { display: none;} .logo-full { display: inline;} @media (max-width: 950px) { .logo-full {display: none;} .logo-short {display: inline;} .hero h1 { font-size: 2.2rem; } }