/* DiFFERENT Living v3 Startseite, Zusatz zu v2/styles.css */

/* Kopf: Text links, drei Fotos rechts (Wohnung groß, Haus und Strand klein) */
/* Kopf nach Kundenvorlage (11.11.2026): Text links auf Creme, ein großes Foto randlos bis zum rechten Rand,
   Suchleiste schließt direkt unten an */
.h3-hero { padding: 0; }
/* Textspalte = linker Rand bis zur Seitenbreite + 41 % davon; sonst wird sie bei breiten Fenstern schmaler und „Sylt genießen.“ bricht um */
.h3-hero-grid { display: grid; grid-template-columns: minmax(0, max(41%, calc((100% - var(--max)) / 2 + var(--max) * .41))) minmax(0, 1fr); min-height: clamp(460px, calc(100svh - var(--hh) - 7rem), 760px); }
.h3-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4.5vw, 4.5rem) clamp(2.5rem, 5vw, 4.5rem) max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.h3-copy h1 { font-size: clamp(2.7rem, 1.1rem + 3.7vw, 5rem); line-height: 1.08; font-weight: 450; margin: 0 0 1.5rem; max-width: none; }
.h3-copy h1 span { display: block; }
.h3-copy .hero-sub { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); line-height: 1.5; max-width: 26ch; margin-bottom: clamp(1.8rem, 3vw, 2.6rem); color: var(--ink); opacity: .86; }
.h3-photo { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); }
.h3-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; }
/* Textlink mit Pfeil (Hero, Lieblingsplatz): leise, der einzige gefüllte Button sitzt in der Suchleiste */
.h3-more { display: inline-flex; align-items: center; gap: .55em; align-self: flex-start; font-weight: 500; color: var(--ink); text-decoration: none;
  padding-block: .35em; border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out); }
.h3-more span { transition: transform 200ms var(--ease-out); }
.h3-more:hover { color: var(--moss); border-bottom-color: var(--moss); }
@media (hover: hover) { .h3-more:hover span { transform: translateX(3px); } }
/* Kopfzeile v3: „Anfragen“ als feiner Rahmen statt gefülltem Button (nur Desktop; im Handymenü bleibt der Button) */
@media (min-width: 901px) {
  .is-v3 .nav .nav-cta { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 28%, transparent); font-weight: 500; }
  .is-v3 .nav .nav-cta:hover, .is-v3 .nav .nav-cta[aria-current="page"] { background: transparent; color: var(--moss); border-color: var(--moss); }
}
/* Suchleiste unter dem Hero: eine helle, durchgehende Leiste mit Trennlinien statt Sandband mit weißen Kästen */
.h3-search { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(1.1rem, 2vw, 1.5rem); }
.h3-search-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: stretch;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: var(--r); background: #fffdfa; }
.h3-sf { display: grid; align-content: center; gap: .15rem; margin: 0; padding: .6rem 1.1rem; position: relative; cursor: pointer; transition: background-color 200ms var(--ease-out); }
.h3-sf + .h3-sf { border-left: 1px solid var(--line); }
.h3-sf:hover { background: color-mix(in srgb, var(--paper-2) 45%, transparent); }
.h3-sf:focus-within { background: color-mix(in srgb, var(--paper-2) 60%, transparent); }
.h3-sf-l { font-size: .78rem; font-weight: 500; color: var(--ink-2); letter-spacing: .01em; }
.h3-sf-in { position: relative; display: block; }
.h3-sf-in svg { display: none; }
.h3-sf input, .h3-sf select { width: 100%; min-height: 30px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 1.02rem; font-weight: 500; outline: none; appearance: none; -webkit-appearance: none; }
.h3-sf select { padding-right: 1.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23615850' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 11px 8px; cursor: pointer; }
.h3-sf input[type=date] { position: relative; cursor: pointer; }
.h3-sf input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer; } /* ganzes Feld öffnet den Kalender */
.h3-sf-btn { min-height: 0; margin: .45rem; padding-inline: 2rem; white-space: nowrap; font-size: 1rem; }
/* Lieblingsplatz: zentrierte Überschrift, zwei Wohnungen im Magazin-Rhythmus (links hoch, rechts quer und tiefer gesetzt) */
.h3-fav { padding-bottom: 0; }
.h3-fav-h { text-align: center; font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); font-weight: 450; line-height: 1.1; margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); }
.h3-fav-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
.h3-fav-card { display: grid; gap: .55rem; }
.h3-fav-card:nth-child(2) { margin-top: clamp(4rem, 14vw, 13rem); }
.h3-fav-img { display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 5; margin-bottom: .9rem; }
.h3-fav-card:nth-child(2) .h3-fav-img { aspect-ratio: 4 / 3; }
.h3-fav-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease-out); }
@media (hover: hover) { .h3-fav-card:hover .h3-fav-img img { transform: scale(1.025); } }
.h3-fav-card h3 { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 450; line-height: 1.15; margin: 0; }
.h3-fav-card h3 a { color: inherit; text-decoration: none; }
.h3-fav-facts { margin: 0 0 .6rem; color: var(--ink-2); }
.h3-fav-card .h3-more { justify-self: start; }
@media (max-width: 700px) {
  .h3-fav-grid { grid-template-columns: 1fr; }
  .h3-fav-card:nth-child(2) { margin-top: 0; }
  .h3-fav-img, .h3-fav-card:nth-child(2) .h3-fav-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .h3-search-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .h3-sf:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .h3-sf-btn { grid-column: 2; margin: .45rem; min-height: 46px; }
}
@media (max-width: 520px) {
  .h3-search-form { grid-template-columns: minmax(0, 1fr); }
  .h3-sf + .h3-sf { border-left: 0; border-top: 1px solid var(--line); }
  .h3-sf-btn { grid-column: auto; min-height: 50px; }
}
.a3-label { margin: 0 0 .3rem; font-size: .92rem; color: var(--ink-2); }

