/* Layout.css - Professionelles Design */ .layout { min-height: 100vh; display: flex; flex-direction: column; } /* Header */ .header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; } .header-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 70px; } .logo h1 { margin: 0; font-size: 1.5rem; font-weight: 700; } /* Desktop Navigation */ .desktop-nav { display: flex; gap: 2rem; align-items: center; } .nav-link { color: white; text-decoration: none; padding: 0.5rem 1rem; border-radius: 6px; transition: all 0.3s ease; font-weight: 500; } .nav-link:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); } /* User Menu */ .user-menu { display: flex; align-items: center; gap: 1rem; } .user-info { font-weight: 500; } .logout-btn { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid rgba(255, 255, 255, 0.3); padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; } .logout-btn:hover { background: rgba(255, 255, 255, 0.2); } /* Mobile Menu Button */ .mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; padding: 0.5rem; } /* Mobile Navigation */ .mobile-nav { display: none; flex-direction: column; background: white; padding: 1rem; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } .mobile-nav-link { color: #333; text-decoration: none; padding: 1rem; border-bottom: 1px solid #eee; transition: background-color 0.3s ease; } .mobile-nav-link:hover { background-color: #f5f5f5; } .mobile-user-info { padding: 1rem; border-top: 1px solid #eee; margin-top: 1rem; } .mobile-logout-btn { background: #667eea; color: white; border: none; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; margin-top: 0.5rem; width: 100%; } /* Main Content */ .main-content { flex: 1; background-color: #f8f9fa; min-height: calc(100vh - 140px); } .content-container { max-width: 1200px; margin: 0 auto; padding: 2rem 20px; } /* Footer */ .footer { background: #2c3e50; color: white; margin-top: auto; } .footer-content { max-width: 1200px; margin: 0 auto; padding: 2rem 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .footer-section h3, .footer-section h4 { margin-bottom: 1rem; color: #ecf0f1; } .footer-section a { color: #bdc3c7; text-decoration: none; display: block; margin-bottom: 0.5rem; transition: color 0.3s ease; } .footer-section a:hover { color: #3498db; } .footer-bottom { border-top: 1px solid #34495e; padding: 1rem 20px; text-align: center; color: #95a5a6; } /* Responsive Design */ @media (max-width: 768px) { .desktop-nav, .user-menu { display: none; } .mobile-menu-btn { display: block; } .mobile-nav { display: flex; } .header-content { padding: 0 15px; } .content-container { padding: 1rem 15px; } .footer-content { grid-template-columns: 1fr; text-align: center; } } @media (max-width: 480px) { .logo h1 { font-size: 1.2rem; } .content-container { padding: 1rem 10px; } }