* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.white_space {
    width: 100%;
    height: 120px;
    background-color: #ffffff;
}

.hero-section {
    /* Height: 80vh allows the user to see there is content below. 
       Change to '600px' if you want a fixed size. */
    height: 80vh;
    width: 100%;

    /* Flexbox to center the text */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Background settings */
    /* Update 'image.jpg' with your actual file path */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('https://cdn.fransig.com/web/benthos-bistro/bar.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Optional: round the bottom corners for a modern look */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 8rem;
    /* Big, elegant text */
    font-weight: 400;
    margin: 0;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }

    .hero-section {
        height: 60vh;
        /* Smaller height on phones */
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns on larger screens */
    gap: 30px;
    /* Space between cards */
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual card styling */
.menu-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Ensures image and content stay within rounded corners */
    display: flex;
    flex-direction: column;
}

/* Image container and styling */
.card-image-container {
    position: relative;
    height: 250px;
    /* Fixed height for images */
    background-color: #eee;
    /* Placeholder color */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image fills container without distortion */
    object-position: top;
    /* Aligns image to the top */
    /* Replace the below URLs with your actual image paths */
    /* Using a placeholder for demonstration */
    background-image: url('https://cdn.fransig.com/web/benthos-bistro/haubtraum.jpg');
    background-size: cover;
    background-position: top center;
}

.card-1 .card-image {
    background-image: url('https://cdn.fransig.com/web/benthos-bistro/speisekarte/speisekarte.png');
}

.card-2 .card-image {
    background-image: url('https://cdn.fransig.com/web/benthos-bistro/speisekarte/getraenkekarte.png');
}

.card-3 .card-image {
    background-image: url('https://cdn.fransig.com/web/benthos-bistro/haubtraum.jpg');
}

.card-4 .card-image {
    background-image: url('https://cdn.fransig.com/web/benthos-bistro/haubtraum.jpg');
}

.card-5 .card-image {
    background-image: url('https://cdn.fransig.com/web/benthos-bistro/speisekarte/kinderkarte.png');
}

.card-6 .card-image {
    background-image: url('https://cdn.fransig.com/web/benthos-bistro/speisekarte/eventkarte.png');
}

/* Content area at the bottom of the card */
.card-content {
    padding: 20px;
    background: #1a1a1a;
    /* Dark background for content */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Title and Subtitle text */
.text-content {
    flex: 1;
    /* Takes up available space */
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #aaa;
    /* Lighter gray for subtitle */
}

/* "Öffnen" button styling */
.öffnen-button {
    background-color: #a3141f;
    /* Dark red color */
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.öffnen-button:hover {
    background-color: #c41925;
    /* Slightly lighter red on hover */
}

/* Responsive design for smaller screens */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on medium screens */
    }
}

@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr;
        /* 1 column on small screens */
    }

    .card-image-container {
        height: 200px;
        /* Smaller image height on phones */
    }
}