/* =====================================================
   Goran Škapul · Apartments · Lopar, Insel Rab
   Mediterran × Aquarell-Küste (Sonne · Strand · Meer)
   ===================================================== */

:root {
  /* Farbwelt – warmes Sandweiß, Adria-Blau, Sonnenakzent */
  --offwhite: #faf6ef;
  --linen: #f0e8da;
  --sage-light: #e3eef2;
  --sand: #e6dcc8;
  --stone: #c8c2b6;
  --moss: #2d7a8f;
  --fern: #4a9aad;
  --olive: #a07d5e;
  --forest: #1e5f72;
  --forest-deep: #184f60;
  --wood: #c4885a;
  --clay: #e8a86d;
  --ink: #2c3840;
  --ink-soft: #5c6d78;

  --radius-l: 2rem;
  --radius-m: 1.25rem;
  --radius-s: 0.75rem;
  --shadow-soft: 0 10px 35px rgba(30, 95, 114, 0.10);
  --shadow-lift: 0 16px 45px rgba(30, 95, 114, 0.16);

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;

  --ease-calm: cubic-bezier(0.33, 1, 0.68, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--offwhite);
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.2;
  color: var(--forest);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
a { color: var(--forest); }

img, svg { display: block; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.container.narrow { width: min(760px, 92%); }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--moss);
  margin-bottom: 0.75rem;
}

.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 56ch; }

/* ---------- Küsten-Dekore ---------- */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}
.ornament {
  width: 40px;
  height: 26px;
  margin-bottom: 0.7rem;
}
.ornament-boat {
  width: 34px;
  height: 27px;
}
.ornament-footer { margin: 1.2rem auto 0; position: relative; z-index: 5; }
.ornament-inline {
  display: inline-block;
  width: 30px;
  height: 20px;
  margin: 0 0.3rem -0.3rem;
  vertical-align: baseline;
}

@keyframes sway {
  from { rotate: -2deg; }
  to { rotate: 2.5deg; }
}
.deco-sway { animation: sway 6s ease-in-out infinite alternate; }
.deco-sway-slow { animation: sway 9.5s ease-in-out infinite alternate; animation-delay: -3s; }

@keyframes flutter {
  0% { translate: 0 0; rotate: -5deg; }
  40% { translate: 8px -12px; rotate: 6deg; }
  70% { translate: -5px -4px; rotate: -3deg; }
  100% { translate: 0 0; rotate: -5deg; }
}
.deco-flutter { animation: flutter 9s ease-in-out infinite; }
.deco-flutter-slow { animation: flutter 13s ease-in-out infinite; animation-delay: -5s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease-calm), color 0.3s, border-color 0.3s, transform 0.3s var(--ease-calm), box-shadow 0.3s;
}
.btn-primary {
  background: var(--forest);
  color: var(--offwhite);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: rgba(30, 95, 114, 0.35);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--forest);
  background: rgba(30, 95, 114, 0.06);
}
.btn-small { padding: 0.55rem 1.2rem; font-size: 0.92rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(250, 247, 240, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(30, 95, 114, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 24px; height: 24px; flex-shrink: 0; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  gap: 0.1rem;
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fern);
  white-space: nowrap;
}
.brand-leaf { width: 22px; height: 22px; fill: var(--moss); }
.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--forest); border-bottom-color: var(--moss); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(30, 95, 114, 0.25);
  border-radius: 0.7rem;
  background: transparent;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--forest);
  transition: transform 0.3s var(--ease-calm), opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  padding: 0.6rem 1.2rem 1.1rem;
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 95, 114, 0.12);
  opacity: 0;
  translate: 0 -8px;
  transition: opacity 0.35s var(--ease-calm), translate 0.35s var(--ease-calm);
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}
.mobile-menu a {
  padding: 0.85rem 0.3rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(30, 95, 114, 0.08);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:active { color: var(--forest); }

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; }
}
.label-mobile { display: none; }
@media (max-width: 860px) {
  .site-header .btn { padding: 0.55rem 0.75rem; font-size: 0.82rem; }
  .brand-name { font-size: 0.95rem; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.2em; }
  .label-desktop { display: none; }
  .label-mobile { display: inline-block; width: 20px; height: 20px; vertical-align: middle; }
}

