/* ========================================================================== GLOBALE STILE & GRUNDEINSTELLUNGEN ========================================================================== */ :root { --primary-color: #3f51b5; --accent-color: #ef4444; --text-color: #333; --light-gray-border: #e5e7eb; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; color: var(--text-color); line-height: 1.6; } /* ========================================================================== WIEDERVERWENDBARE LAYOUT- & KOMPONENTEN-STILE ========================================================================== */ .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; } .section { padding: 80px 0; } .section-heading { text-align: center; margin-bottom: 60px; } .section-title { font-size: 36px; margin-top: 0; margin-bottom: 20px; } .section-subtitle { font-size: 22px; max-width: 800px; margin: 0 auto; font-weight: 300; } /* ========================================================================== HEADER ========================================================================== */ .main-header { position: sticky; top: 0; z-index: 100; width: 100%; background-color: rgba(0, 0, 0, 0.9); height: 80px; } .header-content { display: flex; justify-content: space-between; align-items: center; height: 100%; } .logo-image { width: 128px; border-radius: 8px; } .social-button { background: none; border: none; cursor: pointer; padding: 0; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease-in-out; } .social-button:hover { transform: scale(1.1); } /* ========================================================================== HERO SECTION ========================================================================== */ .hero-section { position: relative; overflow: hidden; color: black; padding: 100px 0; } .hero-content { position: relative; z-index: 10; max-width: 576px; text-align: center; margin: 200px auto 0 auto; } .hero-headline { font-size: 2.5rem; font-weight: 700; line-height: 1.2; } .hero-sub-headline { display: block; font-weight: 400; } .hero-button { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: white; background-color: var(--accent-color); padding: 14px 28px; font-weight: 500; border-radius: 8px; transition: background-color 0.3s, opacity 0.3s; } .hero-button:hover { opacity: 0.85; } .hero-background-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; display: flex; align-items: flex-start; justify-content: flex-start; padding-top: 48px; } .hero-image { width: 384px; opacity: 0.8; } /* ========================================================================== ABOUT SECTION ========================================================================== */ .about-cards-container { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; } .about-card { flex: 1 1 270px; max-width: 300px; text-align: center; padding: 20px; } .about-icon { font-size: 64px; color: var(--primary-color); margin-bottom: 20px; } .about-card-title { font-size: 20px; margin-top: 0; margin-bottom: 10px; } /* ========================================================================== WORKSPACE SECTION ========================================================================== */ .workspace-grid { display: grid; grid-template-columns: 1fr; gap: 30px; } .workspace-card { border: 2px solid var(--light-gray-border); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); border-radius: 8px; padding: 80px 20px; text-align: center; font-size: 1.2rem; font-weight: 500; } /* ========================================================================== FOOTER ========================================================================== */ .main-footer { text-align: center; padding: 20px 0; } .main-footer hr { border: none; border-top: 1px solid var(--light-gray-border); margin-bottom: 20px; } .main-footer span { font-weight: 900; } /* ========================================================================== MEDIA QUERIES (RESPONSIVE ANPASSUNGEN) ========================================================================== */ /* Ab 600px (Tablets im Hochformat und größer) */ @media (min-width: 600px) { .workspace-grid { grid-template-columns: repeat(2, 1fr); } .hero-content { margin: 4px 0 0 auto; text-align: right; } .hero-headline { font-size: 3.5rem; } } /* Ab 960px (Tablets im Querformat und Desktops) */ @media (min-width: 960px) { .workspace-grid { grid-template-columns: repeat(3, 1fr); } } /* Bis 959px (Tablets und kleiner) */ @media (max-width: 959px) { .section { padding: 60px 0; } .about-cards-container { flex-direction: column; align-items: center; } .about-card { max-width: 450px; width: 100%; padding: 20px; } .about-icon { font-size: 56px; } } /* Bis 599px (Mobiltelefone) */ @media (max-width: 599px) { .section { padding: 40px 0; } .section-title, .hero-headline { font-size: 2rem; } .section-subtitle { font-size: 1rem; } .hero-content { margin-top: 250px; /* Mehr Platz für Hintergrundbild */ text-align: center; margin-left: auto; margin-right: auto; } .hero-background-image { justify-content: center; } .hero-image { width: 280px; } }