Files
dogfather-universe/assets/css/main.css
T

673 lines
20 KiB
CSS

/* =====================================================================
DOGFATHER UNIVERSE — main.css
Gemeinsames Design-System für alle drei Welten (Dogfather / HasiDog /
Manager Dogfather). Farben kommen aus den theme-*.css Dateien über
CSS-Variablen — dieses File ist bewusst themen-neutral.
===================================================================== */
/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
/* ---------- Fallback-Theme (Dogfather) — wird von theme-*.css überschrieben ---------- */
:root {
--bg: #0b0d10;
--bg-alt: #12151a;
--card-bg: #171b21;
--text: #f3f5f7;
--text-muted: #9aa4b2;
--border: #262c35;
--accent: #8fd9ea; /* Babyblau */
--accent-2: #8b5cf6; /* Lila */
--accent-contrast: #0b0d10;
--radius: 14px;
--font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
--font-body: "Inter", "Segoe UI", system-ui, sans-serif;
--shadow: 0 10px 30px rgba(0,0,0,.35);
}
body {
background: var(--bg);
color: var(--text);
font-family: var(--font-body);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
position: relative;
overflow-x: hidden;
}
h1, h2, h3, h4 {
font-family: var(--font-head);
line-height: 1.2;
margin: 0 0 .5em;
font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text); }
.container {
width: min(1180px, 92vw);
margin: 0 auto;
}
section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-tight { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.eyebrow {
display: inline-block;
font-size: .78rem;
letter-spacing: .14em;
text-transform: uppercase;
color: var(--accent);
font-weight: 700;
margin-bottom: .8em;
}
/* ---------- Nebel/Partikel Hintergrund ---------- */
.fog-layer {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
overflow: hidden;
}
.fog-layer span {
position: absolute;
border-radius: 50%;
background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
opacity: .08;
filter: blur(4px);
animation: drift 26s linear infinite;
}
@keyframes drift {
0% { transform: translateY(0) translateX(0); }
50% { transform: translateY(-40px) translateX(20px); }
100% { transform: translateY(0) translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
.fog-layer span { animation: none; }
}
/* ---------- Header / Navigation ---------- */
header.site-header {
position: sticky;
top: 0;
z-index: 50;
background: rgba(11,13,16,.82);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
}
.nav-bar {
width: min(1180px, 92vw);
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: .9rem 0;
}
.brand {
display: flex;
align-items: center;
gap: .6rem;
font-family: var(--font-head);
font-weight: 800;
font-size: 1.15rem;
letter-spacing: .02em;
}
.brand .heart { color: var(--accent); }
.brand-logo {
width: 34px;
height: 34px;
border-radius: 9px;
object-fit: cover;
flex-shrink: 0;
}
.brand small {
display: block;
font-size: .6rem;
font-weight: 500;
letter-spacing: .1em;
color: var(--text-muted);
text-transform: uppercase;
}
.nav-links {
display: flex;
align-items: center;
gap: 1.6rem;
}
.nav-group { position: relative; }
.nav-group > button {
background: none;
border: none;
color: var(--text);
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
gap: .3rem;
padding: .5rem 0;
}
.nav-group > button:hover, .nav-group.open > button { color: var(--accent); }
.nav-flat { font-weight: 600; padding: .5rem 0; }
.nav-flat:hover, .nav-flat.active { color: var(--accent); }
.nav-dropdown {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
min-width: 220px;
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: .5rem;
box-shadow: var(--shadow);
display: none;
flex-direction: column;
}
.nav-group.open .nav-dropdown { display: flex; }
.nav-dropdown a {
padding: .55rem .7rem;
border-radius: 8px;
font-size: .92rem;
color: var(--text-muted);
}
.nav-dropdown a:hover, .nav-dropdown a.active { background: var(--bg-alt); color: var(--accent); }
.nav-cta {
padding: .55rem 1.1rem;
border-radius: 999px;
background: var(--accent);
color: var(--accent-contrast);
font-weight: 700;
font-size: .88rem;
}
.nav-toggle {
display: none;
background: none;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
padding: .5rem .7rem;
cursor: pointer;
}
@media (max-width: 880px) {
.nav-toggle { display: block; }
.nav-links {
position: fixed;
inset: 62px 0 0 0;
background: var(--bg);
flex-direction: column;
align-items: stretch;
padding: 1.2rem 6vw;
gap: .3rem;
transform: translateY(-110%);
transition: transform .25s ease;
overflow-y: auto;
}
.nav-links.open { transform: translateY(0); }
.nav-group > button { width: 100%; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.nav-flat { display: block; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.nav-dropdown { position: static; transform: none; box-shadow: none; width: 100%; }
.nav-group.open .nav-dropdown { display: flex; }
.nav-cta { align-self: flex-start; margin: 1rem 0; }
}
/* ---------- Buttons ---------- */
.btn {
display: inline-flex;
align-items: center;
gap: .5rem;
padding: .8rem 1.5rem;
border-radius: 999px;
font-weight: 700;
font-size: .95rem;
border: 1px solid transparent;
cursor: pointer;
transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-secondary { background: var(--accent-2); color: #fff; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
/* ---------- Hero ---------- */
.hero {
position: relative;
padding: clamp(4rem, 10vw, 7rem) 0;
text-align: center;
overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }
.hero .worlds {
margin: .6rem 0 1.2rem;
color: var(--text-muted);
font-size: 1.05rem;
}
.hero-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.2rem;
margin-top: 3rem;
}
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } }
/* ---------- Cards ---------- */
.card {
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.6rem;
box-shadow: var(--shadow);
height: 100%;
transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card h3 { margin-bottom: .4rem; }
.card .tag {
display: inline-block;
font-size: .72rem;
text-transform: uppercase;
letter-spacing: .08em;
color: var(--accent);
border: 1px solid var(--accent);
border-radius: 999px;
padding: .15rem .6rem;
margin-bottom: .8rem;
}
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
/* ---------- Profil-Karten (Team/Creator) ---------- */
.profile-card {
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
text-align: center;
padding: 1.6rem 1.2rem;
}
.avatar {
width: 96px;
height: 96px;
border-radius: 50%;
margin: 0 auto .9rem;
background: linear-gradient(135deg, var(--accent), var(--accent-2));
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-head);
font-weight: 800;
font-size: 1.6rem;
color: var(--accent-contrast);
overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-card .role { color: var(--accent); font-weight: 600; font-size: .85rem; margin-bottom: .6rem; }
.profile-card .quote { font-style: italic; font-size: .9rem; }
.profile-card .socials { display: flex; justify-content: center; gap: .6rem; margin-top: .8rem; }
.profile-card .socials a {
border: 1px solid var(--border);
border-radius: 999px;
padding: .35rem .8rem;
font-size: .78rem;
color: var(--text-muted);
}
.profile-card .socials a:hover { color: var(--accent); border-color: var(--accent); }
/* ---------- Placeholder-Bild-Boxen (bis echte Fotos da sind) ---------- */
.img-placeholder {
aspect-ratio: 4 / 3;
border-radius: var(--radius);
background: repeating-linear-gradient(135deg, var(--bg-alt), var(--bg-alt) 10px, var(--card-bg) 10px, var(--card-bg) 20px);
border: 1px dashed var(--border);
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
font-size: .8rem;
text-align: center;
padding: 1rem;
}
/* ---------- Timeline (Zeitreise) ---------- */
.timeline { position: relative; margin: 2rem 0; padding-left: 2rem; border-left: 2px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 2.4rem; }
.timeline-item::before {
content: "";
position: absolute;
left: -2.45rem;
top: .2rem;
width: 14px; height: 14px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 0 4px var(--bg);
}
.timeline-item .date { color: var(--accent); font-weight: 700; font-size: .85rem; }
/* ---------- Gallery / Lightbox ---------- */
.filter-bar { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.filter-btn {
border: 1px solid var(--border);
background: transparent;
color: var(--text-muted);
padding: .5rem 1rem;
border-radius: 999px;
cursor: pointer;
font-size: .85rem;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.gallery-item { cursor: pointer; }
.lightbox {
position: fixed; inset: 0; background: rgba(0,0,0,.85);
display: none; align-items: center; justify-content: center; z-index: 200; padding: 5vh 5vw;
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox .img-placeholder { max-height: 85vh; max-width: 90vw; }
.lightbox-close {
position: absolute; top: 20px; right: 30px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none;
}
/* ---------- Formulare ---------- */
form.app-form { display: grid; gap: 1rem; max-width: 640px; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
background: var(--bg-alt);
border: 1px solid var(--border);
border-radius: 10px;
padding: .75rem .9rem;
color: var(--text);
font-family: var(--font-body);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .error-msg { color: #ff6b6b; font-size: .8rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff6b6b; }
.field.has-error .error-msg { display: block; }
.form-status { padding: .9rem 1.1rem; border-radius: 10px; font-size: .9rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(143,217,234,.12); border: 1px solid var(--accent); }
.form-status.error { background: rgba(255,107,107,.1); border: 1px solid #ff6b6b; }
.tabs { display: flex; gap: .6rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.tab-btn {
border: 1px solid var(--border); background: var(--card-bg); color: var(--text-muted);
padding: .7rem 1.3rem; border-radius: 999px; cursor: pointer; font-weight: 600;
}
.tab-btn.active { border-color: var(--accent); color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
/* ---------- Footer ---------- */
footer.site-footer {
border-top: 1px solid var(--border);
padding: 3rem 0 2rem;
margin-top: 4rem;
position: relative;
z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.footer-grid ul { display: grid; gap: .5rem; }
.footer-grid a { color: var(--text-muted); font-size: .9rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
font-size: .8rem; color: var(--text-muted);
}
/* ---------- Foto-Collage (Polaroid-Scrapbook, z.B. Dogfather & Casper) ---------- */
.collage-wrap {
position: relative;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: flex-end;
gap: 1.6rem 1rem;
padding: 2.5rem 0 1.5rem;
max-width: 900px;
margin: 0 auto;
}
.collage-item {
background: #fff;
padding: 10px 10px 30px;
border-radius: 6px;
box-shadow: 0 16px 30px rgba(0, 0, 0, .4);
width: 190px;
transition: transform .25s ease, box-shadow .25s ease;
cursor: default;
}
.collage-item:nth-child(1) { transform: rotate(-7deg) translateY(12px); }
.collage-item:nth-child(2) { transform: rotate(4deg) translateY(-10px); z-index: 2; width: 210px; }
.collage-item:nth-child(3) { transform: rotate(-3deg) translateY(4px); }
.collage-item:nth-child(4) { transform: rotate(8deg) translateY(-6px); }
.collage-item:nth-child(5) { transform: rotate(-9deg) translateY(10px); }
.collage-item:hover {
transform: scale(1.08) rotate(0deg) !important;
z-index: 5;
box-shadow: 0 22px 40px rgba(0, 0, 0, .55);
}
.collage-photo {
position: relative;
aspect-ratio: 1 / 1;
border-radius: 2px;
overflow: hidden;
background: repeating-linear-gradient(135deg, #e8ebee, #e8ebee 10px, #f6f7f9 10px, #f6f7f9 20px);
}
.collage-photo img {
width: 100%;
height: 100%;
object-fit: cover;
/* dezenter Marken-Look: Sättigung/Kontrast leicht angehoben, Farbton via Overlay */
filter: saturate(1.15) contrast(1.08) brightness(1.02);
}
.collage-photo::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(155deg, rgba(143, 217, 234, .22), rgba(139, 92, 246, .14));
mix-blend-mode: overlay;
pointer-events: none;
}
.collage-photo .img-placeholder {
position: absolute;
inset: 0;
border-radius: 0;
border: none;
color: #6b7280;
}
.collage-caption {
text-align: center;
font-family: "Comic Sans MS", "Segoe Print", cursive;
color: #2a2a2a;
font-size: .85rem;
margin-top: .5rem;
}
@media (max-width: 620px) {
.collage-item, .collage-item:nth-child(2) { width: 140px; }
}
/* ---------- Hero-Atmosphäre (Startseite): Polarlicht oben → Rauch Mitte → Nebel unten ----------
Drei Zonen, die weich ineinander übergehen, plus 4 Husky-/Hasen-Silhouetten mit leuchtend
blauen Augen, die deutlich erkennbar (aber nicht grell) darin stehen. ---------- */
.hero-atmosphere {
position: absolute;
inset: 0;
z-index: 0;
overflow: hidden;
pointer-events: none;
}
/* Verbindender Farbverlauf über die ganze Höhe: babyblau (oben) → neutral (Mitte) → silbrig (unten) */
.atmosphere-blend {
position: absolute;
inset: 0;
/* Fallback für Browser ohne color-mix() */
background: linear-gradient(
to bottom,
rgba(143, 217, 234, .18) 0%,
rgba(139, 92, 246, .12) 38%,
rgba(154, 166, 178, .10) 68%,
rgba(210, 216, 222, .14) 100%
);
background: linear-gradient(
to bottom,
color-mix(in srgb, var(--accent) 22%, transparent) 0%,
color-mix(in srgb, var(--accent-2) 14%, transparent) 38%,
rgba(154, 166, 178, .10) 68%,
rgba(210, 216, 222, .14) 100%
);
mix-blend-mode: screen;
opacity: .8;
}
/* ---- Zone 1: Polarlicht (oben) ---- */
.aurora-band {
position: absolute;
width: 150%;
height: 60%;
left: -25%;
border-radius: 50%;
filter: blur(65px);
opacity: .22;
mix-blend-mode: screen;
animation: aurora-drift 30s ease-in-out infinite;
}
.aurora-band.a1 { top: -16%; background: radial-gradient(ellipse at center, var(--accent) 0%, transparent 70%); animation-duration: 26s; }
.aurora-band.a2 { top: 4%; background: radial-gradient(ellipse at center, var(--accent-2) 0%, transparent 70%); animation-duration: 36s; animation-delay: -9s; opacity: .18; }
.aurora-band.a3 { top: 16%; background: radial-gradient(ellipse at center, #6ee7d8 0%, transparent 70%); animation-duration: 44s; animation-delay: -18s; opacity: .14; }
@keyframes aurora-drift {
0%, 100% { transform: translateX(-4%) translateY(0) scaleY(1); }
50% { transform: translateX(4%) translateY(-3%) scaleY(1.18); }
}
/* ---- Zone 2: Rauch (Mitte) ---- */
.smoke-blob {
position: absolute;
top: 32%;
border-radius: 50%;
background: radial-gradient(circle, rgba(210, 214, 220, .16), transparent 72%);
filter: blur(40px);
animation: smoke-float 30s ease-in-out infinite;
}
@keyframes smoke-float {
0%, 100% { transform: translate(0,0) scale(1); }
50% { transform: translate(3%, -4%) scale(1.12); }
}
/* ---- Zone 3: Nebel (unten) ---- */
.fog-ground {
position: absolute;
bottom: -8%;
left: -15%;
width: 130%;
height: 42%;
background: linear-gradient(to top, rgba(220, 224, 228, .28), transparent 85%);
filter: blur(30px);
animation: fog-drift 40s ease-in-out infinite;
}
@keyframes fog-drift {
0%, 100% { transform: translateX(-3%); }
50% { transform: translateX(3%); }
}
/* ---- Husky- & Hasen-Silhouetten mit leuchtenden blauen Augen ---- */
.animal-silhouette {
position: absolute;
opacity: .16;
animation: silhouette-breathe 20s ease-in-out infinite;
}
.animal-silhouette path,
.animal-silhouette ellipse {
stroke: currentColor;
stroke-width: 1.5;
stroke-opacity: .5;
}
.animal-silhouette.husky { color: var(--accent); }
.animal-silhouette.rabbit { color: #b7c0c9; }
@keyframes silhouette-breathe {
0%, 100% { opacity: .12; transform: scale(1); }
50% { opacity: .24; transform: scale(1.04); }
}
.eye-glow {
filter: drop-shadow(0 0 6px var(--accent)) drop-shadow(0 0 2px #fff);
animation: eye-pulse 4.5s ease-in-out infinite;
}
@keyframes eye-pulse {
0%, 100% { opacity: .55; }
50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.aurora-band, .smoke-blob, .fog-ground, .animal-silhouette, .eye-glow { animation: none; opacity: .16; }
}
@media (max-width: 700px) {
.animal-silhouette.n3, .animal-silhouette.n4 { display: none; } /* auf kleinen Screens nur 2 Tiere, damit es nicht zu voll wird */
}
/* ---------- Live-Status-Punkt ---------- */
.live-dot {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
background: #6b7280; /* grau = aktuell offline */
margin-right: .45rem;
vertical-align: middle;
}
.live-dot.is-live {
background: #22c55e; /* grün = live */
animation: live-pulse 1.6s infinite;
}
@keyframes live-pulse {
0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
.live-dot.is-live { animation: none; }
}
/* ---------- Badges / Hierarchy ---------- */
.badge { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .6rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-muted); }
.badge.rank-1 { border-color: var(--accent); color: var(--accent); }
/* ---------- QR ---------- */
.qr-card { text-align: center; }
.qr-card .img-placeholder { width: 160px; height: 160px; margin: 0 auto 1rem; aspect-ratio: auto; }
/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--text-muted); }
.small { font-size: .85rem; }
.todo-note {
border: 1px dashed var(--accent-2);
background: rgba(139,92,246,.08);
padding: 1rem 1.2rem;
border-radius: 10px;
font-size: .85rem;
color: var(--text-muted);
margin: 1.5rem 0;
}
.todo-note strong { color: var(--accent-2); }