/* =========================================================================
   Vivere II Villach - Static Clone of Salient WordPress theme
   Brand colors:
     accent       #b75668  (rosé)
     extra-1      #fcea19  (yellow scribble accent)
     extra-2      #f2f0e6  (warm beige)
     deep-accent  #6b2834  (dark accent stripe)
   Fonts:
     headings     "Rubik"
     body         "Lato"
   ========================================================================= */

:root {
  --accent: #b75668;
  --accent-dark: #6b2834;
  --yellow: #fcea19;
  --beige: #f2f0e6;
  --white: #ffffff;
  --black: #111111;
  --text-dark: #333333;
  --text-muted: #666666;

  --font-heading: "Rubik", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;

  --container: 1300px;
  --header-height: 90px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h4 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; }
h5 { font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
em { font-style: italic; }

p { margin: 0 0 1em; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--accent-dark); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,0);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled,
.site-header.opaque {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.site-header .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.site-logo img {
  height: 46px;
  width: auto;
  transition: opacity .25s ease;
}
.site-logo .logo-white { display: block; }
.site-logo .logo-black { display: none; }
.site-header.scrolled .site-logo .logo-white,
.site-header.opaque .site-logo .logo-white { display: none; }
.site-header.scrolled .site-logo .logo-black,
.site-header.opaque .site-logo .logo-black { display: block; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: #fff;
}
.site-header.scrolled .nav-toggle,
.site-header.opaque .nav-toggle { color: var(--accent); }
.nav-toggle span {
  display: block;
  width: 28px; height: 2px;
  background: currentColor;
  margin: 6px 0;
  transition: transform .2s, opacity .2s;
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 8px 0;
  position: relative;
}
.site-header.scrolled .main-nav a,
.site-header.opaque .main-nav a { color: var(--text-dark); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav .phone-cta {
  margin-left: 12px;
  border: 2px solid currentColor;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
}
.main-nav .phone-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}
.main-nav .phone-cta::after { display: none; }

/* ---------- Sections ---------- */
section.row {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
section.row.beige { background: var(--beige); }
section.row.accent { background: var(--accent); color: #fff; }
section.row.accent h1, section.row.accent h2, section.row.accent h3,
section.row.accent h4, section.row.accent h5, section.row.accent p { color: #fff; }
section.row.dark-stripe { background: var(--accent-dark); padding: 32px 0; }
section.row.has-bg-image { color: #fff; }
section.row.has-bg-image .row-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
  animation: zoomOutSlow 20s ease-out forwards;
}
@keyframes zoomOutSlow {
  from { transform: scale(1.15); }
  to   { transform: scale(1); }
}
section.row.has-bg-image .row-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1;
}
section.row .container { position: relative; z-index: 2; }

section.row.full-height {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* ---------- Highlighted heading with scribble ---------- */
.highlight-heading {
  display: block;
  text-align: center;
  margin: 0 auto;
}
.highlight-heading h1, .highlight-heading h2 { margin: 0; }
.highlight-heading em {
  position: relative;
  font-style: italic;
  display: inline-block;
  padding: 0 .15em;
}
.highlight-heading em::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -4px;
  height: 14px;
  background-image: var(--scribble-bg, none);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -1;
  pointer-events: none;
  animation: scribbleDraw 1.3s ease-in-out forwards;
  transform-origin: left center;
  transform: scaleX(0);
}
@keyframes scribbleDraw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---------- CTA buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 18px 38px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}
.btn-ghost-white { color: #fff; }
.btn-ghost-accent { color: var(--accent); }
.btn-solid {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #333 !important;
}
.btn-solid:hover { background: #fff; border-color: #fff; }
.btn-row { text-align: center; margin: 32px 0; }

/* ---------- Milestones (counter) ---------- */
.milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  margin-top: 40px;
}
.milestone .number {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.milestone .subject {
  margin-top: 12px;
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--text-dark);
}

/* ---------- Dividers ---------- */
.divider-small {
  width: 100px;
  height: 4px;
  background: var(--accent);
  margin: 32px auto;
  transform-origin: center;
  animation: dividerDraw 1s ease-out forwards;
}
.divider-vertical {
  width: 2px;
  height: 34px;
  background: var(--yellow);
  margin: 20px auto;
}
@keyframes dividerDraw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---------- Two-column text rows ---------- */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 40px 0;
}
@media (max-width: 800px) {
  .two-col-text { grid-template-columns: 1fr; gap: 24px; }
  .milestones { grid-template-columns: 1fr; gap: 60px; }
}

/* ---------- Galleries ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 48px 0;
}
.gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transition: transform .4s ease;
}
.gallery img:hover { transform: translateY(-4px) scale(1.02); }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img { height: 220px; }
}
@media (max-width: 500px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- Alt-image+text row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 0 0 48px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .feature-row.reverse > :first-child { order: initial; }
}
.feature-row img { border-radius: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.feature-row .feature-text { font-size: 1rem; line-height: 1.7; }
.feature-row .feature-text h3 { color: var(--accent); margin-bottom: 8px; }

/* ---------- Fancy box (Wohnungen selection) ---------- */
.fancy-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 48px 0;
}
@media (max-width: 800px) {
  .fancy-box-grid { grid-template-columns: 1fr; }
}

/* ---------- House selection cards ---------- */
.house-select-card {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.house-select-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.house-select-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.house-select-label {
  display: block;
  text-align: center;
  padding: 14px 0 10px;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fff;
}

.fancy-box {
  position: relative;
  display: block;
  min-height: 460px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  transition: transform .35s ease;
}
.fancy-box:hover { transform: translateY(-6px); }
.fancy-box::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
  transition: background .35s ease;
}
.fancy-box:hover::before {
  background: linear-gradient(to top, rgba(183,86,104,.85) 0%, rgba(183,86,104,.5) 60%, rgba(183,86,104,.3) 100%);
}
.fancy-box .label {
  position: absolute;
  left: 32px; bottom: 28px;
  z-index: 1;
}
.fancy-box .label h3 {
  color: var(--yellow);
  font-size: 2.4rem;
  margin: 0;
}

/* ---------- Apartment table (list_item rows) ---------- */
.apt-table {
  margin: 24px 0;
}
.apt-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 2fr 1.6fr;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.apt-row.header {
  padding-bottom: 12px;
  margin-bottom: 0;
  border-bottom: 2px solid rgba(255,255,255,.25);
}
.apt-row.header > div {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
}
.apt-row:last-child { border-bottom: none; }
.apt-row .col-1 { text-align: left; font-weight: 500; }
.apt-row .col-2 { text-align: right; }
.apt-row .col-3 { text-align: right; color: rgba(255,255,255,.75); }
.apt-row .col-4 { text-align: right; font-weight: 500; letter-spacing: 0.08em; font-size: 0.85rem; }
.apt-row.available .col-4 { color: var(--yellow); }
.apt-row.sold .col-4 { color: rgba(255,255,255,.4); }
.apt-row .download-link {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: .04em;
}
.apt-row .download-link:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .apt-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 4px;
    padding: 12px 0;
  }
  .apt-row .col-3, .apt-row .col-4 { text-align: left; }
  .apt-row.header { display: none; }
}