/* Wohnungen: Kopf mit Gäste-Filter */
.h3-apts-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.h3-apts-head .h2 { margin: 0; }
.h3-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.h3-filter-label { font-size: .95rem; color: var(--ink-2); }
.h3-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.h3-count { font-size: .95rem; color: var(--ink-2); min-width: 11ch; }
.reg-row { transition: opacity .25s var(--ease-out); }
.reg-row.is-off { opacity: .22; }
.reg-row.is-off a { pointer-events: none; }
.reg-row.is-off .reg-name { transform: none !important; }

/* Häuser: zwei gleiche Karten */
.h3-houses .h2 { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.h3-house-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 1100px) and (min-width: 701px) { .h3-house-grid { grid-template-columns: 1fr 1fr; } }
.t3-morsum-lead { max-width: 60ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.t3-morsum-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
@media (max-width: 1100px) { .t3-morsum-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .t3-morsum-list { grid-template-columns: minmax(0, 1fr); } }
.h3-house-img { display: block; overflow: hidden; border-radius: var(--r); margin-bottom: 1.4rem; background: var(--paper-2); }
.h3-house-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
@media (hover: hover) { .h3-house:hover .h3-house-img img { transform: scale(1.025); } }
.h3-house h3 { font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.01em; line-height: 1.05; margin: 0 0 .7rem; }
.h3-house h3 a { color: inherit; text-decoration: none; }
.h3-house h3 a:hover { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.h3-house > p { color: var(--ink-2); max-width: 48ch; margin: 0 0 .6rem; }
.h3-house .h3-arrive { color: var(--ink); font-weight: 600; font-size: .95rem; margin-bottom: 1.2rem; }
.h3-apts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.h3-apts li { border-bottom: 1px solid var(--line); }
.h3-apts a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .75rem 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.h3-apts a:hover span:first-child { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.h3-g { font-weight: 400; color: var(--ink-2); font-size: .92rem; white-space: nowrap; }

/* Grünes Band: Erreichbarkeit + Gut zu wissen */
.h3-band { background: var(--band); color: var(--on-band); padding-block: clamp(3.5rem, 8vw, 7rem); }
.h3-band-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.h3-band h2 { font-family: var(--display); font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); letter-spacing: -.01em; line-height: 1.02; margin: 0 0 1.4rem; max-width: 8em; }
.h3-phone { display: inline-block; font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); letter-spacing: -.005em; color: inherit;
  text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 2px; }
.h3-phone:hover { text-decoration-thickness: 3px; }
.h3-phone + .h3-phone { margin-left: clamp(1.25rem, 2.5vw, 2rem); } /* WhatsApp und E-Mail nebeneinander */
.h3-band a:hover { color: inherit; } /* globales a:hover (Akzent) wäre auf dem Band schlecht lesbar */
.h3-phone:focus-visible { outline: 2px solid var(--on-band); outline-offset: 4px; }
.h3-band-text { margin: 0; max-width: 52ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.55; }
.h3-notes-wrap { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: clamp(1.5rem, 3vw, 2.2rem); border-top: 1px solid rgb(251 247 241 / .3); }
.h3-notes-wrap h3 { font-family: var(--display); font-size: 1.35rem; margin: 0 0 1.4rem; }
.h3-notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem clamp(1.2rem, 3vw, 2.5rem); margin: 0; }
.h3-notes dt { font-weight: 700; margin-bottom: .4rem; }
.h3-notes dd { margin: 0; opacity: .88; font-size: .97rem; line-height: 1.55; }

