/* ================================================================
   Casa Montale - Complete Stylesheet
   Mobile-first, Italian Tricolor (Verde/Bianco/Rosso)
   ================================================================ */

/* --- Variables --- */
:root {
    --cm-olive: #828F78;
    --cm-olive-light: #96A38D;
    --cm-olive-dark: #6B7A61;
    --cm-cream: #FFFFFF;
    --cm-warm: #F4F4F0;
    --cm-terra: #CD212A;
    --cm-terra-dark: #A61B22;
    --cm-text: #2c2c2c;
    --cm-text-light: #5a5a5a;
    --cm-white: #ffffff;
    --cm-border: #e0e0dc;
    --cm-tricolor: linear-gradient(90deg, #828F78 33%, #FFFFFF 33%, #FFFFFF 66%, #CD212A 66%);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --container: 1200px;
    --nav-height: 64px;
    --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-serif);
    color: var(--cm-text);
    background: var(--cm-cream);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cm-olive); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cm-terra); }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.3; color: var(--cm-olive); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 800px; }

/* --- Navigation --- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(90,100,82,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: var(--nav-height);
    transition: all 0.4s ease;
}
.nav--scrolled {
    background: rgba(90,100,82,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
/* Tricolor stripe under nav */
.nav::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--cm-tricolor);
    opacity: 1;
}
.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.nav__logo {
    color: var(--cm-cream) !important;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-serif);
}
.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cm-cream);
    transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav__menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 360px;
    height: 100vh;
    background: #004d29;
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
    transition: right var(--transition);
    overflow-y: auto;
}
.nav__menu.active { right: 0; }

.nav__list li { border-bottom: 1px solid rgba(245,240,232,0.1); }
.nav__list a {
    display: block;
    padding: 0.875rem 0;
    color: rgba(245,240,232,0.8);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
}
.nav__list a:hover,
.nav__link--active { color: var(--cm-cream) !important; font-weight: 600; }

.nav__sub { padding-left: 1rem; }
.nav__sub a { font-size: 0.8125rem; padding: 0.5rem 0; }

.nav__langs {
    display: flex; gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(245,240,232,0.15);
}
.nav__langs--mobile {
    display: flex; gap: 0.5rem;
    margin-top: 0; padding-top: 0; border-top: none;
}
.nav__mobile-right {
    display: flex; align-items: center; gap: 0.75rem;
}
.nav__lang {
    color: rgba(245,240,232,0.6);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
}
.nav__lang:hover, .nav__lang--active { color: var(--cm-cream); font-weight: 700; }

/* Dropdown on mobile: always visible */
.nav__dropdown .nav__sub { display: block; }

/* --- Page Entrance --- */
body {
    animation: pageEntrance 0.8s ease-out;
}
@keyframes pageEntrance {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible,
.reveal--left.visible,
.reveal--right.visible,
.reveal--scale.visible {
    opacity: 1;
    transform: none;
}

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > * {
    opacity: 0;
    transform: translateY(30px);
}
.reveal-stagger.visible > * {
    opacity: 1;
    transform: none;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 2rem) 2rem 3rem;
    overflow: hidden;
}
.hero__slideshow {
    position: absolute; inset: 0;
}
.hero__slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--cm-olive);
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease, transform 8s ease-out;
}
.hero__slide--active {
    opacity: 1;
    transform: scale(1);
}
/* Fallback for single bg */
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--cm-olive);
}
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(40,40,35,0.55) 0%, rgba(40,40,35,0.15) 40%, transparent 100%);
}
.hero__content {
    position: relative; z-index: 1;
    animation: heroContent 1.2s ease-out 0.3s both;
}
@keyframes heroContent {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}
.hero__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--cm-cream);
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 400;
}
.hero__sub {
    font-size: clamp(0.9rem, 1.5vw, 1.125rem);
    color: rgba(245,240,232,0.85);
    font-style: italic;
    margin-bottom: 1.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.03em;
    line-height: 1.6;
}
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: scrollBounce 2s ease-in-out infinite;
}
.hero__scroll svg {
    width: 28px;
    height: 28px;
    color: rgba(245,240,232,0.5);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Image Breaker (full-width) --- */
.image-breaker {
    width: 100%;
    height: 40vh;
    position: relative;
    overflow: hidden;
}
.image-breaker__img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.image-breaker__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(61,74,40,0.3), rgba(44,44,44,0.4));
}
.image-breaker__text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.image-breaker__text blockquote {
    color: var(--cm-cream);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-style: italic;
    text-align: center;
    max-width: 700px;
    padding: 0 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .image-breaker__img { background-attachment: scroll; }
}

