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

:root {
    --primary-color: #004D9F;
    --secondary-color: #0066CC;
    --accent-color: #0080FF;
    --schalke-blue: #004D9F;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-color: #2d3436;
    --gray: #636e72;
    --light-gray: #dfe6e9;
    --gradient-start: #004D9F;
    --gradient-end: #0066CC;
    --shadow: 0 4px 15px rgba(0, 77, 159, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 77, 159, 0.2);
    --shadow-xl: 0 12px 40px rgba(0, 77, 159, 0.25);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 77, 159, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--light-color);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(0, 77, 159, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--white);
    padding: 140px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Hero Balls Animation */
.hero-balls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.ball {
    position: absolute;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    background-image: url('../images/football.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.ball:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.ball:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 70%;
    top: 30%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.ball:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 85%;
    top: 50%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.ball:nth-child(4) {
    width: 70px;
    height: 70px;
    left: 30%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 19s;
}

.ball:nth-child(5) {
    width: 90px;
    height: 90px;
    left: 50%;
    top: 15%;
    animation-delay: 3s;
    animation-duration: 21s;
}

.ball:nth-child(6) {
    width: 65px;
    height: 65px;
    left: 15%;
    top: 70%;
    animation-delay: 5s;
    animation-duration: 17s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.25;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.2;
    }
    75% {
        transform: translate(40px, 10px) scale(1.05);
        opacity: 0.18;
    }
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

section {
    padding: 100px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 77, 159, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 77, 159, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 77, 159, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--gray);
    font-size: 0.95rem;
}

.pricing {
    background-color: var(--light-color);
}

.pricing-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Cards Container */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Alle Cards gleich hoch */
}

/* Pricing Card & Price Card - beide Varianten */
.pricing-card,
.price-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%; /* Wichtig: Card füllt Grid-Zelle komplett */
}

/* Header-Bereich (Titel + Preis) - feste Höhe */
.pricing-card h3,
.price-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    min-height: 5.5rem; /* Erhöht für 2-3 Zeilen Text */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.pricing-card .price,
.price-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
    min-height: 3.5rem; /* Feste Höhe für Preis */
}

/* UL-Bereich - wächst dynamisch */
.pricing-card ul,
.price-card ul {
    flex: 1 1 auto; /* UL wächst und nimmt verfügbaren Platz */
    margin-bottom: 1.5rem;
    list-style: none;
    text-align: left;
    min-height: 150px; /* Mindesthöhe für Konsistenz */
}

/* Button-Bereich - immer am Ende, feste Höhe */
.pricing-card > a.btn,
.pricing-card > a.btn-paypal,
.pricing-card > a.btn-secondary,
.pricing-card > a.btn-primary,
.price-card > a.btn,
.price-card > a.btn-paypal,
.price-card > a.btn-secondary,
.price-card > a.btn-primary {
    margin-top: 0.5rem;
    margin-bottom: 0;
    display: block;
    width: 100%;
    flex-shrink: 0; /* Buttons behalten ihre Größe */
}

.pricing-card > a.btn:first-of-type,
.price-card > a.btn:first-of-type,
.pricing-card > a.btn-primary:first-of-type,
.price-card > a.btn-primary:first-of-type {
    margin-top: auto; /* Erster Button wird nach unten geschoben */
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.pricing-card.featured,
.price-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card:hover,
.price-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.pricing-card:hover::before,
.price-card:hover::before {
    opacity: 0.1;
}

.pricing-card.featured:hover,
.price-card.featured:hover {
    transform: translateY(-10px) scale(1.07);
}

/* Pricing Card List Items */
.pricing-card li,
.price-card li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 25px;
}

.pricing-card li:before,
.price-card li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact {
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 77, 159, 0.1);
    background-color: var(--white);
}

.form-group textarea {
    resize: vertical;
}

footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

/* Footer Links auf Schalke-Seite lesbar machen */
footer .footer-section a[style*="color: #004D9E"] {
    color: #66B3FF !important;
}

footer .footer-section a[style*="color: #004D9E"]:hover {
    color: var(--white) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .process-steps {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 50px 20px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.98);
    color: var(--white);
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 45px;
    height: 45px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--white);
    padding: 140px 20px 80px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-header .subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

/* Content Section */
.content-section {
    padding: 80px 20px;
}

/* Einheitliche Abstände für Überschriften */
.content-section h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-gray);
}

.content-section h2:first-of-type {
    margin-top: 0; /* Erste H2 hat keinen Abstand nach oben */
}

