Update: Abschluss 29.07.2025

This commit is contained in:
Alexander-Stosic 2025-07-30 00:35:15 +02:00
parent 0db3bb9207
commit 4f1e5eddac
13 changed files with 698 additions and 760 deletions

View file

@ -1,77 +1,95 @@
// Fonts
@font-face {
font-family: 'Open Sans';
src: local('Open Sans'), local('OpenSans'), url('/static/fonts/OpenSans-SemiboldItalic.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Open Sans Semibold';
src: local('Open Sans Semibold'), local('OpenSansSemibold'), url('/static/fonts/OpenSans-Semibold.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
// Using Variables for Font Families
$font-primary: 'Open Sans', sans-serif;
$font-secondary: 'Open Sans Semibold', sans-serif;
$color-heading-h2: #046e6e; // Türkis für h2
// ===========================
// TYPOGRAPHY Schriftarten & Textstile
// ===========================
body {
line-height: 1.5;
font-family: $font-primary;
font-family: 'Open Sans', sans-serif;
font-size: 16px;
line-height: 1.6;
color: #222;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1,
h3,
h4,
h5,
h6 {
font-family: $font-secondary;
font-weight: 400;
// keine Farbe, Standardfarbe übernehmen
// ---------------------------
// Überschriften-Stile
// ---------------------------
h1 {
font-size: 3rem; // Größere Hauptüberschrift
font-weight: 600;
line-height: 1.3;
margin-bottom: 1rem;
color: #046e6e;
}
h2 {
font-family: $font-secondary;
font-size: 2rem; // Deutlich kleiner als H1
font-style: italic;
font-weight: 400;
color: $color-heading-h2; // Nur h2 in Türkis
font-size: $h2;
@include mobile {
font-size: $h2-sm;
}
}
h1 {
font-size: $h1;
@include tablet {
font-size: $h1-md;
}
@include mobile {
font-size: $h2;
}
@include mobile-xs {
font-size: $h2-md;
}
line-height: 1.4;
margin-bottom: 1rem;
color: #222; // Normale Textfarbe
}
h3 {
font-size: $h3;
font-size: 1.5rem;
font-weight: normal;
line-height: 1.6;
margin-bottom: 1rem;
color: inherit; // wie Fließtext
}
h4 {
font-size: $h4;
// ---------------------------
// Textausrichtung
// ---------------------------
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
// ---------------------------
// Text-Elemente
// ---------------------------
strong, b {
font-weight: 700;
}
em, i {
font-style: italic;
}
p {
color: black;
font-size: $font-size;
font-family: $font-secondary;
margin-bottom: 1.25rem;
}
// ---------------------------
// Listen
// ---------------------------
ul, ol {
padding-left: 1.5rem;
margin-bottom: 1.5rem;
}
li {
margin-bottom: 0.5rem;
line-height: 1.6;
}
// ---------------------------
// Links
// ---------------------------
a {
color: #046e6e;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: #F5A623;
text-decoration: underline;
}

View file

@ -1,3 +1,4 @@
/* ========== Typografie & Basis ========== */
.title-custom {
color: #046e6e;
}
@ -11,14 +12,17 @@
}
section {
margin-bottom: 0px;
margin-bottom: 0;
}
#welcome.section, #service.section {
/* ========== Sektionen Padding (Intro etc.) ========== */
#welcome.section,
#service.section {
padding-top: 90px;
padding-bottom: 4px;
}
/* ========== Beschreibung ========== */
.description {
font-size: 22px;
line-height: 1.5;
@ -36,6 +40,7 @@ section {
}
}
/* ========== Fakten ========== */
.facts .fact-item {
padding: 15px;
}
@ -48,12 +53,29 @@ section {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* ========== Hintergründe ========== */
.custom-background {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.gif-background {
background-image: url('/images/BackgroundAnimation.svg');
background-size: cover;
background-position: center -220px;
background-repeat: no-repeat;
position: relative;
&::after {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background-color: rgba(255, 255, 255, 0.8);
}
}
/* ========== Service-Layout (Kacheln / Pfeile) ========== */
.service-arrow .block {
display: flex;
align-items: center;
@ -67,7 +89,8 @@ section {
flex: 1;
}
.service-icon, .service-image {
.service-icon,
.service-image {
margin: 0;
}
@ -77,32 +100,22 @@ section {
display: block;
}
.bg-service1, .bg-service3, .bg-service5, .bg-service7 {
/* Farbvarianten für Services */
.bg-service1,
.bg-service3,
.bg-service5,
.bg-service7 {
background-color: #8bcfd6;
}
.bg-service2, .bg-service4, .bg-service6, .bg-service8 {
.bg-service2,
.bg-service4,
.bg-service6,
.bg-service8 {
background-color: #6baeb5;
}
.fixed-width {
width: 1200px;
}
.fixed-text {
width: 600px;
margin-right: 15px;
}
.page-title::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background-color: #ffffff;
z-index: -1;
}
/* Service-Gitter */
.service-grid {
display: grid;
gap: 30px;
@ -129,30 +142,30 @@ section {
width: 100%;
height: 100%;
position: relative;
}
.service-item-fixed:hover .zoom-wrap {
transform: scale(1.06);
}
&:hover {
transform: scale(1.06);
}
.zoom-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.zoom-wrap a {
display: block;
text-decoration: none;
color: inherit;
}
a {
display: block;
text-decoration: none;
color: inherit;
}
.zoom-wrap .overlay {
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 1;
.overlay {
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 1;
}
}
.overlay-text {
@ -166,26 +179,96 @@ section {
z-index: 2;
}
/* --- WHY AMPERION: Grid-Layout mit gleich hohen Karten --- */
.why-grid {
display: grid;
gap: 2rem;
/* Desktop: 3 Spalten => 3×2 */
grid-template-columns: repeat(3, minmax(0, 1fr));
/* Jede Zeile passt sich der höchsten Karte an */
align-items: stretch;
}
/* Tablet: 2 Spalten => 2×3 */
@media (max-width: 991.98px) {
.why-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
/* Mobil: 1 Spalte => 1×6 */
@media (max-width: 575.98px) {
.why-grid {
grid-template-columns: 1fr;
}
}
/* Karten sollen die Zellen voll ausfüllen */
.service-card {
display: flex;
flex-direction: column;
height: 100%; /* gleiche Höhe pro Zeile */
background: #fff;
padding: 1.5rem;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,.05);
transition: transform .25s ease, box-shadow .25s ease;
text-align: center;
}
/* Icon einheitlich */
.service-icon {
width: 56px;
height: 56px;
object-fit: contain;
margin: 0 auto .75rem auto;
display: block;
}
/* Titel & Copy nutzen deine Basis-Typo, nur kleine Anpassungen */
.service-card-title {
font: inherit;
font-weight: 600;
margin: .25rem 0 .5rem;
color: #0f2f2f;
}
.service-card-description {
font: inherit;
color: #444;
line-height: 1.6;
margin: 0;
}
/* ========== Container & Layout-Hilfen ========== */
.my-container {
width: 80%;
margin: 0 auto;
}
.gif-background {
background-image: url('/images/BackgroundAnimation.svg');
background-size: cover;
background-position: center -220px;
background-repeat: no-repeat;
position: relative;
.fixed-width {
max-width: 1200px;
margin: 0 auto;
}
.gif-background::after {
.fixed-text {
max-width: 600px;
margin-right: 15px;
}
/* ========== Titel mit Hintergrund ========== */
.page-title::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background-color: rgba(255, 255, 255, 0.8);
top: 0; left: 0;
width: 100%; height: 100%;
background-color: #ffffff;
z-index: -1;
}
/* ========== Bildkomponenten & Icons ========== */
.custom-image {
width: 100px;
max-width: 70%;
@ -196,15 +279,16 @@ section {
color: #046e6e;
}
/* ========== Hover Links ========== */
.hover-link {
transition: color 0.3s ease;
&:hover {
color: #F5A623;
}
}
.hover-link:hover {
color: #F5A623;
}
/* Mehrwert */
/* ========== Mehrwerte ========== */
.mehrwerte-grid {
display: grid;
gap: 0;
@ -219,7 +303,6 @@ section {
}
}
.mehrwerte-box {
display: flex;
flex-direction: column;
@ -233,25 +316,43 @@ section {
background-color: lighten(#004d4d, 10%);
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
h4, p {
color: #000 !important;
}
}
h4,
p {
h4, p {
color: #000 !important;
transition: color 0.3s ease;
}
&:hover h4,
&:hover p {
color: #000 !important;
}
}
.mehrwert-icon {
filter: invert(74%) sepia(39%) saturate(2198%) hue-rotate(344deg) brightness(101%) contrast(92%);
}
/* Gründerteam Styling */
/* ========== Gründerteam & Intro-Text ========== */
.container-fluid {
max-width: 100%;
padding-left: 5vw;
padding-right: 5vw;
}
#about-intro .intro-text {
font-size: 1.25rem;
line-height: 1.85;
max-width: 200ch;
hyphens: auto;
-webkit-hyphens: auto;
overflow-wrap: anywhere;
margin-bottom: 1rem;
p, li {
margin-bottom: 1rem;
}
@media (min-width: 992px) {
font-size: 1.35rem;
}
}

View file

@ -1,140 +0,0 @@
/* 1) Container, z. B. 80% Seitenbreite */
.my-container {
width: 80%;
margin: 0 auto;
padding: 40px 0; /* Abstand oben & unten */
}
/* 2) Überschriften zentrieren, falls du kein .text-center in Bootstrap verwendest */
.why-title {
font-size: 2rem;
margin-bottom: 10px;
}
.why-subtitle {
font-size: 1.2rem;
color: #666;
margin-bottom: 40px;
}
/* 3) Warum-Blocks (linke + rechte Spalte) */
.why-block p {
text-align: justify;
margin-bottom: 40px; /* Abstand zwischen einzelnen Blöcken */
}
.why-block h4 {
margin: 100px 0;
font-weight: bold;
}
/* 4) Icon + Logo-Größen anpassen */
.why-icon {
width: 50px; /* Iconbreite */
height: auto;
margin: 200px;
}
.why-logo {
max-width: 500px; /* Logo in der Mitte */
height: auto;
margin-top: 100px; /* Verschiebt das Logo um 100px nach unten */
}
/* 5) Optional: Falls du Bootstrap .text-center nicht verwendest, kannst du hier:
.why-title, .why-subtitle, .why-block, .why-logo {
text-align: center;
}
*/
.section-title1 {
display: flex;
align-items: center;
justify-content: center;
gap: 10px; /* Abstand zwischen Icon und Titel */
}
.why-title1 {
margin: 0; /* Entfernt zusätzliche Ränder */
}
.icon-heading {
display: flex;
align-items: center;
}
.col-icon {
width: 10px;
flex: 0 0 10px;
max-width: 10px;
}
.col-heading {
width: 100px; /* Beispiel: 100px für die Überschrift */
flex: 0 0 100px;
max-width: 100px;
white-space: nowrap; /* verhindert Zeilenumbruch */
}
.why-icon1 {
width: 10px; /* Breite des Icons */
height: auto; /* Höhe automatisch anpassen */
}
.heading-text {
font-size: 18px;
font-weight: bold;
}
.why-block h4 {
margin: 0; /* Entfernt zusätzliche Ränder */
}
.section-title1 {
display: flex;
align-items: center;
justify-content: center;
gap: 10px; /* Abstand zwischen Icon und Titel */
}
.title-icon1 {
width: 30px; /* Breite des Icons */
height: auto; /* Höhe automatisch anpassen */
}
.why-title1 {
margin: 0; /* Entfernt zusätzliche Ränder */
font-size: 2rem;
}
.col-md-4.text-center .why-logo {
margin-top: 100px !important; /* Erzwingt die Anwendung der Verschiebung */
}
/* Fügt einen Abstand unterhalb des "Why Amperion"-Abschnitts hinzu */
.why-amperion {
margin-bottom: 400px; /* Passen Sie den Wert nach Bedarf an */
}
/* Alternativ: Fügt einen Abstand oberhalb des "About"-Abschnitts hinzu */
.about {
margin-top: 800px; /* Passen Sie den Wert nach Bedarf an */
}
.col-fixed {
width: 10px;
flex: 0 0 10px;
max-width: 10px;
}