/* Page Hero (smaller) */
.page-hero {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
    overflow: hidden;
}
.page-hero--small { min-height: 25vh; }
.page-hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--cm-olive);
}
.page-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(90,100,82,0.75), rgba(30,30,30,0.6));
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__content h1 { color: var(--cm-cream); margin-bottom: 0.5rem; }
.page-hero__content p { color: rgba(245,240,232,0.8); font-style: italic; font-size: 1.125rem; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.btn--primary {
    background: var(--cm-terra);
    color: var(--cm-white);
    border-color: var(--cm-terra);
    box-shadow: 0 4px 15px rgba(205,33,42,0.35);
}
.btn--primary:hover {
    background: var(--cm-terra-dark);
    border-color: var(--cm-terra-dark);
    color: var(--cm-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(205,33,42,0.45);
}
.btn--outline {
    background: transparent;
    color: var(--cm-olive);
    border-color: var(--cm-olive);
}
.btn--outline:hover { background: var(--cm-terra); border-color: var(--cm-terra); color: var(--cm-white); }
.btn--large { padding: 1rem 3rem; font-size: 1.0625rem; }

/* --- Sections --- */
.section { padding: 1.5rem 0; }
.section--warm { background: var(--cm-warm); }
.section__title {
    text-align: center;
    margin-bottom: 1.25rem;
    letter-spacing: 0.06em;
    position: relative;
}
.section__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--cm-tricolor);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* --- Home Quote --- */
.home-quote {
    text-align: center;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    color: var(--cm-olive);
    margin-bottom: 0.5rem;
    padding: 0 1rem;
    position: relative;
    line-height: 1.8;
}
.home-quote::before {
    content: '\201C';
    display: block;
    font-size: 3rem;
    color: var(--cm-terra);
    line-height: 1;
    margin-bottom: -0.5rem;
    font-family: var(--font-serif);
    opacity: 0.6;
}
.home-intro { max-width: 800px; margin: 0 auto; }
.home-intro p { margin-bottom: 1rem; }

/* --- Apartment Cards --- */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.apt-card {
    background: var(--cm-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--cm-text);
    border-top: 3px solid var(--cm-olive);
}
.apt-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    color: var(--cm-text);
    border-top-color: var(--cm-terra);
}
.apt-card__img { height: 280px; overflow: hidden; position: relative; }
.apt-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.apt-card:hover .apt-card__img img { transform: scale(1.1); }
.apt-card__img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}
.apt-card:hover .apt-card__img-overlay { opacity: 1; }
.apt-card__img-overlay span {
    color: var(--cm-cream);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.apt-card__body { padding: 1.5rem; }
.apt-card__name { font-size: 1.25rem; color: var(--cm-olive); margin-bottom: 0.25rem; }
.apt-card__meta {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--cm-terra);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.apt-card__desc { font-size: 0.9375rem; color: var(--cm-text-light); }
.apt-card__price {
    display: block;
    margin-top: 0.75rem;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cm-olive);
}

/* Horizontal apartment cards (overview) */
.apt-card--horizontal { display: block; }

