/* Casa Agnethe – site styles. Mobile first. Colours and fonts are set once below. */

@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-400-latin.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-500-latin.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-600-latin.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-700-latin.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(/assets/fonts/poppins-800-latin.woff2) format('woff2'); }
@font-face { font-family: 'Dancing Script'; font-weight: 600; font-display: swap; src: url(/assets/fonts/dancing-script-600-latin.woff2) format('woff2'); }

:root {
  --accent: #3a8524;       /* buttons, links on light backgrounds (contrast 4.5:1 on white) */
  --accent-dark: #2d6a1b;
  --brand: #81d742;        /* brand colour from the old site: icons, lines, borders (not for text) */
  --logo: #4a9a22;
  --teal: #0e7f94;         /* small headings, accents */
  --teal-light: #14a3bd;   /* squiggle */
  --deep: #0d4f5c;         /* dark bands */
  --deep-2: #0a3f4a;
  --ink: #23292e;          /* headings */
  --text: #4a5258;
  --muted: #6b7378;
  --sand: #f7f4ee;         /* alternate section background */
  --line: #e6e1d8;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 79, 92, .12);
  --wrap: 1180px;
  --font: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --script: 'Dancing Script', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.7 var(--font); color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
main :is(p, li) > a:not(.btn):hover { background: color-mix(in srgb, var(--brand) 22%, transparent); border-radius: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.6em; border-radius: 999px; border: 2px solid transparent; font: 600 .95rem/1.2 var(--font); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--accent-dark); }
.btn-outline { border-color: var(--accent-dark); color: var(--accent-dark); background: transparent; } /* dark green: 4.5:1 also on sand */
.btn-outline:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(0,0,0,.25); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 40px; padding: .45em 1.2em; font-size: .9rem; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ' →'; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { font: 600 2rem/1 var(--script); color: var(--logo); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--accent); }
.menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; content: ''; }
.menu-bars { position: relative; }
.menu-bars::before { position: absolute; top: -7px; }
.menu-bars::after { position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }
.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); display: none; }
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 8px 16px 20px; }
.main-nav a:not(.btn) { display: flex; align-items: center; gap: 8px; padding: 12px 4px; color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.main-nav a[aria-current="page"] { color: var(--accent); }
.nav-lang img { border-radius: 50%; width: 24px; height: 24px; transition: transform .2s; }
.nav-lang a:hover img { transform: scale(1.15); }
.nav-cta { padding-top: 14px; }
.nav-cta .btn { width: 100%; }
html:not(.js) .main-nav { display: block; position: static; box-shadow: none; }

@media (min-width: 1080px) {
  .menu-toggle { display: none; }
  .main-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .main-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .main-nav a:not(.btn) { border: 0; padding: 8px 12px; font-size: .92rem; border-radius: 8px; }
  .main-nav a:not(.btn):hover { background: var(--sand); }
  .main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
  .nav-lang { margin-left: 6px; }
  .nav-cta { padding: 0 0 0 8px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--sand); }
.section-dark { background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%); color: #e4f1f3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-title { text-align: center; text-transform: uppercase; letter-spacing: .02em; }
.section-intro { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--teal); margin-bottom: .6em; }
.section-dark .eyebrow { color: var(--brand); }
.squiggle { display: block; width: 120px; height: 14px; margin: -.2em auto 1.6rem; color: var(--teal-light); }
.squiggle.left { margin-left: 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; /* darker on the left behind the text, photo stays bright on the right */
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,0) 75%), linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%); }
.hero-content { padding: 120px 0 56px; }
.hero h1 { color: var(--brand); text-transform: uppercase; text-shadow: 0 2px 20px rgba(0,0,0,.35); margin-bottom: .2em; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 620px; }
/* small text on photos: tight shadow for the letter edges + soft glow */
.hero .eyebrow, .hero-lead, .page-hero .breadcrumb, .page-hero p { text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 2px 12px rgba(0,0,0,.5); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.6rem; }
.hero-facts li { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .35em .95em; font-size: .9rem; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.page-hero .hero-img::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 50%, rgba(0,0,0,.05) 80%), linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.45)); }
.page-hero-content { padding: clamp(90px, 14vw, 150px) 0 clamp(36px, 6vw, 60px); }
.page-hero h1 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.35); max-width: 820px; }
.page-hero p { max-width: 640px; font-size: 1.1rem; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; color: var(--muted); }
.breadcrumb a { color: inherit; }
.page-hero .breadcrumb { color: rgba(255,255,255,.85); }
.breadcrumb a { text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb a { color: #fff; }
.page-hero .breadcrumb a:hover { color: var(--brand); }

/* ---------- intro / feature blocks ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.price { font-size: 1.05rem; color: var(--ink); margin: 1.4rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.price strong { font-size: 2rem; color: var(--accent); font-weight: 800; }
.check-list { list-style: none; padding: 0; display: grid; gap: .55em; }
.check-list li { padding-left: 1.9em; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .32em; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3.2 3L15 7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.two-col-list { columns: 2 220px; column-gap: 2rem; }
.two-col-list li { break-inside: avoid; }

.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 2rem 0; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.fact strong { display: block; font-size: 1.5rem; color: var(--ink); font-weight: 800; line-height: 1.2; }
.fact span { font-size: .88rem; color: var(--muted); }

.photo-tiles { display: grid; gap: 16px; }
@media (min-width: 760px) { .photo-tiles { grid-template-columns: 1fr 1fr; } }
.photo-tile { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 340px; display: grid; align-items: end; isolation: isolate; text-decoration: none; }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.photo-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.65)); }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile div { padding: 28px; }
.photo-tile h3 { color: #fff; font-size: 1.5rem; text-transform: uppercase; margin-bottom: .2em; }
.photo-tile p { margin: 0 0 .9em; }
.photo-tile span.btn { pointer-events: none; transition: background .2s, color .2s; }
.photo-tile:hover { color: #fff; }
.photo-tile:hover span.btn { background: var(--accent); color: #fff; }

.icon-cards { display: grid; gap: 20px; }
@media (min-width: 800px) { .icon-cards { grid-template-columns: repeat(3, 1fr); } }
.icon-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.icon-card svg { width: 44px; height: 44px; color: var(--teal); margin-bottom: 12px; }
.icon-card h3 { text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; }
.icon-card p { margin: 0; }

/* house feature rows */
.feature-list { display: grid; gap: clamp(40px, 6vw, 72px); }
.feature { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .feature { grid-template-columns: 1.1fr 1fr; } .feature:nth-child(even) > :first-child { order: 2; } }
.feature img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; color: var(--ink); font-weight: 600; }
.spec-table tr:last-child > * { border-bottom: 0; }

/* ---------- booking ---------- */
.booking-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .booking-grid { grid-template-columns: 400px 1fr; } }
.booking-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.booking-card h3 { margin-bottom: .2em; }
.booking-widget { min-height: 420px; }
.booking-note { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }
.contact-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 28px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
a.contact-card:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--text); transform: translateY(-2px); }
.contact-card svg { flex: none; width: 42px; height: 42px; padding: 9px; border-radius: 50%; border: 2px solid var(--brand); color: var(--accent); transition: background .2s, color .2s, border-color .2s; }
a.contact-card:hover svg, .contact-card:has(a:hover) svg { background: var(--accent); border-color: var(--accent); color: #fff; }
.contact-card span a { color: var(--ink); font-weight: 500; text-decoration: none; padding: 1px 4px; margin: 0 -4px; border-radius: 4px; transition: background .2s, color .2s; }
.contact-card span a:hover { color: var(--accent-dark); background: color-mix(in srgb, var(--brand) 22%, transparent); }
.contact-card strong { display: block; color: var(--ink); font-weight: 600; }
.contact-card span { font-size: .9rem; overflow-wrap: anywhere; }

/* ---------- cards: properties + posts ---------- */
.property-grid, .post-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .property-grid, .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .property-grid, .post-grid { grid-template-columns: repeat(3, 1fr); } }
.property-card, .post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.property-img img, .post-card-img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .5s; }
.property-img, .post-card-img { overflow: hidden; display: block; }
.property-card:hover img, .post-card:hover img { transform: scale(1.04); }
.property-body, .post-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.property-body h3 a, .post-card-body h3 a { color: var(--ink); text-decoration: none; }
.property-body h3 a:hover, .post-card-body h3 a:hover { color: var(--accent); }
.property-body .facts { font-size: .88rem; font-weight: 600; color: var(--teal); margin-bottom: .6em; }
.property-body .link-arrow, .post-card-body .link-arrow { margin-top: auto; }
.property-body p, .post-card-body p { font-size: .95rem; }

