* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    padding-top: 70px;
    background: #f9f9f9;
}

/* LÄRCHENBAUM HINTERGRUND */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../bilder/laerchenbaume.jpg") no-repeat center 220px;
    background-size: 600px;
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
}

/* NAV */
/* =====================
   NAVIGATION (FINAL)
===================== */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2f6f4e;
    letter-spacing: 0.2px;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #2f6f4e;
}

/* Anfrage-Button */
.nav-button {
    background: #2f6f4e;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(47, 111, 78, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-button:hover {
    background: #24563c;
    transform: translateY(-1px);
}

/* HERO */
/* =====================
   HERO FEINSCHLIFF
===================== */
/* =====================
   HERO (FINAL)
===================== */
.hero {
    min-height: 90vh;
    background-image: url("../bilder/laerchenbaume.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    text-align: center;
    padding: 60px 20px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65); /* dunkler für bessere Lesbarkeit */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin-top: 40px;

}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 18px;
    line-height: 1.2;
    color: #eaf4ef; /* sehr helles Grün, fast weiß */
}

.hero-subline {
    font-size: 1.2rem;
    margin-top: 15px;
    line-height: 1.6;
    margin-bottom: 45px;
    line-height: 1.7;
    color: #dfeee6; /* sehr dezentes Grün */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
}

.btn {
    padding: 14px 34px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
}