/* ---------- Unterseite "Über uns" ---------- */
.page-hero { padding-top: clamp(7rem, 14vh, 9.5rem); }
.site-nav a[aria-current="page"] {
  color: var(--forest);
  border-bottom-color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='6' viewBox='0 0 40 6' preserveAspectRatio='none'%3E%3Cpath d='M0,3 C5,0.5 8,5.5 13,3 C18,0.5 21,5.5 26,3 C31,0.5 34,5.5 40,3' fill='none' stroke='%232d7a8f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") bottom left / 18px 5px repeat-x;
  padding-bottom: 6px;
}
.mobile-menu a[aria-current="page"] { color: var(--forest); }
.figure-photo { margin: 0; }
.figure-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
}
.figure-photo figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
  font-style: italic;
}
.figure-square img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.figure-stack { display: grid; gap: 1.2rem; }
.figure-stack img:last-child {
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
#familie .split { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.fact-row {
  margin-top: clamp(4.5rem, 10vw, 7rem);
  grid-template-columns: repeat(3, 1fr);
}
.fact-row .chip {
  background: none;
  border: none;
  padding: 0;
}
@media (max-width: 860px) {
  .fact-row { grid-template-columns: 1fr; }
}
#ausflugsziele .area-map > div { flex: 1 1 320px; }
#ausflugsziele .area-map p { max-width: none; }
#ausflugsziele .area-map {
  border: 1.5px solid rgba(45, 122, 143, 0.45);
  box-shadow: 0 6px 24px rgba(30, 95, 114, 0.06);
}

#anschrift .split-text .btn { margin-top: clamp(1.6rem, 4vw, 2.4rem); }
@media (max-width: 640px) {
  .availability-actions .btn,
  .hero-actions .btn,
  .inquiry-form .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .availability-actions,
  .hero-actions { width: 100%; }
  .footer-inner { flex-direction: column; }
}
.hp-field { position: absolute; left: -9999px; }
.wa-icon { fill: currentColor !important; stroke: none !important; }
.btn .wa-icon { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.contact-option .wa-icon { fill: var(--forest) !important; }
.footer-contact .wa-icon { fill: var(--moss) !important; }
.grid-filler {
  display: none;
  align-items: center;
  justify-content: center;
}
.grid-filler svg {
  width: clamp(42px, 5vw, 58px);
  height: auto;
  opacity: 0.45;
}
@media (min-width: 880px) {
  .grid-filler { display: flex; }
}
@media (min-width: 880px) {
  #ausflugsziele .area-grid,
  #fuer-wen .area-grid { grid-template-columns: repeat(3, 1fr); }
  #rund-ums-haus .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}
.snapshot-grid {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.snapshot-grid figure { margin: 0; }
.snapshot-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
}
.snapshot-grid figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.gallery-more { margin-top: 1.6rem; text-align: center; }

/* ---------- Galerie-Seite ---------- */
.gallery-group { margin-top: clamp(2.5rem, 6vw, 4rem); scroll-margin-top: clamp(125px, 20vh, 160px); }

.gallery-tabs {
  position: sticky;
  top: clamp(64px, 9vh, 80px);
  z-index: 20;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 1.6rem;
  padding: 0.4rem;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 95, 114, 0.14);
  border-radius: 999px;
}
.gallery-tabs::-webkit-scrollbar { display: none; }
.gallery-tabs a {
  flex-shrink: 0;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.gallery-tabs a:hover { color: var(--forest); }
.gallery-tabs a.active { background: var(--forest); color: var(--offwhite); }
.gallery-group h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.4rem; }
.gallery-group .destination-intro {
  max-width: 68ch;
  color: var(--ink-soft);
  margin: 0.75rem 0 1.4rem;
  line-height: 1.65;
}
.gallery-group .highlight-list {
  margin: 0 0 1.4rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.gallery-group .highlight-list li { margin-bottom: 0.35rem; }
.image-credit {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  opacity: 0.85;
}

.destination-block {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(30, 95, 114, 0.12);
}
.destination-block:first-of-type { border-top: none; padding-top: 0; margin-top: clamp(1.5rem, 4vw, 2rem); }
.destination-block h3 { font-size: clamp(1.35rem, 2.8vw, 1.75rem); margin-bottom: 0.75rem; }
.destination-block .lead { margin-bottom: 1rem; }
.destination-block .highlight-list { margin-bottom: 1.25rem; }
.destination-photo {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.destination-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.destination-photo figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--offwhite);
}
.gallery-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  transition: transform 0.35s var(--ease-calm), box-shadow 0.35s;
}
.gallery-grid img:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m);
  background: linear-gradient(145deg, var(--sage-light), var(--sand));
  border: 1.5px dashed rgba(30, 95, 114, 0.25);
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 50, 60, 0.93);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-calm);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  border-radius: var(--radius-s);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}
.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: var(--offwhite);
  font-size: 2.8rem;
  font-family: var(--font-body);
  line-height: 1;
  padding: 0.5rem 1rem;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lightbox-close { top: 0.7rem; right: 0.9rem; }