/* --- Season Cards --- */
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.season-card {
    background: var(--cm-white);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 3px solid var(--cm-olive);
}
.season-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.season-card__img { height: 220px; overflow: hidden; }
.season-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.season-card:hover .season-card__img img { transform: scale(1.08); }
.season-card h3 { padding: 1.25rem 1.5rem 0.5rem; }
.season-card p { padding: 0 1.5rem; font-size: 0.9375rem; color: var(--cm-text-light); }
.link--more {
    display: inline-block;
    margin: 0.75rem 1.5rem 0;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cm-terra);
}
.link--more:hover { color: var(--cm-terra-dark); }

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.feature {
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    transition: all 0.4s ease;
}
.feature:hover {
    background: var(--cm-white);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.feature__icon { color: var(--cm-olive); margin-bottom: 1.25rem; transition: transform 0.4s ease; }
.feature:nth-child(even) .feature__icon { color: var(--cm-terra); }
.feature:hover .feature__icon { transform: scale(1.1); }
.feature p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--cm-text-light);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #004d29 0%, var(--cm-olive) 50%, #004d29 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.cta-section .btn { position: relative; }
.cta-section__title { color: var(--cm-cream); font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; position: relative; }
.cta-section__text { color: rgba(245,240,232,0.8); font-style: italic; margin-bottom: 2.5rem; position: relative; font-size: 1.125rem; }

/* --- Content Cards (Service, Activities) --- */
.card-grid {
    display: grid;
    gap: 2rem;
}
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.content-card {
    background: var(--cm-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.content-card__img { height: 200px; overflow: hidden; }
.content-card__img img { width: 100%; height: 100%; object-fit: cover; }
.content-card__body { padding: 1.5rem; }
.content-card__body h3 { margin-bottom: 0.75rem; }
.content-card__body p { font-size: 0.9375rem; color: var(--cm-text-light); }

/* --- Place Blocks (Umgebung) --- */
.place-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--cm-border);
}
.place-block:last-child { border-bottom: none; }
.place-block__img { border-radius: 8px; overflow: hidden; }
.place-block__img img { width: 100%; height: 300px; object-fit: cover; }
.place-block__text h2 { margin-bottom: 1rem; }
.place-block__text p { color: var(--cm-text-light); }

#verfuegbarkeit, #direkt-buchen { scroll-margin-top: calc(var(--nav-height) + 1rem); }

/* --- Apartment Prev/Next Navigation --- */
.apt-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
}
.apt-nav__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--cm-border);
    border-radius: 6px;
    color: var(--cm-text);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    transition: all var(--transition);
    text-decoration: none;
    background: var(--cm-white);
}
.apt-nav__link:hover {
    border-color: var(--cm-olive);
    color: var(--cm-olive);
    background: rgba(130,143,120,0.08);
}
.apt-nav__link--grid {
    padding: 0.6rem 0.8rem;
    color: var(--cm-text-light);
}
.apt-nav__link--grid:hover { color: var(--cm-olive); }
.apt-nav__link svg { flex-shrink: 0; }
@media (max-width: 600px) {
    .apt-nav__link span { display: none; }
    .apt-nav__link { padding: 0.5rem 0.7rem; }
}

/* --- Apartment Hero --- */
.apt-hero {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--nav-height) + 2rem) 2rem 3rem;
    overflow: hidden;
}
.apt-hero__img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
}
.apt-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.apt-hero__content {
    position: relative; z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}
.apt-hero__back {
    display: inline-block;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}
.apt-hero__back:hover { color: white; }
.apt-hero h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}
.apt-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.apt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.4rem 0.875rem;
    border-radius: 50px;
}
.apt-hero__price {
    display: inline-block;
    background: var(--cm-olive);
    color: white;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
}

/* --- Apartment Gallery (new) --- */
.apt-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.apt-gallery__item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 16/10;
}
.apt-gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}
.apt-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.apt-gallery__item:hover img { transform: scale(1.06); }
.apt-gallery__label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem 1rem 0.75rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}
.apt-gallery__item:hover .apt-gallery__label { opacity: 1; }

/* --- Apartment Content Layout --- */
.apt-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.apt-tagline {
    text-align: center;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--cm-olive);
    font-style: italic;
    margin-bottom: 2rem;
}
.apt-content__main h2 { margin-bottom: 0.75rem; }
.apt-content__main p { margin-bottom: 1rem; }
.apt-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.apt-feature {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--cm-olive-dark);
    background: rgba(0,140,69,0.08);
    border: 1px solid rgba(0,140,69,0.2);
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    line-height: 1.4;
}

