/* /var/www/vhosts/finca-cabrita.de/httpdocs/assets/css/style.css */
/* --------------------------------------------------------------- */
/* Finca Cabrita - Stylesheet                                       */
/* Aesthetik: warmes, mediterranes Refugium / editorial / refined   */
/* --------------------------------------------------------------- */

/* ===================== Design-Tokens ========================= */
:root {
    --cream:      #faf6ee;
    --cream-soft: #fffdf8;
    --paper:      #f1e8d8;
    --ink:        #2c2820;
    --ink-soft:   #6a6253;
    --line:       #e5dac6;

    --clay:       #bb4e2a;   /* Terracotta - Hauptakzent */
    --clay-dark:  #9c3f20;
    --ochre:      #d79a3c;   /* Ocker - Sekundaerakzent  */
    --olive:      #7c8463;   /* Salbei/Olive             */
    --sky:        #4f7f93;   /* gedaempftes Pool-Blau     */

    --shadow-sm:  0 4px 18px rgba(44, 40, 32, .08);
    --shadow-md:  0 18px 48px rgba(44, 40, 32, .14);

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans:  'Outfit', 'Segoe UI', sans-serif;

    --wrap: 1180px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ========================= Reset ============================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: .2px;
}

::selection { background: var(--ochre); color: #fff; }

/* ===================== Wiederverwendbares ==================== */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 26px; }

.kicker {
    display: inline-block;
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 14px;
}
.kicker--light { color: var(--ochre); }
.kicker::before {
    content: '';
    display: inline-block;
    width: 26px; height: 1px;
    background: currentColor;
    vertical-align: middle;
    margin-right: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 26px;
    color: var(--ink);
}

.section { padding: clamp(70px, 9vw, 130px) 0; }

/* --------------------------- Buttons ------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 15px 32px;
    border-radius: 2px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--clay-dark); box-shadow: var(--shadow-md); }

.btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }

.btn-outline { color: var(--clay); border-color: var(--clay); }
.btn-outline:hover { background: var(--clay); color: #fff; }

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

/* ====================== Navigation =========================== */
.site-header {
    position: fixed; inset: 0 0 auto 0;
    z-index: 90;
    transition: background .4s var(--ease), box-shadow .4s, padding .4s;
    padding: 20px 0;
}
.site-header.scrolled {
    background: rgba(250, 246, 238, .96);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line);
    padding: 12px 0;
}
.nav-inner {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: var(--serif);
    font-size: 1.05rem;
    letter-spacing: 1px;
}
.brand-name {
    font-family: var(--serif);
    font-size: 1.4rem;
    letter-spacing: .5px;
}
/* Marke ueber dem Hero hell, nach Scroll dunkel */
.site-header .brand { color: #fff; transition: color .4s; }
.site-header.scrolled .brand { color: var(--ink); }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
    font-size: .82rem;
    font-weight: 400;
    letter-spacing: .07em;
    color: #fff;
    position: relative;
    padding: 4px 0;
    transition: color .3s;
}
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1.5px; background: var(--clay);
    transition: width .35s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.site-header.scrolled .main-nav a { color: var(--ink-soft); }
