195 lines
4.2 KiB
CSS
195 lines
4.2 KiB
CSS
/*
|
|
* ============================================
|
|
* 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;
|
|
}
|
|
|
|
.showcase {
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
font-family: var(--font-main);
|
|
overflow-x: hidden; /* Verhindert horizontales Scrollen */
|
|
}
|
|
|
|
.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;
|
|
margin: 0;
|
|
}
|
|
|
|
.hero-content .brand-name {
|
|
font-size: 6rem;
|
|
font-weight: 700;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/*
|
|
* ============================================
|
|
* PRODUKT-SEKTION (ALLGEMEIN)
|
|
* ============================================
|
|
*/
|
|
.product-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 {
|
|
text-align: center;
|
|
}
|
|
|
|
.product-info h2 {
|
|
font-size: 3rem;
|
|
font-weight: 700;
|
|
color: var(--headline-color);
|
|
margin: 0 0 1rem 0;
|
|
}
|
|
|
|
.product-info p {
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
max-width: 450px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.product-variants {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Mobile */
|
|
gap: 20px;
|
|
}
|
|
|
|
.variant-item {
|
|
background-color: var(--surface-color);
|
|
padding: 10px;
|
|
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;
|
|
}
|
|
|
|
.product-info {
|
|
text-align: left;
|
|
}
|
|
|
|
.product-info p {
|
|
margin: 0;
|
|
}
|
|
|
|
.product-variants {
|
|
grid-template-columns: repeat(4, 1fr); /* 4 Spalten auf Desktop */
|
|
}
|
|
|
|
/* --- 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;
|
|
}
|
|
|
|
/* --- Layout B (z.B. Sirius) --- */
|
|
.layout-b .product-main-image {
|
|
grid-column: 8 / span 5; /* Spalten 8-12 */
|
|
grid-row: 1 / span 2;
|
|
}
|
|
.layout-b .product-info {
|
|
grid-column: 1 / span 6; /* Spalten 1-6 */
|
|
grid-row: 1 / 2;
|
|
text-align: right;
|
|
}
|
|
.layout-b .product-info p {
|
|
margin-left: auto;
|
|
}
|
|
.layout-b .product-variants {
|
|
grid-column: 1 / span 6; /* Spalten 1-6 */
|
|
grid-row: 2 / 3;
|
|
}
|
|
} |