body {
    margin: 0;
    background-color: #faf9f6;
}

h2, h3 {
    font-family: 'Syne', sans-serif;
}

h3 {
    font-size: 2.2rem;
    margin: 0;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: black;
    font-weight: 200;
    font-style: italic;
}

.header1 {
    display: flex;
    height: 7vh;
    width: 100%;
    background-color: #710d0b;
    position: sticky;
    top: 0;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.logo {
    color: #faf9f6;
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
}

/* Hero Section */

.hero {
    display: flex;
    flex-direction: row;
    height: 93vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.716), rgba(0,0,0,0)),
        url("IMG_4628.JPG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-sizing: border-box;    
}

.hero2, .hero3 {
    display: flex;
    width: 600px;
    flex-direction: column;
    margin: 20px;
    justify-content: center;
    align-items: baseline;
}

.hero3 {
    height: 80vh;
}

.hero2 {
    height: 93vh;
}

@media (max-width: 1000px) {
    .hero2 {
        margin: 0;
        justify-content: flex-end;
        align-items: center;
        text-align: center;
        padding-bottom: 150px;
    }

    .hero3 {
        display: none;
    }
}

.herotext {
    font-family: 'Syne', sans-serif;
    font-weight: 500;
    font-size: 3rem;
    color: #faf9f6;
    margin: 0;
    padding: 0;
}

.highlight-bg {
    background-color: rgba(255, 255, 255, 0.3); 
    color: #710d0b;
    padding: 4px 8px;
    border-radius: 6px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
}

hr {
    border: none;
    height: 4px;
    background-color: white;
    margin: 20px 0;
    width: 20%;
}

.heroparagraph {
    font-family: 'Syne', sans-serif;
    color: #faf9f6;
    font-size: 1.4rem;
    margin-bottom: 50px;
}

/* Popup */

.popup-trigger {
    background-color: #faf9f6b0;
    color: #710d0b;
    padding: 12px 40px;
    font-size: 1.3rem;
    font-family: 'Syne', sans-serif;
    border-radius: 12px;
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.popup-trigger:hover {
    background-color: #faf9f6;
    color: #710d0b;
}

.popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    text-align: center;
    align-items: center;
    justify-content: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #710d0b;
}

#popup-toggle:checked + .popup {
    display: flex;
}

/* Jobs Section */

.Jobs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 50px;
    height: 100vh;
    width: 100%;
    gap: 50px;
    max-width: 1250px;
    background-color: #faf9f6;
    box-sizing: border-box;
}

.job1,
.job2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: auto;
    width: 50%;
    box-sizing: border-box;
}

.job1 {
    align-items: center;
}

.jobimg {
    height: auto;
    max-width: 100%;
    border-radius: 24px;
}

/* === Responsive Card Design für Mobile === */
@media (max-width: 1000px) {
    .Jobs {
        flex-direction: column;
        padding: 0px;
        gap: 20px;
        height: auto;
        background-color: #ffffff;
        box-shadow: 0 0px 15px rgba(0, 0, 0, 0.15);
        border-radius: 16px;

        /* ✨ Wichtig für saubere Darstellung */
        width: 100%;
        max-width: 90%;
        margin: 20px auto;
        box-sizing: border-box;
    }

    .job1,
    .job2 {
        width: 100%;
        padding: 20;
        align-items: flex-start;
    }

    .job1 {
        align-items: center;
    }

    .job2 {
        padding: 20px;
    }

    .jobimg {
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        width: 100%;
        height: auto;
        display: block;
    }

    .job2 h3 {
        font-size: 1.4rem;
        margin-top: 10px;
    }

    .job2 p {
        font-size: 1rem;
        color: #555;
        line-height: 1.5;
    }
}

    .job2 h3 {
        font-size: 1.4rem;
        margin-top: 10px;
    }

    .job2 p {
        font-size: 1rem;
        color: #555;
        line-height: 1.5;
    }

    /* Preisliste */

    /* Section-Titel */
.price-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #710d0b;
    font-family: Syne;
}

/* Wrapper für alles */
.PriceListWrapper {
padding-bottom: 60px;
}

/* Karten-Layout */
.PriceList {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* Karten-Design */
.price-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 28px;
    flex: 1 1 300px;
    max-width: 350px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    border-top: 5px solid #710d0b;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Hover */
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(113, 13, 11, 0.25);
}

.price-card h3 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #710d0b;
    margin: 0;
}

.price-card p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-card li {
    font-size: 1rem;
    margin-bottom: 12px;
    padding-left: 12px;
    position: relative;
    color: #444;
}

.price-card li::before {
    content: "•";
    color: #710d0b;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Button */
.price-btn {
    margin-top: auto;
    padding: 10px 16px;
    background-color: #710d0b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.price-btn:hover {
    background-color: #550a08;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .PriceList {
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        width: 100%;
        max-width: 90%;
    }
}

.anfahrt-zeiten {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 60px 20px;
    background-color: #f9f9f9;
    flex-wrap: wrap;
    font-family: 'Syne', sans-serif;
    box-sizing: border-box;
}

.anfahrt, .zeiten {
    flex: 1 1 300px;
    max-width: 500px;
    background-color: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.anfahrt h3, .zeiten h3 {
    color: #710d0b;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.anfahrt p,
.zeiten li {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 10px;
    font-weight: 200;
    font-family: 'Syne', sans-serif;
}
    
/* ===== FOOTER ===== */
.footer {
    background-color: #710d0b;
    padding: 30px 20px;
    color: #faf9f6;
    font-family: 'Syne', sans-serif;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-btn {
    background: none;
    color: #faf9f6;
    border: none;
    padding: 6px 12px;
    font-size: 0.95rem;
    font-family: 'Syne', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-btn:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: right;
    flex: 1;
}

/* ===== POPUPS (Datenschutz & Impressum) ===== */
.popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', sans-serif;

    /* ➕ Interne Scrollfunktion bei langen Inhalten */
    max-height: 80vh;
    overflow-y: auto;
}

/* Schönere Scrollbar (optional für Webkit-Browser) */
.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #710d0b;
}

/* ➕ Sichtbarkeit durch Checkbox-Steuerung */
#popup-datenschutz:checked ~ #datenschutz-popup,
#popup-impressum:checked ~ #impressum-popup {
    display: flex;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-text {
        text-align: center;
    }

    .footer-buttons {
        justify-content: center;
    }
}