/* Schluss: Sylt + Anreise */
.h3-tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.h3-tile-media { display: block; overflow: hidden; border-radius: var(--r); margin-bottom: 1.4rem; aspect-ratio: 5 / 4; background: var(--sea, var(--paper-2)); }
.h3-tile-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h3-tile h2 { font-family: var(--display); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -.01em; line-height: 1.05; margin: 0 0 .7rem; }
.h3-tile h2 a { color: inherit; text-decoration: none; }
.h3-tile > p { color: var(--ink-2); max-width: 46ch; margin: 0 0 1rem; }
/* Mini-Karte: nur Ausschnitt um Sylt, ohne Knöpfe */
.h3-tile-map { position: relative; }
/* Karte 1000×1050, sichtbar y 190 bis 990 (Rømø bis Niebüll): Kachel 5:4 = 800 Einheiten hoch */
.h3-map { margin: 0; position: absolute; inset: 0; }
.h3-map .tm-canvas { position: absolute; left: 0; top: -23.75%; width: 100%; border-radius: 0; }
.h3-credit { margin: 1.2rem 0 0; font-size: .8rem; color: var(--ink-2); }
.h3-map .tm-label.is-quiet { display: none; }

@media (max-width: 900px) {
  .h3-hero-grid, .h3-band-top { grid-template-columns: minmax(0, 1fr); }
  .h3-hero-grid { min-height: 0; }
  .h3-copy { padding: clamp(2rem, 6vw, 3rem) var(--gutter) 2.2rem; }
  .h3-photo { aspect-ratio: 4 / 3; }
  .h3-notes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .h3-house-grid, .h3-tile-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .h3-notes { grid-template-columns: minmax(0, 1fr); }
  .h3-apts-head { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .reg-row, .h3-house-img img { transition: none; } }

/* ---------- Wohnungsübersicht v3 ---------- */
.a3-filters { position: relative; }
/* eine Zeile je Gruppe, Bezeichnungen als feste Spalte – wie der Filter auf Buchen (.bk-frows) */
.a3-filters { gap: .6rem; }
.a3-filters .f-label { width: 7.5rem; }
.a3-filters .f-count { margin: .4rem 0 0 calc(7.5rem + .5rem); }
@media (max-width: 640px) { .a3-filters .f-label, .a3-filters .f-pair > .f-row + .f-row .f-label { width: 100%; margin-right: 0; } .a3-filters .f-count { margin-left: 0; } }
.a3-group { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.a3-group[hidden] { display: none; }
.a3-ghead { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 1.4rem;
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--ink); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.a3-gimg { display: block; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; }
.a3-gimg img { width: 100%; height: 100%; object-fit: cover; }
.a3-ghead h2 { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.01em; line-height: 1.05; margin: 0 0 .25rem; }
.a3-ghead p { margin: 0; color: var(--ink-2); }
.a3-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.a3-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.4rem, 3.5vw, 3.5rem); align-items: center; }
.a3-row[hidden] { display: none; }
.a3-row a.a3-media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: .5rem; height: clamp(260px, 30vw, 420px); }
.a3-media > span { overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.a3-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
.a3-m1 { grid-row: 1 / 3; }
@media (hover: hover) { .a3-row:hover .a3-m1 img { transform: scale(1.025); } }
.a3-body h3 { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); letter-spacing: -.01em; line-height: 1; margin: 0 0 .7rem; }
.a3-body h3 a { color: inherit; text-decoration: none; }
.a3-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.a3-teaser { font-size: 1.1rem; margin: 0 0 1.3rem; max-width: 38ch; }
.a3-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; margin: 0 0 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.a3-facts dt { font-size: .85rem; color: var(--ink-2); margin-bottom: .15rem; }
.a3-facts dd { margin: 0; font-weight: 600; }
.a3-body .badges { margin-bottom: 1.4rem; }
.a3-row .a3-actions .btn { display: inline-flex; color: var(--on-moss); }
.a3-row .a3-actions .link { display: inline; }
.a3-row .a3-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin: 0; }
.a3-notes { margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 900px) {
  .a3-row { grid-template-columns: minmax(0, 1fr); }
  .a3-row a.a3-media { height: auto; grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .a3-m1 { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 4 / 3; }
  .a3-m2, .a3-m3 { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .a3-ghead { grid-template-columns: auto 1fr; }
  .a3-gimg { width: 56px; height: 56px; }
  .a3-glink { grid-column: 1 / 3; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .a3-media img { transition: none; } }

/* ---------- Wohnungsseite v3 ---------- */
.p3-hero { padding-top: clamp(1.5rem, 4vw, 3rem); }
.p3-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: stretch; }
.p3-copy { display: flex; flex-direction: column; justify-content: center; }
.p3-copy .crumb a { color: inherit; }
.p3-copy h1 { font-size: clamp(2.6rem, 1.4rem + 3.8vw, 4.8rem); line-height: .98; letter-spacing: -.01em; margin-bottom: 1.2rem; }
.p3-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.45; max-width: 34ch; margin: 0 0 1.6rem; }
.p3-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; margin: 0 0 2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.p3-facts dt { font-size: .85rem; color: var(--ink-2); margin-bottom: .15rem; }
.p3-facts dd { margin: 0; font-weight: 600; }
.p3-mosaic { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(.5rem, 1vw, .8rem);
  height: min(76dvh, 720px); min-height: 440px; }
.p3-m { padding: 0; border: 0; overflow: hidden; border-radius: var(--r); background: var(--paper-2); cursor: zoom-in; }
.p3-m img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
@media (hover: hover) { .p3-m:hover img { transform: scale(1.025); } }
.p3-m:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }
.p3-m1 { grid-row: 1 / 3; }
.p3-all { position: absolute; right: .9rem; bottom: .9rem; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 650; font-size: .92rem;
  padding: .6rem 1rem; border-radius: var(--r); box-shadow: 0 4px 16px rgb(0 0 0 / .18); }