/* --- Price Card --- */
.apt-price-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 3px solid var(--cm-olive);
}
.apt-price-card h3 {
    margin-bottom: 1rem;
    color: var(--cm-olive);
}
.apt-price-card__note {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--cm-text-light);
    margin-top: 0.75rem;
}

/* --- OLD Apartment Detail (keep for backwards compat) --- */
.apt-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
.apt-detail__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
/* Video Embed (responsive 16:9) */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    max-width: 800px;
    margin: 0 auto;
}
.video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Webplanner Widget */
.webplanner-widget {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--cm-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    justify-content: center;
}
.webplanner-widget iframe {
    max-width: 800px;
}
.webplanner-widget iframe {
    display: block;
    border: none;
    width: 100%;
}

.apt-detail__slide {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.apt-detail__slide img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }
.apt-detail__slide:hover img { transform: scale(1.05); }
.apt-detail__info h2 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.apt-detail__info h2:first-child { margin-top: 0; }
.apt-detail__extra {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--cm-terra);
    font-weight: 600;
    margin: 1rem 0;
}
/* Price table */
.apt-price-table {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--cm-border);
}
.apt-price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--cm-border);
}
.apt-price-row:last-child { border-bottom: none; }
.apt-price-row:nth-child(odd) { background: var(--cm-warm); }
.apt-price-row strong { color: var(--cm-olive); font-size: 1.0625rem; }

.link--back {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--cm-text-light);
    margin-bottom: 1rem;
}
.link--back:hover { color: var(--cm-olive); }

/* --- Gallery Filter --- */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.gallery-filter__btn {
    padding: 0.625rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--cm-white);
    border: 2px solid var(--cm-border);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--cm-text-light);
    letter-spacing: 0.02em;
}
.gallery-filter__btn:hover {
    border-color: var(--cm-olive);
    color: var(--cm-olive);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,140,69,0.15);
}
.gallery-filter__btn--active {
    background: var(--cm-olive);
    border-color: var(--cm-olive);
    color: var(--cm-white);
    box-shadow: 0 4px 15px rgba(0,140,69,0.3);
}

/* --- Gallery Masonry --- */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.gallery-masonry__item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 16/10;
    transition: opacity 0.5s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-masonry__item.hidden {
    display: none;
}
.gallery-masonry__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.gallery-masonry__item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}
.gallery-masonry__overlay {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 40%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.gallery-masonry__item:hover .gallery-masonry__overlay { opacity: 1; }
.gallery-masonry__label {
    color: var(--cm-white);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.gallery-masonry__caption {
    color: rgba(255,255,255,0.75);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}
/* Zoom icon on hover */
.gallery-masonry__item::after {
    content: '';
    position: absolute;
    top: 1rem; right: 1rem;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: scale(0.8);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23828F78' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.gallery-masonry__item:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Old gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.08); }

/* --- Lightbox (Fullscreen) --- */
.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
}
.lightbox[hidden] { display: none; }
.lightbox__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.lightbox__content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__img {
    transition: opacity 0.3s ease;
    border: 3px solid rgba(255,255,255,0.8);
    border-radius: 2px;
}
/* Close */
.lightbox__close {
    position: absolute;
    top: 15px; right: 20px;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: white;
    border: none;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    z-index: 10000;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.lightbox__close:hover {
    background: #CD212A;
    color: white;
}
/* Arrows */
.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    margin-top: -30px;
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: #828F78;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__prev:hover,
.lightbox__next:hover {
    background: #CD212A;
    transform: scale(1.1);
}
/* Counter */
.lightbox__counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    margin-left: -40px;
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    padding: 6px 16px;
    border-radius: 20px;
}
/* Progress */
.lightbox__progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, #828F78 33%, #fff 33%, #fff 66%, #CD212A 66%);
    z-index: 10000;
}

/* --- Contact --- */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 3rem;
    background: var(--cm-warm);
}
.map-consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
}
.map-consent p { color: var(--cm-text-light); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.125rem; }
.contact-info a { color: var(--cm-terra); }