.site-header.scrolled .main-nav a:hover { color: var(--clay); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang-switch { display: flex; gap: 2px; }
.lang-opt {
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .08em;
    padding: 5px 8px;
    color: rgba(255,255,255,.7);
    border-radius: 2px;
    transition: color .3s, background .3s;
}
.lang-opt.is-active { color: #fff; background: rgba(255,255,255,.16); }
.site-header.scrolled .lang-opt { color: var(--ink-soft); }
.site-header.scrolled .lang-opt.is-active { color: #fff; background: var(--clay); }

.btn-book {
    background: var(--ochre); color: #fff;
    padding: 11px 22px; font-size: .74rem;
}
.btn-book:hover { background: var(--clay); }

.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 24px; height: 2px; background: #fff;
    transition: transform .3s, opacity .3s, background .3s;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ========================== Hero ============================= */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
    from { transform: scale(1.12); }
    to   { transform: scale(1); }
}
.hero-veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(28,24,18,.55) 0%, rgba(28,24,18,.15) 38%, rgba(28,24,18,.6) 100%);
}
.hero-content {
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 0 26px;
    width: 100%;
}
.hero-title {
    font-size: clamp(3.4rem, 9vw, 7rem);
    font-weight: 500;
    letter-spacing: .5px;
    text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-sub {
    max-width: 540px;
    font-size: clamp(1.05rem, 1.7vw, 1.32rem);
    font-weight: 300;
    margin: 20px 0 36px;
    color: rgba(255,255,255,.92);
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero-Eingangsanimation */
.hero-content > * { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.hero-content > .kicker      { animation-delay: .25s; }
.hero-content > .hero-title  { animation-delay: .4s; }
.hero-content > .hero-sub    { animation-delay: .55s; }
.hero-content > .hero-buttons{ animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-scroll {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 1.5px solid rgba(255,255,255,.6);
    border-radius: 14px;
}
.hero-scroll span {
    position: absolute; left: 50%; top: 8px;
    width: 3px; height: 8px; border-radius: 2px;
    background: #fff;
    transform: translateX(-50%);
    animation: scrollDot 1.7s infinite;
}
@keyframes scrollDot {
    0%   { opacity: 0; transform: translate(-50%, 0); }
    40%  { opacity: 1; }
    80%  { opacity: 0; transform: translate(-50%, 14px); }
    100% { opacity: 0; }
}

/* ===================== Intro / Finca ========================= */
.section--finca { background: var(--cream); }

.intro-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.intro-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.04rem; }
.intro-figure {
    position: relative;
}
.intro-figure img {
    border-radius: 3px;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
}
.intro-figure::before {
    content: '';
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid var(--ochre);
    border-radius: 3px;
    z-index: -1;
}

/* Kennzahlen */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: clamp(50px, 7vw, 90px);
    border-radius: 3px;
    overflow: hidden;
}
.stat {
    background: var(--cream-soft);
    text-align: center;
    padding: 38px 18px;
}
.stat-val {
    display: block;
    font-family: var(--serif);
    font-size: 2.5rem;
    color: var(--clay);
    line-height: 1;
}
.stat-label {
    display: block;
    margin-top: 8px;
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* Ausstattung */
.features-block { margin-top: clamp(60px, 8vw, 110px); }
.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 40px;
    margin-top: 14px;
}
.features-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
}
.features-list svg {
    flex: none;
    color: var(--olive);
    margin-top: 3px;
}

/* ========================= Galerie =========================== */
.section--gallery { background: var(--paper); }
.gallery {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
    padding-inline: 26px;
    max-width: 1340px;
    margin-inline: auto;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption {
    position: absolute; inset: auto 0 0 0;
    padding: 28px 18px 14px;
    font-size: .82rem;
    letter-spacing: .04em;
    color: #fff;
    background: linear-gradient(transparent, rgba(20,16,10,.78));
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s, transform .4s;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Asymmetrisches Raster */
.gallery-item--0 { grid-column: span 4; grid-row: span 2; }
.gallery-item--1 { grid-column: span 2; grid-row: span 1; }
.gallery-item--2 { grid-column: span 2; grid-row: span 1; }
.gallery-item--3 { grid-column: span 2; grid-row: span 2; }
.gallery-item--4 { grid-column: span 2; grid-row: span 1; }

/* ========================== Region =========================== */
.section--region { background: var(--cream); }
.region-lead {
    max-width: 720px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}
.poi-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.poi {
    background: var(--cream-soft);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 30px 26px;
    transition: transform .4s var(--ease), box-shadow .4s;
}
.poi:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.poi h3 {
    font-size: 1.45rem;
    color: var(--clay);
    margin-bottom: 10px;
}
.poi p { color: var(--ink-soft); font-size: .96rem; }

/* ========================== Preise =========================== */
.section--prices {
    background:
        linear-gradient(rgba(28,24,18,.62), rgba(28,24,18,.72)),
        url('../images/kitchen.jpg') center/cover fixed;
    color: #fff;
}
.section--prices .section-title,
.section--prices .kicker--light { color: #fff; }
.prices-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(36px, 5vw, 70px);
    align-items: center;
}
.prices-text p { color: rgba(255,255,255,.88); margin-bottom: 18px; }
.prices-text .kicker { color: var(--ochre); }
.prices-note { font-style: italic; font-family: var(--serif); font-size: 1.18rem; }
.prices-text .btn { margin-top: 10px; }

.price-card {
    background: var(--cream-soft);
    color: var(--ink);
    border-radius: 4px;
    padding: 38px 34px;
    box-shadow: var(--shadow-md);
}
.price-head {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
}
.price-from {
    display: block;
    font-size: .76rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.price-amount {
    display: block;
    font-family: var(--serif);
    font-size: 3.6rem;
    color: var(--clay);
    line-height: 1.1;
}
.price-unit { font-size: .9rem; color: var(--ink-soft); }
.price-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.price-incl li {
    padding: 9px 0 9px 26px;
    position: relative;
    font-size: .96rem;
    border-bottom: 1px dashed var(--line);
}
.price-incl li:last-child { border-bottom: none; }
.price-incl li::before {
    content: '✓';
    position: absolute; left: 0;
    color: var(--olive);
    font-weight: 600;
}

/* ========================= Anreise =========================== */
.section--maps { background: var(--paper); }
.maps-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
}
.maps-text p { color: var(--ink-soft); }
.maps-facts { margin: 22px 0 26px; }
.maps-facts li {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: .98rem;
}
.maps-frame {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 6px solid var(--cream-soft);
}
.maps-frame iframe {
    width: 100%; height: 420px; border: 0; display: block;
}

/* ---- Google-Maps-Einwilligung (Klick zum Laden) ---- */
.map-consent {
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, #ece4d3 100%);
    text-align: center;
}
.map-consent.is-loaded {
    display: block;
    background: none;
}
.map-consent.is-loaded iframe {
    width: 100%; height: 420px; border: 0; display: block;
}
.map-consent-inner { max-width: 340px; padding: 30px 24px; }
.map-consent-pin { color: var(--clay); margin-bottom: 8px; }
.map-consent-text {
    color: var(--ink-soft);
    font-size: .95rem;
    line-height: 1.6;
    margin: 0 0 18px;
}
.map-consent-remember {
    display: block;
    margin-top: 14px;
    font-size: .82rem;
    color: var(--ink-soft);
    cursor: pointer;
}
.map-consent-remember input { margin-right: 6px; vertical-align: middle; }

/* ---- Cookie-Hinweis ---- */
.cookie-banner {
    position: fixed;
    left: 16px; right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    display: flex;
    justify-content: center;
}
.cookie-banner[hidden] { display: none; }
/* Chat-Button ausblenden, solange der Cookie-Banner sichtbar ist */
body.cookie-open .chat-widget { display: none; }
.cookie-inner {
    max-width: 640px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 10px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, .30);
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 16px 22px;
}
.cookie-text {
    margin: 0;
    flex: 1;
    font-size: .88rem;
    line-height: 1.6;
}
.cookie-text a { color: var(--cream); text-decoration: underline; }
.cookie-inner .btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 620px) {
    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px 18px;
    }
    .cookie-inner .btn { width: 100%; }
}