.lightbox-prev { left: 0.4rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.4rem; top: 50%; transform: translateY(-50%); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(94svh, 860px);
  padding: clamp(7rem, 14vh, 9.5rem) 0 clamp(4rem, 9vh, 6rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--forest-deep);
}
.hero-photo {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -2;
  pointer-events: none;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 95% at 50% 34%, rgba(4, 26, 33, 0.12), rgba(4, 26, 33, 0.42) 66%, rgba(4, 26, 33, 0.6) 100%),
    linear-gradient(to bottom, rgba(4, 26, 33, 0.42) 0%, rgba(4, 26, 33, 0.05) 24%, rgba(4, 26, 33, 0.08) 56%, rgba(4, 26, 33, 0.62) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(880px, 90%);
  margin-inline: auto;
  text-align: center;
  color: #fff;
}
.hero-text { position: relative; }
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.3rem;
}
.hero h1 {
  margin-inline: auto;
  color: #fff;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.3);
}
.hero-sub {
  max-width: 54ch;
  margin-inline: auto;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.2rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.32);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.hero-actions .btn-on-photo {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.hero-actions .btn-on-photo:hover,
.hero-actions .btn-on-photo:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}

/* Hero-Dekor auf dem Foto ausblenden – cleaner Look */
.hero .deco { display: none; }

/* ---------- Fotoflächen (Apartment-Vorschaubilder) ---------- */
.photo {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.photo-g1 { background-image: url("bilder/apartments/apt1/06.jpeg"); }
.photo-g2 { background-image: url("bilder/apartments/apt2/04.jpeg"); }
.photo-g3 { background-image: url("bilder/apartments/apt3/08.jpeg"); }
.photo-g4 { background-image: url("bilder/apartments/apt4/01.jpeg"); }
.photo-g5 { background-image: url("bilder/apartments/apt5/01.jpeg"); }
.photo-g6 { background-image: url("bilder/rab/skyline.jpg"); }

/* Lopar & Rab – echte Ortsbilder (Wikimedia Commons, siehe README) */
.photo-lopar1 { background-image: url("bilder/lopar/rajska-plaza.jpg"); }
.photo-lopar2 { background-image: url("bilder/lopar/geopark-kueste.jpg"); }
.photo-lopar3 { background-image: url("bilder/lopar/paradiesstrand-panorama.jpg"); }
.photo-lopar4 { background-image: url("bilder/lopar/ort-lopar.jpg"); }
.photo-lopar5 { background-image: url("bilder/lopar/rajska-plaza-2.jpg"); }
.photo-lopar6 { background-image: url("bilder/lopar/rajska-plaza-lukovac.jpg"); }
.photo-lopar7 { background-image: url("bilder/lopar/lopar-willkommensschild.png"); background-position: center 42%; }
.photo-rab1 { background-image: url("bilder/rab/skyline.jpg"); }
.photo-rab2 { background-image: url("bilder/rab/altstadt.jpg"); }
.photo-rab3 { background-image: url("bilder/rab/glockenturm.jpg"); }
.photo-rab4 { background-image: url("bilder/rab/kamenjak.jpg"); }
.photo-rab5 { background-image: url("bilder/rab/rabska-fjera.jpg"); }
.photo-rab6 { background-image: url("bilder/rab/kathedrale-glockenturm.jpg"); }

.organic-mask {
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  box-shadow: var(--shadow-soft);
}

/* ---------- Split-Layout ---------- */
.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1.15fr; }
}

