gd2-Startseite im neuen Design, Intern-Dashboard mit Statistiken
- gd2: Startseite neu gestaltet (Hero, Video-Beiträge, Top-Fragen, Frage des Tages, Promo-Zahlen); Inhalte sind noch Platzhalter im Code - intern: Dashboard mit Kennzahlen und Chart.js-Diagrammen (Folgen/Fragen pro Jahr, Kategorien, Einsender nach Stadt/Bundesland/Land, Team-Auftritte, Top-Löser, Zuschauer- vs. Archivfragen); Analyse und Folgenliste erweitert - intern: Count(..., distinct=True) bei Auftritten sowie Panel-/Fragen-Durchschnitt, sonst wurden die Werte durch den Join multipliziert (z. B. 41.730 statt 195) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
276289e207
commit
d1964947ef
7 files changed
+1067
-317
No files matched your search
+424
-128
@@ -1,160 +1,456 @@
|
||||
/* ==========================================================================
|
||||
1. VARIABLEN & BASICS
|
||||
========================================================================== */
|
||||
:root {
|
||||
--genial-orange: #f15a24;
|
||||
--genial-gradient: linear-gradient(135deg, #f15a24 0%, #ff922b 100%);
|
||||
--body-bg: #fceee4;
|
||||
--text-color: #333;
|
||||
--header-max-width: 1318px;
|
||||
--gd-orange: #f15a24;
|
||||
--gd-orange-deep: #d54b20;
|
||||
--gd-beige: #f6efe9;
|
||||
--gd-warm: #f1c58f;
|
||||
--gd-text: #2a1c1a;
|
||||
--gd-white: #fffaf6;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
background-color: var(--body-bg);
|
||||
color: var(--text-color);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow-x: hidden; /* Verhindert seitliches Scrollen durch Clip-Paths */
|
||||
margin: 0;
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
background: #f3ece6;
|
||||
color: var(--gd-text);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
2. HEADER & HERO-SECTION
|
||||
========================================================================== */
|
||||
header {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background-color: var(--body-bg);
|
||||
img {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.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);
|
||||
button, a {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.top-banner-bg {
|
||||
background: url('../img/header.png') no-repeat top center;
|
||||
background-size: cover;
|
||||
width: 100%;
|
||||
height: 221px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
.site-header {
|
||||
width: 100%;
|
||||
background: #f3ece6;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/* Untere organische Kurve */
|
||||
.hero-section::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: -1px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
background-color: var(--body-bg);
|
||||
clip-path: ellipse(60% 100% at 50% 100%);
|
||||
z-index: 2;
|
||||
.header-banner {
|
||||
width: 100%;
|
||||
min-height: 420px;
|
||||
background: url('/static/gd/img/header_full.png') center top / cover no-repeat;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
box-shadow: inset 0 -22px 0 rgba(255,255,255,0.18);
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
3. NAVIGATION & TICKER
|
||||
========================================================================== */
|
||||
.navbar {
|
||||
position: absolute;
|
||||
top: 45px;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
.header-brand-wrap {
|
||||
width: min(100%, 1280px);
|
||||
margin: 0 auto;
|
||||
padding-top: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.header-marquee {
|
||||
position: absolute;
|
||||
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%);
|
||||
.brand-logo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
min-width: 260px;
|
||||
padding-left: 12px;
|
||||
color: #fff;
|
||||
text-shadow: 0 2px 12px rgba(0,0,0,0.18);
|
||||
line-height: 0.82;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
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;
|
||||
.brand-genial {
|
||||
font-weight: 900;
|
||||
font-size: clamp(2.5rem, 3vw, 4.1rem);
|
||||
letter-spacing: -0.05em;
|
||||
}
|
||||
|
||||
.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;
|
||||
.brand-daneben {
|
||||
font-weight: 900;
|
||||
font-size: clamp(2.3rem, 2.6vw, 3.7rem);
|
||||
letter-spacing: -0.05em;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
/* <u>Buttons</u> */
|
||||
.btn-pill {
|
||||
border-radius: 50px !important;
|
||||
padding: 10px 30px !important;
|
||||
font-weight: 700 !important;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9rem;
|
||||
.header-nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2.1rem;
|
||||
background: rgba(255,255,255,0.12);
|
||||
border-radius: 20px 20px 0 0;
|
||||
padding: 0.8rem 1rem 0.9rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
backdrop-filter: blur(3px);
|
||||
}
|
||||
|
||||
.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;
|
||||
.header-nav a {
|
||||
color: rgba(255,255,255,0.96);
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
font-size: 0.95rem;
|
||||
position: relative;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.btn-genial:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 25px rgba(241, 90, 36, 0.4);
|
||||
filter: brightness(1.1);
|
||||
.header-nav a.active::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: -10px;
|
||||
height: 3px;
|
||||
background: var(--gd-orange);
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
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%;
|
||||
}
|
||||
.header-cta {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(135deg, #f06a2b 0%, #f6a443 100%);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
font-weight: 800;
|
||||
padding: 1rem 1.6rem;
|
||||
border-radius: 999px;
|
||||
box-shadow: 0 12px 25px rgba(241, 90, 36, 0.24);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.landing-content {
|
||||
margin-top: -24px;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.media-card {
|
||||
background: rgba(255,255,255,0.7);
|
||||
border-radius: 28px;
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(255,255,255,0.28);
|
||||
box-shadow: 0 18px 28px rgba(29, 17, 12, 0.11);
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.media-thumb-wrap {
|
||||
position: relative;
|
||||
height: 250px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.media-thumb-wrap img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.media-play {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.media-play span {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
border-radius: 50%;
|
||||
background: rgba(241, 90, 36, 0.9);
|
||||
display: block;
|
||||
position: relative;
|
||||
box-shadow: 0 16px 30px rgba(241, 90, 36, 0.38);
|
||||
}
|
||||
|
||||
.media-play span::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 29px;
|
||||
top: 22px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 12px solid transparent;
|
||||
border-bottom: 12px solid transparent;
|
||||
border-left: 20px solid white;
|
||||
}
|
||||
|
||||
.media-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 1rem 1.2rem 1.1rem;
|
||||
background: rgba(255,255,255,0.72);
|
||||
}
|
||||
|
||||
.media-meta small {
|
||||
display: block;
|
||||
color: #7a675f;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.media-meta h3 {
|
||||
margin: 0.35rem 0 0.2rem;
|
||||
font-size: 1.05rem;
|
||||
font-weight: 800;
|
||||
color: #201614;
|
||||
}
|
||||
|
||||
.media-meta p {
|
||||
margin: 0;
|
||||
color: #71615d;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.mini-play {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
background: #f4ece6;
|
||||
color: var(--gd-orange);
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.popular-panel {
|
||||
background: rgba(255,255,255,0.7);
|
||||
border: 1px solid rgba(255,255,255,0.4);
|
||||
border-radius: 28px;
|
||||
padding: 1.4rem 1.3rem 1rem;
|
||||
box-shadow: 0 18px 28px rgba(29, 17, 12, 0.11);
|
||||
}
|
||||
|
||||
.popular-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.popular-head h2 {
|
||||
margin: 0;
|
||||
font-size: clamp(2rem, 2.3vw, 2.6rem);
|
||||
font-weight: 900;
|
||||
color: #201614;
|
||||
}
|
||||
|
||||
.popular-head span {
|
||||
padding: 0.5rem 0.8rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(241, 90, 36, 0.08);
|
||||
color: var(--gd-orange);
|
||||
font-weight: 800;
|
||||
font-size: 0.72rem;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.question-box {
|
||||
background: white;
|
||||
border-radius: 18px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 1rem;
|
||||
border: 1px solid rgba(244, 203, 181, 0.7);
|
||||
}
|
||||
|
||||
.question-tag {
|
||||
background: linear-gradient(135deg, #f0672c 0%, #f4a749 100%);
|
||||
color: white;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
padding: 0.7rem 1rem;
|
||||
}
|
||||
|
||||
.question-body {
|
||||
padding: 1rem 1rem 1.15rem;
|
||||
}
|
||||
|
||||
.question-body h4 {
|
||||
margin: 0 0 0.5rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.4;
|
||||
font-weight: 800;
|
||||
color: #201614;
|
||||
}
|
||||
|
||||
.question-body p {
|
||||
margin: 0;
|
||||
color: #73615f;
|
||||
line-height: 1.6;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.popular-actions {
|
||||
text-align: center;
|
||||
margin-top: 1.4rem;
|
||||
}
|
||||
|
||||
.primary-btn {
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(135deg, #ef5d2b 0%, #f8b24d 100%);
|
||||
color: white;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
padding: 0.9rem 1.5rem;
|
||||
box-shadow: 0 14px 24px rgba(239, 93, 43, 0.22);
|
||||
}
|
||||
|
||||
.promo-wrap {
|
||||
margin-top: 2.6rem;
|
||||
}
|
||||
|
||||
.promo-box {
|
||||
background: linear-gradient(135deg, #f15a24 0%, #ff9b2d 100%);
|
||||
color: white;
|
||||
border-radius: 32px;
|
||||
padding: 2rem 1.4rem;
|
||||
box-shadow: 0 20px 30px rgba(241, 90, 36, 0.22);
|
||||
}
|
||||
|
||||
.promo-label {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 800;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.promo-question-col h3 {
|
||||
margin: 0 0 1.4rem;
|
||||
font-size: clamp(1.7rem, 2vw, 2.5rem);
|
||||
line-height: 1.2;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.answer-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(140px, 1fr));
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.answer-btn {
|
||||
border: none;
|
||||
border-radius: 18px;
|
||||
padding: 0.9rem 0.7rem;
|
||||
background: rgba(255,255,255,0.9);
|
||||
color: var(--gd-text);
|
||||
font-weight: 800;
|
||||
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.06);
|
||||
}
|
||||
|
||||
.answer-btn.correct {
|
||||
background: #fff7e8;
|
||||
border: 2px solid rgba(255,255,255,0.8);
|
||||
}
|
||||
|
||||
.promo-image-col {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.promo-image-col img {
|
||||
width: min(100%, 400px);
|
||||
margin: 0 auto 1rem;
|
||||
border-radius: 24px;
|
||||
background: rgba(255,255,255,0.12);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.promo-image-col p {
|
||||
margin: 0;
|
||||
font-weight: 800;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.stats-wrap {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.stat-box {
|
||||
background: rgba(255,255,255,0.72);
|
||||
border-radius: 24px;
|
||||
padding: 1.5rem 1rem;
|
||||
text-align: center;
|
||||
box-shadow: 0 12px 24px rgba(29,17,12,0.08);
|
||||
}
|
||||
|
||||
.stat-number {
|
||||
font-size: clamp(2rem, 2vw, 2.8rem);
|
||||
font-weight: 900;
|
||||
color: #211714;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
margin-top: 0.5rem;
|
||||
font-size: 0.7rem;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(32,23,20,0.75);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.header-brand-wrap {
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
.header-nav {
|
||||
gap: 1.1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hero-section {
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
.btn-pill {
|
||||
padding: 8px 20px !important;
|
||||
}
|
||||
.header-banner {
|
||||
min-height: 270px;
|
||||
}
|
||||
|
||||
.header-brand-wrap {
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
min-width: auto;
|
||||
text-align: center;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.header-nav {
|
||||
order: 3;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
gap: 1.2rem;
|
||||
}
|
||||
|
||||
.header-cta {
|
||||
padding: 0.8rem 1rem;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.landing-content {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.answer-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user