.contact-form { max-width: 100%; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cm-text);
    margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    border: 1px solid var(--cm-border);
    border-radius: 4px;
    background: var(--cm-white);
    color: var(--cm-text);
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cm-olive);
    box-shadow: 0 0 0 3px rgba(92,107,60,0.15);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
}
.alert--success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert--error { background: #fce4ec; color: #c62828; border: 1px solid #ef9a9a; }

/* --- Accordion --- */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion__item {
    border: 1px solid var(--cm-border);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.accordion__trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--cm-white);
    border: none;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--cm-olive);
    text-align: left;
}
.accordion__trigger svg { transition: transform var(--transition); flex-shrink: 0; }
.accordion__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion__content {
    display: none;
    padding: 0 1.5rem 1.5rem;
    background: var(--cm-white);
}
.accordion__content.active { display: block; }
.event-list { padding-left: 0; }
.event-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--cm-cream);
    font-size: 0.9375rem;
    color: var(--cm-text-light);
}
.event-list li:last-child { border-bottom: none; }
.event-list strong { color: var(--cm-olive); }

/* --- RSS Feed / Regional News --- */
.rss-feed {
    max-width: 800px;
    margin: 2rem auto 0;
}
.rss-feed__item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--cm-border);
}
.rss-feed__item:last-child { border-bottom: none; }
.rss-feed__date {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--cm-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.rss-feed__title {
    font-size: 1.125rem;
    margin: 0.25rem 0;
}
.rss-feed__title a {
    color: var(--cm-olive);
    transition: color var(--transition);
}
.rss-feed__title a:hover { color: var(--cm-terra); }
.rss-feed__desc {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--cm-text-light);
    line-height: 1.5;
    margin: 0;
}
.rss-feed__source {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--cm-text-light);
    margin-top: 1.5rem;
    opacity: 0.7;
}

/* --- Partner Links --- */
.partner-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.partner-link {
    display: block;
    padding: 1.25rem 1.5rem;
    background: var(--cm-white);
    border: 1px solid var(--cm-border);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--cm-olive);
    transition: all var(--transition);
}
.partner-link:hover {
    border-color: var(--cm-terra);
    color: var(--cm-terra);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* --- Text helpers --- */
.text-center { text-align: center; }
.text-lead { font-size: 1.125rem; max-width: 700px; margin: 0 auto 2.5rem; }
.text-block { max-width: 800px; margin: 0 auto; }
.text-block p { margin-bottom: 1rem; }
.text-block h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.legal-text h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.5rem; }
.legal-text p { margin-bottom: 1rem; font-size: 0.9375rem; }

/* --- Footer --- */
.footer {
    background: #2c2c2c;
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
    border-top: 4px solid;
    border-image: var(--cm-tricolor) 1;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}