.content-section h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.content-section h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Einheitliche Abstände für Content-Blöcke */
.content-section > .container > div:not(:last-child),
.content-section > .container > p:not(:last-child),
.content-section > .container > ul:not(:last-child),
.content-section > .container > table:not(:last-child) {
    margin-bottom: 2rem;
}

/* Größere Abstände für wichtige Blöcke */
.leistungen-grid,
.pricing-cards,
.info-box,
.cta-box,
.faq-item:last-child {
    margin-bottom: 3rem;
}

/* Responsive Grid für Bestattungsdetails */
@media (max-width: 768px) {
    .bestattung-detail div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    .bestattung-detail img[style*="position: sticky"] {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 1.5rem;
    }
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 800px;
    margin: -2rem auto 3rem;
}

/* Bestattungsarten Detail */
.bestattung-detail {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.bestattung-detail.highlight {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 77, 159, 0.03) 0%, rgba(0, 102, 204, 0.03) 100%);
}

.bestattung-detail.ordnungsamt {
    background: rgba(255, 193, 7, 0.1);
    border-color: #FFC107;
}

.bestattung-detail h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.bestattung-detail h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.bestattung-detail ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.bestattung-detail li {
    margin-bottom: 0.5rem;
}

.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    background-color: #FFC107;
    color: #1a1a1a;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Decision Helper */
.decision-helper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.helper-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.helper-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Friedhof Cards */
.friedhof-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.friedhof-card.kirchlich {
    border-left: 4px solid #8B4513;
}

.friedhof-card h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.friedhof-info p {
    margin-bottom: 1rem;
}

.friedhof-info ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-box-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
}

.info-box-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.info-box-item .small {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 1rem;
}

/* Alternative Box */
.alternative-box {
    background: linear-gradient(135deg, rgba(0, 77, 159, 0.08) 0%, rgba(0, 102, 204, 0.08) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.alternative-box h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-box .btn {
    margin: 0 0.5rem;
}

.cta-center {
    text-align: center;
    margin: 3rem 0;
}

/* Tables */
.price-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.price-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.price-table tbody tr:hover {
    background-color: var(--light-color);
}

.price-cell {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.highlight-row {
    background-color: rgba(0, 77, 159, 0.05);
}

/* Trauerfeier Spezial */
.ablauf-box {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.ablauf-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.gestaltung-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gestaltung-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.gestaltung-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.alternative-feier {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.alternative-feier h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Unterlagen Spezial */
.step-box {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.step-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.unterlagen-liste {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.unterlagen-liste h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.unterlagen-liste h3:first-child {
    margin-top: 0;
}

.unterlagen-liste ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.wir-erledigen {
    background: linear-gradient(135deg, rgba(0, 77, 159, 0.08), rgba(0, 102, 204, 0.08));
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.wir-erledigen h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.fristen-table {
    width: 100%;
    margin: 2rem 0;
}

.fristen-table th,
.fristen-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.fristen-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.checkliste {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.checkliste h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.checkliste h4:first-child {
    margin-top: 0;
}

.checkliste ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.text-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.payment-info {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--gray);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .bestattung-detail,
    .friedhof-card {
        padding: 1.5rem;
    }
    
    .decision-helper {
        grid-template-columns: 1fr;
    }
    
    .info-boxes {
        grid-template-columns: 1fr;
    }
    
    .gestaltung-grid {
        grid-template-columns: 1fr;
    }
}

/* Hellere Hintergründe für bessere Lesbarkeit */
.services {
    background-color: #f8f9fa;
}

.info-box {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    padding: 2rem;
    border-radius: 12px;
}

.bestattung-detail {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 77, 159, 0.08);
}

.bestattung-detail.highlight {
    background: linear-gradient(135deg, rgba(0, 77, 159, 0.02) 0%, rgba(0, 102, 204, 0.02) 100%);
}

.friedhof-card {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-box-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
}

.helper-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--primary-color);
}

.ablauf-box {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--primary-color);
}

.gestaltung-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.step-box {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 77, 159, 0.08);
}

.unterlagen-liste {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
}

.wir-erledigen {
    background: linear-gradient(135deg, rgba(0, 77, 159, 0.03), rgba(0, 102, 204, 0.03));
    border: 1px solid rgba(0, 77, 159, 0.15);
}

.checkliste {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
}

.alternative-box {
    background: linear-gradient(135deg, rgba(0, 77, 159, 0.04) 0%, rgba(0, 102, 204, 0.04) 100%);
    border: 2px solid rgba(0, 77, 159, 0.2);
}

.alternative-feier {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
}

/* Text in Pricing Cards heller/besser lesbar */
.pricing-card {
    background-color: #ffffff;
}

.pricing-card ul li {
    color: #495057;
}

/* Graue Texte etwas heller */
.section-intro {
    color: #6c757d;
}

.footer-bottom {
    color: #adb5bd;
}

.small-print {
    color: #6c757d;
}

/* Info-Box mit hellem Hintergrund */
.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Contact Info besser lesbar */
.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

/* Reviews Section */
.reviews-section {
    margin-bottom: 4rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 77, 159, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 77, 159, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.review-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.review-stars {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    min-height: 120px;
}

.review-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-text {
        min-height: auto;
    }
}

/* Hellere Schatten für sanftere Optik */
.service-card {
    box-shadow: 0 3px 12px rgba(0, 77, 159, 0.08);
}

.service-card:hover {
    box-shadow: 0 6px 20px rgba(0, 77, 159, 0.15);
}

.pricing-card {
    box-shadow: 0 3px 12px rgba(0, 77, 159, 0.08);
}

.pricing-card:hover {
    box-shadow: 0 6px 20px rgba(0, 77, 159, 0.15);
}

/* Tabellen mit hellerem Hintergrund */
.price-table tbody tr {
    background-color: #ffffff;
}

.price-table tbody tr:hover {
    background-color: #f8f9fa;
}

.highlight-row {
    background-color: rgba(0, 77, 159, 0.03);
}

/* Process Section heller */
.process {
    background-color: #ffffff;
}

/* Decision Helper Cards heller */
.decision-helper .helper-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
}

/* Contact Section heller */
.contact {
    background-color: #f8f9fa;
}

.contact-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Hero Überschrift besser lesbar machen */
.hero-content h2 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.hero-content p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

/* Alternative: Hellerer Hintergrund für besseren Kontrast */
.hero::before {
    background: rgba(0, 0, 0, 0.15);
}

/* Buttons im Hero deutlicher */
.hero .btn-primary {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Größerer Intro-Text bei Preisen */
.pricing-intro.large-intro {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
}

/* PayPal Button Styling */
.btn-paypal {
    background-color: #0070ba;
    color: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-paypal:hover {
    background-color: #005a94;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 112, 186, 0.4);
}

.btn-paypal svg {
    fill: currentColor;
}


/* Stadtteile Grid */
.stadtteile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 4rem 0;
}

.stadtteil-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 77, 159, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.stadtteil-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 77, 159, 0.15);
}

.stadtteil-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.stadtteil-card p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Einrichtung Cards */
.einrichtung-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 77, 159, 0.1);
    margin-bottom: 2rem;
    border-top: 3px solid var(--primary-color);
}

