/* ====================================
   CSS Reset und Basis-Styling
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.8;
    color: #4a4438;
    background-color: #f5f3ef;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 300px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
}

/* ====================================
   Container und Layout
   ==================================== */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.memorial-content {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ====================================
   Typografie
   ==================================== */
.title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #3d3328;
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.date-location {
    text-align: center;
    font-size: 0.95rem;
    color: #8b7d6b;
    font-style: italic;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e3ddd3;
}

.memorial-text p {
    font-size: 1.05rem;
    color: #4a4438;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
}

.memorial-text p:last-child {
    margin-bottom: 0;
}

.final-words {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e3ddd3;
    font-style: italic;
    color: #5a5244;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: transparent;
}

.footer-symbol {
    font-size: 1.5rem;
    color: #a89780;
    opacity: 0.6;
}

/* ====================================
   Responsive Design - Tablet
   ==================================== */
@media screen and (min-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .container {
        padding: 4rem 2rem;
    }
    
    .memorial-content {
        padding: 3rem 3rem;
    }
    
    .title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .date-location {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .memorial-text p {
        font-size: 1.1rem;
        margin-bottom: 1.75rem;
    }
}

/* ====================================
   Responsive Design - Desktop
   ==================================== */
@media screen and (min-width: 1024px) {
    .hero {
        height: 60vh;
        min-height: 500px;
    }
    
    .container {
        padding: 5rem 2rem;
    }
    
    .memorial-content {
        padding: 4rem 4rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .date-location {
        font-size: 1.05rem;
    }
    
    .memorial-text p {
        font-size: 1.125rem;
        line-height: 2;
    }
}

/* ====================================
   Print Styling (optional)
   ==================================== */
@media print {
    .hero {
        height: auto;
        page-break-after: avoid;
    }
    
    .memorial-content {
        box-shadow: none;
        padding: 1rem;
    }
    
    body {
        background-color: white;
    }
}