This commit is contained in:
Tizian.Breuch
2025-09-05 13:06:42 +02:00
parent 2da416ca1f
commit 79d8df8d4f
10 changed files with 482 additions and 243 deletions

View File

@@ -1,195 +1,290 @@
/*
* ============================================
* BASIS- & LAYOUT-STILE
* ============================================
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
:host {
--bg-color: #1a1d24; /* Ein sehr dunkles Blau/Grau */
--surface-color: #2a2d34; /* Etwas helleres Grau für die Varianten-Karten */
--text-color: #e0e0e0;
--headline-color: #FFFFFF;
--connector-color: #555;
--font-main: 'Inter', sans-serif;
--container-width: 1100px;
/* ==========================================================================
GLOBALE STILE & GRUNDEINSTELLUNGEN
========================================================================== */
:root {
--primary-color: #3f51b5;
--accent-color: #ef4444;
--text-color: #333;
--light-gray-border: #e5e7eb;
}
.showcase {
background-color: var(--bg-color);
color: var(--text-color);
font-family: var(--font-main);
overflow-x: hidden; /* Verhindert horizontales Scrollen */
*,
*::before,
*::after {
box-sizing: border-box;
}
.container {
max-width: var(--container-width);
margin: 0 auto;
padding: 0 20px;
}
/*
* ============================================
* HERO-SEKTION
* ============================================
*/
.hero-section {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
/* WICHTIG: Ersetze dies mit deinem Bild! */
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://via.placeholder.com/1920x1080/1a1d24/e0e0e0?text=SATO+HERO+IMAGE');
background-size: cover;
background-position: center;
color: var(--headline-color);
}
.hero-content h1 {
font-size: 2.5rem;
font-weight: 700;
line-height: 1.2;
body {
margin: 0;
font-family: Roboto, "Helvetica Neue", sans-serif;
color: var(--text-color);
line-height: 1.6;
}
.hero-content .brand-name {
font-size: 6rem;
font-weight: 700;
margin-top: 1rem;
/* ==========================================================================
WIEDERVERWENDBARE LAYOUT- & KOMPONENTEN-STILE
========================================================================== */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
}
/*
* ============================================
* PRODUKT-SEKTION (ALLGEMEIN)
* ============================================
*/
.product-section {
.section {
padding: 80px 0;
}
/* Der Verbindungslinien-Stil */
.connector {
width: 1px;
height: 120px;
background-color: var(--connector-color);
margin: 0 auto 80px auto;
position: relative;
}
.connector::after {
content: '';
display: block;
width: 7px;
height: 7px;
border: 1px solid var(--connector-color);
border-radius: 50%;
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
}
.product-grid {
display: grid;
gap: 30px;
/* Mobile-First: Einspaltiges Layout wird unten für Desktop überschrieben */
grid-template-columns: 1fr;
}
.product-main-image img,
.variant-item img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.product-info {
.section-heading {
text-align: center;
margin-bottom: 60px;
}
.product-info h2 {
font-size: 3rem;
font-weight: 700;
color: var(--headline-color);
margin: 0 0 1rem 0;
.section-title {
font-size: 36px;
margin-top: 0;
margin-bottom: 20px;
}
.product-info p {
font-size: 1rem;
line-height: 1.6;
max-width: 450px;
.section-subtitle {
font-size: 22px;
max-width: 800px;
margin: 0 auto;
font-weight: 300;
}
.product-variants {
display: grid;
grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Mobile */
gap: 20px;
/* ==========================================================================
HEADER
========================================================================== */
.main-header {
position: sticky;
top: 0;
z-index: 100;
width: 100%;
background-color: rgba(0, 0, 0, 0.9);
height: 80px;
}
.variant-item {
background-color: var(--surface-color);
padding: 10px;
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
}
.logo-image {
width: 128px;
border-radius: 8px;
}
/*
* ============================================
* DESKTOP LAYOUT (ab 992px)
* ============================================
*/
@media (min-width: 992px) {
.product-grid {
/* Ein 12-Spalten-Grid für maximale Flexibilität */
grid-template-columns: repeat(12, 1fr);
grid-template-rows: auto auto; /* Zwei Zeilen für die Inhalte */
align-items: center;
gap: 40px;
}
.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);
}
.product-info {
text-align: left;
}
.product-info p {
margin: 0;
}
.product-variants {
grid-template-columns: repeat(4, 1fr); /* 4 Spalten auf Desktop */
}
/* ==========================================================================
HERO SECTION
========================================================================== */
.hero-section {
position: relative;
overflow: hidden;
color: black;
padding: 100px 0;
}
/* --- Layout A (z.B. Cervantes) --- */
.layout-a .product-main-image {
grid-column: 1 / span 6; /* Spalten 1-6 */
grid-row: 1 / span 2; /* Über beide Zeilen */
}
.layout-a .product-info {
grid-column: 8 / span 5; /* Spalten 8-12 */
grid-row: 1 / 2;
}
.layout-a .product-variants {
grid-column: 8 / span 5; /* Spalten 8-12 */
grid-row: 2 / 3;
}
.hero-content {
position: relative;
z-index: 10;
max-width: 576px;
text-align: center;
margin: 200px auto 0 auto;
}
/* --- Layout B (z.B. Sirius) --- */
.layout-b .product-main-image {
grid-column: 8 / span 5; /* Spalten 8-12 */
grid-row: 1 / span 2;
.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);
}
.layout-b .product-info {
grid-column: 1 / span 6; /* Spalten 1-6 */
grid-row: 1 / 2;
.hero-content {
margin: 4px 0 0 auto;
text-align: right;
}
.layout-b .product-info p {
margin-left: auto;
.hero-headline {
font-size: 3.5rem;
}
.layout-b .product-variants {
grid-column: 1 / span 6; /* Spalten 1-6 */
grid-row: 2 / 3;
}
/* 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;
}
}