:root {
    --color-bg: #F7F3EC;
    --color-surface: #FFFFFF;
    --color-surface-soft: #FAF7F1;
    --color-primary: #355E3B;
    --color-primary-soft: #4E7A52;
    --color-accent: #C28F2C;
    --color-brown: #8C5E3C;
    --color-dark: #2B2B2B;
    --color-muted: #6B6B6B;
    --color-border-soft: #E2DED5;
}

/* ======== GLOBAL RESET ======== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body { 
    font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', Lato, Helvetica, sans-serif;
    color: #333;
    margin-top: 0;
}

h1 {
    font-size: 2.6em;
    letter-spacing: 0.03em;
}

/* ======== LAYOUT HELPERS ======== */

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 1.8rem;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-small {
    padding: 40px 0;
}

.section-soft {
    background-color: var(--color-surface-soft);
}

.section-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ======== HEADER ======== */

#header {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0.96), rgba(255,255,255,0.9));
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.navbar-fixed-top {
    height: auto;
    width: auto; 
    border-bottom-left-radius: 10px;
    right: 1.5rem;
    top: 0.5rem;
    background-color: transparent;
    position: fixed;
    transition: background-color 0.3s ease;
}

.nav-active {
    background-color: rgba(247,243,236,0.95);
    backdrop-filter: blur(6px);
}

#LogoAlmiva {
    width: 170px; 
    height: auto; 
}

/* Header Buttons & Sprachen */