/* ---------- Download row (single-cta list) ---------- */
.download-table .apt-row {
  grid-template-columns: 3fr 1fr 1.5fr;
}
.download-table .apt-row .col-3 { text-align: right; }
.download-table .apt-row .download-link {
  border: 2px solid var(--yellow);
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}
.download-table .apt-row .download-link:hover {
  background: var(--yellow);
  color: var(--accent);
}

/* ---------- Contact icon cards ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 56px 0 80px;
  text-align: center;
  color: #fff;
}
.contact-cards .card {
  padding: 28px 16px;
}
.contact-cards .icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-size: 28px;
  transition: background .25s, color .25s;
}
.contact-cards a:hover .icon { background: var(--yellow); color: var(--accent); }
.contact-cards h4 { font-size: 1.2rem; margin: 0 0 12px; }
.contact-cards a { color: #fff; }
.contact-cards .card a:hover { color: var(--yellow); }
@media (max-width: 900px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ---------- Contact form card ---------- */
.form-card {
  background: #fff;
  border-radius: 8px;
  padding: 56px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  color: var(--text-dark);
  margin: 40px 0 -80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 3;
}
.form-card h3 { color: var(--accent); margin-bottom: 24px; }
.form-card form { display: grid; gap: 16px; }
.form-card .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-card .row-2 { grid-template-columns: 1fr; } .form-card { padding: 32px; } }
.form-card label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 6px; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d6d3c8;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text-dark);
  transition: border-color .2s, box-shadow .2s;
}
.form-card input:focus, .form-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(183,86,104,.15);
}
.form-card textarea { min-height: 140px; resize: vertical; }
.form-card .submit {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
  justify-self: start;
}
.form-card .submit:hover { background: var(--accent-dark); }
.form-card .checkbox-row {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.88rem; color: var(--text-muted);
}
.form-card .checkbox-row input { width: auto; margin-top: 4px; }

/* ---------- Footer banner (CTA stripe) ---------- */
.cta-stripe {
  background: var(--beige);
  padding: 60px 0;
  text-align: center;
}
.cta-stripe-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 24px;
}
.cta-stripe h5 {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}
.cta-stripe .cta-left { text-align: left; }
.cta-stripe .cta-center { text-align: center; font-weight: 500; }
.cta-stripe .cta-right { text-align: right; }
@media (max-width: 800px) {
  .cta-stripe-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-stripe .cta-left, .cta-stripe .cta-center, .cta-stripe .cta-right { text-align: center; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--accent-dark);
  color: #fff;
  padding: 56px 0 24px;
  font-size: 0.9rem;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 800px) { .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-footer h6 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--yellow); }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.site-footer .legal a { color: rgba(255,255,255,.85); margin-left: 16px; }

