
    :root {
      --ink: #191d20;
      --muted: #687178;
      --line: #d9ddde;
      --paper: #f5f5f2;
      --white: #ffffff;
      --accent: #a46f45;
      --accent-light: #d6b18b;
      --dark: #121619;
      --max: 1180px;
      --radius: 4px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--white);
      font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.6;
    }
    img { display: block; max-width: 100%; }
    a { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    :focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; }

    .wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
    .eyebrow {
      margin: 0 0 14px;
      color: var(--accent);
      font-size: .78rem;
      font-weight: 750;
      letter-spacing: .16em;
      text-transform: uppercase;
    }
    h1, h2, h3 { margin-top: 0; line-height: 1.08; }
    h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
    h1 { margin-bottom: 22px; font-size: clamp(2.7rem, 6vw, 5.6rem); letter-spacing: -.045em; }
    h2 { margin-bottom: 22px; font-size: clamp(2.1rem, 4vw, 3.8rem); letter-spacing: -.035em; }
    h3 { margin-bottom: 10px; font-size: 1rem; }
    p { margin: 0 0 1rem; }
    .lead { max-width: 730px; color: #dce0e2; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
    .section { padding: 104px 0; }
    .section.soft { background: var(--paper); }

    .site-header {
      position: absolute;
      z-index: 20;
      top: 0;
      left: 0;
      width: 100%;
      border-bottom: 1px solid rgba(255,255,255,.22);
      color: white;
    }
    .nav {
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }
    .brand { text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
    .brand small { display: block; font-weight: 500; opacity: .72; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
    .nav-links { display: flex; align-items: center; gap: 24px; }
    .nav-links a { font-size: .92rem; text-decoration: none; opacity: .86; }
    .nav-links a:hover { opacity: 1; }

    .hero {
      position: relative;
      min-height: 88vh;
      display: grid;
      align-items: end;
      overflow: hidden;
      color: white;
      background: var(--dark);
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(9,13,16,.84) 0%, rgba(9,13,16,.38) 52%, rgba(9,13,16,.1) 100%), url("/assets/ansicht-strasse.webp") center 38% / cover no-repeat;
      transform: scale(1.01);
    }
    .hero-content { position: relative; z-index: 1; padding: 180px 0 84px; }
    .hero-copy { max-width: 820px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
    .button {
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      padding: 12px 20px;
      border: 1px solid var(--accent);
      border-radius: var(--radius);
      background: var(--accent);
      color: white;
      font-weight: 700;
      text-decoration: none;
      transition: .2s ease;
    }
    .button:hover { background: #8f5f39; border-color: #8f5f39; transform: translateY(-1px); }
    .button.ghost { border-color: rgba(255,255,255,.6); background: transparent; }
    .button.ghost:hover { background: white; color: var(--ink); }
    .button.dark { border-color: var(--dark); background: var(--dark); }

    .facts { position: relative; z-index: 2; background: rgba(18,22,25,.94); color: white; }
    .fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
    .fact { padding: 25px 28px; border-left: 1px solid rgba(255,255,255,.14); }
    .fact:last-child { border-right: 1px solid rgba(255,255,255,.14); }
    .fact strong { display: block; font-family: Georgia, serif; font-size: 1.9rem; font-weight: 400; }
    .fact span { color: #bfc6ca; font-size: .85rem; }

    .project-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
    .building-map { min-width: 0; margin: 0; }
    .building-image { position: relative; aspect-ratio: 1800 / 1136; background: var(--paper); }
    .building-image img { width: 100%; height: auto; aspect-ratio: 1800 / 1136; }
    .building-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
    .building-legend a { display: grid; gap: 4px; min-height: 88px; padding: 18px 20px 18px 0; text-decoration: none; }
    .building-legend a + a { padding-left: 20px; padding-right: 0; border-left: 1px solid var(--line); }
    .building-legend strong { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 1rem; font-weight: 650; }
    .building-legend strong span { color: var(--accent); font-size: 1.15rem; }
    .building-legend a > span { color: var(--muted); font-size: .8125rem; }
    .building-legend a:hover strong { color: var(--accent); }
    .building-pin { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; transform: translate(-50%, -50%); border: 1px solid white; border-radius: 50%; color: white; background: var(--dark); text-decoration: none; font-size: 1.25rem; font-weight: 750; box-shadow: 0 3px 12px rgba(0,0,0,.2); }
    .building-pin:hover { background: var(--accent); }
    .pin-a { left: 24%; top: 39%; }
    .pin-b { left: 73%; top: 31%; }
    .project-copy { min-width: 0; }
    .project-copy h2 { font-size: clamp(2.35rem, 4vw, 3.5rem); }
    .copy { max-width: 620px; color: #41484c; font-size: 1.05rem; }
    .microfacts { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
    .microfacts strong { display: block; margin-bottom: 6px; font-size: .8125rem; line-height: 1.5; }
    .microfacts span { color: var(--muted); font-size: .8125rem; }

    .section-head { max-width: 760px; margin-bottom: 42px; }
    .section-head p { color: var(--muted); font-size: 1.05rem; }
    .table-shell { overflow-x: auto; background: white; border: 1px solid var(--line); }
    table { width: 100%; border-collapse: collapse; min-width: 650px; }
    th, td { padding: 19px 22px; border-bottom: 1px solid var(--line); text-align: left; }
    th { color: var(--muted); background: #fafaf8; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
    td:first-child { font-weight: 750; }
    tr:last-child td { border-bottom: 0; }
    .status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
    .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
    .table-note { margin-top: 14px; color: var(--muted); font-size: .86rem; }
    .building-jumps { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
    .building-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border: 1px solid var(--accent); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 650; }
    .building-jumps a:hover { background: var(--dark); color: white; border-color: var(--dark); }
    .building-apartments { scroll-margin-top: 28px; }
    .building-apartments + .building-apartments { margin-top: 44px; }
    .building-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
    .building-letter { display: grid; place-items: center; flex: 0 0 52px; height: 52px; background: var(--dark); color: white; font-family: Georgia, serif; font-size: 1.8rem; }
    .building-heading h3 { margin: 0 0 6px; font-size: 1.25rem; line-height: 1.35; }
    .building-heading p { margin: 0; color: var(--muted); font-size: .9375rem; }

    .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
    .feature { min-height: 196px; padding: 30px; background: white; }
    .feature-number { display: block; margin-bottom: 30px; color: var(--accent); font-family: Georgia, serif; font-size: 1.6rem; }
    .feature p { margin: 0; color: var(--muted); font-size: .92rem; }

    .gallery { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, 310px); gap: 12px; }
    .gallery-button {
      position: relative;
      overflow: hidden;
      padding: 0;
      border: 0;
      border-radius: var(--radius);
      cursor: zoom-in;
      background: #ddd;
    }
    .gallery-button:first-child { grid-row: span 2; }
    .gallery-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
    .gallery-button:hover img { transform: scale(1.025); }
    .gallery-more { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
    .gallery-more .gallery-button { aspect-ratio: 16/9; }

    .downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .download-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 26px; border: 1px solid var(--line); text-decoration: none; background: white; transition: .2s ease; }
    .download-card:hover { border-color: var(--accent); transform: translateY(-2px); }
    .download-card small { display: block; margin-top: 4px; color: var(--muted); }
    .download-icon { flex: 0 0 auto; color: var(--accent); font-size: 1.4rem; }

    .contact { background: var(--dark); color: white; }
    .contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
    .contact h2 { max-width: 700px; }
    .contact p { color: #bfc6ca; }
    .contact-card { min-width: 0; padding: 28px; border: 1px solid rgba(255,255,255,.2); }
    .contact-card strong { display: block; margin-bottom: 10px; }
    .contact-card address { color: #d6dcdf; font-style: normal; }
    .contact-logo { width: 100%; max-width: 340px; height: auto; margin: 22px 0; filter: brightness(0) invert(1); opacity: .92; }
    .contact-email { display: block; min-height: 44px; margin-bottom: 12px; padding: 8px 0; color: var(--accent-light); font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; text-underline-offset: 4px; }
    .contact-email:hover { color: white; }
    .contact-card .contact-project { margin: 0; font-size: .875rem; }

    footer { padding: 24px 0; background: #0b0e10; color: #949da2; font-size: .78rem; }
    .footer-row { display: flex; justify-content: space-between; gap: 25px; }

    #lightbox { width: min(1120px, calc(100% - 28px)); max-width: calc(100% - 28px); max-height: 92vh; max-height: 92dvh; padding: 0; border: 1px solid #434a50; border-radius: 6px; background: #080a0b; color: white; }
    #lightbox::backdrop { background: rgba(0,0,0,.86); }
    .lightbox-shell { height: min(900px, 90vh); height: min(900px, 90dvh); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
    .lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 14px 8px 20px; }
    .lightbox-counter { margin: 0; color: #e1e5e7; font-size: .9375rem; font-variant-numeric: tabular-nums; }
    .dialog-close { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 48px; height: 48px; border: 1px solid #586169; border-radius: 50%; background: #191d20; color: white; font-size: 1.8rem; cursor: pointer; }
    .lightbox-stage { display: flex; min-height: 0; overflow: hidden; touch-action: pan-y pinch-zoom; }
    .lightbox-stage img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-select: none; }
    .lightbox-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 16px 20px; }
    .lightbox-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 108px; min-height: 48px; padding: 8px 12px; border: 1px solid #7a858d; border-radius: 4px; background: #191d20; color: white; font: inherit; font-size: .9375rem; font-weight: 650; cursor: pointer; }
    .lightbox-controls button span { font-size: 1.6rem; line-height: 1; }
    .lightbox-controls button:hover, .dialog-close:hover { background: #343b41; border-color: white; }
    .lightbox-caption { margin: 0; color: #d8dee2; text-align: center; font-size: .9375rem; line-height: 1.4; }
    @media (max-width: 560px) {
      .lightbox-controls { grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
      .lightbox-caption { grid-row: 2; grid-column: 1 / -1; font-size: .875rem; }
      .lightbox-toolbar { padding: 8px 12px; }
    }

    @media (max-width: 840px) {
      .wrap { width: min(100% - 28px, var(--max)); }
      .section { padding: 76px 0; }
      .nav-links a:not(.nav-cta) { display: none; }
      .hero { min-height: 780px; }
      .hero::before { background: linear-gradient(0deg, rgba(9,13,16,.88) 0%, rgba(9,13,16,.2) 75%), url("/assets/ansicht-strasse.webp") 60% center / cover no-repeat; }
      .hero-content { padding-top: 150px; padding-bottom: 54px; }
      .fact-grid { grid-template-columns: 1fr 1fr; }
      .fact:nth-child(3) { border-top: 1px solid rgba(255,255,255,.14); }
      .fact:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); border-right: 1px solid rgba(255,255,255,.14); }
      .project-layout, .contact-grid { grid-template-columns: 1fr; }
      .project-layout { gap: 36px; }
      .features { grid-template-columns: 1fr 1fr; }
      .gallery { grid-template-columns: 1fr; grid-template-rows: 380px 240px 240px; }
      .gallery-button:first-child { grid-row: auto; }
    }

    @media (max-width: 560px) {
      h1 { font-size: 2.8rem; }
      h2 { font-size: 2.35rem; }
      .site-header .button { padding: 10px 13px; font-size: .82rem; }
      .brand small { display: none; }
      .hero { min-height: 720px; }
      .hero-actions .button { width: 100%; }
      .fact { padding: 19px 15px; }
      .fact strong { font-size: 1.55rem; }
      .features, .downloads, .microfacts { grid-template-columns: 1fr; }
      .building-legend a { padding-right: 12px; }
      .building-legend a + a { padding-left: 12px; }
      .feature { min-height: 0; }
      .gallery { grid-template-rows: 280px 210px 210px; }
      .gallery-more { grid-template-columns: 1fr; }
      .footer-row { display: block; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; }
    }
  
.header-controls { display: flex; align-items: center; gap: 22px; }
.language-switch { display: flex; gap: 3px; flex-shrink: 0; padding: 3px; border: 1px solid rgba(255,255,255,.55); border-radius: 4px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; font-size: .875rem; font-weight: 700; color: white; text-decoration: none; border-radius: 2px; }
.language-switch a:hover { background: rgba(255,255,255,.2); }
.language-switch a[aria-current="page"] { background: white; color: #191d20; }
@media (max-width: 1040px) { .nav-links a:not(.nav-cta) { display: none; } }
@media (max-width: 560px) { .header-controls { gap: 8px; } .header-controls > .nav-links { display: none; } .nav { gap: 12px; } .brand { font-size: .9rem; } }

/* Apartment browsing extends the project's restrained editorial style. */
.nav-links { gap: 18px; }
.apartment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.apartment-card { min-width: 0; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); }
.apartment-plan { display: block; position: relative; padding: 22px 22px 58px; background: #fff; text-decoration: none; border-bottom: 1px solid var(--line); cursor: zoom-in; }
.apartment-plan img { width: 100%; height: 245px; object-fit: contain; }
.plan-open { position: absolute; left: 22px; right: 22px; bottom: 17px; display: flex; align-items: center; justify-content: space-between; color: #70482b; font-size: .875rem; font-weight: 650; }
.apartment-plan:hover .plan-open { text-decoration: underline; text-underline-offset: 4px; }
.apartment-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.apartment-floor { margin-bottom: 10px; color: var(--muted); font-size: .875rem; }
.apartment-body h4 { margin: 0 0 18px; font: 400 1.8rem/1.2 Georgia, serif; letter-spacing: -.025em; }
.apartment-specs { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 22px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.apartment-specs strong { font-size: 1.4rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.apartment-specs strong span { font-size: .875rem; font-weight: 400; }
.apartment-specs > span { font-size: .9375rem; color: #41484c; }
.apartment-highlight { margin-bottom: 24px; font-size: .9375rem; }
.apartment-bottom { margin-top: auto; }
.apartment-bottom p { font-size: .875rem; color: var(--muted); }
.apartment-bottom .button { width: 100%; padding: 12px 10px; font-size: .875rem; line-height: 1.5; }
.building-apartments + .building-apartments { margin-top: 60px; }
.table-note { margin-top: 26px; max-width: 900px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; padding: 6px 0; color: #70482b; font-weight: 650; font-size: .9375rem; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { color: var(--ink); }
.location-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 100px); }
.location-address { margin-top: 34px; padding: 28px 0 0; border-top: 1px solid var(--line); }
.location-label { color: var(--muted); font-size: .875rem; }
.location-address address { margin: 10px 0 24px; font-style: normal; font-size: 1.2rem; }
.motorway-note { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 28px; }
.motorway-badge { display: grid; place-items: center; min-height: 38px; border: 1px solid var(--accent-light); border-radius: var(--radius); color: #70482b; font-size: .875rem; font-weight: 650; letter-spacing: .04em; }
.motorway-note h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.4; }
.motorway-note p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.65; }
.location-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.location-item:last-child { padding-bottom: 0; }
.location-number { color: var(--accent); font: 400 1.2rem/1.4 Georgia, serif; }
.location-item h3 { line-height: 1.4; font-size: 1.1rem; }
.location-item p { color: var(--muted); margin-bottom: 8px; }
.practical-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.practical-card { display: flex; flex-direction: column; align-items: flex-start; padding: 34px; background: white; border-top: 2px solid var(--accent); }
.practical-card h3 { margin-bottom: 20px; font: 400 1.9rem/1.2 Georgia, serif; }
.practical-card > p:not(.eyebrow) { color: var(--muted); }
.parking-details { margin: 0 0 24px; padding-left: 1.2rem; color: var(--ink); }
.parking-details li { padding-left: 4px; margin: 0 0 10px; }
.parking-details li::marker { color: var(--accent); }
.practical-card .text-link { margin-top: auto; }
.mobile-sections { display: none; }
#floorplan-dialog { width: min(1100px, calc(100% - 24px)); max-width: calc(100% - 24px); max-height: 94vh; max-height: 94dvh; padding: 0; border: 0; background: white; color: var(--ink); }
#floorplan-dialog::backdrop { background: rgba(9,13,16,.82); }
.floorplan-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.floorplan-header h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.floorplan-details { margin: 0; color: var(--muted); font-size: .9375rem; }
.floorplan-stage { padding: 22px; }
.floorplan-stage img { width: 100%; height: min(58vh, 620px); height: min(58dvh, 620px); object-fit: contain; }
.floorplan-footer { padding: 18px 28px 24px; border-top: 1px solid var(--line); }
.floorplan-footer p { color: var(--muted); font-size: .875rem; }
.floorplan-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 1100px) {
  .apartment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .mobile-sections { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .mobile-sections a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 650; text-underline-offset: 5px; }
}
@media (max-width: 840px) {
  .location-layout { grid-template-columns: 1fr; gap: 38px; }
  .location-layout h2 br { display: none; }
}
@media (max-width: 640px) {
  .apartment-grid, .practical-grid { grid-template-columns: 1fr; }
  .apartment-plan img { height: 270px; }
  .practical-card { padding: 26px; }
  .floorplan-header { padding: 18px; }
  .floorplan-stage { padding: 14px; }
  .floorplan-footer { padding: 18px; }
  .floorplan-actions { align-items: stretch; flex-direction: column; }
}