.pet-hint {
    font-size: 0.95rem;
    color: #cfe6da;
    opacity: 0.95;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.pet-hint {
    margin-top: 35px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 25px;
}

.btn {
    padding: 15px 36px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.primary {
    background: #2f6f4e;
    color: #fff;
}

.secondary {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

/* SECTIONS */
.section {
    padding: 80px 20px;
    background: rgba(255,255,255,0.97);
}

.section-light {
    background: rgba(247,247,247,0.97);
}

.container {
    max-width: 1100px;
    margin: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.features ul {
    list-style: none;
}

.features li::before {
    content: "✓ ";
    color: #2f6f4e;
}

/* GALERIE */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* PREISE & KONTAKT */
.price-box,
.contact-box {
    background: #fff;
    padding: 25px;
    border-left: 4px solid #2f6f4e;
    max-width: 700px;
}

/* FOOTER */
.footer {
    background: #2f6f4e;
    color: #fff;
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 30px;
}

.footer a {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.85rem;
}

/* POPUP */
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    max-width: 420px;
}

.popup-content button {
    margin-top: 20px;
    padding: 10px 28px;
    border-radius: 25px;
    background: #2f6f4e;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* =====================
   TEXTBREITE (LESBARKEIT)
===================== */
.text-content {
    max-width: 620px;
    font-size: 1.08rem;
}

/* MOBILE NAVIGATION */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.6rem;
        cursor: pointer;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        display: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .nav-links li {
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        padding: 15px;
        display: block;
    }

    .nav-links.active {
        display: flex;
    }
}


.hidden {
    display: none;
}

/* ROUTE-BUTTON (MAPS) */
.map-hint a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    background: #2f6f4e;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.map-hint a:hover {
    background: #24563c;
    transform: translateY(-1px);
}

/* TEXT-SPACING FEINSCHLIFF */
.section p {
    margin-bottom: 1.2em;
    line-height: 1.65;
}

/* =====================
   PLACE LINKS (ORTE)
===================== */
.place-link {
    font-weight: 700;
    color: #2f6f4e;
    text-decoration: none;
    white-space: nowrap;
}

.place-link::after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.6;
}

.place-link:hover {
    text-decoration: underline;
}


.section h2 {
    margin-bottom: 0.8em;
}

.section h2 + p {
    margin-top: 0;
}

/* =====================
   MOBILE FEINSCHLIFF
===================== */
@media (max-width: 768px) {

    .section {
        padding: 65px 20px;
    }

    .section p {
        margin-bottom: 1.4em;
        line-height: 1.7;
    }

    .section h2 {
        margin-bottom: 1em;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subline {
        font-size: 1.05rem;
        margin-bottom: 40px;
    }

    .map-box {
        padding: 22px;
    }

    .map-hint a {
        width: 100%;
        text-align: center;
    }
}

/* =====================
   SIDE NAVIGATION – ELEGANT (FINAL)
===================== */

.side-nav {
    position: fixed;
    right: 30px;
    top: 140px;
    z-index: 900;

    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;

    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* sichtbar */
.side-nav.is-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Box */
.side-nav ul {
    list-style: none;
    margin: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.side-nav li {
    margin-bottom: 8px;
}

.side-nav li:last-child {
    margin-bottom: 0;
}

/* Links */
.side-nav a {
    display: block;
    padding: 8px 18px;
    border-radius: 999px;

    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;

    color: #2f6f4e;
    background: rgba(47, 111, 78, 0.08);
    border: 1px solid rgba(47, 111, 78, 0.18);

    transition: background 0.25s ease,
                color 0.25s ease,
                transform 0.2s ease;
}

.side-nav a:hover {
    background: rgba(47, 111, 78, 0.18);
    color: #ffffff;
    transform: translateX(2px);
}

.side-nav a.active {
    background: #2f6f4e;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(47, 111, 78, 0.35);
}

/* Hover */
.side-nav a:hover {
    background: rgba(47, 111, 78, 0.18);
    color: #ffffff;
    transform: translateX(2px);
}

/* Nur Desktop */
@media (max-width: 1024px) {
    .side-nav {
        display: none;
    }
}


.nav-toggle {
    margin-left: 18px;
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1;
}

.nav-toggle:hover {
    background: rgba(47, 111, 78, 0.08);
}

/* BOOKING HINWEIS */
.booking-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #555;
    opacity: 0.85;
}

/* HERO SECONDARY BUTTON */
.hero .btn.secondary {
    background: rgba(47, 111, 78, 0.18);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    transition: background 0.2s ease, transform 0.2s ease;
    border-color: rgba(47, 111, 78, 0.8);
}

.hero .btn.secondary:hover {
    background: rgba(47, 111, 78, 0.32);
    transform: translateY(-1px);
}

.map-link {
    color: inherit;                 /* gleiche Farbe wie Text */
    text-decoration: none;
    background-image: linear-gradient(
        to right,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.35)
    );
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size 0.25s ease, color 0.25s ease;
}

.map-link::after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.4;
}

.map-link:hover {
    background-size: 100% 1px;
    color: #000;
}

/* ================================
   Responsive Side-Navigation
   ================================ */

@media (max-width: 1024px) {

    /* Side-Menü nach unten verschieben */
    .side-nav {
        top: auto;
        bottom: 20px;
        right: 10px;
    }

    /* Text bekommt Platz, damit nichts verdeckt wird */
    .section {
        padding-right: 90px;
    }
}

/* PREISRECHNER */
.price-calculator {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.price-calculator select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.price-output {
    font-size: 1rem;
}

/* PREISRECHNER BUTTON */
.calc-button {
    margin-top: 12px;
    margin-bottom: 20px; /* ⬅️ NEU */
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    background: #2f6f4e;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.calc-button:hover {
    background: #24563c;
    transform: translateY(-1px);
}

/* RECHNER BOX */
.calculator {
    margin-top: 16px;
    padding: 18px;
    background: #f7f7f7;
    border-radius: 12px;
    max-width: 420px;
}

.calculator-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.calculator-row label {
    min-width: 90px;
    font-weight: 600;
}

.calculator input,
.calculator select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.calc-result {
    margin-top: 10px;
    font-size: 1.05rem;
}



/* =====================
   SUBPAGE NAVIGATION
===================== */

.subpage-nav {
    position: fixed;
    top: 90px;          /* unter der Hauptnavigation */
    left: 20px;
    z-index: 900;
}

.back-button {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: #3d7558;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(47, 111, 78, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}

.back-button:hover {
    background: #24563c;
    transform: translateY(-1px);
}

.subpage-nav.right {
    left: auto;
    right: 20px;
}

/* =====================
   SUBPAGE NAV – MOBILE
===================== */

@media (max-width: 768px) {

    .subpage-nav {
        position: relative;
        top: 0;
        left: 0;
        margin: 20px auto 0;
        text-align: center;
    }

    .back-button {
        padding: 8px 16px;
        font-size: 0.8rem;
        box-shadow: 0 3px 8px rgba(47, 111, 78, 0.2);
    }
}


/* =====================
   BOOKING AWARD – HERO
===================== */

.booking-award {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;

    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    backdrop-filter: blur(4px);

    color: #ffffff;
}

.booking-award img {
    height: 54px;
    border-radius: 6px;
}

.booking-award .award-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.booking-award strong {
    font-size: 1.05rem;
}

.booking-award span {
    font-size: 0.8rem;
    opacity: 0.9;
}

.booking-award {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   AWARD LIGHTBOX
===================== */

.award-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    cursor: pointer;
}

.award-lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    background: #fff;
    padding: 12px;
}

.award-lightbox.hidden {
    display: none;
}


@media (max-width: 768px) {
    .booking-award {
        margin-top: 20px;
        padding: 8px 14px;
        gap: 10px;
    }

    .booking-award img {
        height: 44px;
    }

    .booking-award strong {
        font-size: 0.95rem;
    }

    .booking-award span {
        font-size: 0.75rem;
    }
}


/* =====================
   PREISRECHNER – MOBILE FIX
===================== */

@media (max-width: 768px) {

    .price-calculator {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .price-calculator label {
        margin-bottom: 4px;
    }

    .price-calculator select {
        width: 100%;
        font-size: 1rem;
        padding: 10px;
    }

    .price-output {
        margin-top: 6px;
        font-size: 1.05rem;
        text-align: center;
    }

    /* Rechner-Box */
    .calculator {
        max-width: 100%;
        padding: 16px;
    }

    .calculator-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .calculator-row label {
        min-width: unset;
        font-size: 0.9rem;
    }

    .calculator input,
    .calculator select {
        width: 100%;
        padding: 10px;
        font-size: 1rem;
    }

    .calc-result {
        text-align: center;
        font-size: 1.1rem;
    }

    .calc-button {
        width: 100%;
        text-align: center;
    }
}
