/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #14130f;
  --ink-2: #1c1a15;
  --ink-3: #26231c;
  --paper: #f7f4ef;
  --paper-2: #efe9dd;
  --champagne: #b89b6a;
  --champagne-light: #cfb888;
  --champagne-dim: rgba(184,155,106,0.35);
  --text: #1c1a15;
  --text-muted: #6b6558;
  --radius: 4px;
  --radius-lg: 2px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.02; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; text-transform: uppercase; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 500; }
.eyebrow {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--champagne);
  margin-bottom: 18px;
}

/* ===== CONTAINER ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 34px; border-radius: var(--radius); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent; transition: all 0.3s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--champagne); color: var(--ink); }
.btn-primary:hover { background: var(--champagne-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--paper); border-color: rgba(247,244,239,0.35); }
.btn-outline:hover { border-color: var(--champagne); color: var(--champagne); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-full { width: 100%; }
.btn-whatsapp { background: #25D366; color: #08210f; }
.btn-whatsapp:hover { background: #2fe375; }

/* ===== LOGO ===== */
.logo-link { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; object-fit: contain; background: var(--paper); border-radius: 4px; padding: 4px 8px; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 26px 0; transition: all 0.35s var(--ease);
}
#navbar.scrolled {
  background: rgba(20,19,15,0.92); padding: 16px 0;
  backdrop-filter: blur(14px); border-bottom: 1px solid rgba(184,155,106,0.15);
}
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { color: rgba(247,244,239,0.8); font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--champagne); }
.nav-cta { background: var(--champagne) !important; color: var(--ink) !important; padding: 11px 22px; border-radius: var(--radius); }
.nav-cta:hover { background: var(--champagne-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--paper); }

/* ===== MOBILE MENU ===== */
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--ink); z-index: 999; flex-direction: column; justify-content: center; align-items: center; }
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 22px 0; }
.mobile-menu a { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--paper); text-transform: uppercase; }
.mobile-menu a:hover { color: var(--champagne); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; will-change: transform; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,19,15,0.92) 0%, rgba(20,19,15,0.35) 45%, rgba(20,19,15,0.55) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 820px; padding: 120px 32px 100px; will-change: transform; }
h1.hero-h1 { color: var(--paper); margin-bottom: 26px; }
.hero-sub { color: rgba(247,244,239,0.75); font-size: 1.1rem; margin-bottom: 44px; max-width: 560px; }
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-tag { position: absolute; top: 130px; right: 32px; z-index: 1; color: rgba(247,244,239,0.55); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-down { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); color: rgba(247,244,239,0.5); z-index: 1; }
.scroll-down::before { content: ''; position: absolute; width: 40px; height: 40px; border-radius: 50%; background: rgba(184,155,106,0.15); top: -8px; left: 50%; transform: translateX(-50%); animation: pulse-ring 1.8s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: translateX(-50%) scale(1); opacity: 1; } 100% { transform: translateX(-50%) scale(1.6); opacity: 0; } }

/* ===== SECTIONS ===== */
.section { padding: 130px 0; }
.section-dark { background: var(--ink); }
.section-tint { background: var(--paper-2); }
.section-header { max-width: 640px; margin-bottom: 72px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark p { color: rgba(247,244,239,0.65); }
.section-sub { color: var(--text-muted); font-size: 1.05rem; margin-top: 16px; }

/* ===== PROMISE ===== */
.promise { text-align: center; }
.promise h2 { margin-bottom: 20px; }
.promise-sub { max-width: 620px; margin: 0 auto 56px; color: rgba(247,244,239,0.65); font-size: 1.1rem; }
.trade-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 48px; }
.trade-pill { border: 1px solid rgba(184,155,106,0.35); color: var(--champagne); font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 12px 22px; border-radius: 30px; }
.promise-line { color: rgba(247,244,239,0.85); font-size: 1.05rem; margin-bottom: 40px; font-family: 'Fraunces', serif; font-style: italic; }

