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

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

  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;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 0;
  }

  header, .breadcrumb, main, footer, .lightbox { 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;
    text-decoration: none;
    color: var(--ink);
  }

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

  .breadcrumb {
    padding: 0 6vw;
    font-size: 0.85rem;
    color: var(--water-dark);
    margin-bottom: 1.5rem;
  }
  .breadcrumb a { color: var(--water-dark); }

  main {
    padding: 0 6vw;
  }

  .title-block {
    max-width: 60ch;
    margin-bottom: 2rem;
  }

  .title-block h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin: 0.4rem 0 0.8rem;
  }

  .title-block p {
    color: #48605f;
    font-size: 1.05rem;
  }

  .meta-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--water-dark);
  }

  /* --- Galerie --- */
  .gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
    margin-bottom: 3rem;
  }

  .gallery button {
    all: unset;
    cursor: pointer;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .gallery button.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .gallery .thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #DCE7E8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b8482;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    overflow: hidden;
    position: relative;
  }

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

  .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.9rem;
    text-align: center;
  }

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

  @media (prefers-reduced-motion: reduce) {
    .thumb-placeholder, .lightbox-image { animation: none !important; }
  }

  .gallery button:hover .thumb-placeholder {
    transform: scale(1.04);
  }

  .gallery .more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40,64,70,0.55);
    color: var(--foam);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
  }

  .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: 3rem 0;
  }

  .details-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .details-grid h2 { font-size: 1.5rem; margin-bottom: 1rem; }
  .details-grid p { color: #48605f; margin-bottom: 1rem; }

  .facts {
    background: var(--foam);
    border-radius: 16px;
    padding: 1.8rem;
    align-self: start;
  }

  .facts h3 { font-size: 1.1rem; margin-bottom: 1rem; }

  .facts ul { list-style: none; }
  .facts li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.92rem;
  }
  .facts li:last-child { border-bottom: none; }

  .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;
    margin-top: 1.2rem;
    transition: background 0.2s ease;
  }
  .btn:hover { background: var(--water-dark); }

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

  /* --- Lightbox --- */
  .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: #DCE7E8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4d6462;
    font-family: 'Space Mono', monospace;
    transition: opacity 0.2s ease;
    position: relative;
  }

  .lightbox-image .watermark { font-size: 1.4rem; }

  .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%); }

  @media (max-width: 800px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .details-grid { grid-template-columns: 1fr; }
    header nav { display: none; }
    .lightbox-prev, .lightbox-next { position: fixed; }
    .lightbox-prev { left: 1rem; }
    .lightbox-next { right: 1rem; }
  }
  .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; }

  .aufbau { background: var(--ink); color: var(--foam); text-align: center; font-size: 0.85rem; padding: 0.55rem 1rem; position: relative; z-index: 2; }
