/* ===== EINE LETZTE GESTE DER LIEBE - STYLES ===== */

/* Reset und Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(to bottom, #fefbf3, #fef7ed);
    overflow-x: hidden;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

/* Container System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    z-index: 10001;
    transition: width 0.3s ease;
}

/* ===== NAVIGATION ===== */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    z-index: 1001;
}

.navbar-brand i {
    font-size: 1.3rem;
    color: #dc2626;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Navigation Desktop */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.navbar-nav a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.navbar-nav a:hover::before,
.navbar-nav a.active::before {
    width: 80%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1f2937;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    background: white;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: white;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 25%, #f87171 50%, #ef4444 75%, #dc2626 100%);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 280px;
}

.mobile-menu-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ===== HERO SECTION ===== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 25%, #f87171 50%, #ef4444 75%, #dc2626 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 70px 0 2rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('heritage_background.png') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 40px rgba(220, 38, 38, 0.5); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: white;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-amount {
    color: #fef3c7;
    font-weight: 700;
    font-size: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-width: 220px;
}

.btn-primary {
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: white;
    color: #dc2626;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    width: 80px;
    margin: 1.5rem auto;
    border-radius: 1px;
}

/* ===== CARDS ===== */

.card {
    background: linear-gradient(145deg, #ffffff 0%, #fef7ed 100%);
    border: 1px solid rgba(220, 38, 38, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
}

/* ===== GRID SYSTEM ===== */

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== PORTRAIT SECTION ===== */

.portrait-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.portrait-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(220, 38, 38, 0.3);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
    margin: 0 auto;
    display: block;
}

.portrait-info {
    text-align: center;
    margin-bottom: 2rem;
}

.portrait-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.portrait-title {
    color: #dc2626;
    font-weight: 500;
    margin-bottom: 1rem;
}

.quote {
    background: #fef2f2;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #dc2626;
    margin: 2rem 0;
    font-style: italic;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: #dc2626;
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    font-family: 'Playfair Display', serif;
}

/* ===== STATS ===== */

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
}

/* ===== TIMELINE ===== */

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #dc2626, transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: #dc2626;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.timeline-year {
    font-weight: 700;
    color: #dc2626;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content {
    color: #4b5563;
    line-height: 1.6;
}

/* ===== URGENCE SECTION ===== */

.urgence-section {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fecaca;
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.urgence-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
}

.urgence-icon {
    font-size: 3rem;
    color: #dc2626;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.urgence-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
}

.urgence-text {
    color: #7f1d1d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===== FORMS ===== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-message {
    background: #fef2f2;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #dc2626;
    margin: 2rem 0;
}

.form-message h4 {
    color: #7f1d1d;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-message p {
    color: #991b1b;
    font-style: italic;
}

/* ===== FOOTER ===== */

.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.footer-author {
    color: #9ca3af;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== PARTICLES ===== */

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .navbar-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-icon {
        width: 60px;
        height: 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .portrait-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .portrait-image {
        width: 160px;
        height: 160px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-item::before {
        left: -2.25rem;
        width: 12px;
        height: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        min-width: 250px;
    }
}

@media screen and (max-width: 640px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .navbar {
        height: 60px;
    }

    .hero {
        padding: 60px 0 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-icon {
        width: 50px;
        height: 50px;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .portrait-image {
        width: 140px;
        height: 140px;
    }

    .card {
        padding: 1.5rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1rem;
        margin-bottom: 2rem;
    }

    .timeline-item::before {
        left: -1.75rem;
        width: 10px;
        height: 10px;
    }

    .btn {
        min-width: 200px;
        padding: 0.875rem 1.5rem;
    }

    .mobile-menu-nav a {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .portrait-image {
        width: 120px;
        height: 120px;
    }

    .portrait-name {
        font-size: 1.5rem;
    }

    .card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .btn {
        min-width: 180px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .mobile-menu-nav a {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-brand i {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 360px) {
    html {
        font-size: 12px;
    }

    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .portrait-image {
        width: 100px;
        height: 100px;
    }

    .btn {
        min-width: 160px;
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }

    .mobile-menu-nav a {
        font-size: 0.8rem;
        padding: 0.625rem 0.875rem;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .section {
        padding: 5rem 0;
    }
}

/* ===== ACCESSIBILITY & PREFERENCES ===== */

@media (hover: none) and (pointer: coarse) {
    .card:hover,
    .btn:hover {
        transform: none;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(to bottom, #1f2937, #111827);
        color: #f9fafb;
    }
    
    .navbar {
        background: rgba(31, 41, 55, 0.95);
        border-bottom-color: rgba(220, 38, 38, 0.2);
    }
    
    .card {
        background: linear-gradient(145deg, #374151 0%, #4b5563 100%);
        border-color: rgba(220, 38, 38, 0.2);
    }
    
    .section-title {
        color: #f9fafb;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== CONFETTI ANIMATION ===== */

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