.section-stay { background: var(--offwhite); }

.stay-cards { position: relative; }
.deco-stay-bird { top: -30px; right: 26px; width: 38px; }
.feature-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}
.chip {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--sage-light), var(--sage-light)) padding-box,
    linear-gradient(150deg, rgba(74, 154, 173, 0.45), rgba(232, 220, 196, 0.15) 50%, rgba(45, 122, 143, 0.35)) border-box;
  border-radius: var(--radius-m);
  padding: 1.05rem 1.3rem;
}
.chip svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  stroke: var(--forest);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chip strong { display: block; font-weight: 600; }
.chip span { color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Apartment-Karten (5 Units) ---------- */
.apartment-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .apartment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .apartment-grid { grid-template-columns: 1fr; }
}
.apartment-card {
  background: var(--offwhite);
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--offwhite), var(--offwhite)) padding-box,
    linear-gradient(150deg, rgba(74, 154, 173, 0.4), rgba(232, 220, 196, 0.15) 45%, rgba(45, 122, 143, 0.32)) border-box;
  transition: transform 0.35s var(--ease-calm), box-shadow 0.35s;
}
.apartment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.apartment-card .photo {
  aspect-ratio: 16 / 10;
}
.apartment-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.apartment-card h3 { margin-bottom: 0.35rem; font-size: 1.15rem; }
.apartment-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 0.8rem; }
.apartment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--moss);
  font-weight: 600;
}
.apartment-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--sage-light);
}
.apartment-meta span svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ---------- Vorteile ---------- */
.section-benefits, .section-area, .section-trust {
  background: var(--linen);
}
.section-benefits::before, .section-area::before, .section-trust::before,
.section-benefits::after, .section-area::after, .section-trust::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(36px, 6vw, 70px);
  pointer-events: none;
  z-index: 0;
}
.section-benefits::before, .section-area::before, .section-trust::before {
  top: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23faf6ef' d='M0,46 C240,16 480,72 720,44 C960,14 1200,66 1440,38 L1440,0 L0,0 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.section-benefits::after, .section-area::after, .section-trust::after {
  bottom: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23faf6ef' d='M0,46 C240,16 480,72 720,44 C960,14 1200,66 1440,38 L1440,80 L0,80 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.section-benefits { overflow: hidden; }
.deco-benefits-sprig { top: 28px; right: -16px; width: clamp(85px, 10vw, 135px); scale: -1 -1; opacity: 0.85; }
.deco-sailboat { top: clamp(70px, 9vw, 120px); right: 14%; width: clamp(36px, 4vw, 50px); }
.benefit-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.benefit {
  background: var(--offwhite);
  border-radius: var(--radius-m);
  padding: 1.6rem 1.5rem 1.3rem;
  box-shadow: 0 4px 18px rgba(30, 95, 114, 0.05);
  transition: transform 0.35s var(--ease-calm), box-shadow 0.35s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.benefit svg {
  width: 30px; height: 30px;
  stroke: var(--moss); stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 0.9rem;
}
.benefit h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.benefit p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Galerie ---------- */
.section-gallery { background: var(--offwhite); padding-bottom: clamp(3rem, 6vw, 5rem); }
.deco-gallery-sprig { bottom: 48px; right: -18px; width: clamp(85px, 10vw, 130px); scale: -1 1; opacity: 0.85; }
.gallery-band {
  display: flex;
  gap: 1.4rem;
  margin-top: 2.5rem;
  padding: 0.5rem max(calc((100vw - 1120px) / 2), 4vw) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  position: relative;
  z-index: 2;
}
.gallery-band::-webkit-scrollbar { display: none; }
.gallery-item {
  margin: 0;
  flex: 0 0 auto;
  width: min(78vw, 460px);
  scroll-snap-align: center;
}
.gallery-item:nth-child(even) { transform: translateY(1.6rem); }
.gallery-item .photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-calm);
}
.gallery-item:hover .photo { transform: scale(1.015); }
.gallery-item figcaption {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.7rem;
  padding-left: 0.4rem;
  font-style: italic;
}
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
}
.gallery-dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--stone);
  transition: background 0.3s, transform 0.3s;
}
.gallery-dots i.active { background: var(--forest); transform: scale(1.25); }
@media (min-width: 880px) { .gallery-dots { display: none; } }

