initial commit

This commit is contained in:
2026-05-03 10:00:01 +02:00
parent ac2d1f25e5
commit 41d017b70f
20 changed files with 4019 additions and 276 deletions
+179
View File
@@ -0,0 +1,179 @@
---
// Navigation items for the theater homepage sections
const navItems = [
{ id: 'projekt', label_de: 'Das Projekt', label_en: 'The Project' },
{ id: 'team', label_de: 'Wer steckt dahinter', label_en: 'Who\'s Behind It' },
{ id: 'stueck', label_de: 'Das Stück', label_en: 'The Play' },
{ id: 'mitwirkung', label_de: 'Mitwirkung', label_en: 'Participation' },
{ id: 'termine', label_de: 'Termine', label_en: 'Schedule' },
{ id: 'presse', label_de: 'Presse', label_en: 'Press' },
{ id: 'gallery', label_de: 'Galerie', label_en: 'Gallery' },
{ id: 'tickets', label_de: 'Tickets', label_en: 'Tickets' },
];
---
<nav class="anchor-nav" id="anchor-nav">
<div class="nav-container">
<ul class="nav-list">
{navItems.map((item) => (
<li class="nav-item">
<a
href={`#${item.id}`}
class="nav-link"
data-section={item.id}
>
<span class="nav-label-de" data-lang="de">{item.label_de}</span>
<span class="nav-label-en" data-lang="en">{item.label_en}</span>
</a>
</li>
))}
</ul>
</div>
</nav>
<script>
// Smooth scroll to sections
document.querySelectorAll('.nav-link').forEach(link => {
link.addEventListener('click', (e) => {
e.preventDefault();
const targetId = link.getAttribute('href');
if (targetId) {
const targetSection = document.querySelector(targetId);
if (targetSection) {
const navHeight = document.querySelector('.anchor-nav')?.clientHeight || 0;
const targetPosition = targetSection.getBoundingClientRect().top + window.scrollY - navHeight - 20;
window.scrollTo({
top: targetPosition,
behavior: 'smooth'
});
}
}
});
});
// Highlight active section on scroll
const observerOptions = {
root: null,
rootMargin: '-20% 0px -70% 0px',
threshold: 0
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
const sectionId = entry.target.getAttribute('id');
document.querySelectorAll('.nav-link').forEach(link => {
link.classList.remove('active');
if (link.getAttribute('data-section') === sectionId) {
link.classList.add('active');
}
});
}
});
}, observerOptions);
// Observe all sections
document.querySelectorAll('.theater-section').forEach(section => {
observer.observe(section);
});
// Make nav sticky on scroll
let lastScroll = 0;
const nav = document.querySelector('.anchor-nav');
window.addEventListener('scroll', () => {
const currentScroll = window.scrollY;
if (currentScroll > 400) {
nav?.classList.add('sticky');
} else {
nav?.classList.remove('sticky');
}
lastScroll = currentScroll;
});
</script>
<style>
.anchor-nav {
background: #2b2b56;
padding: 1rem 0;
transition: all 0.3s ease;
z-index: 100;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.anchor-nav.sticky {
position: sticky;
top: 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.nav-container {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 var(--spacing-md);
}
.nav-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem;
}
.nav-item {
margin: 0;
}
.nav-link {
display: block;
color: white;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 4px;
transition: all 0.3s ease;
font-size: 0.95rem;
font-weight: 500;
white-space: nowrap;
}
.nav-link:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.nav-link.active {
background: rgba(255, 255, 255, 0.3);
font-weight: 700;
}
/* Language-specific labels */
:global([data-language="de"]) .nav-label-en,
:global([data-language="en"]) .nav-label-de {
display: none;
}
:global([data-language="de"]) .nav-label-de,
:global([data-language="en"]) .nav-label-en {
display: inline;
}
@media (max-width: 768px) {
.nav-list {
gap: 0.25rem;
}
.nav-link {
padding: 0.4rem 0.75rem;
font-size: 0.85rem;
}
.anchor-nav {
padding: 0.75rem 0;
}
}
</style>
+97
View File
@@ -0,0 +1,97 @@
---
interface Props {
currentLang: 'de' | 'en';
}
const { currentLang } = Astro.props;
---
<div class="language-switcher">
<button
class="lang-btn"
data-lang="de"
data-active={currentLang === 'de'}
>
DE
</button>
<span class="separator">|</span>
<button
class="lang-btn"
data-lang="en"
data-active={currentLang === 'en'}
>
EN
</button>
</div>
<script>
// Initialize language from localStorage or default to 'de'
let currentLanguage = localStorage.getItem('language') || 'de';
// Apply language on page load
document.documentElement.setAttribute('data-language', currentLanguage);
updateActiveButton();
// Add click handlers to language buttons
document.querySelectorAll('.lang-btn').forEach(button => {
button.addEventListener('click', (e) => {
const target = e.target as HTMLElement;
const lang = target.getAttribute('data-lang');
if (lang) {
currentLanguage = lang;
localStorage.setItem('language', lang);
document.documentElement.setAttribute('data-language', lang);
updateActiveButton();
}
});
});
function updateActiveButton() {
document.querySelectorAll('.lang-btn').forEach(btn => {
const btnLang = btn.getAttribute('data-lang');
btn.setAttribute('data-active', (btnLang === currentLanguage).toString());
});
}
</script>
<style>
.language-switcher {
display: flex;
align-items: center;
gap: 0.5rem;
}
.lang-btn {
background: none;
border: none;
color: white;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
padding: 0.5rem;
transition: all 0.3s ease;
opacity: 0.6;
}
.lang-btn:hover {
opacity: 1;
transform: scale(1.1);
}
.lang-btn[data-active="true"] {
opacity: 1;
font-weight: 700;
text-decoration: underline;
}
.separator {
color: white;
opacity: 0.4;
}
@media (max-width: 768px) {
.lang-btn {
font-size: 0.9rem;
}
}
</style>
+87
View File
@@ -0,0 +1,87 @@
---
interface Props {
images: string[];
}
const { images } = Astro.props;
---
{images && images.length > 0 ? (
<div class="photo-gallery">
{images.map((image) => (
<div class="gallery-item">
<img src={image} alt="Theater photo" loading="lazy" />
</div>
))}
</div>
) : (
<div class="placeholder">
<p class="placeholder-de" data-lang="de">Fotos werden bald hinzugefügt. Besuchen Sie uns später wieder!</p>
<p class="placeholder-en" data-lang="en">Photos will be added soon. Check back later!</p>
</div>
)}
<style>
.photo-gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: var(--spacing-md);
margin-top: var(--spacing-lg);
}
.gallery-item {
position: relative;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease, box-shadow 0.3s ease;
aspect-ratio: 4 / 3;
}
.gallery-item:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.gallery-item:hover img {
transform: scale(1.05);
}
.placeholder {
text-align: center;
padding: var(--spacing-xl);
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
font-style: italic;
}
.placeholder p {
margin: 0;
font-size: 1.1rem;
}
/* Language-specific placeholders */
:global([data-language="de"]) .placeholder-en,
:global([data-language="en"]) .placeholder-de {
display: none;
}
:global([data-language="de"]) .placeholder-de,
:global([data-language="en"]) .placeholder-en {
display: block;
}
@media (max-width: 768px) {
.photo-gallery {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: var(--spacing-sm);
}
}
</style>
+84
View File
@@ -0,0 +1,84 @@
---
interface Props {
id: string;
titleDe: string;
titleEn: string;
variant?: 'light' | 'dark';
}
const { id, titleDe, titleEn, variant = 'light' } = Astro.props;
---
<section class={`theater-section ${variant}`} id={id}>
<div class="container">
<h2 class="section-title">
<span class="title-de" data-lang="de">{titleDe}</span>
<span class="title-en" data-lang="en">{titleEn}</span>
</h2>
<div class="section-content">
<slot />
</div>
</div>
</section>
<style>
.theater-section {
padding: var(--spacing-xl) var(--spacing-md);
scroll-margin-top: 100px;
}
.theater-section.light {
background: #3d3d6f;
color: white;
}
.theater-section.dark {
background: #2b2b56;
color: white;
}
.container {
max-width: var(--max-width);
margin: 0 auto;
}
.section-title {
font-family: 'Great Vibes', cursive;
font-size: 3.5rem;
margin-bottom: var(--spacing-lg);
text-align: center;
font-weight: 400;
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.section-content {
font-size: 1.1rem;
line-height: 1.8;
}
/* Language-specific titles */
:global([data-language="de"]) .title-en,
:global([data-language="en"]) .title-de {
display: none;
}
:global([data-language="de"]) .title-de,
:global([data-language="en"]) .title-en {
display: inline;
}
@media (max-width: 768px) {
.theater-section {
padding: var(--spacing-lg) var(--spacing-sm);
}
.section-title {
font-size: 2.5rem;
}
.section-content {
font-size: 1rem;
}
}
</style>
+29 -78
View File
@@ -8,32 +8,26 @@ const { title, description = "Theater Ziefen - Coming 2029" } = Astro.props;
---
<!doctype html>
<html lang="de">
<html lang="de" data-language="de">
<head>
<meta charset="UTF-8" />
<meta name="description" content={description} />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap" rel="stylesheet">
<title>{title} | Theater Ziefen</title>
<script is:inline>
// Set language immediately before page renders
(function() {
const savedLang = localStorage.getItem('language') || 'de';
document.documentElement.setAttribute('data-language', savedLang);
})();
</script>
</head>
<body>
<header class="header">
<div class="container">
<nav class="nav">
<a href="/" class="logo">
<h1>Theater Ziefen</h1>
</a>
<ul class="nav-links">
<li><a href="/">Home</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</nav>
</div>
</header>
<main class="main">
<slot />
</main>
@@ -47,13 +41,13 @@ const { title, description = "Theater Ziefen - Coming 2029" } = Astro.props;
<style>
:root {
--color-primary: #8b0000;
--color-secondary: #2c3e50;
--color-accent: #c0392b;
--color-primary: #2b2b56;
--color-secondary: #2d4a54;
--color-accent: #f9f871;
--color-text: #333;
--color-text-light: #666;
--color-bg: #ffffff;
--color-bg-alt: #f8f9fa;
--color-bg-alt: #fafaf5;
--spacing-xs: 0.5rem;
--spacing-sm: 1rem;
--spacing-md: 2rem;
@@ -68,11 +62,20 @@ const { title, description = "Theater Ziefen - Coming 2029" } = Astro.props;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
color: var(--color-text);
color: white;
line-height: 1.6;
background-color: var(--color-bg);
background-color: #2b2b56;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Great Vibes', cursive;
font-weight: 400;
}
.container {
@@ -81,82 +84,30 @@ const { title, description = "Theater Ziefen - Coming 2029" } = Astro.props;
padding: 0 var(--spacing-md);
}
/* Header Styles */
.header {
background-color: var(--color-secondary);
color: white;
padding: var(--spacing-sm) 0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 100;
}
.nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
color: white;
text-decoration: none;
}
.logo h1 {
font-size: 1.5rem;
font-weight: 700;
}
.nav-links {
display: flex;
list-style: none;
gap: var(--spacing-md);
}
.nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
}
.nav-links a:hover {
color: var(--color-accent);
}
/* Main Content */
.main {
min-height: calc(100vh - 200px);
padding: var(--spacing-lg) 0;
}
/* Footer Styles */
.footer {
background-color: var(--color-secondary);
background-color: #2b2b56;
color: white;
padding: var(--spacing-md) 0;
text-align: center;
margin-top: var(--spacing-xl);
border-top: 2px solid rgba(255, 255, 255, 0.1);
}
.footer-tagline {
margin-top: var(--spacing-xs);
color: var(--color-accent);
font-weight: 600;
opacity: 0.9;
}
/* Responsive Design */
@media (max-width: 768px) {
.nav {
flex-direction: column;
gap: var(--spacing-sm);
}
.nav-links {
gap: var(--spacing-sm);
}
.container {
padding: 0 var(--spacing-sm);
}
+599 -193
View File
@@ -1,251 +1,657 @@
---
import BaseLayout from '../layouts/BaseLayout.astro';
import LanguageSwitcher from '../components/LanguageSwitcher.astro';
import AnchorNav from '../components/AnchorNav.astro';
import TheaterSection from '../components/TheaterSection.astro';
import PhotoGallery from '../components/PhotoGallery.astro';
const allPostFiles = import.meta.glob('../../content/blog/*.mdx', { eager: true });
const recentPosts = Object.entries(allPostFiles).map(([path, post]) => ({
...post,
slug: path.split('/').pop()?.replace('.mdx', '') || ''
}));
const sortedPosts = recentPosts
.sort((a, b) => new Date(b.frontmatter.date).valueOf() - new Date(a.frontmatter.date).valueOf())
.slice(0, 3);
// Import theater homepage content
const theaterFiles = import.meta.glob('../../content/theater/*.mdx', { eager: true });
const theaterHomepage = Object.values(theaterFiles)[0] as any;
const content = theaterHomepage?.frontmatter || {};
// Helper function to render rich-text content
function renderRichText(richText: any, lang: 'de' | 'en'): string {
if (!richText || !richText.children) return '';
let html = '';
richText.children.forEach((child: any) => {
if (child.type === 'p') {
html += '<p>';
child.children.forEach((textNode: any) => {
if (textNode.type === 'text') {
html += textNode.text;
}
});
html += '</p>';
} else if (child.type === 'h3') {
html += '<h3>';
child.children.forEach((textNode: any) => {
if (textNode.type === 'text') {
html += textNode.text;
}
});
html += '</h3>';
}
});
return html;
}
---
<BaseLayout title="Home">
<BaseLayout title={content.title || 'Freilichttheater Ziefen 2028'}>
<!-- Hero Section -->
<div class="hero">
<div class="container">
<h1 class="hero-title">Theater Ziefen</h1>
<p class="hero-subtitle">An Unforgettable Theatrical Experience</p>
<p class="hero-date">Coming 2029</p>
<div class="hero-cta">
<a href="/about" class="btn btn-primary">Learn More</a>
<a href="/blog" class="btn btn-secondary">Latest Updates</a>
<div class="hero-wrapper">
<div class="hero-language">
<LanguageSwitcher currentLang="de" />
</div>
<img src="/logo.svg" alt="Theater Ziefen Logo" class="hero-logo" />
<div class="hero-content">
<h1 class="hero-title">
<span class="title-de" data-lang="de">{content.hero?.title_de || 'Freilichttheater in Ziefen'}</span>
<span class="title-en" data-lang="en">{content.hero?.title_en || 'Open-Air Theater in Ziefen'}</span>
</h1>
<p class="hero-subtitle">
<span class="subtitle-de" data-lang="de">{content.hero?.subtitle_de || ''}</span>
<span class="subtitle-en" data-lang="en">{content.hero?.subtitle_en || ''}</span>
</p>
<div class="hero-year">2028</div>
</div>
</div>
</div>
</div>
<section class="intro">
<div class="container">
<h2>Welcome to Theater Ziefen</h2>
<p>
We are excited to bring you an exceptional theatrical production in 2029.
This website will be your hub for all updates, news, and information about
our upcoming show.
</p>
<p>
Stay connected with us through our blog, where we'll share behind-the-scenes
insights, production updates, and announcements about ticket sales when they
become available.
</p>
</div>
</section>
<!-- Anchor Navigation -->
<AnchorNav />
{sortedPosts.length > 0 && (
<section class="recent-posts">
<div class="container">
<h2>Latest Updates</h2>
<div class="posts-grid">
{sortedPosts.map((post) => (
<article class="post-card">
<h3>
<a href={`/blog/${post.slug}`}>
{post.frontmatter.title}
</a>
</h3>
<p class="post-date">
{new Date(post.frontmatter.date).toLocaleDateString('de-DE', {
year: 'numeric',
month: 'long',
day: 'numeric'
})}
</p>
<p class="post-excerpt">{post.frontmatter.excerpt}</p>
<a href={`/blog/${post.slug}`} class="read-more">
Read more →
</a>
</article>
))}
</div>
<div class="view-all">
<a href="/blog" class="btn btn-secondary">View All Posts</a>
</div>
<!-- Section 1: Das Projekt -->
<TheaterSection
id="projekt"
titleDe={content.projekt?.title_de || 'Das Projekt'}
titleEn={content.projekt?.title_en || 'The Project'}
variant="light"
>
<div class="content-de" data-lang="de" set:html={renderRichText(content.projekt?.content_de, 'de')} />
<div class="content-en" data-lang="en" set:html={renderRichText(content.projekt?.content_en, 'en')} />
</TheaterSection>
<!-- Section 2: Wer steckt dahinter -->
<TheaterSection
id="team"
titleDe={content.team?.title_de || 'Wer steckt dahinter'}
titleEn={content.team?.title_en || "Who's Behind It"}
variant="dark"
>
<div class="content-de" data-lang="de" set:html={renderRichText(content.team?.content_de, 'de')} />
<div class="content-en" data-lang="en" set:html={renderRichText(content.team?.content_en, 'en')} />
{content.team?.organizations && content.team.organizations.length > 0 && (
<div class="organizations">
{content.team.organizations.map((org: any) => (
<div class="org-card">
<h3>{org.name}</h3>
<p class="org-role-de" data-lang="de">{org.role_de}</p>
<p class="org-role-en" data-lang="en">{org.role_en}</p>
</div>
))}
</div>
</section>
)}
)}
</TheaterSection>
<!-- Section 3: Das Stück -->
<TheaterSection
id="stueck"
titleDe={content.stueck?.title_de || 'Das Stück'}
titleEn={content.stueck?.title_en || 'The Play'}
variant="light"
>
<div class="content-de" data-lang="de" set:html={renderRichText(content.stueck?.content_de, 'de')} />
<div class="content-en" data-lang="en" set:html={renderRichText(content.stueck?.content_en, 'en')} />
</TheaterSection>
<!-- Section 4: Mitwirkung -->
<TheaterSection
id="mitwirkung"
titleDe={content.mitwirkung?.title_de || 'Mitwirkung im Schauspiel'}
titleEn={content.mitwirkung?.title_en || 'Participation in the Play'}
variant="dark"
>
<div class="content-de" data-lang="de" set:html={renderRichText(content.mitwirkung?.content_de, 'de')} />
<div class="content-en" data-lang="en" set:html={renderRichText(content.mitwirkung?.content_en, 'en')} />
{content.mitwirkung?.director_name && (
<div class="director-contact">
<h3>
<span data-lang="de">Kontakt Regisseur:</span>
<span data-lang="en">Contact Director:</span>
</h3>
<p><strong>{content.mitwirkung.director_name}</strong></p>
{content.mitwirkung.director_email && (
<p>
<span data-lang="de">E-Mail:</span>
<span data-lang="en">Email:</span>
{' '}
<a href={`mailto:${content.mitwirkung.director_email}`}>{content.mitwirkung.director_email}</a>
</p>
)}
{content.mitwirkung.director_phone && (
<p>
<span data-lang="de">Telefon:</span>
<span data-lang="en">Phone:</span>
{' '}
<a href={`tel:${content.mitwirkung.director_phone}`}>{content.mitwirkung.director_phone}</a>
</p>
)}
</div>
)}
</TheaterSection>
<!-- Section 5: Termine -->
<TheaterSection
id="termine"
titleDe={content.termine?.title_de || 'Termine'}
titleEn={content.termine?.title_en || 'Schedule'}
variant="light"
>
<div class="map-subtitle">
<span data-lang="de">Weite Wege mit Breitenstein</span>
<span data-lang="en">Long Paths with Breitenstein</span>
</div>
{content.termine?.events && content.termine.events.length > 0 && (
<div class="journey-map">
<svg class="journey-path" viewBox="0 0 1000 1000" preserveAspectRatio="xMidYMid meet">
<path
d="M 50,30 C 150,80 350,150 550,200 S 350,290 100,380 S 300,470 600,560 S 350,670 150,740 S 350,850 550,920"
fill="none"
stroke="var(--color-accent)"
stroke-width="4"
stroke-dasharray="15,10"
opacity="0.7"
/>
</svg>
{content.termine.events.map((event: any, index: number) => (
<div class="journey-stop" style={`--stop-index: ${index}`} data-stop={index + 1}>
<div class="journey-marker">
<div class="marker-pin"></div>
<div class="marker-label">{event.date}</div>
</div>
<div class="journey-card">
<h3 class="event-title">
<span class="event-title-de" data-lang="de">{event.title_de}</span>
<span class="event-title-en" data-lang="en">{event.title_en}</span>
</h3>
<p class="event-desc-de" data-lang="de">{event.description_de}</p>
<p class="event-desc-en" data-lang="en">{event.description_en}</p>
</div>
</div>
))}
</div>
)}
</TheaterSection>
<!-- Section 6: Presse -->
<TheaterSection
id="presse"
titleDe={content.presse?.title_de || 'Presse'}
titleEn={content.presse?.title_en || 'Press'}
variant="dark"
>
<div class="content-de" data-lang="de" set:html={renderRichText(content.presse?.content_de, 'de')} />
<div class="content-en" data-lang="en" set:html={renderRichText(content.presse?.content_en, 'en')} />
</TheaterSection>
<!-- Section 7: Foto Galerie -->
<TheaterSection
id="gallery"
titleDe={content.gallery?.title_de || 'Foto Galerie'}
titleEn={content.gallery?.title_en || 'Photo Gallery'}
variant="light"
>
<PhotoGallery images={content.gallery?.images || []} />
</TheaterSection>
<!-- Section 8: Tickets -->
<TheaterSection
id="tickets"
titleDe={content.tickets?.title_de || 'Tickets'}
titleEn={content.tickets?.title_en || 'Tickets'}
variant="dark"
>
<div class="content-de" data-lang="de" set:html={renderRichText(content.tickets?.content_de, 'de')} />
<div class="content-en" data-lang="en" set:html={renderRichText(content.tickets?.content_en, 'en')} />
{content.tickets?.ticket_url && (
<div class="ticket-cta">
<a href={content.tickets.ticket_url} class="btn btn-primary" target="_blank" rel="noopener noreferrer">
<span data-lang="de">Tickets kaufen</span>
<span data-lang="en">Buy Tickets</span>
</a>
</div>
)}
</TheaterSection>
</BaseLayout>
<style>
/* Hero Section */
.hero {
background: linear-gradient(135deg, #2c3e50 0%, #8b0000 100%);
background: #2b2b56;
color: white;
padding: 6rem 0;
text-align: center;
padding: 3rem 0 6rem;
position: relative;
overflow: hidden;
min-height: 500px;
}
.hero-wrapper {
position: relative;
min-height: 400px;
}
.hero-language {
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
.hero-logo {
position: absolute;
top: -40px;
right: -60px;
height: 500px;
width: auto;
opacity: 0.95;
z-index: 5;
}
.hero-content {
position: relative;
z-index: 8;
max-width: 850px;
padding-top: 4rem;
padding-left: 3rem;
text-align: left;
}
.hero-title {
font-size: 3.5rem;
font-weight: 800;
margin-bottom: 1rem;
font-size: 4.5rem;
font-weight: 400;
margin-bottom: 1.5rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
line-height: 1.3;
}
.hero-subtitle {
font-size: 1.5rem;
margin-bottom: 0.5rem;
font-size: 1.3rem;
line-height: 1.6;
margin-bottom: 2rem;
opacity: 0.95;
}
.hero-date {
font-size: 1.25rem;
font-weight: 600;
color: #ffd700;
margin-bottom: 2rem;
.hero-year {
font-family: 'Great Vibes', cursive;
font-size: 6rem;
font-weight: 400;
color: var(--color-accent);
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
margin-top: 1rem;
}
.hero-cta {
/* Language-specific content */
:global([data-language="de"]) .title-en,
:global([data-language="de"]) .subtitle-en,
:global([data-language="de"]) .content-en,
:global([data-language="de"]) .org-role-en,
:global([data-language="de"]) .event-title-en,
:global([data-language="de"]) .event-desc-en,
:global([data-language="de"]) [data-lang="en"] {
display: none !important;
}
:global([data-language="en"]) .title-de,
:global([data-language="en"]) .subtitle-de,
:global([data-language="en"]) .content-de,
:global([data-language="en"]) .org-role-de,
:global([data-language="en"]) .event-title-de,
:global([data-language="en"]) .event-desc-de,
:global([data-language="en"]) [data-lang="de"] {
display: none !important;
}
/* Organizations Grid */
.organizations {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: var(--spacing-md);
margin-top: var(--spacing-lg);
}
.org-card {
background: rgba(255, 255, 255, 0.1);
padding: var(--spacing-md);
border-radius: 8px;
text-align: center;
transition: transform 0.3s ease, background 0.3s ease;
}
.org-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.15);
}
.org-card h3 {
font-family: 'Great Vibes', cursive;
font-size: 2rem;
margin-bottom: 0.5rem;
color: white;
font-weight: 400;
}
.org-card p {
margin: 0;
opacity: 0.9;
}
/* Director Contact */
.director-contact {
margin-top: var(--spacing-lg);
padding: var(--spacing-md);
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
text-align: center;
}
.director-contact h3 {
font-family: 'Great Vibes', cursive;
font-size: 2rem;
color: white;
margin-bottom: 1rem;
font-weight: 400;
}
.director-contact a {
color: var(--color-accent);
text-decoration: none;
}
.director-contact a:hover {
text-decoration: underline;
}
/* Journey Map */
.map-subtitle {
font-family: 'Great Vibes', cursive;
font-size: 2.5rem;
text-align: center;
color: var(--color-accent);
margin-bottom: var(--spacing-lg);
font-weight: 400;
}
.journey-map {
position: relative;
margin-top: var(--spacing-xl);
padding: 2rem 0;
min-height: 1400px;
}
.journey-path {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
pointer-events: none;
}
.journey-stop {
position: absolute;
z-index: 2;
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
align-items: flex-start;
gap: 3rem;
text-align: left;
}
.journey-stop[data-stop="2"],
.journey-stop[data-stop="3"],
.journey-stop[data-stop="5"],
.journey-stop[data-stop="6"] {
text-align: right;
}
/* Position stops in structured layout - path will follow these */
.journey-stop[data-stop="1"] {
top: 3%;
left: 5%;
}
.journey-stop[data-stop="2"] {
top: 20%;
left: 55%;
flex-direction: row-reverse;
}
.journey-stop[data-stop="3"] {
top: 38%;
left: 10%;
}
.journey-stop[data-stop="4"] {
top: 56%;
left: 60%;
flex-direction: row-reverse;
}
.journey-stop[data-stop="5"] {
top: 74%;
left: 15%;
}
.journey-stop[data-stop="6"] {
top: 92%;
left: 55%;
flex-direction: row-reverse;
}
.journey-marker {
display: flex;
flex-direction: column;
align-items: center;
min-width: 120px;
}
.marker-pin {
width: 30px;
height: 30px;
background: var(--color-accent);
border-radius: 50%;
border: 4px solid white;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
position: relative;
}
.marker-pin::after {
content: '';
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 15px solid var(--color-accent);
}
.marker-label {
margin-top: 1.5rem;
font-size: 1.1rem;
font-weight: 700;
color: var(--color-accent);
text-align: center;
white-space: nowrap;
}
.journey-card {
flex: 1;
background: rgba(255, 255, 255, 0.1);
padding: var(--spacing-md);
border-radius: 12px;
backdrop-filter: blur(10px);
border: 2px solid rgba(255, 255, 255, 0.2);
transition: all 0.3s ease;
max-width: 500px;
}
.journey-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.journey-card h3 {
font-family: 'Great Vibes', cursive;
font-size: 2rem;
margin-bottom: 0.5rem;
color: white;
font-weight: 400;
}
.journey-card p {
margin: 0;
color: rgba(255, 255, 255, 0.9);
line-height: 1.6;
}
/* Ticket CTA */
.ticket-cta {
margin-top: var(--spacing-lg);
text-align: center;
}
.btn {
padding: 0.75rem 2rem;
border-radius: 4px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
display: inline-block;
}
.btn-primary {
background-color: #c0392b;
color: white;
}
.btn-primary:hover {
background-color: #8b0000;
transform: translateY(-2px);
}
.btn-secondary {
background-color: white;
color: #2c3e50;
}
.btn-secondary:hover {
background-color: #f8f9fa;
transform: translateY(-2px);
}
.intro {
padding: 4rem 0;
background-color: #f8f9fa;
}
.intro h2 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
color: #2c3e50;
text-align: center;
}
.intro p {
font-size: 1.125rem;
line-height: 1.8;
max-width: 800px;
margin: 0 auto 1rem;
color: #666;
}
.recent-posts {
padding: 4rem 0;
}
.recent-posts h2 {
font-size: 2.5rem;
margin-bottom: 2rem;
color: #2c3e50;
text-align: center;
}
.posts-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.post-card {
background: white;
padding: 2rem;
padding: 1rem 2.5rem;
background: var(--color-accent);
color: var(--color-secondary);
text-decoration: none;
font-weight: 700;
font-size: 1.2rem;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.post-card:hover {
transform: translateY(-4px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
background: #fbfa9a;
}
.post-card h3 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.post-card h3 a {
color: #2c3e50;
text-decoration: none;
}
.post-card h3 a:hover {
color: #8b0000;
}
.post-date {
color: #999;
font-size: 0.9rem;
/* Content Styling */
:global(.section-content p) {
margin-bottom: 1rem;
}
.post-excerpt {
color: #666;
line-height: 1.6;
margin-bottom: 1rem;
}
.read-more {
color: #8b0000;
text-decoration: none;
font-weight: 600;
}
.read-more:hover {
color: #c0392b;
}
.view-all {
text-align: center;
margin-top: 2rem;
:global(.section-content h3) {
font-size: 1.8rem;
margin: 1.5rem 0 1rem;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
.hero {
padding: 2rem 0 4rem;
min-height: 400px;
}
.hero-wrapper {
min-height: 350px;
}
.hero-language {
position: static;
margin-bottom: 1rem;
}
.hero-logo {
position: absolute;
top: 0;
right: -30px;
height: 200px;
opacity: 0.7;
}
.hero-content {
padding-top: 3rem;
padding-left: 1rem;
max-width: 100%;
text-align: left;
}
.hero-title {
font-size: 2.5rem;
font-size: 2.8rem;
margin-bottom: 1rem;
}
.hero-subtitle {
font-size: 1.25rem;
font-size: 1.1rem;
margin-bottom: 1.5rem;
}
.intro h2,
.recent-posts h2 {
.hero-year {
font-size: 4rem;
}
.organizations {
grid-template-columns: 1fr;
}
/* Journey Map Mobile */
.map-subtitle {
font-size: 2rem;
}
.posts-grid {
grid-template-columns: 1fr;
.journey-map {
min-height: auto;
display: flex;
flex-direction: column;
gap: var(--spacing-lg);
}
.journey-path {
display: none;
}
.journey-stop {
position: relative !important;
top: auto !important;
left: auto !important;
flex-direction: column !important;
text-align: left !important;
}
.journey-marker {
min-width: auto;
align-self: flex-start;
}
.marker-label {
font-size: 0.95rem;
}
.journey-card {
max-width: 100%;
}
.journey-card h3 {
font-size: 1.6rem;
}
}
</style>