Add 'Frage Einsender', edit intern/template & intern views.py, other changes
This commit is contained in:
1 parent
5889b18a3a
commit
8b1d6c9aa3
21 files changed
+675
-228
No files matched your search
+121
-100
@@ -1,139 +1,160 @@
|
||||
/* ==========================================================================
|
||||
1. VARIABLEN & BASICS
|
||||
========================================================================== */
|
||||
:root {
|
||||
--page-max-width: 1440px;
|
||||
--content-width: 1318px;
|
||||
--header-height: 221px;
|
||||
--bg-color: #f8eeea;
|
||||
--genial-orange: #f15a24;
|
||||
--genial-gradient: linear-gradient(135deg, #f15a24 0%, #ff922b 100%);
|
||||
--body-bg: #fceee4;
|
||||
--text-color: #333;
|
||||
--header-max-width: 1318px;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
background-color: var(--body-bg);
|
||||
color: var(--text-color);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
|
||||
overflow-x: hidden; /* Verhindert seitliches Scrollen durch Clip-Paths */
|
||||
}
|
||||
|
||||
.site-container {
|
||||
max-width: var(--page-max-width);
|
||||
margin: 0 auto;
|
||||
background-color: var(--bg-color);
|
||||
min-height: 100vh;
|
||||
/* ==========================================================================
|
||||
2. HEADER & HERO-SECTION
|
||||
========================================================================== */
|
||||
header {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background-color: var(--body-bg);
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
width: var(--content-width);
|
||||
margin: 0 auto;
|
||||
.hero-section {
|
||||
width: 100%;
|
||||
max-width: var(--header-max-width);
|
||||
background: var(--genial-gradient);
|
||||
position: relative;
|
||||
color: white;
|
||||
overflow: hidden;
|
||||
z-index: 0;
|
||||
padding-bottom: 120px;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
/* --- Header Sektion --- */
|
||||
.gd-header {
|
||||
width: var(--content-width);
|
||||
height: var(--header-height);
|
||||
background: url('../img/header.png') no-repeat center top;
|
||||
background-size: 100% 100%;
|
||||
.top-banner-bg {
|
||||
background: url('../img/header.png') no-repeat top center;
|
||||
background-size: cover;
|
||||
width: 100%;
|
||||
height: 221px;
|
||||
position: relative;
|
||||
background-color: black;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.gd-logo-link {
|
||||
/* Untere organische Kurve */
|
||||
.hero-section::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
/* Positionierung im roten Bereich */
|
||||
left: 25px;
|
||||
top: 20px;
|
||||
bottom: -1px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
background-color: var(--body-bg);
|
||||
clip-path: ellipse(60% 100% at 50% 100%);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
3. NAVIGATION & TICKER
|
||||
========================================================================== */
|
||||
.navbar {
|
||||
position: absolute;
|
||||
top: 45px;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.gd-logo-img {
|
||||
/* Größe reduziert für eine bessere Optik */
|
||||
height: auto;
|
||||
width: 213px;
|
||||
left: 20px;
|
||||
.header-marquee {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
/* Neuer CSS-Marquee Ersatz */
|
||||
.gd-marquee-container {
|
||||
position: absolute;
|
||||
left: 285px;
|
||||
top: 5px;
|
||||
width: 1030px;
|
||||
height: 30px;
|
||||
overflow: hidden; /* Versteckt den Text außerhalb des Bereichs */
|
||||
top: 2px;
|
||||
/* <u>Optimierung:</u> Flexiblere Positionierung */
|
||||
left: 21%;
|
||||
right: 2px;
|
||||
color: white;
|
||||
font-size: 0.85rem;
|
||||
padding: 5px 0;
|
||||
z-index: 15;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
white-space: nowrap;
|
||||
|
||||
overflow: hidden;
|
||||
clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 2% 100%);
|
||||
}
|
||||
|
||||
.gd-marquee-text {
|
||||
display: inline-block;
|
||||
padding-left: 100%; /* Startet rechts außerhalb */
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
font-size: 1.00rem;
|
||||
animation: marquee-scroll 30s linear infinite;
|
||||
/* ==========================================================================
|
||||
4. KOMPONENTEN (CARDS, BUTTONS)
|
||||
========================================================================== */
|
||||
|
||||
/* <u>Glassmorphismus Card</u> */
|
||||
.glass-card {
|
||||
background: rgba(255, 255, 255, 0.6) !important;
|
||||
backdrop-filter: blur(15px);
|
||||
-webkit-backdrop-filter: blur(15px);
|
||||
border-radius: 30px !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.3) !important;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
/* Stoppt die Animation exakt dort, wo sie ist */
|
||||
.gd-marquee-container:hover .gd-marquee-text {
|
||||
animation-play-state: paused;
|
||||
.section-header-orange {
|
||||
background: var(--genial-gradient);
|
||||
color: white;
|
||||
padding: 12px 25px;
|
||||
border-radius: 15px 15px 0 0;
|
||||
/* <u>Korrektur:</u> Margin-Ausgleich für Card-Padding */
|
||||
margin: -25px -25px 20px -25px;
|
||||
}
|
||||
|
||||
@keyframes marquee-scroll {
|
||||
0% { transform: translateX(0); }
|
||||
100% { transform: translateX(-100%); }
|
||||
}
|
||||
|
||||
.gd-nav {
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
top: 35px;
|
||||
display: flex;
|
||||
gap: 25px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.gd-nav-link {
|
||||
color: #4b2a1a;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
/* <u>Buttons</u> */
|
||||
.btn-pill {
|
||||
border-radius: 50px !important;
|
||||
padding: 10px 30px !important;
|
||||
font-weight: 700 !important;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.95rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* --- Main Content --- */
|
||||
.main-content {
|
||||
padding: 40px 0;
|
||||
.btn-genial {
|
||||
background: var(--genial-gradient);
|
||||
color: white !important;
|
||||
border: none !important;
|
||||
box-shadow: 0 4px 15px rgba(241, 90, 36, 0.2);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.hero-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 40px;
|
||||
.btn-genial:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 25px rgba(241, 90, 36, 0.4);
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
|
||||
.hero-image-side {
|
||||
flex: 0 0 800px;
|
||||
/* ==========================================================================
|
||||
5. RESPONSIVITÄT
|
||||
========================================================================== */
|
||||
@media (max-width: 1318px) {
|
||||
.top-banner-bg {
|
||||
height: 16.7vw; /* Hält das Seitenverhältnis */
|
||||
}
|
||||
|
||||
.header-marquee {
|
||||
left: 5%; /* Mehr Platz auf kleineren Screens */
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
.hero-text-side {
|
||||
flex: 1;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 2.8rem;
|
||||
font-weight: 800;
|
||||
color: #222;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
/* --- Footer --- */
|
||||
.footer-wave {
|
||||
width: var(--content-width);
|
||||
margin: 20px auto 60px auto;
|
||||
}
|
||||
|
||||
.footer-wave img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
@media (max-width: 768px) {
|
||||
.hero-section {
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
.btn-pill {
|
||||
padding: 8px 20px !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user