/* ---------- Mobile nav ---------- */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    color: var(--text-dark);
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }
  .main-nav .phone-cta {
    margin-top: 12px;
    color: var(--accent) !important;
  }
}

/* ---------- Map embed ---------- */
.map-embed {
  margin: 40px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.map-embed iframe { display: block; width: 100%; height: 480px; border: 0; }

/* ---------- Legal / long-text pages ---------- */
.legal-page {
  padding: calc(var(--header-height) + 60px) 0 80px;
  background: var(--beige);
}
.legal-page .container { max-width: 820px; }

.legal-page h1 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1.25;
}
.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--accent-dark);
  line-height: 1.3;
}
.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-page ul,
.legal-page ol {
  margin: 8px 0 16px 20px;
  padding: 0;
}
.legal-page li {
  margin-bottom: 4px;
}

.legal-page a { color: var(--accent); }
.legal-page strong { font-weight: 700; }

.legal-page table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem; }
.legal-page th, .legal-page td { border: 1px solid #d6d3c8; padding: 10px 14px; text-align: left; vertical-align: top; line-height: 1.6; }
.legal-page th { background: rgba(183,86,104,.08); }

@media (max-width: 600px) {
  .legal-page h1 { font-size: 1.6rem; }
  .legal-page h2 { font-size: 1.15rem; }
  .legal-page h3 { font-size: 1rem; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.9);
}
.lightbox-img {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1;
  font-family: sans-serif;
  line-height: 1;
}
.lightbox-close {
  top: 20px; right: 24px;
  font-size: 2.4rem;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 8px 16px;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--yellow); }

/* ---------- Anim-in (fade-up) ---------- */
.anim-in { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.anim-in.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Scribble underline (SVG via data URI) ---------- */
.highlight-heading em::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 30' preserveAspectRatio='none'><path d='M5 22 Q 75 6 150 18 T 295 16 T 440 18 T 595 12' stroke='%23b75668' stroke-width='6' fill='none' stroke-linecap='round'/></svg>");
}
.highlight-heading.scribble-yellow em::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 30' preserveAspectRatio='none'><path d='M5 22 Q 75 6 150 18 T 295 16 T 440 18 T 595 12' stroke='%23fcea19' stroke-width='6' fill='none' stroke-linecap='round'/></svg>");
}

/* ---------- Page-eckdaten heading underline (yellow) ---------- */
.eckdaten-heading {
  text-align: center;
  position: relative;
}
.eckdaten-heading::after {
  content: '';
  display: block;
  width: 100px; height: 4px;
  background: var(--yellow);
  margin: 28px auto 0;
}

/* ---------- Custom hero subheading ---------- */
.hero-subtitle {
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}

/* ---------- White divider for accent sections ---------- */
section.row.accent .divider-small { background: var(--yellow); }

/* ---------- Tischlerei "3 Schritte" cards ---------- */
.step-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1000px;
  margin: 56px auto 24px;
}
@media (min-width: 800px) {
  .step-cards-grid { gap: 56px; }
}
.step-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: rgba(255,255,255,.96);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}
.step-card:nth-child(even) .step-card-img { order: 2; }
@media (max-width: 700px) {
  .step-card { grid-template-columns: 1fr; }
  .step-card:nth-child(even) .step-card-img { order: 0; }
}
.step-card-img { background: #f5f3eb; }
.step-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 240px;
}
.step-card-body {
  padding: 36px 36px 32px;
  display: flex; flex-direction: column;
  justify-content: center;
  color: var(--text-dark);
}
.step-card-body .step-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: .18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.step-card-body .step-title {
  margin: 0 0 18px;
  font-size: 1.6rem;
  color: var(--accent);
}
.step-card-body .step-title em { font-style: italic; }
.step-card-body .step-desc p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Make sure accent rows show step cards on light background */
section.row.beige .step-card { background: #fff; }

/* ---------- Tischlerei furniture categories ---------- */
.furniture-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin: 32px 0 16px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-dark);
}
.furniture-cats span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.furniture-cats span::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

/* ---------- Lage "In der Nähe" distance list ---------- */
.distance-list {
  max-width: 800px;
  margin: 40px auto;
}
.distance-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.distance-row:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.distance-row .place h4 {
  color: var(--white);
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 500;
}
.distance-row .place p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,.78);
}
.distance-row .time {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--yellow);
  white-space: nowrap;
}

/* ---------- Wohnungs-Typen (Beispielgrundrisse) ---------- */
.apt-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 0 24px;
}
@media (max-width: 800px) {
  .apt-types { grid-template-columns: 1fr; }
}
.apt-type-card {
  background: #fff;
  border-radius: 6px;
  padding: 28px 28px 20px;
}
.apt-type-card h4 {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 0 0 8px;
}
.apt-type-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.apt-type-card dl {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 6px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #e8e5dc;
  font-size: 0.9rem;
}
.apt-type-card dt { color: var(--text-muted); }
.apt-type-card dd { margin: 0; color: var(--text-dark); font-weight: 500; }
.apt-type-ref {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}