/* ---------- reviews ---------- */
.reviews-scroller { max-width: 860px; margin: 0 auto; text-align: center; }
.scroller-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.scroller-track::-webkit-scrollbar { display: none; }
.review-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; padding: 0 8px; }
.review-slide blockquote { margin: 0 0 1.2rem; font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-style: italic; line-height: 1.6; color: #fff; }
.review-slide blockquote p::before { content: '«'; } .review-slide blockquote p::after { content: '»'; }
:lang(en) .review-slide blockquote p::before { content: '“'; } :lang(en) .review-slide blockquote p::after { content: '”'; }
.review-slide figcaption, .review-card figcaption { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.stars { color: #f6b81a; letter-spacing: .15em; font-size: 1.1rem; margin-bottom: .8rem; }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--deep-2); font-weight: 700; font-size: .95rem; }
.scroller-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 1.6rem; }
.scroller-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.scroller-btn:hover { background: rgba(255,255,255,.15); }
.dots { display: flex; gap: 0; }
.dot { width: 24px; height: 24px; padding: 7px; border: 0; background: transparent; cursor: pointer; }
.dot::before { content: ''; display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); }
.dot[aria-current="true"]::before { background: var(--brand); }
html:not(.js) .scroller-controls { display: none; }

.review-grid { columns: 1; column-gap: 24px; }
@media (min-width: 760px) { .review-grid { columns: 2; } }
@media (min-width: 1100px) { .review-grid { columns: 3; } }
.review-card { break-inside: avoid; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin: 0 0 24px; }
.review-card blockquote { margin: 0 0 1rem; }
.review-card p { margin: 0; }

/* ---------- flags ticker ---------- */
.flags-block { margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.flags-block h3 { font-size: 1.1rem; margin-top: -10px; margin-bottom: calc(1rem + 10px); }
.flags-ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.flags-ticker:hover .ticker-track, .flags-ticker.paused .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0 11px; }
.flag { display: flex; flex-direction: column; align-items: center; width: 64px; }
.flag img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.flag span { font-size: .72rem; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 64px; opacity: .85; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .ticker-group + .ticker-group { display: none; } .ticker-group { flex-wrap: wrap; justify-content: center; } }

/* ---------- other rentals banner ---------- */
.rentals-band { display: grid; }
@media (min-width: 900px) { .rentals-band { grid-template-columns: repeat(3, 1fr); } }
.rental-tile { position: relative; min-height: 320px; display: grid; place-items: center; text-align: center; color: #fff; text-decoration: none; isolation: isolate; overflow: hidden; padding: 24px; }
.rental-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.rental-tile::after { content: ''; position: absolute; inset: 0; background: rgba(8, 40, 48, .45); z-index: -1; transition: background .3s; }
.rental-tile:hover img { transform: scale(1.05); }
.rental-tile:hover::after { background: rgba(8, 40, 48, .3); }
.rental-tile .eyebrow { color: #fff; opacity: .9; }
.rental-tile h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-transform: uppercase; }
.rental-tile:hover { color: #fff; }

/* ---------- gallery ---------- */
.gallery-nav { position: sticky; top: 68px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; margin-bottom: 8px; background: rgba(255,255,255,.95); scrollbar-width: thin; }
.gallery-nav a { flex: none; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .88rem; font-weight: 500; text-decoration: none; }
.gallery-nav a:hover { border-color: var(--accent); color: var(--accent); }
.gallery-section { padding-top: 28px; }
.gallery-section h2 { font-size: 1.5rem; display: flex; align-items: baseline; gap: 12px; }
.gallery-section h2 .count { font-size: .85rem; font-weight: 500; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; grid-auto-flow: dense; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.gallery-item { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .82rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .25s; }
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; }
@media (hover: none) { .gallery-caption { opacity: 1; } }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 16, 18, .96); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 12px 16px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 130px); object-fit: contain; user-select: none; touch-action: pan-y; }
.lightbox figcaption { padding: 12px 64px; text-align: center; font-size: .95rem; }
.lb-btn { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 12px; top: 12px; }
.lb-count { position: absolute; left: 16px; top: 18px; margin: 0; font-size: .9rem; opacity: .8; }

