/* Novadomaro Wohnarchitektur & Immobilien GmbH : Split Stage (Bottle Green & Gold, Clash Grotesk) */

:root {
  --nv-bg: #133621;
  --nv-surface: #1a4429;
  --nv-surface-alt: #215233;
  --nv-ink: #f4d96c;
  --nv-muted: #b3a55e;
  --nv-accent: #f4d96c;
  --nv-accent-ink: #133621;

  /* 5 strict type steps (14px, 18px, 24px, 34px, 68px) */
  --step-small: 0.875rem;
  --step-body: 1.125rem;
  --step-lead: 1.5rem;
  --step-head: 2.125rem;
  --step-display: 4.25rem;

  --nv-font-display: 'Clash Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --nv-font-text: 'Clash Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  background-color: #133621;
  color: #f4d96c;
  font-family: var(--nv-font-text);
  font-size: 16px;
  line-height: 1.45;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--nv-bg);
  color: var(--nv-ink);
  font-family: var(--nv-font-text);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.45;
  overflow-x: clip;
  min-height: 100svh;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--nv-ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1), transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

a:hover {
  opacity: 0.84;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--nv-accent);
  outline-offset: 3px;
}

/* Top Navigation Bar : Equal 32px margins */
.nv-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background-color: var(--nv-bg);
  position: relative;
  z-index: 30;
}

.nv-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--nv-ink);
}

.nv-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
}

.nv-brand-title {
  font-family: var(--nv-font-display);
  font-size: var(--step-body);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--nv-ink);
}

.nv-nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nv-nav-item a:not(.nv-cta-pill) {
  font-size: var(--step-body);
  font-weight: 400;
  text-decoration: none;
  color: var(--nv-ink);
}

.nv-nav-item a[aria-current="page"]:not(.nv-cta-pill) {
  font-weight: 500;
  text-decoration: underline;
}

a.nv-cta-pill,
button.nv-cta-pill,
.nv-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 12px;
  background-color: #f4d96c;
  color: #133621;
  font-family: var(--nv-font-text);
  font-size: var(--step-body);
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nv-cta-pill:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

/* Split Stage Wrapper (Blueprint 2: 46/54 sticky photo + scrolling reading stage) */
.nv-split-layout {
  display: grid;
  grid-template-columns: 45% calc(55% - 48px);
  padding: 0 32px;
  gap: 48px;
  align-items: start;
}

.nv-sticky-stage {
  position: sticky;
  top: 20px;
  height: calc(100svh - 40px);
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--nv-surface);
}

.nv-sticky-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nv-sticky-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 14px 18px;
  border-radius: 10px;
  background-color: #133621;
  color: var(--nv-ink);
  font-size: var(--step-small);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nv-scroll-column {
  display: flex;
  flex-direction: column;
  gap: 104px;
  padding-top: 12px;
  padding-bottom: 84px;
  min-width: 0;
}

/* Hero Section inside Split Stage */
.nv-hero-stage {
  min-height: calc(100svh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 0;
}

.nv-wordmark-monument {
  font-family: var(--nv-font-display);
  font-size: var(--step-display);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--nv-ink);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}

.nv-hero-title {
  font-family: var(--nv-font-display);
  font-size: var(--step-head);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--nv-ink);
}

.nv-hero-lead {
  font-size: var(--step-lead);
  font-weight: 400;
  line-height: 1.35;
  color: var(--nv-ink);
  max-width: 54ch;
}

.nv-hero-sub {
  font-size: var(--step-body);
  color: var(--nv-ink);
  max-width: 58ch;
  line-height: 1.48;
}

.nv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 6px;
}

.nv-secondary-link {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--nv-ink);
  padding: 10px 6px;
}

/* Section 1: Intro Narrow Column (Blueprint: intro-narrow-column) */
.nv-intro-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nv-section-heading {
  font-family: var(--nv-font-display);
  font-size: var(--step-head);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--nv-ink);
}

.nv-lead-paragraph {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--nv-ink);
  line-height: 1.5;
  max-width: 58ch;
}

.nv-body-paragraph {
  font-size: var(--step-body);
  font-weight: 400;
  color: var(--nv-ink);
  line-height: 1.5;
  max-width: 58ch;
}

/* Section 2: One Frame, Contents Change (Blueprint: gallery-one-frame-changing) */
.nv-gallery-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nv-changing-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--nv-surface);
  cursor: pointer;
}

.nv-frame-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.nv-frame-slide.is-active {
  display: block;
  transform: scale(1.015);
}

