
  :root {
    --sand: #F5EFE4;
    --foam: #FFFDF9;
    --water: #7FA8B5;
    --water-dark: #5F8996;
    --ink: #284046;
    --dune: #93A672;
    --line: #D8CFBC;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html {
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
  }

  @keyframes drift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-bg, .apartment-card .thumb { animation: none !important; }
  }

  body {
    background:
      radial-gradient(ellipse 60% 40% at 15% 0%, rgba(127,168,181,0.10), transparent 60%),
      radial-gradient(ellipse 50% 35% at 100% 15%, rgba(147,166,114,0.08), transparent 60%),
      var(--sand);
    color: var(--ink);
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    position: relative;
  }

  header, .hero, section, footer { position: relative; z-index: 1; }

  h1, h2, h3 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
  }

  .label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--water-dark);
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 6vw;
  }

  header .logo {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-weight: 600;
  }

  header nav a {
    color: var(--ink);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
  }

  /* Spülsaum-Trenner: unregelmäßige gepunktete Linie statt Wellen-SVG */
  .tideline {
    width: 100%;
    height: 6px;
    background-image: radial-gradient(circle, var(--line) 1.5px, transparent 1.6px);
    background-size: 14px 6px, 22px 6px, 9px 6px;
    background-position: 0 0, 6px 2px, 16px 1px;
    background-repeat: repeat-x;
    opacity: 0.8;
    margin: 4rem 0;
  }

  .hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    padding: 0;
    margin: 0 6vw 4rem;
    border-radius: 22px;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
  }

  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Dunkler Verlauf von unten, damit der Text auf jedem Foto lesbar bleibt */
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15,24,26,0.88) 0%, rgba(15,24,26,0.55) 40%, rgba(15,24,26,0.15) 70%, transparent 100%);
  }

  .hero-content {
    position: relative;
    z-index: 1;
    padding: 3rem 3rem 3.2rem;
    max-width: 620px;
  }

  .hero-content .label {
    color: #D9E4E2;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  }

  .hero-content h1 {
    color: var(--foam);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  }

  .hero-content p {
    font-size: 1.1rem;
    max-width: 42ch;
    margin-bottom: 1.8rem;
    color: #EAF0EE;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  }

  .btn {
    display: inline-block;
    background: var(--water);
    color: var(--foam);
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s ease;
  }
  .btn:hover { background: var(--water-dark); }

  section {
    padding: 0 6vw;
  }

  .section-head {
    max-width: 60ch;
    margin-bottom: 2.5rem;
  }
  .section-head h2 { font-size: 1.9rem; margin-top: 0.4rem; }

  .apartments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
  }

  .apartment-card {
    background: var(--foam);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(40,64,70,0.06);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.25s ease;
  }

  .apartment-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .apartment-card:hover {
    box-shadow: 0 10px 24px rgba(40,64,70,0.12);
  }

  .thumb-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
  }

  .apartment-card .thumb {
    position: relative;
    overflow: hidden;
  }

  .apartment-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .apartment-card .watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 0 6px rgba(0,0,0,0.55), 0 0 2px rgba(0,0,0,0.6);
    transform: rotate(-18deg);
    font-size: 0.85rem;
  }

  .apartment-card .thumb {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #DCE7E8, #C4D3D0, #E6ECD9, #C4D3D0);
    background-size: 300% 300%;
    animation: drift 16s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b8482;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    transition: transform 0.4s ease;
  }

  .apartment-card:hover .thumb {
    transform: scale(1.03);
  }

  .apartment-card .content {
    padding: 1.3rem 1.4rem 1.6rem;
  }

  .apartment-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
  }

  .apartment-card p {
    font-size: 0.92rem;
    color: #5a6f6d;
    margin-bottom: 0.9rem;
  }

  .meta {
    display: flex;
    gap: 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--water-dark);
  }

  .contact {
    background: var(--foam);
    border-radius: 20px;
    padding: 3rem 4vw;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
  }

  .contact h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
  .contact p { color: #5a6f6d; }

  form {
    display: grid;
    gap: 1rem;
  }

  form label {
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.35rem;
  }

  form input, form textarea, form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    background: var(--sand);
  }

  form textarea { resize: vertical; min-height: 110px; }

  form button {
    justify-self: start;
    border: none;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
  }

  footer {
    text-align: center;
    padding: 3rem 6vw 2.5rem;
    color: #6b8482;
    font-size: 0.85rem;
  }

  .island-intro {
    max-width: 62ch;
    margin-bottom: 2.2rem;
  }
  .island-intro h2 { font-size: 1.9rem; margin-top: 0.4rem; margin-bottom: 0.8rem; }
  .island-intro p { color: #48605f; font-size: 1.02rem; }

  .island-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  .island-tile {
    all: unset;
    cursor: pointer;
    display: block;
  }

  .island-tile .thumb {
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #DCE7E8, #C4D3D0, #E6ECD9, #C4D3D0);
    transition: transform 0.35s ease;
  }

  .island-tile .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .island-tile:hover .thumb { transform: scale(1.03); }

  .island-tile .caption {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 500;
  }

  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20,32,35,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 5vh 5vw;
  }
  .lightbox.open { display: flex; }
  .lightbox-frame { position: relative; width: 100%; max-width: 900px; }
  .lightbox-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #DCE7E8, #C4D3D0, #E6ECD9, #C4D3D0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4d6462;
    font-family: 'Space Mono', monospace;
    transition: opacity 0.2s ease;
  }

  .lightbox-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .lightbox-counter {
    text-align: center;
    color: var(--foam);
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    margin-top: 1rem;
  }
  .lightbox-close, .lightbox-prev, .lightbox-next {
    all: unset;
    position: absolute;
    cursor: pointer;
    color: var(--foam);
    font-family: 'Space Mono', monospace;
    font-size: 1.4rem;
    padding: 0.6rem 0.9rem;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
  }
  .lightbox-close { top: -3.2rem; right: 0; font-size: 1rem; }
  .lightbox-prev { left: -1rem; top: 50%; transform: translateY(-50%); }
  .lightbox-next { right: -1rem; top: 50%; transform: translateY(-50%); }

  .map-wrap {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
  }

  .map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  .location-block {
    margin-top: 1.5rem;
  }

  .location-block h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .location-block p {
    font-size: 0.9rem;
    color: #5a6f6d;
  }

  @media (max-width: 800px) {
    .island-gallery { grid-template-columns: repeat(2, 1fr); }
    .lightbox-prev, .lightbox-next { position: fixed; }
    .lightbox-prev { left: 1rem; }
    .lightbox-next { right: 1rem; }
    .apartments, .contact { grid-template-columns: 1fr; }
    header nav { display: none; }
    .hero { min-height: 60vh; margin: 0 4vw 3rem; }
    .hero-content { padding: 2rem 1.5rem 2rem; }
  }
  .btn-secondary { background: transparent; color: var(--water-dark); border: 2px solid var(--water-dark); margin-left: 0.6rem; }
  .btn-secondary:hover { background: var(--water-dark); color: #fff; }
  .portal-note { font-size: 0.85rem; opacity: 0.75; margin-top: 0.8rem; }
  .seo-block { max-width: 900px; margin: 0 auto; padding: 3rem 1.5rem; }
  .seo-block h2 { margin-bottom: 1rem; }
  .seo-block ul { padding-left: 1.2rem; line-height: 1.8; }
  .seo-block details { border-bottom: 1px solid rgba(40,64,70,0.15); padding: 0.9rem 0; }
  .seo-block summary { cursor: pointer; font-weight: 600; }
  .seo-block details p { margin-top: 0.6rem; }
  .more-apts { margin-top: 1.2rem; font-size: 0.95rem; }

  .btn-sm { margin-top: 1rem; padding: 0.6rem 1.3rem; font-size: 0.85rem; }

  .map-consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; text-align: center; background: rgba(127,168,181,0.12); font-size: 0.9rem; }


  /* Bildkarussell (Norderney entdecken) */
  .carousel { position: relative; max-width: 900px; margin: 0 auto; }
  .car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
  .car-track::-webkit-scrollbar { display: none; }
  .car-track:focus-visible { outline: 2px solid var(--water-dark); outline-offset: 3px; }
  .car-slide { all: unset; box-sizing: border-box; flex: 0 0 100%; scroll-snap-align: center; position: relative; aspect-ratio: 16/10; cursor: pointer; background: linear-gradient(135deg, #DCE7E8, #C4D3D0, #E6ECD9, #C4D3D0); }
  .car-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .car-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1rem 0.9rem; color: var(--foam); font-weight: 500; background: linear-gradient(transparent, rgba(20,32,35,0.65)); }
  .car-btn { all: unset; position: absolute; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,253,249,0.9); color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(40,64,70,0.2); }
  .car-btn:hover { background: var(--foam); }
  .car-btn:focus-visible, .car-dot:focus-visible { outline: 2px solid var(--water-dark); outline-offset: 2px; }
  .car-prev { left: 0.7rem; }
  .car-next { right: 0.7rem; }
  .car-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.9rem; }
  .car-dot { all: unset; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--line); cursor: pointer; }
  .car-dot.active { background: var(--water-dark); }
  @media (max-width: 600px) { .car-slide { aspect-ratio: 4/3; } .car-btn { width: 2.2rem; height: 2.2rem; } }
  .hp { position: absolute; left: -9999px; }