.p3-all:hover { background: var(--paper-2); }
.p3-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.p3-text { max-width: 62ch; }
.p3-text > p { font-size: 1.06rem; line-height: 1.65; }
.p3-h { font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.01em; margin: clamp(2rem, 4vw, 3rem) 0 1rem; }
.p3-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; border-top: 1px solid var(--line); }
.p3-feats li { padding: .75rem 0 .75rem 1.5rem; border-bottom: 1px solid var(--line); position: relative; }
.p3-feats li::before { content: ""; position: absolute; left: .1rem; top: 1.05rem; width: .5rem; height: .9rem; border: solid var(--moss); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.p3-aside { position: sticky; top: 100px; background: var(--paper-2); border-radius: var(--r); padding: 1.75rem; }
.p3-aside-name { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.01em; line-height: 1.1; margin: 0 0 .3rem; }
.p3-aside-meta { color: var(--ink-2); margin: 0 0 .2rem; }
.p3-aside-arrive { font-weight: 600; font-size: .95rem; margin: 0 0 1.3rem; }
.p3-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 15vw, 230px); gap: 10px; grid-auto-flow: dense; }
.p3-gallery li[hidden] { display: none; }
.p3-gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.p3-gallery .g-item { display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; border-radius: var(--r); cursor: zoom-in; background: var(--paper-2); }
.p3-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
@media (hover: hover) { .p3-gallery .g-item:hover img { transform: scale(1.03); } }
.p3-sibs { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.p3-sibs .card-name { font-size: 1.3rem; }
@media (max-width: 900px) {
  .p3-hero-grid, .p3-grid { grid-template-columns: minmax(0, 1fr); }
  .p3-mosaic { height: auto; min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .p3-m1 { grid-row: 1; grid-column: 1 / 3; aspect-ratio: 4 / 3; }
  .p3-m2, .p3-m3 { aspect-ratio: 4 / 3; }
  .p3-aside { position: static; }
  .p3-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
}
@media (max-width: 600px) { .p3-feats { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .p3-m img, .p3-gallery img { transition: none; } }

.h3-band + .section { padding-top: clamp(3.5rem, 7vw, 6rem); }

/* ---------- v3-Rahmen für alle übrigen Seiten (body.is-v3) ---------- */
.is-v3 .page-head { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.is-v3 .page-head h1 { font-size: clamp(2.6rem, 1.4rem + 3.8vw, 4.8rem); line-height: .96; letter-spacing: -.01em; margin-bottom: 1.2rem; }
.is-v3 .page-head .lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); max-width: 42ch; }
@media (min-width: 900px) {
  .is-v3 .page-head:not(.sy-head):not(.travel-head) > .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: end; }
  .is-v3 .page-head:not(.sy-head):not(.travel-head) > .wrap > :not(h1):not(.lead) { grid-column: 1 / -1; }
  .is-v3 .page-head:not(.sy-head):not(.travel-head) h1 { grid-column: 1; }
  .is-v3 .page-head:not(.sy-head):not(.travel-head) .lead { grid-column: 2; margin-bottom: 1.4rem; }
}
.is-v3 .p3-copy .house-switch { margin-bottom: 1.4rem; }

/* Haus: Mosaik ohne Leuchtkasten, Kopf der Wohnungsliste, anderes Haus */
.p3-mosaic.is-static .p3-m { margin: 0; cursor: default; }
.a3-ghead-plain { grid-template-columns: 1fr; }
.x3-other { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  text-decoration: none; color: var(--ink); background: var(--paper-2); border-radius: var(--r); overflow: hidden; }
.x3-other-img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
@media (hover: hover) { .x3-other:hover .x3-other-img img { transform: scale(1.025); } }
.x3-other-txt { display: grid; gap: .7rem; padding: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3rem) 0; max-width: 52ch; }
.x3-kicker { color: var(--ink-2); font-size: .95rem; }
.x3-other-name { font-family: var(--display); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); letter-spacing: -.01em; line-height: 1; }
.x3-other .link { justify-self: start; }
/* Mehrere andere Häuser nebeneinander: Bild oben, Text darunter */
.x3-others-h { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.x3-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.x3-others .x3-other { grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; align-content: start; }
.x3-others .x3-other-txt { padding: 1.3rem clamp(1.2rem, 2.5vw, 2rem) clamp(1.4rem, 2.5vw, 2rem); max-width: none; }
.x3-others .x3-other-name { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
@media (max-width: 800px) {
  .x3-other { grid-template-columns: minmax(0, 1fr); }
  .x3-other-txt { padding: 0 1.4rem 1.6rem; }
}

/* Anfrage: Telefonkarte in Moosgrün, bleibt beim Scrollen stehen */
.is-v3 .x3-call { background: var(--band); color: var(--on-band); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.2rem); position: sticky; top: 100px; align-self: start; }
.is-v3 .x3-call h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .8rem; color: inherit; }
.is-v3 .x3-call p { color: inherit; }
.is-v3 .x3-call .foot-big { color: inherit; font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 2px; }
@media (max-width: 900px) { .is-v3 .x3-call { position: static; } }
@media (min-width: 900px) { .is-v3 .page-head > .wrap:not(:has(.lead)) h1 { grid-column: 1 / -1; } }
/* Haus: Umschalter + Titel oben bündig mit dem Mosaik, Eckdaten + Knöpfe unten bündig */
.p3-copy.is-split { justify-content: space-between; gap: 2rem; }
.p3-copy.is-split .p3-bottom .actions { margin-bottom: 0; }
.p3-copy.is-split .p3-bottom .p3-facts { margin-top: 0; }
@media (min-width: 901px) { .p3-hero-grid:has(.is-split) .p3-mosaic { height: auto; min-height: min(76dvh, 720px); } }