/* ---------- Erlebnisraum ---------- */
.section-area { overflow: hidden; }
.deco-area-sprig { top: 32px; left: -16px; width: clamp(85px, 10vw, 130px); scale: 1 -1; opacity: 0.85; }
.deco-area-sailboat { bottom: 90px; right: 7%; width: clamp(32px, 3.5vw, 44px); }
.area-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.area-card {
  background: var(--offwhite);
  border-radius: var(--radius-l);
  padding: 2rem 1.8rem;
  transition: transform 0.35s var(--ease-calm), box-shadow 0.35s;
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.area-card svg {
  width: 34px; height: 34px;
  stroke: var(--forest); stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 1rem;
}
.area-card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

.area-map {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  background: var(--offwhite);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.area-map p { margin-bottom: 1rem; max-width: 48ch; }
.area-map-embed {
  width: min(360px, 100%);
  aspect-ratio: 4 / 3;
  flex: 0 1 360px;
  border: 1px solid rgba(30, 95, 114, 0.18);
  border-radius: var(--radius-l);
  box-shadow: 0 6px 24px rgba(30, 95, 114, 0.08);
  display: block;
}
.area-map > div { flex: 1 1 320px; }

/* ---------- Verfügbarkeit ---------- */
.section-availability { background: var(--offwhite); }
.availability-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* ---------- Vertrauen ---------- */
.section-trust { overflow: hidden; }
#anschrift {
  background: linear-gradient(180deg, var(--linen) 0%, var(--offwhite) 100%);
}
#anschrift::after { display: none; }
.deco-trust-sprig { top: 30px; right: -14px; width: clamp(85px, 10vw, 130px); scale: -1 -1; opacity: 0.8; }
.section-trust .split { align-items: start; }
.trust-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.trust-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink);
}
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 14px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath fill='%232d7a8f' d='M0,5 C3.5,0 10.5,0 14,5 C10.5,10 3.5,10 0,5 Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.faq-title { margin-bottom: 1.2rem; }
.faq {
  background: var(--offwhite);
  border-radius: var(--radius-m);
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 1rem 1.3rem;
  font-weight: 600;
  list-style: none;
  position: relative;
  transition: background 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--moss);
  transition: transform 0.3s var(--ease-calm);
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 1.3rem 1.1rem; margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Finale Anfrage ---------- */
.section-contact { background: var(--offwhite); overflow: hidden; }
.deco-contact-tl { top: clamp(70px, 9vw, 110px); left: -14px; width: clamp(85px, 11vw, 145px); scale: 1 -1; opacity: 0.9; }
.deco-contact-tr { top: clamp(70px, 9vw, 110px); right: -14px; width: clamp(85px, 11vw, 145px); scale: -1 -1; opacity: 0.9; }
.section-contact h2 { max-width: 22ch; }

.contact-options {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 2rem 0 2.5rem;
}
.contact-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--sage-light), var(--sage-light)) padding-box,
    linear-gradient(150deg, rgba(74, 154, 173, 0.45), rgba(232, 220, 196, 0.15) 50%, rgba(45, 122, 143, 0.35)) border-box;
  border-radius: var(--radius-m);
  padding: 1.1rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
}
.contact-option svg { width: 26px; height: 26px; stroke: var(--forest); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.contact-option strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--moss); }

