/* Kölsche Kelten - Custom CSS */

:root {
    --color-gold: #d4af37;
    --color-bronze: #cd7f32;
    --color-dark-green: #1a3d2e;
    --color-black: #000000;
    --color-dark: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Keltisches Muster Hintergrund mit Parallax */
.celtic-pattern-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(212, 175, 55, 0.03) 50px,
            rgba(212, 175, 55, 0.03) 51px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(212, 175, 55, 0.03) 50px,
            rgba(212, 175, 55, 0.03) 51px
        );
    background-size: 200% 200%;
    animation: celticPattern 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes celticPattern {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Schriftarten */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

/* Farbklassen */
.text-gold {
    color: var(--color-gold);
}

.bg-gold {
    background-color: var(--color-gold);
}

.border-gold {
    border-color: var(--color-gold);
}

/* Navigation */
nav {
    min-height: 80px;
}

.nav-link {
    color: #d1d5db;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    background: linear-gradient(135deg, var(--color-gold), var(--color-bronze));
    color: black;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Animierte Keltische Knoten */
.celtic-knot {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0;
    animation: knotFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.celtic-knot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 L70 30 L50 50 L70 70 L50 90 L30 70 L50 50 L30 30 Z' fill='none' stroke='%23d4af37' stroke-width='2' opacity='0.3'/%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%23d4af37' stroke-width='2' opacity='0.3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.celtic-knot-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.celtic-knot-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.celtic-knot-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes knotFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Animationen */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1.5s ease-out;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.5),
                     0 0 40px rgba(212, 175, 55, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(212, 175, 55, 0.8),
                     0 0 60px rgba(212, 175, 55, 0.5);
    }
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-bronze));
    color: black;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--color-gold);
    color: black;
    transform: translateY(-3px);
}

/* Sections */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

/* Keltischer Divider */
.celtic-divider {
    height: 3px;
    width: 200px;
    margin: 0 auto;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-gold) 20%, 
        var(--color-gold) 80%, 
        transparent
    );
    position: relative;
}

.celtic-divider::before,
.celtic-divider::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    font-size: 1.5rem;
}

.celtic-divider::before {
    left: -30px;
}

.celtic-divider::after {
    right: -30px;
}

/* Feature Cards */
.feature-card {
    background: rgba(26, 61, 46, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent,
        var(--color-gold) 10%,
        var(--color-gold) 90%,
        transparent
    );
}

.timeline-item {
    position: relative;
    margin: 4rem 0;
    opacity: 0;
    transform: translateY(50px);
    animation: timelineSlideIn 0.8s ease forwards;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 4rem;
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-bronze));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: 700;
    font-size: 1.125rem;
    font-family: 'Cinzel', serif;
    box-shadow: 0 0 0 4px black, 0 0 0 6px var(--color-gold);
    z-index: 10;
}

.timeline-content {
    background: rgba(26, 61, 46, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    transform: scale(1.02);
}

.timeline-year {
    display: none;
}

@keyframes timelineSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1s; }

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item::before {
        left: 30px;
        width: 60px;
        height: 60px;
        font-size: 0.875rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Video Placeholder */
.video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Termine Card */
.termin-card {
    background: rgba(26, 61, 46, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.termin-card:hover {
    border-color: var(--color-gold);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

/* Instagram Placeholder */
.instagram-placeholder {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.instagram-placeholder:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .celtic-knot {
        width: 100px;
        height: 100px;
    }
}

/* Smooth Scroll Offset für Fixed Nav */
section {
    scroll-margin-top: 80px;
}

/* Hero Section - Extra Padding damit Logo nicht vom Nav verdeckt wird */
#home {
    padding-top: 6rem; /* Mobile */
}

@media (min-width: 768px) {
    #home {
        padding-top: 8rem; /* Desktop - Mehr Abstand vom Fixed Nav */
    }
}

@media (min-width: 1024px) {
    #home {
        padding-top: 10rem; /* Large Desktop - Noch mehr Abstand */
    }
}