.einrichtung-card.highlight {
    border-top: 3px solid #2ecc71;
    background: linear-gradient(to bottom, #f0fff4 0%, #ffffff 100%);
}

.einrichtung-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.einrichtung-card ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.einrichtung-card ul li {
    margin-bottom: 0.5rem;
}

.einrichtung-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.einrichtung-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .stadtteile-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
    content: "💬";
    font-size: 30px;
}

/* Notfall Banner */
.notfall-banner {
    background: linear-gradient(135deg, #d63031 0%, #e17055 100%);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(214, 48, 49, 0.3);
}

.notfall-banner a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.notfall-banner a:hover {
    text-decoration: underline;
}

.notfall-banner .phone-icon {
    font-size: 1.3rem;
    animation: ring 1.5s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    
    .notfall-banner {
        font-size: 0.9rem;
        padding: 10px 5px;
    }
}

/* ========================================
   Kopierschutz
   ======================================== */

/* Verhindert Textauswahl auf wichtigen Bereichen */
.pricing-cards,
.price-card,
.pricing-card {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Verhindert Rechtsklick auf Bildern */
img {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Wasserzeichen für wichtige Bereiche */
.hero::after,
.pricing::after {
    content: "© Feuerbestattung Gelsenkirchen";
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 1;
}

/* ========================================
   Barrierefreiheit (WCAG 2.1 AA)
   ======================================== */

/* Skip to Content Link für Screenreader */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
}

.skip-to-content:focus {
    top: 0;
}

/* Fokus-Indikatoren (Tastaturnavigation) */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --text-color: #000000;
        --light-color: #ffffff;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion für Menschen mit Bewegungsempfindlichkeit */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .ball {
        animation: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e0e0e0;
        --light-color: #1a1a1a;
        --white: #2d2d2d;
    }
    
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
}