/* ---------- area page ---------- */
.area-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
.area-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.area-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.area-card div { padding: 20px 22px 24px; }
.area-card p { margin: 0; font-size: .95rem; }

/* ---------- article ---------- */
.article-page { padding-top: clamp(28px, 5vw, 48px); }
.article-page h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.article-meta { color: var(--muted); font-size: .9rem; }
.article-banner { margin: 24px auto 40px; }
.article-banner img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); }
.article-body { font-size: 1.05rem; padding-bottom: clamp(40px, 6vw, 72px); }
.article-body h2 { font-size: 1.6rem; margin-top: 2em; }
.article-body h3 { margin-top: 1.6em; }
.article-body img { border-radius: var(--radius); margin: 1.4em 0 .4em; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article-body .facts { font-size: .92rem; color: var(--muted); }
.article-body blockquote { margin: 1.5em 0; padding: .4em 1.4em; border-left: 4px solid var(--brand); background: var(--sand); border-radius: 0 10px 10px 0; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.8em; }

.cta-band { background: linear-gradient(135deg, var(--deep), var(--deep-2)); color: #e4f1f3; padding: clamp(40px, 6vw, 64px) 0; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--brand); }
.cta-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr 1fr; } .cta-actions { justify-content: flex-end; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hosts ---------- */
.host-intro { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .host-intro { grid-template-columns: 340px 1fr; } }
.host-intro img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 340px; margin: 0 auto; box-shadow: var(--shadow); }
.signature { font: 600 1.8rem/1.2 var(--script); color: var(--logo); }

/* ---------- forms ---------- */
.newsletter-form, .contact-form { display: grid; gap: 14px; max-width: 560px; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
label span { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.section-dark label span { color: #fff; }
input, textarea { width: 100%; font: inherit; padding: .75em .9em; border: 1px solid #cfd6d9; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 3px solid rgba(20, 163, 189, .35); border-color: var(--teal); }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.section-dark .form-note { color: #b8d3d8; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--accent); } .section-dark .form-status.ok { color: var(--brand); }
.form-status.err { color: #c0392b; } .section-dark .form-status.err { color: #ffb4a8; }
.newsletter-box { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .newsletter-box { grid-template-columns: 1fr 1fr; } }

/* ---------- video + map ---------- */
.video-facade, .map-facade { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--deep); aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-facade .play { position: relative; border: 0; background: none; cursor: pointer; transition: transform .2s; }
.video-facade .play:hover { transform: scale(1.1); }
.facade-note { position: absolute; bottom: 8px; left: 0; right: 0; margin: 0; text-align: center; font-size: .78rem; opacity: .85; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.map-facade { background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23e6e1d8'/%3E%3C/svg%3E"); color: var(--ink); }
.map-facade .facade-note { text-shadow: none; color: var(--muted); }
.video-facade iframe, .map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.site-footer { background: #182024; color: #b9c3c7; padding: 64px 0 24px; font-size: .95rem; }
.site-footer a { color: #e6eef0; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: var(--brand); font-size: 2.2rem; display: inline-block; margin-bottom: .5rem; }
.license { font-size: .85rem; opacity: .8; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 20px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; }

.whatsapp-float { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound .big { font: 600 clamp(4rem, 14vw, 8rem)/1 var(--script); color: var(--logo); margin: 0; }

@media print { .site-header, .whatsapp-float, .site-footer, .booking-widget { display: none; } }
.split .squiggle, .prose .squiggle, .host-intro .squiggle, .contact-block .squiggle { margin-left: 0; }
a[href^="tel:"] { white-space: nowrap; }
.contact-block { margin-top: 2rem; scroll-margin-top: 90px; } /* menu "Kontakt" jumps here; clear of the sticky header */ /* keep each phone number on one line */
.review-slide { align-self: center; }

/* ---------- AI label ("ai": true in data/image-text.json) ---------- */
/* The wrapper is the visible (cropped) frame of the image, so the badge always sits inside what is shown */
.ai-img { position: relative; display: block; container-type: inline-size; }
/* Dark pill with a light edge: readable on both light and dark photos */
.ai-badge { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 999px; background: rgba(16, 20, 22, .82); border: 1px solid rgba(255, 255, 255, .5); color: #fff; font-size: .72rem; font-weight: 600; line-height: 1.3; white-space: nowrap; pointer-events: none; }
.ai-badge b { padding: 1px 6px; border-radius: 999px; background: #fff; color: #111; font-size: .7rem; font-weight: 800; letter-spacing: .05em; }
/* Small images (frames under 300 px, e.g. gallery thumbnails on phones): "AI" only, the text stays for screen readers */
@container (max-width: 300px) {
  .ai-badge { padding: 3px; }
  .ai-badge-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
/* images that fill their box: the label wrapper must fill it too */
.hero-img .ai-img, .photo-tile .ai-img, .rental-tile .ai-img { position: absolute; inset: 0; }
.photo-tile .ai-img, .rental-tile .ai-img { z-index: -2; }
.gallery-item .ai-img { height: 100%; }
.article-body .ai-img { margin: 1.4em 0 .4em; }
.article-body .ai-img img { margin: 0; }
.page-hero .ai-badge, .hero .ai-badge { bottom: 12px; right: 12px; }
/* heroes with a label: keep the text clear of it */
.page-hero:has(.ai-img) .page-hero-content { padding-bottom: calc(clamp(36px, 6vw, 60px) + 30px); }
.hero:has(.ai-img) .hero-content { padding-bottom: 86px; }
