/* ============================================================
   REM Homepage V5 — Premium Real Estate Style
   Helles cremiges Design · Serif Headlines · Modern & seriös
   ============================================================ */

:root {
  --bg: #FAFAF7;
  --bg-card: #FFFFFF;
  --bg-warm: #F2EDE4;
  --bg-dark: #1A1A1A;
  --text: #1A1A1A;
  --text-soft: #555;
  --text-light: #888;
  --line: #E5E1D7;
  --accent: #b0d528;
  --accent-dark: #8eb01e;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* === NAVIGATION === */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.nav-logo { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.nav-logo .gmbh { font-size: 11px; vertical-align: super; font-weight: 400; color: var(--text-light); letter-spacing: 0.1em; margin-left: 4px; }
.nav-menu { display: none; gap: 28px; list-style: none; }
.nav-menu a { font-size: 14px; color: var(--text-soft); transition: color .2s; padding: 6px 0; position: relative; }
.nav-menu a:hover { color: var(--text); }
.nav-menu a.active { color: var(--text); }
.nav-menu a.active::after { content: ""; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px; background: var(--text); }
.nav-cta { padding: 10px 22px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 500; border-radius: 100px; transition: background .2s; display: none; }
.nav-cta:hover { background: var(--text-soft); }
.nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); transition: all .3s; }
.nav-mobile { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 20px 24px; z-index: 99; max-height: calc(100vh - 70px); overflow-y: auto; }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 14px 0; color: var(--text); font-size: 16px; border-bottom: 1px solid var(--line); }
.nav-mobile a:last-child { border: none; }

@media (min-width: 1024px) {
  .nav-menu { display: flex; }
  .nav-cta { display: inline-block; }
  .nav-burger { display: none; }
  .nav-inner { padding: 0 40px; }
}

/* === BUTTONS === */
.btn-primary { padding: 16px 32px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500; border-radius: 100px; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--text); cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: transparent; color: var(--text); }
.btn-text { font-size: 14px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--text); padding-bottom: 4px; transition: gap .2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-text:hover { gap: 12px; }
.btn-accent { background: var(--accent); color: var(--text); padding: 16px 32px; font-size: 14px; font-weight: 500; border-radius: 100px; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--accent); cursor: pointer; font-family: inherit; }
.btn-accent:hover { background: var(--accent-dark); color: white; border-color: var(--accent-dark); }
.btn-outline { padding: 16px 32px; background: transparent; color: var(--text); border: 1px solid var(--text); font-size: 14px; font-weight: 500; border-radius: 100px; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { background: var(--text); color: var(--bg); }

/* === SHARED SECTION STYLES === */
.section { padding: 80px 24px; max-width: 1280px; margin: 0 auto; }
@media (min-width: 1024px) { .section { padding: 120px 40px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-soft); margin-bottom: 24px; letter-spacing: 0.04em; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--text); }

h1, h2, h3, h4 { color: var(--text); }
h1.display, h2.display { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
h1.display em, h2.display em { font-style: italic; font-weight: 500; }

h1.display { font-size: 38px; }
h2.display { font-size: 32px; }
@media (min-width: 700px) {
  h1.display { font-size: 48px; }
  h2.display { font-size: 38px; }
}
@media (min-width: 1024px) {
  h1.display { font-size: 60px; line-height: 1.15; }
  h2.display { font-size: 44px; }
}

.lead { font-size: 18px; line-height: 1.6; color: var(--text-soft); max-width: 720px; }
@media (min-width: 700px) { .lead { font-size: 19px; } }

/* === HERO === */
.hero { padding: 60px 24px 50px; max-width: 1280px; margin: 0 auto; }
@media (min-width: 1024px) { .hero { padding: 80px 40px 60px; } }
.hero h1 {
  max-width: 1100px;
  margin: 0 auto 32px;
  text-align: center;
}
.hero-sub { max-width: 620px; margin-bottom: 40px; }
.hero-cta-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

.hero-image-wrap { max-width: 1280px; margin: 0 auto 80px; padding: 0 24px; }
@media (min-width: 1024px) { .hero-image-wrap { padding: 0 40px; margin-bottom: 100px; } }
.hero-image {
  width: 100%; aspect-ratio: 16/8;
  background-size: cover; background-position: center;
  border-radius: 4px;
  position: relative;
}
.hero-image-caption {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  color: white;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* === STATS BAR === */
.stats-bar {
  max-width: 1280px; margin: 0 auto 80px;
  padding: 0 24px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .stats-bar { padding: 0 40px; margin-bottom: 100px; } }
.stat-item { padding: 32px 20px; border-right: 1px solid var(--line); }
.stat-item:nth-child(2n) { border-right: none; }
@media (min-width: 700px) {
  .stat-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat-item:last-child { border-right: none; }
  .stat-item { padding: 40px 28px; }
}
.stat-num { font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1; margin-bottom: 8px; }
@media (min-width: 1024px) { .stat-num { font-size: 48px; } }
.stat-lbl { font-size: 13px; color: var(--text-soft); letter-spacing: 0.04em; }

/* === ÜBER / ABOUT === */
.about-wrap { background: var(--bg-warm); padding: 80px 0; }
@media (min-width: 1024px) { .about-wrap { padding: 120px 0; } }
.about { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; padding: 0 40px; } }
.about-text h2 { margin-bottom: 28px; }
.about-text p { font-size: 16px; line-height: 1.75; color: var(--text-soft); margin-bottom: 18px; }
@media (min-width: 700px) { .about-text p { font-size: 17px; } }
.about-text p strong { color: var(--text); font-weight: 500; }
.team-cards { display: flex; flex-direction: column; gap: 16px; }
.team-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; transition: transform .3s; }
.team-card:hover { transform: translateY(-2px); }
.team-head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.team-initials {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--text); color: var(--bg);
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.team-name { font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--text-soft); }
.team-details { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-soft); }
.team-details a { transition: color .2s; }
.team-details a:hover { color: var(--accent-dark); }

/* === 3 PILLARS === */
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 60px; }
@media (min-width: 700px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 36px 32px; display: flex; flex-direction: column; transition: all .3s; }
.pillar:hover { transform: translateY(-3px); border-color: var(--text); }
.pillar-num { font-family: var(--serif); font-size: 14px; color: var(--text-soft); margin-bottom: 36px; letter-spacing: 0.04em; }
.pillar h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 16px; line-height: 1.2; }
.pillar-desc { font-size: 15px; color: var(--text-soft); line-height: 1.65; margin-bottom: 24px; flex-grow: 1; }
.pillar-features { list-style: none; margin-bottom: 28px; }
.pillar-features li { font-size: 14px; color: var(--text-soft); padding: 6px 0 6px 18px; position: relative; }
.pillar-features li::before { content: "→"; position: absolute; left: 0; color: var(--text); }
.pillar-link { font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--text); padding-bottom: 4px; align-self: flex-start; transition: gap .2s; display: inline-flex; gap: 6px; }
.pillar-link:hover { gap: 12px; }

/* === TOKEN-DUNKEL === */
.token-wrap { background: var(--bg-dark); color: white; padding: 80px 0; }
@media (min-width: 1024px) { .token-wrap { padding: 120px 0; } }
.token-section { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .token-section { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; padding: 0 40px; } }
.token-wrap .eyebrow { color: rgba(255,255,255,0.6); }
.token-wrap .eyebrow::before { background: var(--accent); }
.token-wrap h2 { color: white; margin-bottom: 24px; }
.token-wrap h2 em { color: var(--accent); }
.token-wrap p { color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
@media (min-width: 700px) { .token-wrap p { font-size: 17px; } }
.token-wrap p strong { color: var(--accent); font-weight: 500; }
.token-cta { margin-top: 32px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.token-wrap .btn-text { color: white; border-bottom-color: rgba(255,255,255,0.5); }

.token-stats { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 32px; }
@media (min-width: 700px) { .token-stats { padding: 36px; } }
.token-stats-head { font-size: 12px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px; }
.token-stat { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.token-stat:last-child { border: none; padding-bottom: 0; }
.token-stat:first-of-type { padding-top: 0; }
.token-stat-lbl { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; margin-bottom: 6px; text-transform: uppercase; }
.token-stat-val { font-family: var(--serif); font-size: 26px; font-weight: 500; color: white; line-height: 1.1; }
@media (min-width: 700px) { .token-stat-val { font-size: 30px; } }
.token-stat-val em { color: var(--accent); font-style: normal; }
.token-stat-note { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* === KONTAKT CTA === */
.contact-cta { text-align: center; padding: 100px 24px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 1024px) { .contact-cta { padding: 140px 40px; } }
.contact-cta .eyebrow { justify-content: center; }
.contact-cta h2 { margin-bottom: 24px; }
.contact-cta p { font-size: 18px; color: var(--text-soft); max-width: 600px; margin: 0 auto 40px; line-height: 1.6; }
.contact-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* === PAGE HEADER (Subseiten) === */
.page-header { padding: 60px 24px 40px; max-width: 1280px; margin: 0 auto; }
@media (min-width: 1024px) { .page-header { padding: 80px 40px 50px; } }
.page-header h1 { max-width: 900px; margin-bottom: 24px; }
.page-header .lead { margin-bottom: 0; }

/* === CONTENT SECTIONS === */
.content { max-width: 900px; margin: 0 auto; padding: 0 24px 80px; }
@media (min-width: 1024px) { .content { padding: 0 40px 120px; } }
.content h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin: 60px 0 24px; letter-spacing: -0.02em; line-height: 1.2; }
.content h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 40px 0 16px; }
.content h4 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); margin: 32px 0 16px; }
.content p { font-size: 17px; line-height: 1.75; color: var(--text-soft); margin-bottom: 20px; }
.content p strong { color: var(--text); font-weight: 500; }
.content ul { list-style: none; margin-bottom: 24px; padding-left: 0; }
.content ul li { position: relative; padding: 10px 0 10px 28px; font-size: 16px; line-height: 1.7; color: var(--text-soft); border-bottom: 1px solid var(--line); }
.content ul li:last-child { border-bottom: none; }
.content ul li::before { content: ""; position: absolute; left: 0; top: 22px; width: 16px; height: 1px; background: var(--text); }