.footer__title {
    color: var(--cm-cream);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.footer__tagline { font-style: italic; font-size: 0.9375rem; margin-bottom: 1rem; }
.footer__address { font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.8; }
.footer__links li { margin-bottom: 0.5rem; }
.footer__links a {
    color: rgba(255,255,255,0.7);
    font-family: var(--font-sans);
    font-size: 0.875rem;
}
.footer__links a:hover { color: var(--cm-terra); }
.footer__contact { margin-top: 1rem; }
.footer__contact a { color: var(--cm-terra); font-family: var(--font-sans); font-size: 0.875rem; }
.footer p { font-family: var(--font-sans); font-size: 0.875rem; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}
.footer__bottom p {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}
.footer__bottom a { color: rgba(255,255,255,0.6); }
.footer__bottom a:hover { color: var(--cm-terra); }

/* ================================================================
   TABLET (768px+)
   ================================================================ */
@media (min-width: 768px) {
    .section { padding: 2rem 0; }
    .image-breaker { height: 50vh; }

    .place-block {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .place-block--reverse .place-block__img { order: 2; }
    .place-block--reverse .place-block__text { order: 1; }

    .apt-content { grid-template-columns: 1.5fr 1fr; }
    .apt-gallery { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr 2fr; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .gallery-masonry { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

    .footer__grid { grid-template-columns: repeat(2, 1fr); }

    .apt-detail { grid-template-columns: 1fr; }

    .apt-card--horizontal {
        display: grid;
        grid-template-columns: 300px 1fr;
    }
    .apt-card--horizontal .apt-card__img { height: 100%; }
}

/* ================================================================
   DESKTOP (1024px+)
   ================================================================ */
@media (min-width: 1024px) {
    /* Desktop nav */
    .nav__toggle { display: none; }

    .nav__menu {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 2rem;
        overflow: visible;
    }

    .nav__list {
        display: flex;
        gap: 0;
    }
    .nav__list li { border-bottom: none; }
    .nav__list > li { position: relative; }
    .nav__list a {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    /* Desktop dropdown (click-based) */
    .nav__dropdown .nav__sub {
        display: none;
        position: absolute;
        top: 100%;
        left: -0.5rem;
        background: var(--cm-olive-dark);
        border-radius: 0 0 6px 6px;
        min-width: 220px;
        padding: 0.5rem 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    .nav__dropdown.open .nav__sub { display: block; }
    .nav__sub a { padding: 0.625rem 1.25rem; white-space: nowrap; }

    .nav__langs { margin-top: 0; padding-top: 0; border-top: none; }
    .nav__langs--mobile { display: none; }
    .nav__mobile-right { display: contents; }

    .footer__grid { grid-template-columns: repeat(4, 1fr); }

    .form-row { grid-template-columns: 1fr 1fr 1fr; }

    .apt-card--horizontal { grid-template-columns: 350px 1fr; }

    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .gallery-masonry { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

    /* Lightbox arrows visible */
    .lightbox__prev { left: 30px; }
    .lightbox__next { right: 30px; }
}

/* ================================================================
   BEWERTUNGEN / REVIEWS
   ================================================================ */
.reviews-summary {
    margin: 1.5rem 0 0;
}
.reviews-summary__stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}
.reviews-summary__text {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    color: var(--cm-text);
}
.reviews-summary__text strong {
    color: var(--cm-olive);
    font-size: 1.25rem;
}

/* Star Icons */
.star-icon--gold { color: #F5A623; }
.star-icon--empty { color: #d4d4d4; }

/* Review Grid */
.review-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

/* Review Card */
.review-card {
    background: var(--cm-white);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-top: 3px solid var(--cm-olive);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    display: flex;
    flex-direction: column;
}
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.review-card__stars {
    display: flex;
    gap: 0.15rem;
    margin-bottom: 1rem;
}
.review-card__text {
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--cm-text);
    font-style: italic;
    flex: 1;
    margin-bottom: 1.25rem;
}
.review-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cm-border);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
}
.review-card__name {
    color: var(--cm-olive);
}
.review-card__haus {
    color: var(--cm-text-light);
}
.review-card__haus::before {
    content: '\00b7';
    margin-right: 0.5rem;
}
.review-card__datum {
    color: var(--cm-text-light);
    margin-left: auto;
}

/* Teaser on Homepage */
.reviews-teaser-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

/* Tablet */
@media (min-width: 768px) {
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-teaser-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .review-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: rgba(0,51,26,0.97);
    color: #fff;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(100%);
    transition: transform 0.5s ease;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.5;
}
.cookie-banner--visible {
    transform: translateY(0);
}
.cookie-banner__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-banner__text { flex: 1; min-width: 280px; }
.cookie-banner__text a { color: var(--cm-olive-light); text-decoration: underline; }
.cookie-banner__buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-banner__btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition);
}
.cookie-banner__btn--accept {
    background: var(--cm-olive);
    color: #fff;
}
.cookie-banner__btn--accept:hover { background: var(--cm-olive-light); }
.cookie-banner__btn--decline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.cookie-banner__btn--decline:hover { border-color: #fff; }

/* --- Saison Countdown --- */
.countdown-banner {
    background: var(--cm-olive-dark);
    color: #fff;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.countdown-banner__overlay {
    padding: 0.5rem 0;
}
.countdown-banner__label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    opacity: 0.85;
    display: inline;
}
.countdown-banner__sub { display: none; }
.countdown-banner__grid {
    display: inline-flex;
    gap: 0.5rem;
    margin-left: 0.75rem;
    vertical-align: middle;
}
.countdown-banner__item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    background: none;
    border: none;
    padding: 0;
    min-width: auto;
}
.countdown-banner__number {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}
.countdown-banner__unit {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.6;
}
.countdown-banner__item + .countdown-banner__item::before {
    content: '·';
    margin-right: 0.5rem;
    opacity: 0.4;
}
.countdown-banner__info {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    opacity: 0.5;
    display: inline;
    margin-left: 0.75rem;
}
.countdown-banner--active .countdown-banner__overlay {
    background: rgba(160,30,30,0.85);
}
@media (max-width: 600px) {
    .countdown-banner__label { display: block; margin-bottom: 0.25rem; }
    .countdown-banner__grid { margin-left: 0; }
    .countdown-banner__info { display: block; margin-left: 0; margin-top: 0.2rem; }
}

/* --- Weather Widget --- */
.weather-section {
    padding: 2rem 0;
    background: var(--cm-warm);
}
.weather-section .section__title { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 1rem; }
.weather-card {
    background: #fff;
    border-radius: 12px;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
}
.weather-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--cm-olive-dark), var(--cm-olive));
    color: #fff;
    min-width: 120px;
}
.weather-card__icon { font-size: 2rem; line-height: 1; }
.weather-card__temp {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.weather-card__condition {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.75);
}
.weather-card__location {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.15rem;
}
.weather-card__forecast {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.weather-card__day {
    text-align: center;
    padding: 0.85rem 0.5rem;
    border-right: 1px solid var(--cm-border);
}
.weather-card__day:last-child { border-right: none; }
.weather-card__day-name {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--cm-olive);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.weather-card__day-icon { font-size: 1.35rem; margin: 0.2rem 0; }
.weather-card__day-temps {
    font-family: var(--font-sans);
    font-size: 0.75rem;
}
.weather-card__day-temps strong { color: var(--cm-text); font-weight: 600; }
.weather-card__day-temps span { color: var(--cm-text-light); }
@media (max-width: 480px) {
    .weather-card { grid-template-columns: 1fr; }
    .weather-card__header { flex-direction: row; gap: 0.75rem; padding: 0.75rem 1rem; }
}

/* --- Verfügbarkeits-Badge --- */
.apt-card { position: relative; }
.apt-badge-avail {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    background: rgba(0,140,69,0.92);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.apt-badge-avail__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse-dot 2s infinite;
}
.apt-badge-avail--booked {
    background: rgba(180,40,40,0.9);
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* --- Interaktive Geländekarte --- */
.property-map-section { padding: 3rem 0; }
.property-map {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.property-map__svg {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
}
.property-map__svg .map-building {
    cursor: pointer;
    transition: all 0.3s ease;
}
.property-map__svg .map-building:hover {
    filter: brightness(1.1);
    transform-origin: center;
}
.property-map__svg .map-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    fill: #fff;
    pointer-events: none;
    text-anchor: middle;
}
.property-map__svg .map-sublabel {
    font-family: var(--font-sans);
    font-size: 8px;
    fill: rgba(255,255,255,0.8);
    pointer-events: none;
    text-anchor: middle;
}
.property-map__legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--cm-text-light);
}
.property-map__legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.property-map__legend-dot {
    width: 12px; height: 12px;
    border-radius: 3px;
}

/* --- Blog Cards --- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.blog-card__img {
    height: 200px;
    overflow: hidden;
}
.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__img img {
    transform: scale(1.05);
}
.blog-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card__tag {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cm-olive);
    margin-bottom: 0.5rem;
}
.blog-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--cm-text);
}
.blog-card__excerpt {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--cm-text-light);
    line-height: 1.6;
    flex: 1;
}
.blog-card__link {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cm-olive);
    margin-top: 1rem;
    display: inline-block;
}
.blog-card__link:hover { color: var(--cm-terra); }

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Print Styles --- */
@media print {
    .nav, .footer, .hero, .page-hero, .cta-section, .btn, .lightbox { display: none !important; }
    body { background: white; color: black; font-size: 12pt; }
    main { padding-top: 0 !important; }
    .section { padding: 1rem 0; }
    a { color: black; text-decoration: underline; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
    .container { max-width: 100%; }
}
