forked from markus/AMPERION_Webpage
Update: Abschluss 31.07.2025
This commit is contained in:
parent
4f1e5eddac
commit
b18d1e9169
8 changed files with 350 additions and 443 deletions
|
|
@ -8,15 +8,29 @@ body {
|
|||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale; }
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: clamp(1.25rem, 2.5vw, 1.75rem);
|
||||
text-align: center;
|
||||
color: #004753;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.12em;
|
||||
line-height: 1.4;
|
||||
margin-top: 1rem; }
|
||||
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
font-size: clamp(2rem, 5vw, 3rem);
|
||||
font-weight: 600;
|
||||
line-height: 1.3;
|
||||
margin-bottom: 1rem;
|
||||
color: #046e6e; }
|
||||
|
||||
h1.page-title {
|
||||
font-size: clamp(2.5rem, 6vw, 4rem);
|
||||
margin-top: 2rem;
|
||||
text-transform: capitalize; }
|
||||
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
font-size: clamp(1.25rem, 2vw, 1.5rem);
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
line-height: 1.4;
|
||||
|
|
@ -24,12 +38,17 @@ h2 {
|
|||
color: #222; }
|
||||
|
||||
h3 {
|
||||
font-size: 1.5rem;
|
||||
font-size: clamp(1.2rem, 1.8vw, 1.5rem);
|
||||
font-weight: normal;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 1rem;
|
||||
color: inherit; }
|
||||
|
||||
p {
|
||||
font-size: clamp(1rem, 1.5vw, 1.125rem);
|
||||
margin-bottom: 1.25rem;
|
||||
line-height: 1.6; }
|
||||
|
||||
.text-left {
|
||||
text-align: left; }
|
||||
|
||||
|
|
@ -45,9 +64,6 @@ h3 {
|
|||
strong, b {
|
||||
font-weight: 700; }
|
||||
|
||||
em, i {
|
||||
font-style: italic; }
|
||||
|
||||
p {
|
||||
margin-bottom: 1.25rem; }
|
||||
|
||||
|
|
@ -251,10 +267,7 @@ input[type="tel"] {
|
|||
.title {
|
||||
padding: 20px 0 30px; }
|
||||
.title h2 {
|
||||
font-size: 18px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px; }
|
||||
margin: 0; }
|
||||
|
||||
.section-title {
|
||||
margin-bottom: 20px; }
|
||||
|
|
@ -262,34 +275,27 @@ input[type="tel"] {
|
|||
.section-title {
|
||||
margin-bottom: 10px; } }
|
||||
.section-title h2 {
|
||||
text-transform: uppercase;
|
||||
font-weight: 400;
|
||||
margin: 0px;
|
||||
padding: 10px 0px;
|
||||
font-size: 3em;
|
||||
/* Standard Schriftgröße für h2 */ }
|
||||
@media (max-width: 768px) {
|
||||
.section-title h2 {
|
||||
font-size: 1.5em;
|
||||
/* Kleinere Schriftgröße für mobile Geräte */ } }
|
||||
@media (max-width: 480px) {
|
||||
.section-title h2 {
|
||||
font-size: 1.2em;
|
||||
/* Noch kleinere Schriftgröße für sehr kleine Geräte */ } }
|
||||
.section-title p {
|
||||
font-style: italic;
|
||||
color: #626262;
|
||||
font-family: "Open Sans Semibold", serif;
|
||||
font-size: 1em;
|
||||
/* Standard Schriftgröße für p */ }
|
||||
@media (max-width: 768px) {
|
||||
.section-title p {
|
||||
font-size: 0.9em;
|
||||
/* Kleinere Schriftgröße für mobile Geräte */ } }
|
||||
@media (max-width: 480px) {
|
||||
.section-title p {
|
||||
font-size: 0.8em;
|
||||
/* Noch kleinere Schriftgröße für sehr kleine Geräte */ } }
|
||||
margin: 0;
|
||||
padding: 10px 0; }
|
||||
|
||||
@media (max-width: 480px) {
|
||||
font-size: 1.2em;
|
||||
/* Noch kleinere Schriftgröße für sehr kleine Geräte */ }
|
||||
|
||||
p {
|
||||
font-style: italic;
|
||||
color: #626262;
|
||||
font-family: "Open Sans Semibold", serif;
|
||||
font-size: 1em;
|
||||
/* Standard Schriftgröße für p */ }
|
||||
@media (max-width: 768px) {
|
||||
p {
|
||||
font-size: 0.9em;
|
||||
/* Kleinere Schriftgröße für mobile Geräte */ } }
|
||||
@media (max-width: 480px) {
|
||||
p {
|
||||
font-size: 0.8em;
|
||||
/* Noch kleinere Schriftgröße für sehr kleine Geräte */ } }
|
||||
.section-subtitle {
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
|
|
@ -306,29 +312,10 @@ input[type="tel"] {
|
|||
padding: 85px 0; }
|
||||
.page-title .block {
|
||||
text-align: center; }
|
||||
.page-title .block h1 {
|
||||
color: #ffffff;
|
||||
font-weight: 200;
|
||||
letter-spacing: 0.5em;
|
||||
margin-top: 20;
|
||||
margin-bottom: 10;
|
||||
text-transform: capitalize; }
|
||||
.page-title .block p {
|
||||
color: #ffffff; }
|
||||
|
||||
.heading {
|
||||
padding-bottom: 60px;
|
||||
text-align: center; }
|
||||
.heading h2 {
|
||||
color: #000000;
|
||||
font-size: 30px;
|
||||
line-height: 40px;
|
||||
font-weight: 400; }
|
||||
.heading p {
|
||||
font-size: 18px;
|
||||
line-height: 40px;
|
||||
color: #292929;
|
||||
font-weight: 300; }
|
||||
|
||||
.page-wrapper {
|
||||
padding: 70px 0; }
|
||||
|
|
@ -2553,6 +2540,11 @@ section {
|
|||
padding-top: 90px;
|
||||
padding-bottom: 4px; }
|
||||
|
||||
.section-spacing {
|
||||
padding-top: 4rem;
|
||||
padding-bottom: 4rem;
|
||||
margin-top: 5rem; }
|
||||
|
||||
/* ========== Beschreibung ========== */
|
||||
.description {
|
||||
font-size: 22px;
|
||||
|
|
@ -2636,14 +2628,14 @@ section {
|
|||
/* Service-Gitter */
|
||||
.service-grid {
|
||||
display: grid;
|
||||
gap: 30px;
|
||||
grid-template-columns: repeat(3, 1fr); }
|
||||
@media (max-width: 992px) {
|
||||
.service-grid {
|
||||
grid-template-columns: repeat(2, 1fr); } }
|
||||
@media (max-width: 576px) {
|
||||
.service-grid {
|
||||
grid-template-columns: 1fr; } }
|
||||
gap: 1.5rem;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
justify-content: center;
|
||||
align-items: stretch;
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
padding: 0 1rem; }
|
||||
|
||||
.service-item-fixed {
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
|
|
@ -2686,6 +2678,40 @@ section {
|
|||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
|
||||
z-index: 2; }
|
||||
|
||||
/* ========== Zusatz-Layouts für Leistungen & Fokusthemen ========== */
|
||||
.spacer-lg {
|
||||
height: 0px; }
|
||||
|
||||
.service-item {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: 8px; }
|
||||
.service-item img {
|
||||
width: 100%;
|
||||
display: block; }
|
||||
.service-item .overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.3); }
|
||||
.service-item .overlay-text {
|
||||
font-size: clamp(2rem, 2vw, 3rem); }
|
||||
|
||||
.info-card {
|
||||
text-align: center;
|
||||
padding: 1rem; }
|
||||
.info-card i {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 0.5rem; }
|
||||
.info-card h3 {
|
||||
font-weight: 600;
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0.25rem;
|
||||
font-size: 1.2rem;
|
||||
color: #046e6e; }
|
||||
.info-card p {
|
||||
font-size: 1rem;
|
||||
color: #333; }
|
||||
|
||||
/* --- WHY AMPERION: Grid-Layout mit gleich hohen Karten --- */
|
||||
.why-grid {
|
||||
display: grid;
|
||||
|
|
@ -2829,9 +2855,6 @@ section {
|
|||
@media (min-width: 992px) {
|
||||
#about-intro .intro-text {
|
||||
font-size: 1.35rem; } }
|
||||
html {
|
||||
scroll-behavior: smooth; }
|
||||
|
||||
/* 1) Die .logo-container bekommt 80% Breite => 10% links und 10% rechts frei */
|
||||
.logo-container {
|
||||
width: 80%;
|
||||
|
|
@ -2920,64 +2943,3 @@ body {
|
|||
background-color: #ffffff;
|
||||
margin: 0;
|
||||
padding: 20px; }
|
||||
|
||||
.services-title {
|
||||
margin-top: 50px;
|
||||
color: #046e6e; }
|
||||
|
||||
.services-description {
|
||||
color: black;
|
||||
margin-bottom: 50px; }
|
||||
|
||||
/* Standard-Desktop-Layout */
|
||||
.services-section {
|
||||
background-color: #f1f1f1;
|
||||
/* Hintergrundfarbe der Sektion auf Schwarz setzen */
|
||||
padding: 40px 0;
|
||||
/* Padding für die Sektion */
|
||||
width: 100%;
|
||||
/* Volle Breite */
|
||||
box-sizing: border-box;
|
||||
/* Padding in der Breite berücksichtigen */ }
|
||||
|
||||
.services-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
/* Drei Spalten für Desktop */
|
||||
gap: 20px;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
/* Zentriert das Raster */
|
||||
padding: 0 20px;
|
||||
/* Optional: Padding für kleinere Bildschirme */ }
|
||||
|
||||
.service-card {
|
||||
background-color: #f1f1f1;
|
||||
/* Hintergrundfarbe der Boxen auf Schwarz setzen */
|
||||
color: white;
|
||||
/* Textfarbe auf Weiß setzen für bessere Lesbarkeit */
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
|
||||
padding: 20px;
|
||||
box-sizing: border-box; }
|
||||
|
||||
.service-icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
margin-bottom: 15px; }
|
||||
|
||||
.service-card-title {
|
||||
color: black;
|
||||
/* Titel-Textfarbe auf Weiß setzen */
|
||||
margin-bottom: 10px; }
|
||||
|
||||
.service-card-description {
|
||||
color: black;
|
||||
/* Hellgraue Farbe für den Beschreibungstext */
|
||||
font-size: 14px; }
|
||||
|
||||
/* Anpassungen für Mobilgeräte */
|
||||
@media (max-width: 768px) {
|
||||
.services-grid {
|
||||
grid-template-columns: 1fr;
|
||||
/* Eine Spalte für Mobilgeräte */ } }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue