/* ============================================================
   Living Moments UG — Hauptstylesheet
   Design Guide: /DESIGN_GUIDE.md
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Farben */
  --gold:         #C9A96E;
  --gold-light:   #E8D5B0;
  --gold-dark:    #A8843E;
  --cream:        #F0EDE8;
  --cream-dark:   #E5E0D8;
  --noir:         #1A1A1A;
  --noir-soft:    #252525;
  --noir-light:   #333333;
  --text-dark:    #2C2C2C;
  --text-muted:   #5E5E5E;
  --white:        #FFFFFF;

  /* Typografie */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --text-hero:   clamp(2.75rem, 5.5vw, 5rem);
  --text-h1:     clamp(2rem, 4vw, 3.25rem);
  --text-h2:     clamp(1.5rem, 2.5vw, 2rem);
  --text-h3:     clamp(1.1rem, 1.8vw, 1.4rem);
  --text-body:   1rem;
  --text-small:  0.875rem;
  --text-label:  0.72rem;

  --tracking-brand: 0.3em;
  --tracking-nav:   0.15em;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --max-w:     1280px;
  --gutter:    clamp(1.5rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { text-wrap: balance; }

/* --- Utility --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip-to-content link (keyboard accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  background: var(--gold);
  color: var(--noir);
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: var(--space-md); }

.divider {
  width: 40px; height: 1px;
  background: var(--gold);
  margin: var(--space-sm) 0;
}

.divider--center { margin: var(--space-sm) auto; }

.section-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: var(--tracking-brand);
  text-transform: uppercase;
  color: var(--gold-dark);
  display: block;
  margin-bottom: var(--space-xs);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 2.25rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-label);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  border-radius: 1px;
}

.btn-light {
  color: var(--text-dark);
}
.btn-light:hover {
  background: var(--gold);
  color: var(--noir);
}

.btn-gold {
  background: var(--gold);
  color: var(--noir);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--noir);
}

.btn-dark {
  color: var(--white);
}
.btn-dark:hover {
  background: var(--gold);
  color: var(--noir);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border-bottom: 1px solid rgba(201,169,110,0.35);
  transition: border-color 0.35s ease;
}

.nav--scrolled {
  border-bottom-color: rgba(201,169,110,0.6);
}

/* Logo + Brand links gruppiert */
.nav__left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--space-md);
  text-decoration: none;
}

.nav__logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav__brand {
  font-family: 'Josefin Sans', var(--font-sans), sans-serif;
  font-weight: 100;
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--noir);
  user-select: none;
  border-left: 1px solid var(--gold);
  padding-left: var(--space-md);
}

/* Logo-Fallback wenn kein Bild vorhanden */
.nav__logo-text {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.85rem;
  letter-spacing: var(--tracking-brand);
  text-transform: uppercase;
  color: var(--text-dark);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

/* Nav Items */
.nav__item {
  position: relative;
  list-style: none;
}

.nav__link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-label);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  color: var(--text-dark);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover { color: var(--gold); }
.nav__link[aria-current="page"] {
  color: var(--gold-dark);
  font-weight: 400;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.nav__link--cta { border: 1px solid var(--gold); padding: 0.4rem 1.25rem; color: var(--text-dark); }
.nav__link--cta:hover { background: var(--gold); color: var(--noir); }
.nav__link--cta[aria-current="page"] { border-bottom: none; padding-bottom: 0.4rem; }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--cream);
  border: 1px solid var(--gold-light);
  border-top: 2px solid var(--gold);
  min-width: 195px;
  display: none;
  flex-direction: column;
  z-index: 200;
  /* Padding-top creates hover bridge — no gap between trigger and menu */
  padding: 0.5rem 0 0.4rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  list-style: none;
}

/* Invisible bridge fills any sub-pixel gap */
.nav__item--dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown { display: flex; }

.nav__dropdown-link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 0.6rem 1.25rem;
  display: block;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  white-space: nowrap;
}

.nav__dropdown-link:hover {
  background: var(--cream-dark);
  color: var(--gold-dark);
  padding-left: 1.6rem;
}

/* Dropdown arrow indicator */
.nav__item--dropdown > .nav__link::after {
  content: ' ↓';
  font-size: 0.55rem;
  opacity: 0.5;
  vertical-align: middle;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--noir);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.nav__mobile-menu.open { display: flex; }

.nav__mobile-link {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-h2);
  color: var(--white);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.nav__mobile-link--sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
}

.nav__mobile-link:hover,
.nav__mobile-link--sub:hover { color: var(--gold); }

@media (max-width: 767px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__logo { gap: var(--space-sm); }
  .nav__logo img { height: 30px; }
  .nav__brand { font-size: 0.6rem; letter-spacing: 0.15em; padding-left: var(--space-sm); white-space: nowrap; }
}

/* --- About Split (Über mich) --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-split__half {
  padding: var(--space-xl) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-split__half--immo {
  background: var(--cream);
  color: var(--text-dark);
}

.about-split__half--events {
  background: var(--noir);
  color: var(--white);
}

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
}

/* --- Hero: Split-Screen --- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.hero__half {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(75px + var(--space-xl)) var(--gutter) var(--space-xl);
  min-height: 100vh;
}

.hero__half--immo {
  background: var(--cream);
  color: var(--text-dark);
}

.hero__half--events {
  background: var(--noir);
  color: var(--white);
}

/* Goldene Trennlinie */
.hero::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}

.hero__content {
  max-width: 480px;
  width: 100%;
  text-align: center;
  align-items: center;
}

.hero__half {
  align-items: center;
}

.hero__half--events .hero__content {
  margin-left: auto;
  margin-right: auto;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: var(--text-label);
  letter-spacing: var(--tracking-brand);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.hero__heading {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-hero);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.hero__heading em {
  font-style: italic;
  color: var(--gold);
}

.hero__subline {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.hero__half--events .hero__subline { color: rgba(255,255,255,0.75); }

@media (max-width: 767px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .hero::after { display: none; }
  .hero__half {
    min-height: 0;
    padding: 5.5rem var(--gutter) var(--space-xs);
  }
  .hero__half--events {
    padding: var(--space-sm) var(--gutter) var(--space-xs);
  }
  .hero__half--events .hero__content { margin-left: 0; }
}

/* --- Section Allgemein --- */
.section {
  padding: var(--space-xl) 0;
}

.section--dark {
  background: var(--noir);
  color: var(--white);
}

.section--cream {
  background: var(--cream);
}

.section--cream-dark {
  background: var(--cream-dark);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-h1);
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.section__lead {
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

.section--dark .section__lead { color: rgba(255,255,255,0.65); }
.section--dark .section-label,
[style*="background: var(--noir"] .section-label,
[style*="background: var(--noir-soft"] .section-label { color: var(--gold); }

/* --- Leistungen: Zwei Spalten --- */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.services-col {
  padding: var(--space-xl) var(--gutter);
}

.services-col--immo { background: var(--cream); }
.services-col--events { background: var(--noir); color: var(--white); }

.services-col__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-h2);
  margin-bottom: var(--space-md);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.services-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-weight: 300;
  line-height: 1.5;
}

.services-list__item::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1em;
}

@media (max-width: 767px) {
  .services-split { grid-template-columns: 1fr; }
}

/* --- Über mich Preview --- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
}

.about-preview__image {
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-preview__image-placeholder {
  width: 80px; height: 80px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.5;
}

.about-preview__image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.about-preview__text { }

.about-preview__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-h3);
  line-height: 1.6;
  color: var(--gold);
  margin: var(--space-sm) 0 var(--space-md);
}

@media (max-width: 767px) {
  .about-preview { grid-template-columns: 1fr; }
  .about-preview__image { aspect-ratio: 4/3; }
}

/* --- VERKAUFT Showcase --- */
.verkauft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.verkauft-card {
  border: 1px solid var(--gold-light);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.verkauft-card:hover { border-color: var(--gold); }

.verkauft-card__image {
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  overflow: hidden;
}

.verkauft-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.verkauft-card:hover .verkauft-card__image img { transform: scale(1.03); }

.verkauft-card__body {
  padding: var(--space-sm) var(--space-md);
}

.verkauft-card__badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: var(--tracking-brand);
  text-transform: uppercase;
  color: var(--noir);
  border: 1px solid var(--gold);
  padding: 0.2rem 0.6rem;
  margin-bottom: var(--space-xs);
}

.verkauft-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.verkauft-card__meta {
  font-size: var(--text-small);
  color: var(--text-muted);
  font-weight: 300;
}

/* --- Aktuelle Listings --- */
.listings-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.listing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--gold-light);
  transition: border-color 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.listing-item:hover {
  border-color: var(--gold);
  background: var(--cream-dark);
}

.listing-item__info { }

.listing-item__title {
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.listing-item__meta {
  font-size: var(--text-small);
  color: var(--text-muted);
  font-weight: 300;
}

.listing-item__link {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: var(--text-label);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: var(--space-md);
  transition: color 0.2s ease;
}

.listing-item__link:hover { color: var(--gold-dark); }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.25);
  padding: var(--space-lg);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  width: 100%;
  color: inherit;
  font-family: inherit;
  border-radius: 1px;
}

.testimonial-card:hover,
.testimonial-card:focus-visible {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,169,110,0.6);
  transform: translateY(-3px);
  outline: none;
}

.testimonial-card__mark {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.7;
}

.testimonial-card__pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gold-light);
  font-weight: 300;
}

.testimonial-card__preview {
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.testimonial-card__footer {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-sm);
}

.testimonial-card__name {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.testimonial-card__role {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-top: 0.15rem;
}

.testimonial-card__cta {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.testimonial-card:hover .testimonial-card__cta {
  color: var(--gold-light);
}

/* --- Testimonials Carousel --- */
.testimonials-carousel {
  margin-top: var(--space-xl);
}

.testimonials-carousel__track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-carousel__track::-webkit-scrollbar {
  display: none;
}

.testimonials-carousel__track .testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-lg) * 2 / 3);
  scroll-snap-align: start;
  min-width: 260px;
}

@media (max-width: 900px) {
  .testimonials-carousel__track .testimonial-card {
    flex: 0 0 calc(50% - var(--space-lg) / 2);
  }
}

@media (max-width: 560px) {
  .testimonials-carousel__track .testimonial-card {
    flex: 0 0 min(360px, calc(100% - 1rem));
  }
}

.testimonials-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.testimonials-carousel__btn {
  background: none;
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 1px;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.testimonials-carousel__btn:hover:not(:disabled) {
  background: rgba(201,169,110,0.1);
  border-color: rgba(201,169,110,0.6);
}

.testimonials-carousel__btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.testimonials-carousel__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.testimonials-carousel__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(201,169,110,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials-carousel__dot--active,
.testimonials-carousel__dot:hover {
  background: var(--gold);
  transform: scale(1.4);
}

/* Testimonial Modal */
.testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.testimonial-modal[hidden] { display: none; }

.testimonial-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.testimonial-modal__panel {
  position: relative;
  background: var(--noir-soft);
  border: 1px solid rgba(201,169,110,0.3);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-xl) calc(var(--space-xl) + var(--space-md));
  border-radius: 1px;
}

.testimonial-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  transition: color 0.2s ease;
}

.testimonial-modal__close:hover { color: var(--white); }

.testimonial-modal__pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(201,169,110,0.2);
}

.testimonial-modal__body p {
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin-bottom: var(--space-md);
}

.testimonial-modal__author {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.testimonial-modal__author span {
  display: block;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

/* --- Tippgeber --- */
.tippgeber {
  padding: var(--space-lg) var(--gutter);
  border: 1px solid var(--gold-light);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.tippgeber__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-h2);
  margin-bottom: var(--space-sm);
}

.tippgeber__text {
  font-weight: 300;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto var(--space-md);
}

/* --- Calendly --- */
.calendly-wrapper {
  background: var(--cream-dark);
  padding: var(--space-lg) var(--gutter);
  text-align: center;
}

.calendly-wrapper h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-h2);
  margin-bottom: var(--space-xs);
}

.calendly-wrapper p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-weight: 300;
}

/* Calendly Embed Container */
.calendly-inline-widget {
  min-width: 320px;
  height: 650px;
}

/* --- Kontakt --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Contact Rows */
.contact-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.contact-rows {
  border-top: 1px solid rgba(201,169,110,0.3);
  margin-bottom: var(--space-md);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a.contact-row:hover {
  transform: translateX(0.5rem);
  border-bottom-color: var(--gold);
  background: rgba(201,169,110,0.05);
}

.contact-row__label {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: var(--tracking-brand);
  text-transform: uppercase;
  color: var(--gold);
  min-width: 90px;
  flex-shrink: 0;
}

.contact-row__value {
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  flex: 1;
}

.contact-row__arrow {
  color: var(--gold);
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

a.contact-row:hover .contact-row__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Form – dark variant */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,169,110,0.35);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  color: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease;
  border-radius: 1px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.contact-form select {
  cursor: pointer;
  color: rgba(255,255,255,0.35);
}

.contact-form select.has-value,
.contact-form select:focus {
  color: var(--white);
}

.contact-form select option {
  background: var(--noir);
  color: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
  background: rgba(201,169,110,0.05);
}

.contact-form textarea { min-height: 100px; resize: vertical; }

.contact-form .btn {
  width: 100%;
  padding: 1rem;
  letter-spacing: var(--tracking-brand);
}

@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --- Footer --- */
.footer {
  background: var(--noir);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__brand-name {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.8rem;
  letter-spacing: var(--tracking-brand);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-size: var(--text-small);
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: var(--text-label);
  letter-spacing: var(--tracking-brand);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  font-size: var(--text-small);
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  transition: color 0.2s ease;
}

.footer__link:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(201,169,110,0.2);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-size: var(--text-small);
  color: rgba(255,255,255,0.4);
  font-weight: 200;
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* --- Impressum / Datenschutz --- */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--space-xl) + 4rem) var(--gutter) var(--space-xl);
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-h1);
  margin-bottom: var(--space-lg);
}

.legal-page h2 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: var(--space-md) 0 var(--space-xs);
  color: var(--gold);
}

.legal-page p, .legal-page address {
  font-weight: 300;
  margin-bottom: var(--space-sm);
  font-style: normal;
  line-height: 1.8;
}

.legal-page a { color: var(--gold); }
.legal-page a:hover { text-decoration: underline; }

/* --- Page Header (Unterseiten) --- */
.page-header {
  padding: calc(var(--space-xl) + 4rem) var(--gutter) var(--space-lg);
  text-align: center;
}

.page-header--immo {
  background: var(--cream);
  padding-bottom: var(--space-md);
}

/* --- Immobilien Photo Gallery --- */
.immo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 290px;
  gap: 3px;
  line-height: 0;
  background: var(--noir);
}

.immo-gallery__item {
  overflow: hidden;
  position: relative;
}

.immo-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94);
}

.immo-gallery__item:hover img {
  transform: scale(1.05);
}

/* --- Immobilien Stats Strip --- */
.immo-stats {
  display: flex;
  justify-content: center;
  background: var(--noir);
  border-top: 1px solid rgba(201,169,110,0.2);
  flex-wrap: wrap;
}

.immo-stats__item {
  flex: 1;
  min-width: 140px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.immo-stats__item:last-child { border-right: none; }

.immo-stats__number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}

.immo-stats__label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
}
.page-header--events { background: var(--noir); color: var(--white); }
.page-header--about {
  background: var(--gold);
  color: var(--noir);
  padding-bottom: var(--space-sm);
}
.page-header--about .page-header__lead { color: rgba(26,26,26,0.7); }
.page-header--about .section-label { color: var(--noir); opacity: 0.6; }

/* Gold section (Kontakt-Seite, etc.) */
.section--gold {
  background: var(--gold);
  color: var(--noir);
}
.section--gold .section-label { color: var(--noir); opacity: 0.65; }
.section--gold .section__title { color: var(--noir); }
.section--gold .section__lead { color: rgba(26,26,26,0.7); }

/* Scroll-Offset für fixe Navigation (85px) */
section[id], h2[id] {
  scroll-margin-top: 85px;
}

/* Placeholder-Farbe in hellen/goldenen Formularen */
.section--gold input::placeholder,
.section--gold textarea::placeholder,
.section--gold select,
.section--cream input::placeholder,
.section--cream textarea::placeholder,
.section--cream select,
.section--cream-dark input::placeholder,
.section--cream-dark textarea::placeholder,
.section--cream-dark select {
  color: rgba(26,26,26,0.5);
}
.section--gold input,
.section--gold textarea,
.section--cream input,
.section--cream textarea,
.section--cream-dark input,
.section--cream-dark textarea {
  color: var(--noir);
  border-color: rgba(26,26,26,0.2);
  background: rgba(26,26,26,0.03);
}
.section--cream select.has-value,
.section--cream select:focus,
.section--cream-dark select.has-value,
.section--cream-dark select:focus {
  color: var(--noir);
}
.section--cream select option,
.section--cream-dark select option {
  background: var(--white);
  color: var(--noir);
}

/* Hero: Buttons nie umbrechen */
.hero__content .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.page-header__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-h1);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.page-header__lead {
  font-weight: 300;
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
}

.page-header--events .page-header__lead { color: rgba(255,255,255,0.65); }

/* --- Smooth Transitions --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Listing Cards — dynamisch geladen von /assets/data/listings.json
   ============================================================ */

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.listing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gold-light);
  padding: 2rem var(--space-md) var(--space-md);
  text-decoration: none;
  color: inherit;
  position: relative;
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.listing-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.07);
}

.listing-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gold);
  color: var(--noir);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
}

.listing-card__location {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.listing-card__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  flex: 1;
}

.listing-card__price {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--noir);
  margin-bottom: 0.3rem;
}

.listing-card__meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: var(--space-md);
}

.listing-card__cta {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.listing-card:hover .listing-card__cta { color: var(--gold); }

.listings-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: right;
  margin-bottom: var(--space-md);
  letter-spacing: 0.04em;
}

.listings-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-xl) 0;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

.listings-loading a { color: var(--gold-dark); }

.listing-card__badge--sold {
  background: var(--noir);
  color: var(--gold);
}

.listing-card--sold {
  background: var(--cream-dark);
  cursor: default;
}

.listing-card--sold:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--gold-light);
}

.listing-card--reserved {
  padding-top: 3rem;
  background: var(--cream-dark);
  opacity: 0.82;
}

.listing-card--reserved:hover {
  opacity: 1;
}

.listing-card__badge--reserved {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--noir);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem var(--space-md);
}

/* ============================================================
   Responsive Grid-Helfer (ersetzt Inline-Styles)
   ============================================================ */
.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.col-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* ============================================================
   Mobile — iPhone 16 / 393px
   ============================================================ */
@media (max-width: 767px) {

  /* Nav: dünnere Hamburger-Linien sichtbarer machen */
  .nav__hamburger {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }

  .nav__hamburger span {
    height: 2px;
    width: 22px;
  }

  /* Hero: Buttons nebeneinander, gleichmäßig aufgeteilt */
  .hero__content > div {
    flex-direction: row !important;
    width: 100%;
    gap: var(--space-xs);
  }

  .hero__content .btn {
    flex: 1;
    text-align: center;
    white-space: normal;
    font-size: 0.6rem;
    padding: 0.65rem 0.5rem;
  }

  /* Hero: Subline kürzer halten */
  .hero__subline {
    font-size: 0.95rem;
  }

  /* Section-Label: engeres Letter-Spacing auf schmalen Screens */
  .section-label {
    letter-spacing: 0.15em;
  }

  /* Page Header: weniger Padding */
  .page-header {
    padding: calc(var(--space-xl) + 3rem) var(--gutter) var(--space-md);
  }

  /* Sections: etwas weniger Vertical-Padding */
  .section {
    padding: var(--space-lg) 0;
  }

  /* Responsive Grids: alle auf 1 Spalte */
  .col-2,
  .col-3,
  .form-row {
    grid-template-columns: 1fr;
  }

  .col-2 { gap: var(--space-lg); }

  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Listing Items: Link unter den Text */
  .listing-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    padding: var(--space-sm);
  }

  .listing-item__link {
    margin-left: 0;
    font-size: 0.7rem;
  }

  /* Tippgeber Box */
  .tippgeber {
    padding: var(--space-md) var(--space-sm);
  }

  /* About Split Half */
  .about-split__half {
    padding: var(--space-lg) var(--gutter);
  }

  /* Empfehlung Modal */
  #empfehlung-modal > div {
    padding: var(--space-lg) var(--space-md);
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Testimonials: single col auf sehr engen Screens */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Verkauft Grid */
  .verkauft-grid {
    grid-template-columns: 1fr;
  }

  /* Immobilien Gallery */
  .immo-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
  }
  .immo-stats__item { min-width: 120px; }
}

/* --- Bewertungs-Funnel --- */
.funnel-progress {
  margin-bottom: var(--space-lg);
}

.funnel-progress__bar {
  height: 2px;
  background: rgba(26,26,26,0.08);
  overflow: hidden;
}

.funnel-progress__fill {
  height: 100%;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.funnel-progress__label {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.7rem;
  letter-spacing: var(--tracking-brand);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.funnel-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.funnel-type-card {
  border: 1px solid var(--gold-light);
  background: transparent;
  padding: var(--space-md) var(--space-sm);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: center;
  letter-spacing: 0.02em;
}

.funnel-type-card:hover {
  border-color: var(--gold);
  background: rgba(201,169,110,0.07);
}

.funnel-type-card.is-selected {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--noir);
}

.funnel-nav {
  display: flex;
  align-items: center;
  margin-top: var(--space-lg);
  gap: var(--space-sm);
}

/* Premium underline inputs */
#bewertungs-form input:not([type="checkbox"]),
#bewertungs-form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid rgba(26,26,26,0.18);
  background: transparent;
  padding: 0.9rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

#bewertungs-form input:not([type="checkbox"]):focus,
#bewertungs-form select:focus {
  border-bottom-color: var(--gold);
}

#bewertungs-form input::placeholder {
  color: rgba(26,26,26,0.28);
  font-weight: 200;
}

#bewertungs-form input[type="checkbox"] {
  accent-color: var(--gold);
}

#bewertungs-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8843E' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 1.5rem;
}

/* Adresse-Autocomplete */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-top: none;
  z-index: 200;
  max-height: 210px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.autocomplete-item {
  padding: 0.7rem 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-dark);
  cursor: pointer;
  border-bottom: 1px solid rgba(26,26,26,0.05);
  transition: color 0.15s ease;
  line-height: 1.4;
}

.autocomplete-item:hover,
.autocomplete-item[aria-selected="true"] {
  color: var(--noir);
  font-weight: 400;
}

.autocomplete-item:last-child { border-bottom: none; }

@media (max-width: 480px) {
  .funnel-type-grid { grid-template-columns: 1fr; }
}
