/* ==========================================================
   Ferienhaus Julia148 – Design "Reetdach & Dünen"
   Farben aus dem Haus selbst: Giebelgrün, Läden-Rot, Dünensand
   ========================================================== */

:root {
    --green-900: #1c3834;
    --green-800: #234641;
    --green-700: #2e5a53;
    --green-500: #4f8178;
    --green-100: #e3eeeb;
    --green-50:  #f0f6f4;

    --red:       #b5302a;   /* Fensterläden – Handlungsaufforderungen */
    --red-dark:  #952520;
    --red-light: #c94540;

    --sand-50:  #fbf8f2;
    --sand-100: #f5efe3;
    --sand-200: #ebe1cf;
    --sand-400: #cdb994;

    --ink:   #1f2b29;
    --text:  #3a4644;
    --muted: #66726f;
    --line:  #e4ddd0;
    --white: #fff;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(28, 56, 52, .06), 0 2px 8px rgba(28, 56, 52, .06);
    --shadow: 0 2px 6px rgba(28, 56, 52, .06), 0 14px 34px rgba(28, 56, 52, .10);
    --shadow-lg: 0 24px 60px rgba(28, 56, 52, .20);

    --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --wrap: 1180px;
    --header-h: 72px;

    /* Kalender */
    --cal-free: #ffffff;
    --cal-free-border: #d9e7e2;
    --cal-free-text: var(--green-900);
    --cal-booked: #f1e4e1;
    --cal-booked-text: #a7726c;
    --cal-holiday: #e0a526;
    --cal-hover: var(--green-100);
    --cal-selected: #cfe3dd;
    --cal-past: transparent;

    /* Aliase für den Admin-Bereich */
    --radius-admin: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font: 400 1.0625rem/1.65 var(--font-sans);
    color: var(--text);
    background: var(--sand-50);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--red); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 700 .78rem/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--text); }
