/* VARIABLEN */
:root {
    --primary: #334961;        /* Dunkelblau */
    --primary-alt: #576d85;    /* Mittleres Blau */
    --primary-light: #80a6cf;  /* Hellblau */
    --navbar-bg: #80a6cf;      
    --accent: #f4d03f;         /* Gelb */
    --text-dark: #2d3436;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Jost";
    line-height: 1.6;
    color: var(--text-dark);
}

/* NAVIGATION */
.navbar {
    font-size: 1.4rem;
    font-weight: normal;

    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.4);
    z-index: 2000;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 200;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* HAMBURGER MENU (MOBILE) */
#menu-toggle { display: none; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

/* HOME SECTION */
.home {
    height: 100vh;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-top: 100px;
}

.home-content img {
    height: 60vh;
    width: auto;
    max-width: 90vw;
    /* margin-bottom: 2.5rem; */
    object-fit: contain;
}

.subtitle {
    display:flex;
    align-items: center;
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    color: white;
}

/* BUTTON */
.btn {
    display: inline-block;
    flex-shrink: 0;
    background-color: var(--accent);
    color: #000;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    /* box-shadow: 0 4px 15px rgba(244, 208, 63, 0.4); */
}

.btn:hover {
    transform: translateY(-5px) scale(1.03);
    /* box-shadow: 0 8px 25px rgba(244, 208, 63, 0.6); */
}

/* ÖFFNUNGSZEITEN */
.info-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px;
}

#home {
    background-color: var(--primary);
    h2 {
        color: var(--primary-alt)
    }
}

#oeffnung {
    background-color: var(--primary-alt);
    h2 {
        color: var(--primary)
    }
}

#preise {
    background-color: var(--primary);
    h2 {
        color: var(--primary-alt)
    }
}

#kontakt {
    background-color: var(--primary-alt);
    h2 {
        color: var(--primary)
    }
}

#impressum {
    background-color: var(--primary);
    h2 {
        color: var(--primary-alt)
    }
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 40px;
    color: var(--primary);
}

/* Grids */
.bento-grid, .contact-grid, .info-grid {
    display: grid;
    gap: 25px;
    width: 100%;
    max-width: 1100px;
}

.bento-grid, .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-grid {
    grid-template-columns: 1fr 2fr;
}

.info-card {
    font-size: 1.2rem;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.info-card.highlight {
    background: var(--primary);
    color: white;
}

.impressum-card {
    text-align: left;
}

.impressum-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Kontakt-Spezifisch */
.contact-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-card { padding: 15px; }

.map-placeholder {
    width: 100%;
    min-height: 350px;
    height: 100%;
    background: #e0e0e0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    border: 1px dashed #ccc;
}

/* 7. FOOTER */
footer {
    padding: 60px 20px;
    text-align: center;
    background: var(--primary);
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* 8. MOBILE OPTIMIERUNG */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card { text-align: center; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: var(--navbar-bg);
        flex-direction: column;
        padding: 30px;
        border-radius: 25px;
    }
    #menu-toggle:checked ~ .nav-links { display: flex; }
    .home-content img { height: auto; width: 85vw; max-height: 50vh; }

    .subtitle {
        display:flex;
        align-items: center;
        font-size: clamp(1.1rem, 2vw, 3rem);
        color: white;
    }

}