/* DiFFERENT Living v4 – Unterseiten (12.11.2026).
   Die Seiten kommen aus v3 (styles.css + home3.css); diese Datei lädt zuletzt und gleicht sie an die v4-Startseite an:
   Kopf/Fuß aus v4.css, Tokens wie v4, ruhige Rahmen-Buttons, Einstieg beim Laden, leise Wasserlinien im Seitenkopf. */

.is-v4 {
  --paper: var(--bg); --paper-2: var(--bg-2); --paper-3: var(--bg-3);
  --moss: var(--brown); --display: var(--serif); --body: var(--sans);
  --max: 1360px;
}

/* Buttons: zweite Wahl immer als Rahmen (v4.css färbt .btn sonst flächig) */
.is-v4 .btn-ghost { background: transparent; color: var(--ink); border-color: rgb(47 42 39 / .28); box-shadow: none; }
.is-v4 .btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-2); color: var(--ink); }
.is-v4 .btn-sm { min-height: 44px; padding: 0 1.2rem; font-size: .93rem; }
.is-v4 .btn-block { width: 100%; }
.is-v4 .hd-nav .btn[aria-current] { background: var(--brown-h); }

/* Überschriften wie auf der Startseite: Source Serif, leicht */
.is-v4 h1 { font-family: var(--serif); font-weight: 380; letter-spacing: -.015em; }
.is-v4 .page-head h1, .is-v4 .bk-head h1, .is-v4 .tp-head h1 { font-size: clamp(2.8rem, 1.2rem + 4vw, 5.4rem); line-height: 1.02; }
.is-v4 main h2:not([class*="ft"]) { font-weight: 400; }

/* Seitenkopf mit leisen Wasserlinien (gezeiten.js) */
.is-v4 .page-head, .is-v4 .bk-head, .is-v4 .tp-head { position: relative; overflow: hidden; isolation: isolate; }
.is-v4 .sub-tide { z-index: -1; opacity: .8; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); }

/* Einstieg beim Laden (einmal): Titel steigt auf, Fotos öffnen sich wie auf der Startseite */
.js .is-v4 main > section:first-of-type h1 { animation: rise 1s var(--ease) .1s both; }
.js .is-v4 main > section:first-of-type h1 + * { animation: fade .9s var(--ease) .45s both; }
.js .is-v4 .p3-mosaic .p3-m { clip-path: inset(0 0 0 100%); animation: wipe 1.3s var(--ease-io) both; }
.js .is-v4 .p3-mosaic .p3-m1 { animation-delay: .05s; }
.js .is-v4 .p3-mosaic .p3-m2 { animation-delay: .22s; }
.js .is-v4 .p3-mosaic .p3-m3 { animation-delay: .36s; }
.js .is-v4 .p3-mosaic .p3-m img { animation: settle 2s var(--ease) both; }
.is-v4 h1 { transform-origin: 0 100%; }

/* Fotos: eckig wie die Startseite, sanfter Zoom beim Überfahren */
.is-v4 .p3-m, .is-v4 .p3-gallery .g-item, .is-v4 .a3-media span, .is-v4 .card img { border-radius: var(--r); }
.is-v4 .p3-m:hover img, .is-v4 .a3-media:hover img, .is-v4 .g-item:hover img { transform: scale(1.03); }
.is-v4 .a3-media img, .is-v4 .g-item img { transition: transform 1.1s var(--ease); }
.is-v4 .p3-all { border-radius: var(--r); }

/* Seitenleiste der Wohnung: Karte wie das Suchband der Startseite */
.is-v4 .p3-aside { background: var(--bg-2); border: 0; border-radius: var(--r); }
.is-v4 .p3-aside-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }

/* Bänder „Gut zu wissen“ in Espresso wie Fuß und „Heute in Westerland“ */
.is-v4 .h3-band { background: var(--espresso); color: var(--cream); }
.is-v4 .h3-band h2, .is-v4 .h3-band dt { color: var(--cream); }
.is-v4 .h3-band p, .is-v4 .h3-band dd { color: rgb(243 236 227 / .78); }
.is-v4 .h3-band .h3-phone { color: var(--cream); border-color: rgb(243 236 227 / .35); }
.is-v4 .h3-band .h3-notes > div { border-color: rgb(243 236 227 / .18); }

/* Chips wie Startseite (dunkel = gewählt) */
.is-v4 .chip { border-radius: var(--r); }
.is-v4 .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* Buchungsband oben (Entwurf) bleibt sichtbar, aber ruhiger */
.is-v4 .mock-banner { background: var(--espresso); }

/* Rechtstexte lesbar halten (v4.css setzt h2 groß) */
.is-v4 .legal h2, .is-v4 .prose h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.25; }

@media (prefers-reduced-motion: reduce) {
  .js .is-v4 .p3-mosaic .p3-m { clip-path: none; }
}

/* Belegungskalender auf der Wohnungsseite (booking.js initApt, v4.apt_calendar) – 12.11.2026 */
.is-v4 .ac-intro { color: var(--ink-2); max-width: 60ch; margin-bottom: 1.25rem; }
.is-v4 .ac { background: var(--paper-2); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 3rem; }
.is-v4 .ac-note { background: var(--paper); border-left: 3px solid var(--moss); padding: .75rem 1rem; margin: 0 0 1.25rem; }
.is-v4 .ac-note .link { font: inherit; }
.is-v4 .ac-foot { position: static; margin: 1.5rem 0 0; padding: 1.25rem 0 0; background: none; border-top: 1px solid var(--line, color-mix(in srgb, var(--ink) 15%, transparent)); flex-wrap: wrap; }
.is-v4 .ac-foot [data-ac-quote] { flex: 1 1 12rem; }
.is-v4 .ac-guests { display: grid; gap: .25rem; font-size: .85rem; color: var(--ink-2); }
.is-v4 .ac-guests select { font: inherit; font-size: 1rem; color: var(--ink); padding: .5rem .75rem; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); border-radius: var(--r); background: var(--paper); }
.is-v4 .ac .btn[aria-disabled] { opacity: .45; cursor: not-allowed; }
.is-v4 .ac-legal { font-size: .85rem; color: var(--ink-2); margin: 1rem 0 0; }