/* ---------- Sylt v3 ---------- */
.p3-mosaic .g-item { padding: 0; border: 0; cursor: zoom-in; }
.s3-facts { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.s3-facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; align-items: baseline; }
.s3-row-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.s3-row.is-flip .s3-media { order: 2; }
.s3-row.is-flip .s3-row-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.s3-media { display: grid; gap: clamp(.5rem, 1vw, .8rem); height: clamp(300px, 34vw, 500px); }
.s3-media.s3-n2 { grid-template-columns: 1.6fr 1fr; }
.s3-media .g-item { padding: 0; border: 0; overflow: hidden; border-radius: var(--r); cursor: zoom-in; background: var(--paper-2); }
.s3-media img, .s3-fig img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
@media (hover: hover) { .s3-media .g-item:hover img, .s3-fig .g-item:hover img { transform: scale(1.025); } }
.s3-text h2 { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2.2vw, 3.4rem); letter-spacing: -.01em; line-height: 1; margin-bottom: 1.2rem; }
.s3-text p { font-size: 1.06rem; line-height: 1.65; max-width: 46ch; }
.s3-band .h3-band-top { margin-bottom: clamp(2rem, 4vw, 3rem); }
.s3-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.5rem); }
.s3-fig { margin: 0; }
.s3-fig .g-item { display: block; width: 100%; padding: 0; border: 0; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; cursor: zoom-in; }
.s3-fig figcaption { margin-top: .6rem; font-size: .9rem; opacity: .85; }
.s3-tips-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1rem clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.s3-tips-head h2 { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2.2vw, 3.4rem); letter-spacing: -.01em; line-height: 1; margin: 0; }
.s3-tips-head p { margin: 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); max-width: 42ch; }
.s3-tip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.s3-tip a { display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: clamp(1.3rem, 2.5vw, 1.8rem); background: var(--paper-2); border-radius: var(--r);
  color: var(--ink); text-decoration: none; border-top: 3px solid var(--moss); transition: background-color .2s ease; }