.linkcov {
    text-decoration: none;
    color: var(--color-dark);
    padding: 0.4rem 0.9rem;
    background-color: #eee;
    border-radius: 999px;
    border: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.linkSprachen {
    text-decoration: none;
    color: #212529;
    padding: 0.4rem 0.8rem;
    background-color: #eee;
    border-radius: 999px;
    font-size: 0.85rem;
}

/* ======== HERO ======== */

.hero {
    position: relative;
    width: 100%;
    height: clamp(420px, 70vh, 620px);
    overflow: hidden;
    background-color: #000;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.8rem;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background-color: rgba(0,0,0,0.4);
    border-radius: 999px;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: #fff;
}

.hero-text {
    max-width: 540px;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.hero-btn-primary:hover {
    background-color: var(--color-primary-soft);
    border-color: var(--color-primary-soft);
    transform: translateY(-1px);
}

.hero-btn-ghost {
    background-color: transparent;
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

.hero-btn-ghost:hover {
    background-color: rgba(255,255,255,0.12);
}

/* ======== TEXTBLOCKS (About / Info) ======== */

.textblock {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.textblock.reverse {
    flex-direction: row-reverse;
}

.textblock .text {
    flex: 1.1;
}

.textblock .text p {
    text-align: justify;
}

.text-image {
    flex: 1;
    max-width: 460px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

/* ======== SLIDER + TEXT ======== */

.slider-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.slider {
    position: relative;
    flex: 1.3;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    /* etwas „normaleres“ Seitenverhältnis */
    aspect-ratio: 21/9;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mySlides {
    width: 100%;
    height: 100%;
    /* Bild füllt den Slider komplett, keine Ränder */
    object-fit: cover;
    display: none;
    background-color: #000;
}

.slider-text {
    flex: 1;
}

.slider-text p {
    text-align: justify;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: rgba(0,0,0,0.45);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    z-index: 2;
    transition: 0.2s;
}

.slider-btn:hover {
    background-color: rgba(0,0,0,0.75);
    transform: translateY(-50%) scale(1.05);
}

.slider-btn.left { left: 12px; }
.slider-btn.right { right: 12px; }

/* ======== ZUSATZBLOCK ======== */

.zusatzblock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    text-align: center;
}

.zusatzbild {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    margin-bottom: 1.5rem;
}

.zusatztext {
    max-width: 800px;
    line-height: 1.8;
}

/* ======== PARALLAX ======== */

.parallax {
    position: relative;
    height: 260px;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.parallax-1 {
    background-image: url('../img/picVorHaus_garten.jpg');
}

.parallax-2 {
    background-image: url('../img/BildSeiserAlmM.jpeg');
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.35));
}

/* ======== ANGEBOTE ======== */

.angebote-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.angebot {
    background-color: var(--color-surface);
    width: 320px;
    min-height: 420px;
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.angebot:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.angebotsbild {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.AGText {
    padding: 0.5rem 1.2rem;
    color: #444;
}

.jetztbuchenangebot {
    text-decoration: none;
    display: inline-block;
    margin: 1.5rem auto 1.5rem;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.jetztbuchenangebot:hover {
    background: var(--color-primary-soft);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.16);
}

/* ======== LOGOS ======== */

.section-logos .logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.section-logos img {
    max-width: 220px;
    height: auto;
}

/* ======== FORMULAR ======== */

.section-form {
    background-color: #f5f5f5;
}

.form-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-header {
    text-align: center;
    margin-bottom: 1rem;
}

.eingabetabelle {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

label {
    font-size: .9em;
    color: #666;
    display: block;
    margin-bottom: 4px;
}

input,
textarea {
    width: 100%;
    margin-bottom: 12px;
    border: 1px solid var(--color-border-soft);
    border-radius: 10px;
    background-color: #f8f8f8;
    padding: 0.5rem 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

input:hover,
textarea:hover {
    background-color: #fff;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary-soft);
    box-shadow: 0 0 0 3px rgba(53,94,59,0.12);
    background-color: #fff;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input[type='submit'] {
    border: none;
    background-color: var(--color-primary);
    color: #fff;
    width: auto;
    min-width: 130px;
    border-radius: 999px;
    margin-top: 6px;
    height: 35px;
    padding: 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    cursor: pointer;
    float: right;
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

input[type='submit']:hover {
    background-color: var(--color-primary-soft);
    transform: translateY(-1px);
}

/* Hidden bot field */

.hidden {
    display: none;
    visibility: hidden;
}

/* ======== PREISTABELLE ======== */

.preisubersicht {
    font-size: 2.2em;
    margin-bottom: 1.5rem;
}

.preistabelle-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.preistabelle {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    border-collapse: collapse;
    text-align: center;
}

.preistabelle th,
.preistabelle td {
    padding: 0.7rem 0.4rem;
}

.preistabelle th {
    border-bottom: 2px solid #555;
}

.preistabelle td {
    border-bottom: 1px solid #999;
}

.textPreistabelle {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* ======== FIXED BUCHEN ======== */

.fixedfeldBuchen {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    width: auto;
    padding: 0.75rem 1.5rem;
    background-color: rgba(53,94,59,0.95);
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    z-index: 10000;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

.fixedfeld-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.4s ease-in, transform 0.4s ease-in;
}

.fixedfeldBuchenLinks {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.fixedfeldBuchenLinks:nth-child(2) {
    padding-right: 20px;
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.fixedfeldBuchenResponsive {
    display: none;
}

/* ======== FOOTER / ADDRESS ======== */

.adressfooter {
    width: 100%;
    background: linear-gradient(to right, #444, #222);
    text-align: center;
    padding: 40px 1.5rem;
    color: #fff;
}

.adressfooter h2,
.adressfooter h4 {
    margin: 4px 0;
    color: #fff;
}

footer {
    width: 100%;
    height: 80px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 1.5rem;
    background-color: #333;
}

.footerlinks {
    text-decoration: none;
    color: white;
}

.btnfoo {
    background-color: transparent!important;
    border: none;
    font-size: 16px;
    font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
    color: #fff;
    cursor: pointer;
}

/* ======== MODALS (w3-style) ======== */

.w3-modal {
    z-index: 3000;
    display: none;
    padding-top: 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color:rgba(0,0,0,0.4);
}

.w3-modal-content {
    margin: 40px auto 10%;
    background-color: #fff;
    position: relative;
    padding: 0;
    outline: 0;
    width: 80%;
    max-width: 900px;
    color: #515151;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.w3-container {
    padding: 0.01em 16px 24px;
}

.w3-display-topright {
    position: absolute;
    right: 0;
    top: 0;
}

.w3-button {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    color: inherit;
    background-color: #ddd;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    margin: 10px;
    border-radius: 0 12px 0 12px;
}

/* ======== RECAPTCHA ======== */

.grecaptcha-badge { 
    visibility: hidden;
}

/* ======== RESPONSIVE ======== */

@media (max-width: 1100px) {
    .textblock,
    .slider-layout {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .textblock,
    .textblock.reverse,
    .slider-layout {
        flex-direction: column;
    }

    .text-image {
        max-width: 100%;
    }

    .slider {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16/9;
    }

    .slider-text {
        width: 100%;
    }
}

@media (max-width: 800px) {
    #header {
        padding: 0 1rem;
    }

    .hero-inner {
        padding: 0 1.2rem;
    }

    .hero-text {
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .fixedfeldBuchen {
        display: none;
    }

    .fixedfeldBuchenResponsive {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 10px;
        bottom: 6%;
        background-color: rgba(204,204,204,0.5);
        border-radius: 10px;
        z-index: 10000;
    }

    .fixedfeldBuchenLinksResponsive {
        display: block;
        text-decoration: none;
        color: #212529;
        font-size: 2em;
        margin: 2px;
        padding: 2px 5px;
    }

    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 1.2rem;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 420px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .parallax {
        background-attachment: scroll;
        height: 200px;
    }

    .w3-modal-content {
        width: 90%;
        margin-top: 60px;
    }

    .section-logos .logos {
        flex-direction: column;
        gap: 1.2rem;
    }
}