.muted { color: var(--muted); }
.center { text-align: center; }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green-900); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: var(--red); color: #fff; border: 2px solid transparent; border-radius: 999px;
    padding: .78rem 1.45rem; font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
    box-shadow: 0 6px 16px rgba(181, 48, 42, .25);
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease, color .18s;
}
.btn:hover, .btn:focus-visible { background: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(181, 48, 42, .3); }
.btn:disabled { background: #c8c3ba; box-shadow: none; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; color: var(--green-800); border-color: currentColor; box-shadow: none; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--green-800); color: #fff; box-shadow: none; }
.btn--light { background: #fff; color: var(--green-900); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--sand-100); color: var(--green-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); box-shadow: none; }
.btn--outline-light:hover { background: #fff; color: var(--green-900); box-shadow: none; }
.btn--small { padding: .45rem .9rem; font-size: .88rem; box-shadow: none; }
.btn--block { width: 100%; }
.btn .icon { width: 1.1em; height: 1.1em; }

/* ---------- Kopfbereich ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251, 248, 242, .92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(28,56,52,.06); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand__name { display: block; font: 700 1.3rem/1 var(--font-serif); letter-spacing: -.01em; }
.brand__place { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .04em; margin-top: .2rem; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .2rem; }
.site-nav a { display: block; padding: .5rem .8rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .97rem; }
.site-nav a:hover { color: var(--green-900); background: var(--sand-100); }
.site-nav a[aria-current="page"] { color: var(--green-900); background: var(--green-100); }
.site-header__cta { padding: .6rem 1.1rem; font-size: .95rem; }
.site-nav__mobile-cta { display: none; }
.site-nav a.btn, .site-nav a.btn:hover { background: var(--red); color: #fff; border-radius: 999px; }
.site-nav a.btn:hover { background: var(--red-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--sand { background: var(--sand-100); }
.section--white { background: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Startseite: Hero ---------- */
.hero { padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: auto -10% -40% 40%; height: 70%;
    background: radial-gradient(closest-side, rgba(205,185,148,.35), transparent); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--green-700); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1.6rem; }
.hero__price { display: inline-flex; align-items: baseline; gap: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font-size: .95rem; color: var(--muted); box-shadow: var(--shadow-sm); }
.hero__price strong { font: 700 1.25rem var(--font-serif); color: var(--red); }
.hero__trust { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; padding: 0; margin: 0; list-style: none; font-size: .93rem; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust .icon { color: var(--green-700); }

.hero__media { position: relative; padding: 0 0 2.8rem 2.2rem; }
.hero__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__polaroid {
    position: absolute; left: 0; bottom: 0; width: 34%;
    background: #fff; padding: .55rem .55rem .9rem; border-radius: 6px; box-shadow: var(--shadow-lg); transform: rotate(-4deg);
}
.hero__polaroid img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.hero__polaroid figcaption { font: italic 600 .95rem var(--font-serif); color: var(--green-800); text-align: center; margin-top: .5rem; }
.hero__badge {
    position: absolute; right: -6px; top: 1.2rem; background: var(--green-900); color: #fff; border-radius: 999px;
    padding: .55rem 1rem; display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow);
}

/* ---------- Ausstattungsleiste ---------- */
.facts { list-style: none; margin: 0; padding: 1.4rem clamp(1rem, 3vw, 2rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem 1.5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.facts li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; line-height: 1.3; }
.facts .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--green-50); color: var(--green-700); stroke-width: 1.6; }
.facts strong { display: block; font-size: 1rem; }
.facts span { color: var(--muted); font-size: .86rem; }

/* ---------- Feature-Karten ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.feature { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__img { aspect-ratio: 4 / 3; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature:hover .feature__img img { transform: scale(1.05); }
.feature__body { padding: 1.3rem 1.4rem 1.5rem; }
.feature__body h3 { margin-bottom: .35rem; }
.feature__body p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Mosaik ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(150px, 230px)); gap: .75rem; }
.mosaic a { position: relative; border-radius: var(--radius-sm); overflow: hidden; display: block; background: var(--sand-200); }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(28,56,52,.55); color: #fff; font-weight: 600; font-size: 1.05rem; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 42px 1fr; gap: .9rem; align-items: start; }
.steps li::before {
    content: counter(step); width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; background: var(--green-900); color: #fff; font: 700 1.1rem var(--font-serif);
}
.steps strong { display: block; margin-bottom: .1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Split / Bildband ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }

.band { position: relative; color: #fff; overflow: hidden; }
.band__bg { position: absolute; inset: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,42,39,.88) 0%, rgba(20,42,39,.6) 50%, rgba(20,42,39,.25) 100%); }
.band__content { position: relative; z-index: 1; padding: clamp(4rem, 10vw, 7.5rem) 0; max-width: 600px; }
.band h2, .band h3, .band strong { color: #fff; }
.band .eyebrow { color: #f2d9a9; }
.band p { color: rgba(255,255,255,.88); }

.cta { background: var(--green-900); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255,255,255,.05); }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.8); margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--green-900); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,42,39,.15), rgba(20,42,39,.75)); }
.page-hero__content { position: relative; z-index: 1; padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero h1 { color: #fff; margin: 0 0 .25em; }
.page-hero p { color: rgba(255,255,255,.9); margin: 0; max-width: 640px; font-size: 1.1rem; }
.page-hero .eyebrow { color: #f2d9a9; }
.page-hero--plain { background: var(--sand-100); color: var(--ink); }
.page-hero--plain::after { display: none; }
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain p { color: var(--muted); }
.page-hero--plain .page-hero__content { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2.25rem); }

/* ---------- Panels (Inhaltsblöcke) ---------- */
.content { display: grid; gap: clamp(1.25rem, 3vw, 2rem); padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.panel, .card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 3.5vw, 2.5rem); }
.panel__title, .card__title { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-bottom: .8rem; }
.card { padding: 0; overflow: hidden; }
.card__title { background: var(--green-900); color: #fff; margin: 0; padding: .9rem 1.5rem; font-size: 1.3rem; }
.card__body { padding: 1.4rem 1.5rem 1.6rem; }
.card__body > :last-child, .panel > :last-child { margin-bottom: 0; }
.panel--dark { background: var(--green-900); color: rgba(255,255,255,.85); }
.panel--dark h2, .panel--dark strong { color: #fff; }
.panel--dark .info-list .icon { color: #f2d9a9; }
.prose { max-width: 760px; }
.prose h3 { margin-top: 1.6em; }

.room { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.room .gallery { margin: 0; }
.room h2 { margin-bottom: .6rem; }
@media (min-width: 901px) { .room > div:last-child { position: sticky; top: calc(var(--header-h) + 24px); } }

ul.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: .55rem; }
ul.checklist li { position: relative; padding-left: 1.9rem; }
ul.checklist li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
    background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e5a53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
ul.checklist--cross li::before { background: #f6e3e1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5302a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 62% no-repeat; }

.notice { border-radius: var(--radius-sm); background: var(--sand-100); border: 1px solid var(--sand-200); padding: .9rem 1.1rem; margin: 0 0 1rem; }
.notice--ok { background: var(--green-50); border-color: #bfd9d1; color: var(--green-900); }
.notice--warn { background: #fff6e4; border-color: #f0d69c; }
.notice p:last-child { margin: 0; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.info-list li { display: flex; gap: .75rem; align-items: flex-start; }
.info-list .icon { color: var(--green-700); margin-top: .15rem; }

/* ---------- Bildraster & Slider ---------- */
.gallery { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand-200); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease, opacity .35s; }
.gallery a:hover img { transform: scale(1.06); opacity: .92; }

.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-900); aspect-ratio: 16 / 9; max-height: 620px; width: 100%; box-shadow: var(--shadow); }
.slider__track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.slider__slide { flex: 0 0 100%; height: 100%; margin: 0; position: relative; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.4rem 1rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); font: 600 1.1rem var(--font-serif); }
.slider__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--green-900); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
.slider__btn:hover { background: #fff; }
.slider__btn--prev { left: 1rem; }
.slider__btn--next { right: 1rem; }
.slider__dots { position: absolute; bottom: 1.1rem; right: 1.2rem; display: flex; gap: .4rem; }
.slider__dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .25s; }
.slider__dots button[aria-current="true"] { background: #fff; width: 24px; }

.lightbox { position: fixed; inset: 0; background: rgba(15,28,26,.94); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 3rem 1rem; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: #eee; margin-top: .7rem; text-align: center; font-family: var(--font-serif); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 1.7rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Preistabelle ---------- */
.table-wrap { overflow-x: auto; }
table.prices { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.prices th, table.prices td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
table.prices th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
table.prices td.num, table.prices th.num { text-align: right; white-space: nowrap; }
table.prices td.num strong { font: 700 1.05rem var(--font-serif); color: var(--green-900); }
table.prices tbody tr:hover { background: var(--sand-50); }
table.prices tr.is-past { color: #aaa; }
.price-chip { display: inline-block; padding: .1rem .55rem; border-radius: 99px; font-size: .75rem; font-weight: 700; background: #fcefd2; color: #8a5b00; margin-left: .4rem; vertical-align: middle; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .3rem; font-size: .92rem; }
.field input, .field textarea, .field select {
    width: 100%; padding: .75rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
    border: 1px solid #d8d0c1; border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-500); outline: none; box-shadow: 0 0 0 4px rgba(79,129,120,.18); }
.field textarea { min-height: 120px; resize: vertical; }
.field--check { display: flex; gap: .7rem; align-items: flex-start; }
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--green-700); flex: 0 0 auto; }
.field--check label { font-weight: 400; margin: 0; color: var(--text); font-size: .9rem; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.req { color: var(--red); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; }
.form-status:empty { display: none; }

/* ---------- Buchungskalender ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.booking__side { display: grid; gap: 1.25rem; align-content: start; }
.cal { --cell: clamp(36px, 10vw, 46px); user-select: none; }
.cal__nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.cal__nav select { font: 600 1rem var(--font-sans); color: var(--ink); padding: .5rem 2rem .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.cal__arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.3rem; cursor: pointer; transition: background .15s; }
.cal__arrow:hover:not(:disabled) { background: var(--green-100); }
.cal__arrow:disabled { opacity: .3; cursor: default; }
.cal__months { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.75rem; }
.cal__month h3 { margin: 0 0 .6rem; text-align: center; font-size: 1.15rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding: .25rem 0; text-transform: uppercase; }
.cal__day {
    position: relative; height: var(--cell); border: 1px solid var(--cal-free-border); border-radius: 8px; padding: 0;
    font: 600 .95rem var(--font-sans); color: var(--cal-free-text); background: var(--cal-free); cursor: pointer; overflow: hidden;
    transition: background-color .12s, color .12s, border-color .12s;
}
.cal__day span { position: relative; z-index: 2; }
.cal__day--empty { background: transparent; border-color: transparent; cursor: default; }
.cal__day--past { background: transparent; border-color: transparent; color: #c3bdb2; font-weight: 400; cursor: default; }
.cal__day--booked {
    background: repeating-linear-gradient(135deg, var(--cal-booked), var(--cal-booked) 5px, #f8eeec 5px, #f8eeec 10px);
    border-color: transparent; color: var(--cal-booked-text); cursor: not-allowed; text-decoration: line-through;
}
.cal__day--out { background: linear-gradient(to bottom right, var(--cal-booked) 49.5%, var(--cal-free) 50.5%); }
.cal__day--in  { background: linear-gradient(to bottom right, var(--cal-free) 49.5%, var(--cal-booked) 50.5%); }
.cal__day--in.cal__day--out { background: linear-gradient(to bottom right, var(--cal-booked) 48%, #fff 48%, #fff 52%, var(--cal-booked) 52%); text-decoration: line-through; }
.cal__day--holiday::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--cal-holiday); z-index: 2; }
.cal__day--today { box-shadow: inset 0 0 0 2px var(--ink); }
.cal__day:not(.cal__day--past):not(.cal__day--booked):not(.cal__day--empty):not(:disabled):hover { background: var(--green-100); border-color: var(--green-500); }
.cal__day--preview { background: var(--cal-hover) !important; border-color: #bcd6ce !important; }
.cal__day--range { background: var(--cal-selected) !important; border-color: var(--cal-selected) !important; color: var(--green-900); }
.cal__day--start, .cal__day--end { background: var(--green-800) !important; border-color: var(--green-800) !important; color: #fff !important; }
.cal__day--invalid-preview { background: #eee !important; color: #999 !important; border-color: #ddd !important; }
.cal__day:disabled { cursor: not-allowed; }

.cal__legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 1.1rem 0 0; font-size: .84rem; color: var(--muted); list-style: none; padding: 0; }
.cal__legend li { display: flex; align-items: center; gap: .45rem; }
.cal__swatch { width: 16px; height: 16px; border-radius: 4px; display: inline-block; position: relative; }
.cal__swatch--free { background: #fff; border: 1px solid var(--cal-free-border); }
.cal__swatch--booked { background: repeating-linear-gradient(135deg, var(--cal-booked), var(--cal-booked) 3px, #f8eeec 3px, #f8eeec 6px); }
.cal__swatch--change { background: linear-gradient(to bottom right, var(--cal-booked) 49.5%, #fff 50.5%); border: 1px solid var(--cal-free-border); }
.cal__swatch--sel { background: var(--green-800); }
.cal__swatch--holiday { background: #fff; border: 1px solid var(--line); }
.cal__swatch--holiday::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--cal-holiday); }
.cal__hint { margin: .9rem 0 0; font-size: .93rem; color: var(--muted); min-height: 1.4em; }

.summary { border-radius: var(--radius); padding: 1.3rem 1.4rem; background: var(--green-900); color: #fff; box-shadow: var(--shadow); }
.summary h3 { color: #fff; margin: 0 0 .9rem; font-size: 1.3rem; }
.summary__dates { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1rem; }
.summary__dates div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: .55rem .8rem; }
.summary__dates small { display: block; color: rgba(255,255,255,.65); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.summary__dates strong { color: #fff; font-size: 1.05rem; }
.summary table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.summary td { padding: .4rem 0; border-bottom: 1px dashed rgba(255,255,255,.18); color: rgba(255,255,255,.9); }
.summary td small { color: rgba(255,255,255,.6); }
.summary td:last-child { text-align: right; white-space: nowrap; }
.summary tr.total td { border-bottom: 0; border-top: 1px solid rgba(255,255,255,.5); font-weight: 700; color: #fff; font-size: 1.05rem; padding-top: .65rem; }
.summary tr.total td:last-child { font: 700 1.5rem var(--font-serif); color: #f6d28f; }
.summary__errors { margin: .6rem 0 0; padding: .7rem .9rem .7rem 2rem; color: #fff; background: rgba(181,48,42,.35); border-radius: var(--radius-sm); font-size: .92rem; }
.summary__note { font-size: .85rem; color: rgba(255,255,255,.7); margin: .7rem 0 0; }
.form .summary__errors { color: var(--red-dark); background: #fbecea; }
.booking__form { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.booking__form h3 { margin-bottom: .2rem; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: clamp(3rem, 7vw, 4.5rem) 0 1.5rem; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font: 600 1.05rem var(--font-serif); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__place { color: rgba(255,255,255,.6); }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem; color: rgba(255,255,255,.55); }

/* Mobile Buchungsleiste */
.mobile-cta { display: none; }

/* ---------- Animation beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsiv ---------- */
@media (min-width: 960px) {
    .booking { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); align-items: start; }
    .booking__side { position: sticky; top: calc(var(--header-h) + 16px); }
}

@media (max-width: 1040px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    :root { --header-h: 64px; }
    .nav-toggle { display: inline-flex; }
    .site-header__cta { display: none; }
    .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--sand-50); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(28,56,52,.12); display: none; padding: .75rem clamp(16px, 4vw, 32px) 1.25rem; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
    .site-nav a { padding: .8rem 1rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
    .site-nav__mobile-cta { display: block; margin-top: .5rem; }
    .site-nav__mobile-cta .btn { padding: .85rem 1rem; }
    .hero__grid, .split, .split--wide-left, .room { grid-template-columns: 1fr; }
    .hero__media { padding: 0 0 2.2rem 1.2rem; max-width: 640px; }
    .hero__photo { aspect-ratio: 16 / 11; }
    .hero__polaroid { width: 36%; }
    .features { grid-template-columns: 1fr; }
    .feature { flex-direction: row; }
    .feature__img { flex: 0 0 38%; aspect-ratio: auto; }
    .cta { grid-template-columns: 1fr; }
    .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px 130px; }
    .mosaic a:first-child { grid-column: span 2; grid-row: auto; }
    .mosaic a:nth-child(n+6) { display: none; }

    .mobile-cta {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: .75rem; align-items: center;
        padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
        border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(28,56,52,.1);
        backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    }
    .mobile-cta__price { font-size: .82rem; color: var(--muted); line-height: 1.2; }
    .mobile-cta__price strong { display: block; font: 700 1.15rem var(--font-serif); color: var(--ink); }
    .mobile-cta .btn { margin-left: auto; padding: .7rem 1.2rem; }
    body.has-mobile-cta { padding-bottom: 76px; }
}

@media (max-width: 560px) {
    body { font-size: 1rem; }
    .feature { flex-direction: column; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .hero__badge { font-size: .8rem; right: 0; }
    .hero__actions .btn { flex: 1 1 auto; }
    .brand__place { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .mobile-cta, .nav-toggle { display: none !important; }
    .panel, .card { box-shadow: none; }
}
