feat: Bento- & CTA-Sektion auf Startseite + 4 Portfolio-Detailseiten
- index.html: Bento-Grid "Warum mit mir arbeiten?" (7 Karten inkl. Vorher/Nachher-Slider) und CTA-Abschluss mit Foto-Fächer + Social-Links - site.css: Styles für Bento, Slider, CTA und Galerie-Masonry - Detailseiten Hamburger SV, Frauen Bundesliga, Aufstiegsfeier, SVG Lüneburg mit eigener Galerie; Foto-Karten in portfolio.html verlinkt - 21 Galerie-Bilder lokal in assets/ (LFS), 2 Bilder ersetzt Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
40fccf2eeb
commit
12de67f915
29 files changed
+867
-8
No files matched your search
@@ -268,3 +268,136 @@ body { transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s e
|
||||
.rechtstext h3 { margin: 36px 0 10px; }
|
||||
.rechtstext p { color: var(--text-gedaempft); font-size: 16px; line-height: 1.6; margin-bottom: 14px; }
|
||||
.rechtstext a { color: var(--akzent-gold); }
|
||||
|
||||
/* ==================== BENTO (Startseite: „Warum mit mir arbeiten?") ==================== */
|
||||
.bento { padding: 70px 0 30px; }
|
||||
.bento-kopf { text-align: center; max-width: 620px; margin: 0 auto 46px; }
|
||||
.bento-kopf h2 { font-size: clamp(32px, 4.5vw, 48px); letter-spacing: -0.04em; margin: 16px 0 14px; }
|
||||
.bento-kopf p { color: var(--text-leise); font-size: 15px; }
|
||||
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
|
||||
.bento-karte {
|
||||
position: relative; overflow: hidden;
|
||||
background: var(--flaeche-hell); border-radius: var(--radius-karte);
|
||||
padding: 26px; display: flex; flex-direction: column; min-height: 320px;
|
||||
}
|
||||
.bento-karte h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; }
|
||||
.bento-titel-unten { margin-top: auto; }
|
||||
.bento-ablauf { grid-row: span 2; }
|
||||
.bento-ergebnisse { grid-column: span 2; }
|
||||
|
||||
/* Karte 1: Polaroid-Stapel */
|
||||
.polaroid-stapel { position: relative; flex: 1; min-height: 200px; margin-bottom: 18px; }
|
||||
.polaroid {
|
||||
position: absolute; left: 50%; top: 50%; width: 150px;
|
||||
padding: 8px 8px 28px; background: #fff; border-radius: 6px;
|
||||
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
|
||||
}
|
||||
.polaroid img { width: 100%; height: 118px; object-fit: cover; border-radius: 3px; display: block; }
|
||||
.polaroid:nth-child(1) { transform: translate(-78%, -42%) rotate(-10deg); }
|
||||
.polaroid:nth-child(2) { transform: translate(-22%, -56%) rotate(8deg); }
|
||||
.polaroid:nth-child(3) { transform: translate(-50%, -50%) rotate(-2deg); }
|
||||
|
||||
/* Karte 2: Objektiv */
|
||||
.bento-equipment img { max-height: 240px; margin: auto auto 0; object-fit: contain; }
|
||||
|
||||
/* Karte 3: Vorher/Nachher-Slider (volle Fläche, Titel als Overlay) */
|
||||
.bento-vergleich { padding: 0; }
|
||||
.vergleich { position: relative; flex: 1; min-height: 320px; cursor: ew-resize; }
|
||||
.vergleich img {
|
||||
position: absolute; inset: 0; width: 100%; height: 100%;
|
||||
object-fit: cover; user-select: none; pointer-events: none;
|
||||
}
|
||||
.vergleich-vorher { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
|
||||
.vergleich-griff {
|
||||
position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
|
||||
width: 2px; background: rgba(255, 255, 255, 0.95); pointer-events: none;
|
||||
}
|
||||
.vergleich-griff::before {
|
||||
content: "‹ ›"; position: absolute; top: 50%; left: 50%;
|
||||
transform: translate(-50%, -50%); color: #fff; font-size: 18px;
|
||||
letter-spacing: 3px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); white-space: nowrap;
|
||||
}
|
||||
.vergleich input[type="range"] {
|
||||
position: absolute; inset: 0; width: 100%; height: 100%;
|
||||
opacity: 0; margin: 0; cursor: ew-resize;
|
||||
}
|
||||
.vergleich-titel {
|
||||
position: absolute; left: 26px; bottom: 22px; z-index: 2; color: #fff;
|
||||
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); pointer-events: none;
|
||||
}
|
||||
|
||||
/* Karte 4: Reibungsloser Ablauf (zwei Hände) */
|
||||
.ablauf-haende { position: relative; flex: 1; min-height: 240px; margin-bottom: 18px; }
|
||||
.ablauf-haende img { position: absolute; max-width: 70%; }
|
||||
.ablauf-haende img:first-child { top: 6%; right: -8%; }
|
||||
.ablauf-haende img:last-child { bottom: 4%; left: -8%; }
|
||||
|
||||
/* Karte 5: Überzeugende Ergebnisse (Bild als Fläche) */
|
||||
.bento-ergebnisse { min-height: 220px; justify-content: flex-start; }
|
||||
.bento-ergebnisse > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
|
||||
.bento-ergebnisse h3 { position: relative; z-index: 1; color: #fff; max-width: 220px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
|
||||
|
||||
/* Karte 6: Bewertung (Sterne, Zahl, Avatare) */
|
||||
.bewertung-sterne { color: #e8590c; font-size: 20px; letter-spacing: 3px; }
|
||||
.bewertung-zeile { display: flex; align-items: center; gap: 14px; margin: 10px 0 8px; }
|
||||
.bewertung-zeile strong { font-size: 54px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
|
||||
.bewertung-avatare { display: flex; }
|
||||
.bewertung-avatare img {
|
||||
width: 38px; height: 38px; object-fit: cover; border-radius: 50%;
|
||||
border: 2px solid #fff; margin-left: -10px;
|
||||
}
|
||||
.bewertung-avatare img:first-child { margin-left: 0; }
|
||||
.bento-bewertung p { color: var(--text-gedaempft); font-size: 16px; }
|
||||
|
||||
/* Karte 7: schnelle Lieferung (Uhr) */
|
||||
.lieferung-titel { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
|
||||
.lieferung-uhr { margin: auto auto -60px; display: block; }
|
||||
|
||||
@media (max-width: 809.98px) {
|
||||
.bento-grid { grid-template-columns: 1fr; }
|
||||
.bento-ablauf, .bento-ergebnisse { grid-row: auto; grid-column: auto; }
|
||||
}
|
||||
|
||||
/* ==================== CTA (Startseite: Abschluss-Block) ==================== */
|
||||
.cta { padding: 90px 0 70px; text-align: center; }
|
||||
.cta h2 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.05em; line-height: 1.08; max-width: 780px; margin: 0 auto 22px; }
|
||||
.cta-text { color: var(--text-leise); font-size: 15px; max-width: 470px; margin: 0 auto 30px; }
|
||||
.cta-karten { display: flex; justify-content: center; align-items: center; margin: 70px 0 48px; }
|
||||
.cta-karte {
|
||||
position: relative; width: min(250px, 27vw); aspect-ratio: 2 / 3;
|
||||
border-radius: 14px; overflow: hidden; background: #0a0a0a;
|
||||
box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
|
||||
}
|
||||
.cta-karte img { width: 100%; height: 100%; object-fit: cover; }
|
||||
.cta-karte:nth-child(1) { transform: rotate(-8deg) translate(26px, 10px); }
|
||||
.cta-karte:nth-child(2) { z-index: 2; transform: scale(1.1); }
|
||||
.cta-karte:nth-child(3) { transform: rotate(8deg) translate(-26px, 10px); }
|
||||
/* Sucher-Ecken (4 Ecken über 2 Pseudo-Elemente der Karte + 2 des inneren Spans) */
|
||||
.cta-karte::before, .cta-karte::after,
|
||||
.cta-ecken::before, .cta-ecken::after {
|
||||
content: ""; position: absolute; width: 14px; height: 14px;
|
||||
border: 2px solid rgba(255, 255, 255, 0.9); z-index: 2;
|
||||
}
|
||||
.cta-karte::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
|
||||
.cta-karte::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
|
||||
.cta-ecken::before { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
|
||||
.cta-ecken::after { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
|
||||
.cta-social { display: flex; gap: 30px; justify-content: center; }
|
||||
.cta-social a { font-size: 14px; font-weight: 500; color: var(--text); }
|
||||
.cta-social a::after { content: " ↗"; }
|
||||
|
||||
@media (max-width: 809.98px) {
|
||||
.cta-karten { margin: 50px 0 36px; }
|
||||
.cta-karte { width: 30vw; }
|
||||
}
|
||||
|
||||
/* ==================== GALERIE (Portfolio-Unterseiten) ==================== */
|
||||
.galerie { padding: 10px 0 80px; }
|
||||
.galerie-spalten { columns: 2; column-gap: 14px; }
|
||||
.galerie-spalten img {
|
||||
width: 100%; display: block; margin-bottom: 14px;
|
||||
border-radius: var(--radius-karte);
|
||||
}
|
||||
.galerie-zurueck { display: inline-block; margin-top: 34px; font-size: 14px; color: var(--text-leise); }
|
||||
.galerie-zurueck:hover { color: var(--text); }
|
||||
@media (max-width: 760px) { .galerie-spalten { columns: 1; } }
|
||||
Reference in new issue
Block a user