.inquiry-form {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--linen), var(--linen)) padding-box,
    linear-gradient(150deg, rgba(74, 154, 173, 0.4), rgba(232, 220, 196, 0.15) 45%, rgba(45, 122, 143, 0.32)) border-box;
  border-radius: var(--radius-l);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.inquiry-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.form-row {
  display: grid;
  gap: 0 1.2rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(30, 95, 114, 0.22);
  border-radius: var(--radius-s);
  background: var(--offwhite);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(30, 95, 114, 0.12);
}
.inquiry-form textarea { resize: vertical; }
.form-row label { min-width: 0; }
.inquiry-form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  max-width: 100%;
  min-height: 3.1rem;
  text-align: left;
  padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d7a8f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px 18px;
}
.inquiry-form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.inquiry-form input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; }
.form-error { color: #9a5b3c; font-size: 0.92rem; }
.form-success { color: var(--forest-deep); font-weight: 500; margin-top: 1rem; }

/* ---------- Blog ---------- */
.blog-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--offwhite), var(--offwhite)) padding-box,
    linear-gradient(150deg, rgba(74, 154, 173, 0.4), rgba(232, 220, 196, 0.15) 45%, rgba(45, 122, 143, 0.32)) border-box;
}
.blog-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.blog-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 0.6rem;
}
.blog-meta span + span::before { content: "·"; margin-right: 0.5rem; color: var(--stone); }
.blog-card .blog-meta {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: var(--linen);
  border: 1px solid rgba(30, 95, 114, 0.1);
  font-size: 0.8rem;
}
.blog-card h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.blog-card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 0.9rem; }
.blog-card .blog-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.95rem;
}
.blog-card .blog-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-calm);
}
.blog-card:hover .blog-more svg { transform: translateX(4px); }

.article-figure { margin: clamp(1.6rem, 4vw, 2.6rem) 0; }
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
}
.article-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.article-body h2 { margin-top: clamp(2.2rem, 5vw, 3.2rem); }
.article-body h3 { margin-top: 1.8rem; }
.article-body ul { padding-left: 1.2rem; }
.article-body li { margin: 0.35rem 0; }
.article-tip {
  margin: clamp(1.6rem, 4vw, 2.4rem) 0;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-m);
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--linen), var(--linen)) padding-box,
    linear-gradient(150deg, rgba(74, 154, 173, 0.4), rgba(232, 220, 196, 0.15) 45%, rgba(45, 122, 143, 0.32)) border-box;
}
.article-tip strong { color: var(--forest); }
.article-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.article-topline .eyebrow { margin-bottom: 0; }
.article-back {
  display: inline-block;
  color: var(--moss);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.article-back:hover { color: var(--forest); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--linen);
  padding-bottom: 5.5rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: clamp(36px, 6vw, 70px);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23faf6ef' d='M0,46 C240,16 480,72 720,44 C960,14 1200,66 1440,38 L1440,0 L0,0 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(4rem, 8vw, 6rem) 0 2.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.footer-inner strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--forest); }
.footer-inner p { margin: 0.2rem 0; }
.footer-inner a { color: var(--ink-soft); text-decoration: none; }
.footer-inner a:hover { color: var(--forest); }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-contact svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke: var(--moss);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-legal { display: flex; flex-direction: column; gap: 0.45rem; align-items: flex-start; }
@media (min-width: 880px) { .site-footer { padding-bottom: 0; } }

/* ---------- Sticky Mobile Bar ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  gap: 0.7rem;
  padding: 0.7rem max(1rem, env(safe-area-inset-left)) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(250, 247, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(30, 95, 114, 0.12);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-calm);
}
.mobile-bar.visible { transform: translateY(0); }
.mobile-bar .btn { flex: 1; padding: 0.75rem 1rem; }
@media (min-width: 880px) { .mobile-bar { display: none; } }

/* ---------- Reveal-Animationen ---------- */
/* ---------- Apartment-Unterseiten ---------- */
a.apartment-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.apartment-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest);
}
.apartment-card:hover .apartment-card-cta { text-decoration: underline; }