.s3-tip a:hover { background: var(--paper-3); }
.s3-tip-season { font-size: .9rem; color: var(--moss); font-weight: 650; }
.s3-tip-title { font-family: var(--display); font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); letter-spacing: -.01em; line-height: 1.12; }
.s3-tip-lead { color: var(--ink-2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.s3-tip .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) {
  .s3-row-grid, .s3-row.is-flip .s3-row-grid, .s3-tips-head { grid-template-columns: minmax(0, 1fr); }
  .s3-row.is-flip .s3-media { order: 0; }
  .s3-media { height: auto; }
  .s3-media .g-item { aspect-ratio: 4 / 3; }
  .s3-media.s3-n2 { grid-template-columns: 1fr 1fr; }
  .s3-media.s3-n2 .g-item { aspect-ratio: 4 / 5; }
  .s3-trio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) { .s3-facts div { grid-template-columns: minmax(0, 1fr); gap: .1rem; } }
@media (prefers-reduced-motion: reduce) { .s3-media img, .s3-fig img { transition: none; } }
.s3-row + .s3-row { padding-top: 0; }

/* Einheitliche Titelgröße auf allen v3-Seiten (wie Anreise/Anfrage) */
.is-v3 .page-head h1, .is-v3 .p3-copy h1, .is-v3 .bk-head h1 { font-size: clamp(2.6rem, 1.4rem + 3.8vw, 4.8rem); line-height: .96; letter-spacing: -.01em; }
/* Lange Wohnungsnamen (Strandschnuppe) passen sich der Textspalte an statt unters Bild zu laufen (09.11.) */
.p3-copy { container-type: inline-size; }
.is-v3 .p3-copy h1 { font-size: min(clamp(2.6rem, 1.4rem + 3.8vw, 4.8rem), 100cqi / var(--fit, 1)); }

/* Sylt v3: Inselorte + Bildnachweis (Commons-Fotos, 07.11.) */
.s3-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.s3-place .x3-kicker { margin: 1rem 0 .3rem; }
.s3-place h3 { font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.01em; line-height: 1.05; margin: 0 0 .6rem; }
.s3-place p:last-child { color: var(--ink-2); margin: 0; max-width: 40ch; }
.s3-credits { padding-block: 0 clamp(2.5rem, 5vw, 4rem); }
.s3-credits h2 { font-size: .95rem; font-family: inherit; font-weight: 650; letter-spacing: 0; margin: 0 0 .6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.s3-credits ul { list-style: none; margin: 0; padding: 0; columns: 2 26rem; column-gap: 2.5rem; font-size: .82rem; line-height: 1.5; color: var(--ink-2); }
.s3-credits li { break-inside: avoid; margin-bottom: .2rem; }
.s3-credits a { color: inherit; }
@media (max-width: 900px) { .s3-places { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Anreise v3 ---------- */
.t3-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.t3-map { position: sticky; top: 96px; }
.t3-map .tmap { margin: 0; }
.t3-map .tm-canvas { width: 100%; }
.t3-h { font-family: var(--display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -.01em; line-height: 1.05; margin: 0 0 1.2rem; }
.t3-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.is-v3 .t3-route { margin: 0; padding: clamp(1.1rem, 2vw, 1.5rem); background: var(--paper-2); border-radius: var(--r); border-left: 3px solid transparent;
  cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.is-v3 .t3-route.is-active { border-left-color: var(--moss); background: var(--paper-3); }
.t3-route h3 { font-family: var(--display); font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); letter-spacing: -.01em; line-height: 1.1; margin: 0 0 .3rem; }
.t3-time { margin: 0 0 .7rem; color: var(--moss); font-weight: 650; }
.t3-route p { max-width: 50ch; }
.t3-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: .8rem 0 0; }
.t3-facts { margin: 0 0 1rem; display: grid; gap: .5rem; }
.t3-facts div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; }
.t3-facts dt { color: var(--ink-2); font-size: .92rem; }
.t3-facts dd { margin: 0; font-weight: 600; }
.t3-house > p { color: var(--ink-2); margin: 0 0 1rem; }
@media (max-width: 900px) {
  .t3-grid { grid-template-columns: minmax(0, 1fr); }
  .t3-map { position: static; }
}
@media (prefers-reduced-motion: reduce) { .is-v3 .t3-route { transition: none; } }
@media (max-width: 600px) { .t3-map .tm-label.is-quiet { display: none; } }

/* Titel überall auf derselben Höhe: Kopfabstand wie .page-head, Titel oben, Einleitung unten an der Titelzeile */
.is-v3 .p3-hero, .is-v3 .bk-head { padding-top: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 900px) {
  .is-v3 .page-head:not(.sy-head):not(.travel-head) > .wrap { align-items: start; }
  .is-v3 .page-head:not(.sy-head):not(.travel-head) .lead { align-self: end; }
}

/* ===== Sylt v3 „Ein Tag auf Sylt“ (07.11. spät) ===== */
.is-sylt3 .t3-hero { position: relative; margin: 0 0 clamp(4rem, 9vw, 8rem); height: min(88svh, 980px); min-height: 520px; color: #fff; }
.t3-hero .t3-hero-img { position: absolute; inset: 0; border-radius: 0; cursor: zoom-in; }
.t3-hero .t3-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; display: block; }
.t3-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(30 22 17 / .62) 0%, rgb(30 22 17 / .18) 38%, rgb(30 22 17 / 0) 60%); }
.t3-hero-txt { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 6vw, 4.5rem); z-index: 1; pointer-events: none; }
.t3-hero h1 { font-family: var(--display); font-size: clamp(3.2rem, 1.2rem + 8.2vw, 9.5rem); line-height: .9; letter-spacing: -.01em;
  margin: 0 0 1.2rem; max-width: 9ch; color: #fff; text-wrap: balance; }
.t3-hero-txt p { margin: 0; max-width: 40ch; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.5; color: rgb(255 255 255 / .92); }

.t3-ch { padding-block: clamp(3rem, 7vw, 6.5rem); }
.t3-time { font-family: var(--display); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); color: var(--moss); margin: 0 0 .5rem; letter-spacing: -.005em; }
.t3-ch h2 { font-family: var(--display); font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4.4rem); line-height: .98; letter-spacing: -.01em; margin: 0 0 1.4rem; text-wrap: balance; }
.t3-copy p { font-size: clamp(1.06rem, 1rem + .25vw, 1.2rem); line-height: 1.65; max-width: 44ch; margin: 0 0 1rem; }