/* Größere Klickflächen für Touch-Geräte */
@media (hover: none) and (pointer: coarse) {
    a,
    button,
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 24px;
    }
}

/* ARIA Live Region für dynamische Inhalte */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Bessere Lesbarkeit für Screenreader */
.phone-link,
.email-link {
    word-break: break-all;
}

/* Kontrast-Verbesserung für Links */
a {
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

a:hover {
    text-decoration-thickness: 3px;
}

/* Größere Touch-Targets für Mobile */
.nav-link,
.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Cookie Banner - DSGVO konform
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
    border-top: 3px solid var(--primary-color);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cookie-content p {
    margin: 10px 0;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn-accept:hover {
    background: #003d7a;
}

.cookie-btn-essential {
    background: #6c757d;
    color: white;
}

.cookie-btn-essential:hover {
    background: #545b62;
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.cookie-btn-decline:hover {
    background: #f8f9fa;
}

.cookie-btn-details {
    background: transparent;
    color: var(--primary-color);
    text-decoration: underline;
    border: none;
    padding: 5px 10px;
}

.cookie-details {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 0.9rem;
}

.cookie-details h4 {
    margin-top: 10px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.cookie-details ul {
    margin: 5px 0;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* ========================================
   Notfall Banner - DEZENTER (Grau statt Rot)
   ======================================== */
.notfall-banner {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.notfall-banner a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.notfall-banner a:hover {
    text-decoration: underline;
}

.notfall-banner .phone-icon {
    font-size: 1.2rem;
    animation: ring-subtle 2s ease-in-out infinite;
}

@keyframes ring-subtle {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-5deg); }
    20% { transform: rotate(5deg); }
    30% { transform: rotate(-5deg); }
    40% { transform: rotate(0deg); }
}

/* ========================================
   Fußball Animationen - Sanft tanzend
   ======================================== */
.hero-balls .ball {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url('../images/football.png');
    background-size: cover;
    border-radius: 50%;
    opacity: 0.15;
    animation: float-gentle 8s ease-in-out infinite;
}

/* Reduziert auf 5 Bälle */
.hero-balls .ball:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-duration: 7s;
    animation-delay: 0s;
}

.hero-balls .ball:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-duration: 9s;
    animation-delay: 1s;
}

.hero-balls .ball:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-duration: 8s;
    animation-delay: 2s;
}

.hero-balls .ball:nth-child(4) {
    bottom: 25%;
    right: 10%;
    animation-duration: 10s;
    animation-delay: 1.5s;
}

.hero-balls .ball:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

@keyframes float-gentle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -10px) rotate(90deg);
    }
    50% {
        transform: translate(-5px, -20px) rotate(180deg);
    }
    75% {
        transform: translate(-10px, -5px) rotate(270deg);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-balls .ball {
        animation: none !important;
    }
    
    .notfall-banner .phone-icon {
        animation: none !important;
    }
}

/* ========================================
   Fußball Animationen - VERSTÄRKT
   ======================================== */
.hero-balls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-balls .ball {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url('../images/football.png');
    background-size: cover;
    border-radius: 50%;
    opacity: 0.2;
    animation: float-dance 8s ease-in-out infinite;
    will-change: transform;
}

.hero-balls .ball:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-duration: 7s;
    animation-delay: 0s;
}

.hero-balls .ball:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-duration: 9s;
    animation-delay: 1s;
}

.hero-balls .ball:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-duration: 8s;
    animation-delay: 2s;
}

.hero-balls .ball:nth-child(4) {
    bottom: 25%;
    right: 10%;
    animation-duration: 10s;
    animation-delay: 1.5s;
}

.hero-balls .ball:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

@keyframes float-dance {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(15px, -15px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-10px, -25px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(-15px, -10px) rotate(270deg) scale(1.05);
    }
}

/* ========================================
   Footer Links - WEISS für bessere Lesbarkeit
   ======================================== */