/* ========================= Kontakt =========================== */
.section--contact { background: var(--cream); }
.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(36px, 5vw, 70px);
    align-items: start;
}
.contact-intro p { color: var(--ink-soft); margin-bottom: 24px; }
.contact-img {
    border-radius: 3px;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.booking-form {
    background: var(--cream-soft);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: clamp(26px, 4vw, 44px);
    box-shadow: var(--shadow-sm);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.booking-form label { display: block; }
.form-full { margin-bottom: 18px; }
.booking-form label span {
    display: block;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 7px;
}
.booking-form input,
.booking-form textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: .98rem;
    font-weight: 300;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 12px 14px;
    transition: border-color .3s, box-shadow .3s;
}
.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--clay);
    box-shadow: 0 0 0 3px rgba(187,78,42,.12);
}
.booking-form textarea { resize: vertical; }
.booking-form input.invalid,
.booking-form textarea.invalid { border-color: var(--clay); background: #fbeee9; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-privacy {
    font-size: .82rem;
    color: var(--ink-soft);
    margin: 6px 0 18px;
}
.form-feedback {
    margin-top: 14px;
    font-size: .94rem;
    min-height: 1.4em;
    text-align: center;
}
.form-feedback.ok  { color: var(--olive); font-weight: 500; }
.form-feedback.err { color: var(--clay);  font-weight: 500; }