/* ===== BADWELTEN ===== */
.badwelten-pin { position: relative; height: 380vh; background: var(--ink); }
.badwelten-viewport { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.badwelt-panel { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; }
.badwelt-panel .bw-image { position: relative; overflow: hidden; }
.badwelt-panel .bw-image img { width: 100%; height: 100%; object-fit: cover; }
.badwelt-panel .bw-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,15,0.15) 0%, transparent 30%); }
.bw-text { display: flex; flex-direction: column; justify-content: center; padding: 60px 80px; }
.bw-num { color: var(--champagne); font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 20px; }
.bw-text h2 { color: var(--paper); margin-bottom: 8px; }
.bw-headline { color: var(--champagne-light); font-family: 'Fraunces', serif; font-style: italic; font-size: 1.4rem; margin-bottom: 24px; }
.bw-text p.bw-desc { color: rgba(247,244,239,0.7); margin-bottom: 28px; max-width: 440px; }
.bw-list { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.bw-list li { color: rgba(247,244,239,0.6); font-size: 0.92rem; padding-left: 18px; position: relative; }
.bw-list li::before { content: '—'; position: absolute; left: 0; color: var(--champagne); }
.bw-price { color: var(--paper); font-size: 0.95rem; margin-bottom: 28px; font-weight: 600; }
.bw-price span { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; display: block; margin-top: 4px; }
.bw-nav { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.bw-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(247,244,239,0.25); transition: background 0.3s, transform 0.3s; }
.bw-dot.active { background: var(--champagne); transform: scale(1.3); }
@media (max-width: 900px) {
  .badwelten-pin { height: auto; }
  .badwelten-viewport { position: static; height: auto; }
  .badwelt-panel { position: relative; opacity: 1 !important; grid-template-columns: 1fr; height: auto; }
  .badwelt-panel .bw-image { aspect-ratio: 4/3; }
  .bw-text { padding: 48px 24px; }
  .bw-nav { display: none; }
}

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 18px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item.large { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,19,15,0.75) 0%, transparent 55%); display: flex; align-items: flex-end; padding: 22px; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--paper); font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; background: rgba(20,19,15,0.96); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 28px; right: 32px; color: var(--paper); font-size: 2rem; cursor: pointer; line-height: 1; background: none; border: none; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: var(--paper); font-size: 2.2rem; cursor: pointer; background: none; border: none; padding: 12px; opacity: 0.6; transition: opacity 0.2s; }
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 16px; } .lightbox-next { right: 16px; }

/* ===== BEFORE/AFTER (built, hidden until real vorher-photos exist) ===== */
.before-after-section { display: none; }
.ba-slider { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; cursor: ew-resize; max-width: 900px; margin: 0 auto; }
.ba-slider .ba-after, .ba-slider .ba-before { position: absolute; inset: 0; }
.ba-slider .ba-after img, .ba-slider .ba-before img { width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-before { clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--champagne); transform: translateX(-50%); }
.ba-handle::after { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; background: var(--champagne); color: var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ba-label { position: absolute; top: 16px; color: var(--paper); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; background: rgba(20,19,15,0.55); padding: 6px 14px; border-radius: 20px; }
.ba-label.before { left: 16px; } .ba-label.after { right: 16px; }

/* ===== ABLAUF ===== */
.ablauf-list { max-width: 760px; margin: 0 auto; }
.ablauf-step { display: grid; grid-template-columns: 90px 1fr 180px; gap: 32px; align-items: center; padding: 36px 0; border-top: 1px solid rgba(247,244,239,0.1); position: relative; }
.ablauf-step:last-child { border-bottom: 1px solid rgba(247,244,239,0.1); }
.ablauf-num { font-family: 'Fraunces', serif; font-size: 2.2rem; color: var(--champagne); opacity: 0.7; }
.ablauf-body h3 { color: var(--paper); margin-bottom: 8px; }
.ablauf-body p { color: rgba(247,244,239,0.6); font-size: 0.95rem; }
.ablauf-thumb { width: 180px; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.ablauf-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .ablauf-step { grid-template-columns: 50px 1fr; }
  .ablauf-thumb { display: none; }
}

/* ===== KONFIGURATOR ===== */
.konfigurator-box { max-width: 720px; margin: 0 auto; background: var(--paper); border-radius: var(--radius); padding: 56px; box-shadow: 0 30px 80px rgba(0,0,0,0.15); }
.konf-progress { display: flex; gap: 6px; margin-bottom: 40px; }
.konf-progress-bar { flex: 1; height: 3px; background: rgba(28,26,21,0.1); border-radius: 2px; overflow: hidden; }
.konf-progress-bar span { display: block; height: 100%; width: 0%; background: var(--champagne); transition: width 0.4s var(--ease); }
.konf-step { display: none; }
.konf-step.active { display: block; animation: konfFade 0.4s var(--ease); }
@keyframes konfFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.konf-step h3 { margin-bottom: 28px; }
.konf-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.konf-option { border: 1.5px solid rgba(28,26,21,0.15); border-radius: var(--radius); padding: 18px 20px; cursor: pointer; font-size: 0.92rem; font-weight: 500; transition: all 0.2s; text-align: center; }
.konf-option:hover { border-color: var(--champagne); }
.konf-option.selected { border-color: var(--champagne); background: rgba(184,155,106,0.1); color: var(--ink); }
.konf-nav { display: flex; justify-content: space-between; gap: 16px; }
.konf-back { background: none; border: none; color: var(--text-muted); font-size: 0.85rem; cursor: pointer; letter-spacing: 1px; text-transform: uppercase; }
.konf-fields { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }

/* FORM ELEMENTS */
input, select, textarea {
  background: rgba(28,26,21,0.04); border: 1.5px solid rgba(28,26,21,0.12);
  border-radius: var(--radius); padding: 14px 16px; color: var(--text);
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s; width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(28,26,21,0.35); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--champagne); }
textarea { resize: vertical; min-height: 100px; }
label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; color: var(--text-muted); text-transform: uppercase; display: block; margin-bottom: 6px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 16px; }
.form-success { background: rgba(184,155,106,0.12); border: 1px solid var(--champagne); border-radius: var(--radius); padding: 18px; text-align: center; color: var(--champagne-light); font-weight: 600; margin-top: 20px; }