.nv-frame-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.nv-thumb-card {
  background-color: var(--nv-surface);
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: var(--nv-ink);
  font-family: var(--nv-font-text);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.nv-thumb-card.is-active {
  background-color: #f4d96c;
  color: #133621;
}

.nv-thumb-img {
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.nv-thumb-label {
  display: block;
  padding: 8px 10px;
  font-size: var(--step-small);
  font-weight: 500;
}

.nv-frame-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nv-frame-caption {
  font-size: var(--step-body);
  color: var(--nv-ink);
  font-weight: 500;
  max-width: 58ch;
}

.nv-frame-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nv-tab-btn {
  background-color: var(--nv-surface);
  color: var(--nv-ink);
  border: 0;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: var(--nv-font-text);
  font-size: var(--step-small);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.nv-tab-btn.is-active {
  background-color: #f4d96c;
  color: #133621;
  font-weight: 500;
}

/* Section 3: Capabilities as a Menu (Blueprint: features-capabilities-as-a-menu) */
.nv-menu-sheet {
  background-color: var(--nv-surface);
  padding: 40px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nv-menu-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nv-menu-group-title {
  font-size: var(--step-lead);
  font-weight: 500;
  color: var(--nv-ink);
  line-height: 1.25;
}

.nv-menu-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nv-menu-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.nv-menu-name {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--nv-ink);
}

.nv-menu-price {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--nv-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.nv-menu-desc {
  font-size: var(--step-body);
  color: var(--nv-ink);
  max-width: 56ch;
}

/* Full-Width Break: Interactive Calculator + Figure Mosaic */
.nv-fullwidth-band {
  padding: 56px 32px 84px;
  display: flex;
  flex-direction: column;
  gap: 88px;
}

/* Interactive Calculator (Wohnflächen- & Nebenkosten-Rechner Dubai) */
.nv-calc-panel {
  background-color: var(--nv-surface);
  border-radius: 12px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.nv-calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nv-field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nv-field-label {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--nv-ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.nv-select,
.nv-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  background-color: var(--nv-bg);
  color: var(--nv-ink);
  border: 0;
  font-family: var(--nv-font-text);
  font-size: var(--step-body);
}

.nv-range {
  width: 100%;
  accent-color: var(--nv-accent);
  cursor: pointer;
}

.nv-calc-output {
  background-color: var(--nv-bg);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nv-calc-ledger {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nv-calc-row {
  background-color: var(--nv-surface);
  padding: 18px 22px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.nv-calc-val {
  font-family: var(--nv-font-display);
  font-size: var(--step-lead);
  font-weight: 500;
  color: var(--nv-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.nv-calc-caption {
  font-size: var(--step-body);
  color: var(--nv-ink);
}

/* Section 4: Stats Photograph with Figure Tiles (Blueprint: stats-photograph-with-figure-tiles) */
.nv-stats-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nv-stats-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: 500px;
  border-radius: 12px;
  overflow: hidden;
}

.nv-mosaic-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nv-mosaic-tiles {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.nv-figure-tile {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  background-color: var(--nv-surface);
}

.nv-figure-tile.is-alt {
  background-color: var(--nv-surface-alt);
}

.nv-big-figure {
  font-family: var(--nv-font-display);
  font-size: var(--step-display);
  font-weight: 400;
  line-height: 0.96;
  color: var(--nv-ink);
  font-variant-numeric: tabular-nums;
}

.nv-figure-label {
  font-size: var(--step-body);
  color: var(--nv-ink);
  max-width: 32ch;
  line-height: 1.4;
}

/* Section 5: Contact Address in Display Rows (Blueprint: contact-address-display-rows) */
.nv-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nv-display-row {
  background-color: var(--nv-surface);
  padding: 24px 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.nv-display-row:nth-child(even) {
  background-color: var(--nv-surface-alt);
}

.nv-row-main {
  font-family: var(--nv-font-display);
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.2;
  color: var(--nv-ink);
  text-decoration: none;
}

.nv-row-note {
  font-size: var(--step-body);
  color: var(--nv-ink);
}

/* Subpages Layout (Wohnviertel, Besichtigungs-Service, Über uns, Legal) */
.nv-subpage-container {
  padding: 32px 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.nv-subpage-hero {
  background-color: var(--nv-surface);
  border-radius: 12px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.nv-subpage-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

.nv-two-col-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.nv-surface-block {
  background-color: var(--nv-surface);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nv-surface-block.is-alt {
  background-color: var(--nv-surface-alt);
}

.nv-surface-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
}

.nv-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nv-spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--step-body);
  color: var(--nv-ink);
  font-variant-numeric: tabular-nums;
}

/* Legal Prose Column */
.nv-legal-sheet {
  background-color: var(--nv-surface);
  border-radius: 12px;
  padding: 48px;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nv-legal-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nv-legal-group h2 {
  font-family: var(--nv-font-display);
  font-size: var(--step-lead);
  font-weight: 500;
  color: var(--nv-ink);
}

.nv-legal-group p,
.nv-legal-group li {
  font-size: var(--step-body);
  color: var(--nv-ink);
  line-height: 1.55;
  max-width: 62ch;
}

.nv-legal-group ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Section 6: Footer Single Quiet Line (Blueprint: footer-single-quiet-line) */
.nv-quiet-footer {
  padding: 64px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nv-footer-entity-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  font-size: var(--step-small);
  color: var(--nv-ink);
}

.nv-footer-entity-line span {
  max-width: 60ch;
  line-height: 1.45;
}

.nv-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: var(--step-small);
}

.nv-footer-left {
  color: var(--nv-ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nv-footer-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.nv-footer-right {
  text-align: right;
  color: var(--nv-ink);
}

.nv-cookie-reopen {
  background: none;
  border: 0;
  color: var(--nv-ink);
  font-family: var(--nv-font-text);
  font-size: var(--step-small);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

/* Cookie Banner (Google Consent Mode v2 : Non-blocking compact dock) */
.nv-consent-banner {
  margin: 0 32px 28px;
  background-color: var(--nv-surface);
  color: var(--nv-ink);
  padding: 24px 32px;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  gap: 16px;
}

.nv-consent-banner.is-open {
  display: flex;
}

.nv-consent-title {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--nv-ink);
}

.nv-consent-text {
  font-size: var(--step-small);
  color: var(--nv-ink);
  line-height: 1.45;
  max-width: 64ch;
}

.nv-consent-prefs {
  display: none;
  flex-wrap: wrap;
  gap: 18px;
  padding: 12px 0;
}

.nv-consent-prefs.is-visible {
  display: flex;
}

.nv-consent-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step-small);
  color: var(--nv-ink);
}

.nv-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nv-btn-consent {
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 12px;
  font-family: var(--nv-font-text);
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
  border: 0;
  background-color: #f4d96c;
  color: #133621;
}

.nv-btn-consent.is-secondary {
  background-color: var(--nv-bg);
  color: var(--nv-ink);
}

/* Motion & Scroll Reveal System (Safe for reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .nv-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nv-reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes nv-ambient-drift {
    0% {
      transform: scale(1) translate3d(0, 0, 0);
    }
    50% {
      transform: scale(1.04) translate3d(-1%, -1%, 0);
    }
    100% {
      transform: scale(1) translate3d(0, 0, 0);
    }
  }

  .nv-sticky-photo,
  .nv-mosaic-photo {
    animation: nv-ambient-drift 16s ease-in-out infinite;
  }
}

/* Responsive Tablet & Mobile */
@media (max-width: 1024px) {
  :root {
    --step-head: 1.75rem;
    --step-display: 3.25rem;
  }

  .nv-split-layout {
    grid-template-columns: 1fr;
    padding: 0 32px;
    gap: 36px;
  }

  .nv-sticky-stage {
    position: relative;
    top: 0;
    height: 48svh;
  }

  .nv-hero-stage {
    min-height: auto;
  }

  .nv-calc-panel,
  .nv-subpage-hero,
  .nv-two-col-editorial,
  .nv-stats-mosaic,
  .nv-footer-entity-line {
    grid-template-columns: 1fr;
  }

  .nv-header-bar,
  .nv-fullwidth-band,
  .nv-subpage-container,
  .nv-quiet-footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .nv-consent-banner {
    margin-left: 32px;
    margin-right: 32px;
  }

  .nv-footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .nv-footer-center {
    justify-content: flex-start;
  }

  .nv-footer-right {
    text-align: left;
  }
}

.nv-legal-sheet h1 {
  font-size: var(--step-display);
  line-height: 1.02;
}

@media (max-width: 640px) {
  :root {
    --step-body: 1rem;
    --step-lead: 1.25rem;
    --step-head: 1.625rem;
    --step-display: 2.5rem;
  }

  .nv-hero-stage .nv-hero-title {
    font-size: 1.25rem;
  }

  .nv-frame-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .nv-split-layout,
  .nv-header-bar,
  .nv-fullwidth-band,
  .nv-subpage-container,
  .nv-quiet-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nv-consent-banner {
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px;
  }

  .nv-header-bar {
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .nv-nav-list {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nv-menu-sheet,
  .nv-calc-panel,
  .nv-calc-output,
  .nv-subpage-hero,
  .nv-surface-block,
  .nv-legal-sheet,
  .nv-figure-tile {
    padding: 24px 20px;
  }

  .nv-display-row {
    padding: 20px;
  }
}