.info-box { background: var(--bg-warm); border-left: 3px solid var(--text); padding: 28px 32px; margin: 32px 0; border-radius: 0 8px 8px 0; }
.info-box.accent { border-left-color: var(--accent); background: rgba(176,213,40,0.08); }
.info-box h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--text); text-transform: none; letter-spacing: normal; margin-bottom: 12px; }
.info-box p { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 0; }

/* === CONTENT GRID === */
.content-grid { max-width: 1280px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .content-grid { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; padding: 100px 40px; } }
.content-grid .info-box { margin: 0; }

/* === KONTAKT FORM === */
.contact-form { max-width: 600px; margin: 40px 0 60px; }
.form-row { margin-bottom: 20px; }
.form-row-double { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label { display: block; font-size: 12px; color: var(--text-soft); margin-bottom: 8px; letter-spacing: 0.04em; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit; font-size: 15px;
  border-radius: 8px;
  transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--text); }
.form-row textarea { resize: vertical; min-height: 140px; }
.form-status { padding: 16px 20px; border-radius: 8px; margin-bottom: 24px; font-size: 15px; }
.form-status.success { background: rgba(176,213,40,0.15); border: 1px solid var(--accent); color: var(--text); }
.form-status.error { background: rgba(220,53,69,0.1); border: 1px solid #dc3545; color: #721c24; }

/* === PARTNER GRID === */
.partner-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
@media (min-width: 700px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
.partner-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 32px; transition: transform .3s; }
.partner-card:hover { transform: translateY(-2px); border-color: var(--text); }
.partner-card-num { font-family: var(--serif); font-size: 13px; color: var(--text-soft); margin-bottom: 24px; letter-spacing: 0.04em; }
.partner-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.partner-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; margin-bottom: 20px; }
.partner-card a { font-size: 13px; font-weight: 500; border-bottom: 1px solid var(--text); padding-bottom: 3px; }

/* === BALI PROJECTS === */
.bali-project { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 40px; margin-bottom: 24px; }
.bali-project h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin-bottom: 16px; }
.bali-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .bali-stats { grid-template-columns: repeat(3, 1fr); } }
.bali-stat-lbl { font-size: 11px; color: var(--text-soft); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.bali-stat-val { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.bali-stat-val em { color: var(--accent-dark); font-style: normal; }

/* === FOOTER === */
footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 80px 24px 40px; }
@media (min-width: 1024px) { footer { padding: 100px 40px 50px; } }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 50px; }
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand { font-family: var(--serif); font-size: 28px; font-weight: 500; color: white; margin-bottom: 16px; }
.footer-brand .gmbh { font-size: 12px; vertical-align: super; font-weight: 400; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; margin-left: 4px; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: white; margin-bottom: 18px; font-weight: 500; }
.footer-col a, .footer-col p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; display: block; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-fb { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 100px; font-size: 12px; }
.footer-fb:hover { background: rgba(176,213,40,0.15); border-color: var(--accent); color: var(--accent) !important; }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.4); display: flex; flex-direction: column; gap: 12px; align-items: center; }
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.6; margin-top: 12px; }

/* === PAGE BANNER (Bild oben auf Subseiten) === */
.page-banner {
  max-width: 1280px;
  margin: 0 auto 0;
  padding: 0 24px;
}
@media (min-width: 1024px) { .page-banner { padding: 0 40px; } }
.page-banner-img {
  width: 100%;
  aspect-ratio: 21/9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

/* === INLINE BILDER in Content === */
.content-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin: 40px 0;
}

/* === BALI PROJEKT mit Bild === */
.bali-project-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 32px;
}

/* === HERO IMAGE TRIER === */
.hero-image-credit {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.8);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* === TEAM AVATARE als Fotos (überschreibt Initialen) === */
.team-initials.photo {
  background-size: cover;
  background-position: center top;
  background-color: var(--bg-warm);
  color: transparent;
  font-size: 0;
}