/* ===== WOHNUNGSSANIERUNG ===== */
.woh-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.woh-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0 36px; }
.woh-list li { font-size: 0.92rem; padding-left: 18px; position: relative; }
.woh-list li::before { content: '—'; position: absolute; left: 0; color: var(--champagne); }
.woh-image { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.woh-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== INVESTOREN ===== */
.investoren { background: var(--paper-2); text-align: center; }
.investoren h2 { color: var(--ink); }
.investoren-sub { max-width: 640px; margin: 0 auto 40px; color: var(--text-muted); font-size: 1.05rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(28,26,21,0.1); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; cursor: pointer; font-weight: 600; font-size: 1.02rem; }
.faq-q .plus { font-size: 1.4rem; color: var(--champagne); transition: transform 0.3s; flex-shrink: 0; margin-left: 20px; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { color: var(--text-muted); padding-bottom: 24px; max-width: 640px; }

/* ===== FINAL CTA ===== */
.final-cta { position: relative; min-height: 80vh; display: flex; align-items: center; background: var(--ink); overflow: hidden; }
.final-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.final-cta-bg::after { content: ''; position: absolute; inset: 0; background: rgba(20,19,15,0.72); }
.final-cta-content { position: relative; z-index: 1; text-align: center; margin: 0 auto; max-width: 700px; padding: 0 32px; }
.final-cta-content h2 { color: var(--paper); margin-bottom: 20px; }
.final-cta-content p { color: rgba(247,244,239,0.75); margin-bottom: 40px; font-size: 1.1rem; }
.final-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.final-cta-brand { color: rgba(247,244,239,0.5); font-size: 0.85rem; }
.final-cta-brand strong { display: block; font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--paper); text-transform: uppercase; margin-bottom: 4px; }
.final-cta-claim { margin-top: 16px; color: var(--champagne); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }

/* ===== WHATSAPP STICKY ===== */
.whatsapp-sticky {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #08210f; padding: 14px 20px; border-radius: 50px;
  font-weight: 700; font-size: 0.85rem; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.whatsapp-sticky:hover { transform: translateY(-2px); }
.whatsapp-sticky svg { flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); padding: 70px 0 32px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.footer-brand .logo { font-family: 'Fraunces', serif; font-size: 1.5rem; text-transform: uppercase; color: var(--paper); }
.footer-brand .logo span { color: var(--champagne); }
.footer-brand p { color: rgba(247,244,239,0.4); font-size: 0.85rem; margin-top: 14px; max-width: 240px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-contact a { color: rgba(247,244,239,0.55); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--champagne); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(247,244,239,0.08); flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(247,244,239,0.3); font-size: 0.78rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(247,244,239,0.35); font-size: 0.78rem; }
.footer-legal a:hover { color: rgba(247,244,239,0.6); }

/* ===== REVEAL ===== */
.reveal-hidden { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.revealed { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .woh-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 96px 0; }
}
@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .konfigurator-box { padding: 32px 24px; }
  .konf-options { grid-template-columns: 1fr; }
  .woh-list { grid-template-columns: 1fr; }
  .hero-tag { display: none; }
  .whatsapp-sticky span { display: none; }
  .whatsapp-sticky { padding: 16px; border-radius: 50%; }
}