/* side: Text links schmal, Bilder rechts (groß + kleine darunter) */
.t3-side-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: end; }
.t3-media { display: grid; gap: clamp(.6rem, 1.2vw, 1rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t3-media .t3-main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.t3-media.t3-n2 .t3-sub { grid-column: 2; aspect-ratio: 3 / 2; margin-top: calc(-1 * clamp(3rem, 8vw, 7rem)); position: relative;
  outline: clamp(6px, .8vw, 12px) solid var(--paper); }
.t3-media .t3-sub { aspect-ratio: 4 / 3; }
.t3-media img, .t3-extra img, .t3-season-img img, .t3-wide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t3-side + .t3-side .t3-side-grid, #nachmittags .t3-side-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
#nachmittags .t3-copy { order: 2; }

/* wide: Bild fast vollbreit, darunter Kopf links, Text rechts */
.t3-wide .t3-wide-img { aspect-ratio: 21 / 9; border-radius: var(--r); }
.t3-wide-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(2rem, 6vw, 6rem); margin-top: clamp(1.8rem, 3.5vw, 3rem); }
.t3-copy-head h2 { margin-bottom: 0; }
.t3-extra { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 1.2vw, 1rem); margin-top: 1.8rem; }
.t3-extra .g-item { aspect-ratio: 4 / 3; }
#abends { background: #2c2520; color: #f3ede5; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
#abends .t3-time { color: #e8b77a; }
#abends .g-item:focus-visible { outline-color: #f3ede5; }