.apt-page {
  padding-top: clamp(6rem, 12vh, 7.5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.apt-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 960px) {
  .apt-layout {
    grid-template-columns: minmax(0, 1fr) min(340px, 32%);
  }
}
.apt-main { min-width: 0; }
.apt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.apt-breadcrumb a {
  color: var(--forest);
  text-decoration: none;
}
.apt-breadcrumb a:hover { text-decoration: underline; }
.apt-header { margin-bottom: 1.8rem; }
.apt-header h1 { margin-bottom: 0.35rem; }
.apt-name {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
  color: var(--moss);
  margin-bottom: 0.5rem;
}
.apt-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0;
}
.apt-hero-photo {
  margin: 0 0 2rem;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.apt-hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.apt-content {
  margin-bottom: 2.5rem;
  max-width: 62ch;
}
.apt-content h2 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}
.apt-content p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  line-height: 1.65;
}
.apt-content p:last-child { margin-bottom: 0; }
.apt-gallery h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}
.apt-photo-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .apt-photo-grid { grid-template-columns: repeat(3, 1fr); }
}
.apt-photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
  cursor: zoom-in;
  transition: transform 0.35s var(--ease-calm), box-shadow 0.35s;
}
.apt-photo-grid img:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-soft);
}
.apt-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 95, 114, 0.12);
  font-size: 0.92rem;
  font-weight: 600;
}
.apt-pager a {
  color: var(--forest);
  text-decoration: none;
}
.apt-pager a:hover { text-decoration: underline; }
.apt-pager-all { color: var(--ink-soft); }

.apt-sidebar { position: relative; }
@media (min-width: 960px) {
  .apt-sidebar-inner {
    position: sticky;
    top: clamp(88px, 12vh, 108px);
  }
}
.apt-sidebar-inner {
  border-radius: var(--radius-l);
  padding: 1.6rem 1.5rem 1.8rem;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--offwhite), var(--offwhite)) padding-box,
    linear-gradient(150deg, rgba(74, 154, 173, 0.4), rgba(232, 220, 196, 0.15) 45%, rgba(45, 122, 143, 0.32)) border-box;
  box-shadow: var(--shadow-soft);
}
.apt-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0.25rem 0 1.2rem;
}
.apt-details {
  display: grid;
  gap: 0;
  margin: 0 0 1.2rem;
}
.apt-details div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(30, 95, 114, 0.1);
}
.apt-details dt {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.apt-details dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.apt-sidebar .apartment-meta { margin-bottom: 1.2rem; }
.apt-amenities {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.apt-amenities li {
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
}
.apt-amenities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

/* ---------- Ausstattungs-Checkliste ---------- */
.apt-amenities-section { margin-bottom: 2.6rem; }
.apt-amenities-section > h2 { margin-bottom: 1.4rem; font-size: 1.35rem; }
.check-group { margin-bottom: 1.5rem; }
.check-group:last-child { margin-bottom: 0; }
.check-group h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--moss);
  margin-bottom: 0.7rem;
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .check-list { grid-template-columns: 1fr 1fr; }
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.96rem;
  line-height: 1.45;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--moss);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 1.2rem 1.2rem no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 1.2rem 1.2rem no-repeat;
}
.check-list li.check-highlight {
  font-weight: 600;
  color: var(--forest);
}
.check-list li.check-highlight::before { background: var(--clay); }
.apt-sidebar-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.apt-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.apt-sidebar-actions .btn { width: 100%; justify-content: center; }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  gap: 0.55rem;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #1fb855;
  border-color: #1fb855;
  color: #fff;
  transform: translateY(-1px);
}
.btn-whatsapp svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

body.page-apt .mobile-bar { transform: translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-calm), transform 0.9s var(--ease-calm);
}
.reveal.visible { opacity: 1; transform: none; }

img.img-fade { opacity: 0; transition: opacity 0.6s var(--ease-calm); }
img.img-fade.loaded { opacity: 1; }