footer {
    background: linear-gradient(135deg, #004C99 0%, #0066CC 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

footer a {
    color: white !important;
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

footer h3,
footer h4 {
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.9);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin: 8px 0;
}

footer ul li a {
    color: white !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}



/* ================================= */
/* UMFASSENDE MOBILE-OPTIMIERUNGEN */
/* ================================= */

@media (max-width: 768px) {
    /* Container & Spacing */
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 15px;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 15px 60px;
        min-height: auto;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Fußbälle im Hero - weniger anzeigen auf Mobile */
    .ball:nth-child(4),
    .ball:nth-child(5),
    .ball:nth-child(6) {
        display: none;
    }
    
    .ball {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Page Header */
    .page-header {
        padding: 100px 15px 60px;
        min-height: 300px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .page-header .subtitle {
        font-size: 1.1rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
        margin-top: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.4rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
    }
    
    .btn-paypal {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    /* Pricing Cards - Stack auf Mobile */
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card,
    .price-card {
        padding: 2rem 1.5rem;
        transform: scale(1) !important; /* Kein Scale auf Mobile */
    }
    
    .pricing-card h3,
    .price-card h3 {
        font-size: 1.5rem;
        min-height: auto;
    }
    
    .pricing-card .price,
    .price-card .price {
        font-size: 2rem;
        min-height: auto;
    }
    
    .pricing-card ul,
    .price-card ul {
        min-height: auto;
        font-size: 0.95rem;
    }
    
    .pricing-card:hover,
    .price-card:hover {
        transform: translateY(-5px) scale(1) !important;
    }
    
    .pricing-card.featured,
    .price-card.featured {
        transform: scale(1) !important;
        border-width: 2px;
    }
    
    .pricing-card.featured:hover,
    .price-card.featured:hover {
        transform: translateY(-5px) scale(1) !important;
    }
    
    /* Process Steps */
    .process-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step {
        min-width: 100%;
        padding: 1rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Timeline */
    .timeline {
        padding-left: 0;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .timeline-item::before {
        left: 0;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
    
    /* Reviews Section */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    /* Bestattungsarten Detail Pages */
    .bestattung-detail {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .bestattung-image-container {
        height: 200px;
    }
    
    .bestattung-content {
        padding: 1.5rem;
    }
    
    /* Friedhöfe */
    .friedhof-card {
        padding: 1.5rem;
    }
    
    .friedhof-card h3 {
        font-size: 1.3rem;
    }
    
    /* Decision Helper */
    .decision-helper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .helper-card {
        padding: 1.5rem;
    }
    
    /* Info Boxes */
    .info-boxes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-box {
        padding: 1.5rem;
    }
    
    /* Gestaltung Grid */
    .gestaltung-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gestaltung-card {
        padding: 1.5rem;
    }
    
    /* Ablauf Boxes */
    .ablauf-container {
        gap: 1.5rem;
    }
    
    .ablauf-box {
        padding: 1.5rem;
    }
    
    /* Step Boxes */
    .step-box {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Tables */
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 0.6rem 0.4rem;
    }
    
    /* Footer */
    footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Notfall Banner */
    .notfall-banner {
        padding: 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Cookie Banner */
    .cookie-banner {
        padding: 1rem 1.5rem;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        max-width: 95%;
        padding: 1.5rem;
        margin: 10% auto;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    /* Checkliste & Downloads */
    .checkliste {
        padding: 1.5rem;
    }
    
    .download-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    /* Unterlagen Liste */
    .unterlagen-liste {
        padding: 1.5rem;
    }
    
    .unterlagen-liste h4 {
        font-size: 1.2rem;
    }
    
    /* Alternative Feier */
    .alternative-feier {
        padding: 1.5rem;
    }
    
    /* Service-Gebiete */
    .stadtteil-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stadtteil-card {
        padding: 1.5rem;
    }
    
    /* WhatsApp Button */
    .whatsapp-button {
        bottom: 80px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-button img {
        width: 30px;
        height: 30px;
    }
}

/* Extra Small Devices (< 480px) */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 80px 15px 50px;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 80px 15px 50px;
        min-height: 250px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header .subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: 40px 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .pricing-card,
    .price-card {
        padding: 1.5rem 1rem;
    }
    
    .pricing-card h3,
    .price-card h3 {
        font-size: 1.3rem;
    }
    
    .pricing-card .price,
    .price-card .price {
        font-size: 1.8rem;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    table th,
    table td {
        padding: 0.5rem 0.3rem;
    }
    
    .modal-content {
        width: 98%;
        padding: 1rem;
    }
}

/* Landscape Phones */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 15px 40px;
        min-height: auto;
    }
    
    .page-header {
        padding: 80px 15px 40px;
        min-height: 200px;
    }
    
    section {
        padding: 50px 15px;
    }
}

/* Tablet Portrait */
@media (min-width: 481px) and (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .whatsapp-button,
    .cookie-banner,
    .notfall-banner,
    .btn,
    .modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .page-header {
        padding: 20px;
        background: white !important;
        color: black !important;
    }
    
    section {
        padding: 20px;
        page-break-inside: avoid;
    }
}