/* ---- Buchungs-Zusammenfassung ---- */
.booking-summary[hidden] { display: none; }
.summary-card {
    background: var(--cream-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 34px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.summary-check {
    width: 56px; height: 56px; line-height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--olive); color: #fff;
    font-size: 1.9rem; font-weight: 700;
}
.summary-success { color: var(--olive); font-weight: 500; margin-bottom: 24px; }
.summary-title {
    font-family: var(--serif);
    font-size: 1.6rem; margin-bottom: 16px; color: var(--ink);
}
.summary-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 9px 20px;
    text-align: left;
    max-width: 460px;
    margin: 0 auto 26px;
    font-size: .98rem;
}
.summary-list dt { font-weight: 600; color: var(--ink-soft); }
.summary-list dd { margin: 0; color: var(--ink); word-break: break-word; }
.summary-card .btn-ghost {
    color: var(--clay);
    border: 1px solid var(--clay);
}
.summary-card .btn-ghost:hover { background: var(--clay); color: #fff; }

/* ========================== Footer =========================== */
.site-footer {
    background: var(--ink);
    color: #d8d0c0;
    padding: 70px 0 26px;
}
.footer-grid {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 26px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}
.brand--footer { color: #fff; margin-bottom: 16px; }
.footer-about p { font-size: .96rem; max-width: 320px; color: #b3aa99; }
.footer-col h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 14px;
}
.footer-col p { font-size: .94rem; margin-bottom: 8px; color: #b3aa99; }
.footer-col a { color: #d8d0c0; transition: color .3s; }
.footer-col a:hover { color: var(--ochre); }
.footer-links li { padding: 5px 0; }
.footer-bottom {
    max-width: var(--wrap);
    margin: 50px auto 0;
    padding: 22px 26px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    font-size: .84rem;
    color: #948c7c;
}
.to-top:hover { color: var(--ochre); }

/* ======================= Chat-Widget ========================= */
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 95; }

.chat-fab {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--clay);
    color: #fff;
    border: none;
    cursor: pointer;
    display: grid; place-items: center;
    box-shadow: var(--shadow-md);
    transition: transform .35s var(--ease), background .3s;
}
.chat-fab:hover { transform: scale(1.08); background: var(--clay-dark); }
.chat-widget.open .chat-fab { transform: scale(0); }

.chat-box {
    position: absolute;
    right: 0; bottom: 0;
    width: 370px;
    max-width: calc(100vw - 32px);
    height: 540px;
    max-height: calc(100svh - 48px);
    background: var(--cream-soft);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px) scale(.96);
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.chat-widget.open .chat-box {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-head {
    background: var(--clay);
    color: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-head strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.chat-head span { display: block; font-size: .78rem; color: rgba(255,255,255,.8); }
.chat-close {
    background: none; border: none; color: #fff;
    font-size: 1.7rem; line-height: 1; cursor: pointer;
    opacity: .85;
}
.chat-close:hover { opacity: 1; }

.chat-log {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--cream);
}
.msg {
    max-width: 82%;
    padding: 11px 15px;
    font-size: .92rem;
    line-height: 1.55;
    border-radius: 14px;
    animation: msgIn .3s var(--ease);
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg.bot {
    align-self: flex-start;
    background: var(--cream-soft);
    border: 1px solid var(--line);
    border-bottom-left-radius: 4px;
}
.msg.user {
    align-self: flex-end;
    background: var(--clay);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.msg.typing { display: flex; gap: 4px; }
.msg.typing span {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--ink-soft);
    animation: blink 1.2s infinite;
}
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }

/* ---- Buchungs-Zusammenfassung im Chat ---- */
.chat-summary {
    align-self: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 15px 16px;
    box-shadow: var(--shadow-sm);
    animation: msgIn .3s var(--ease);
}
.chat-summary .cs-title {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 10px;
}
.chat-summary dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 12px;
    margin: 0 0 14px;
    font-size: .85rem;
}
.chat-summary dt { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.chat-summary dd { margin: 0; color: var(--ink); word-break: break-word; }
.chat-summary .cs-send {
    width: 100%;
    background: var(--clay);
    color: #fff;
    border: 0;
    border-radius: 9px;
    padding: 10px 14px;
    font-family: var(--sans);
    font-size: .92rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s var(--ease);
}
.chat-summary .cs-send:hover { background: var(--clay-dark); }
.chat-summary .cs-send:disabled { opacity: .6; cursor: default; }
.chat-summary.sent { opacity: .7; }


.chat-quick {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    padding: 10px 14px;
    background: var(--cream);
    border-top: 1px solid var(--line);
}
.chat-quick button {
    font-family: var(--sans);
    font-size: .76rem;
    color: var(--clay);
    background: var(--cream-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background .25s, color .25s;
}
.chat-quick button:hover { background: var(--clay); color: #fff; }

.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    background: var(--cream-soft);
}
.chat-input input {
    flex: 1;
    font-family: var(--sans);
    font-size: .92rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 10px 16px;
    background: var(--cream);
}
.chat-input input:focus { outline: none; border-color: var(--clay); }
.chat-input button {
    width: 42px; height: 42px;
    flex: none;
    border-radius: 50%;
    background: var(--clay);
    color: #fff;
    border: none;
    cursor: pointer;
    display: grid; place-items: center;
    transition: background .25s, transform .25s;
}
.chat-input button:hover { background: var(--clay-dark); transform: scale(1.06); }

/* ================== Reveal-on-Scroll ========================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ====================== Responsiv ============================ */
@media (max-width: 980px) {
    .intro-grid, .prices-grid, .maps-grid, .contact-grid { grid-template-columns: 1fr; }
    .intro-figure { order: -1; }
    .intro-figure::before { inset: 14px -14px -14px 14px; }
    .poi-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section--prices { background-attachment: scroll; }

    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; inset: 0 0 0 auto;
        width: min(78vw, 320px);
        background: var(--cream-soft);
        flex-direction: column;
        gap: 4px;
        padding: 100px 32px 40px;
        transform: translateX(100%);
        transition: transform .4s var(--ease);
        box-shadow: var(--shadow-md);
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { color: var(--ink) !important; font-size: 1.05rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 720px) {
    .features-list { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
    .gallery-item--0 { grid-column: span 2 !important; grid-row: span 2 !important; }
    .poi-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .btn-book { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* ====================== Rechtliche Seiten ===================== */
.legal-page { padding-top: 150px; background: var(--cream); }
.legal-page .wrap { max-width: 820px; }
.legal-page h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.legal-page h3 {
    font-size: 1.4rem;
    color: var(--clay);
    margin: 30px 0 10px;
}
.legal-page p,
.legal-page li { color: var(--ink-soft); margin-bottom: 12px; font-size: 1rem; }
.legal-page ul { padding-left: 22px; list-style: disc; }
.legal-page a { color: var(--clay); }
.legal-page a:hover { text-decoration: underline; }
.legal-back {
    display: inline-block;
    margin-top: 30px;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--clay);
}