/* ---------- Seitenübergang mit Wellen-Ladeicon ---------- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--offwhite);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-calm);
}
.page-transition.active { opacity: 1; pointer-events: auto; }
.page-transition svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--moss);
  stroke-width: 1.8;
  animation: wavePulse 1.5s ease-in-out infinite;
}
@keyframes wavePulse {
  0%   { transform: translateY(4px); opacity: 0.5; }
  50%  { transform: translateY(-4px); opacity: 1; }
  100% { transform: translateY(4px); opacity: 0.5; }
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
main, .site-header, .site-footer { animation: pageIn 0.5s var(--ease-calm) backwards; }

/* ============ High-End Apartment-Detailseite ============ */
.apt-block { margin-bottom: 2.8rem; }
.apt-block > h2 { font-size: 1.4rem; margin-bottom: 1.1rem; }
.apt-block > p { max-width: 64ch; }

/* Quick Facts */
.apt-facts {
  list-style: none;
  margin: 1.6rem 0 2.8rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
@media (min-width: 620px) { .apt-facts { grid-template-columns: repeat(5, 1fr); } }
.apt-facts li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1rem;
  background: var(--linen);
  border: 1px solid var(--sand);
  border-radius: 16px;
}
.apt-facts .fact-icon {
  display: inline-flex;
  width: 2.2rem; height: 2.2rem;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(45, 122, 143, 0.12);
  color: var(--moss);
  margin-bottom: 0.2rem;
}
.apt-facts .fact-val { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--forest-deep); line-height: 1.1; }
.apt-facts .fact-label { font-size: 0.8rem; color: var(--ink-soft); }

/* Ausstattung mit Icons */
.amenity-groups { display: grid; gap: 1.7rem; }
@media (min-width: 640px) { .amenity-groups { grid-template-columns: 1fr 1fr; } }
.amenity-group h3 {
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--moss); margin-bottom: 0.85rem;
}
.amenity-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.62rem; }
.amenity-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.96rem; color: var(--ink); line-height: 1.4; }
.amenity-list li svg { color: var(--moss); flex-shrink: 0; }
.amenity-list li.is-highlight { font-weight: 600; color: var(--forest-deep); }
.amenity-list li.is-highlight svg { color: var(--clay); }

/* Lage & Gut zu wissen */
.distance-list, .info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.95rem; }
.distance-list li, .info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.distance-list li svg, .info-list li svg { color: var(--moss); flex-shrink: 0; margin-top: 2px; }
.distance-list strong, .info-list strong { display: block; font-weight: 600; color: var(--forest-deep); font-size: 0.98rem; }
.distance-list span, .info-list span { font-size: 0.9rem; color: var(--ink-soft); }

/* Lucide Icon-Größen */
.apt-main svg.lucide, .apt-sidebar svg.lucide { width: 20px; height: 20px; stroke-width: 1.7; }
.apt-facts .fact-icon svg.lucide { width: 22px; height: 22px; }

/* Booking-Card (Sidebar) */
.booking-eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 600; color: var(--fern); margin: 0 0 0.3rem; }
.booking-title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--forest-deep); margin: 0 0 1.1rem; }
.booking-facts { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 0.62rem; }
.booking-facts li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; color: var(--ink); }
.booking-facts li svg { color: var(--moss); flex-shrink: 0; }
.booking-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.booking-chips span { font-size: 0.78rem; padding: 0.28rem 0.7rem; border-radius: 999px; background: rgba(45, 122, 143, 0.1); color: var(--forest); }
.booking-note { font-size: 0.86rem; color: var(--ink-soft); margin: 0 0 1.1rem; line-height: 1.5; }
.booking-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.booking-actions .btn { width: 100%; justify-content: center; }
.btn-outline {
  border: 1.5px solid var(--moss); color: var(--forest); background: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-outline:hover, .btn-outline:focus-visible { background: rgba(45, 122, 143, 0.08); color: var(--forest-deep); }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  main, .site-header, .site-footer { animation: none; }
  img.img-fade { opacity: 1; transition: none; }
  .hero-canvas { transform: none !important; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