/* Jahreszeiten */
.t3-seasons h2 { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2.2vw, 3.4rem); letter-spacing: -.01em; line-height: 1; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.t3-season-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.t3-season .t3-season-img { aspect-ratio: 3 / 4; }
.t3-season h3 { font-family: var(--display); font-size: clamp(1.4rem, 1.15rem + .8vw, 1.9rem); letter-spacing: -.01em; margin: 1rem 0 .35rem; }
.t3-season p { margin: 0; color: var(--ink-2); max-width: 30ch; line-height: 1.5; }

/* Bildnachweis eingeklappt */
.t3-credits { padding-block: 0 clamp(2rem, 4vw, 3rem); }
.t3-credits details { border-top: 1px solid var(--line); padding-top: 1rem; font-size: .85rem; color: var(--ink-2); }
.t3-credits summary { cursor: pointer; font-weight: 600; color: var(--ink); width: max-content; }
.t3-credits summary:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 2px; }
.t3-credits ul { list-style: none; margin: .8rem 0 0; padding: 0; columns: 2 24rem; column-gap: 2.5rem; line-height: 1.55; }
.t3-credits li { break-inside: avoid; }
.t3-credits a { color: inherit; }

@media (max-width: 900px) {
  .t3-side-grid, .t3-side + .t3-side .t3-side-grid, #nachmittags .t3-side-grid, .t3-wide-grid { grid-template-columns: minmax(0, 1fr); }
  #nachmittags .t3-copy { order: 0; }
  .t3-wide .t3-wide-img { aspect-ratio: 4 / 3; border-radius: 0; }
  .t3-wide .wrap-wide { width: 100%; }
  .t3-season-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: .6rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .t3-season { scroll-snap-align: start; }
  .is-sylt3 .t3-hero { height: 78svh; min-height: 460px; }
}
