/* ============================================================
   MONTAGE & OBJEKTE — Shared Design System
   ============================================================ */

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

:root {
  --teal: #2a819e;
  --teal-light: #e4f2f7;
  --teal-dark: #1f6179;
  --gold: #b98a48;
  --gold-light: #faf3e8;
  --gold-dark: #8f6830;
  --navy: #0D1B2A;
  --navy-dark: #060E1A;
  --cream: #F2F0EB;
  --white: #FFFFFF;
  --dark: #111827;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  font-size: 16px;
}

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

a { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { font-size: 1rem; line-height: 1.7; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.75rem; border-radius: 8px; font-weight: 700;
  font-size: 0.95rem; cursor: pointer; border: 2px solid transparent;
  transition: all 0.2s ease; white-space: nowrap;
}
.btn-teal  { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-gold  { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-ghost-teal { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost-gold { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }

/* ── TOP CONTACT BAR ── */
.top-bar {
  background: var(--navy);
  padding: 0.5rem 2rem;
  display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem;
}
.top-bar a { color: rgba(255,255,255,0.8); font-size: 0.8rem; display: flex; align-items: center; gap: 0.4rem; }
.top-bar a:hover { color: #fff; }

/* ── NAVIGATION ── */
.nav {
  background: var(--navy);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 1000;
  height: 86px; box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { height: 76px; }
.nav-logo-text { font-size: 0.9rem; font-weight: 800; letter-spacing: 0.05em; }
.nav-logo-text .t { color: var(--teal); }
.nav-logo-text .g { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); padding: 0.5rem 0.9rem;
  border-radius: 6px; font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0.9rem; right: 0.9rem;
  height: 2px; border-radius: 2px;
}
.montage-site .nav-links a.active::after { background: var(--teal); }
.objekte-site  .nav-links a.active::after { background: var(--gold); }

.nav-cta { flex-shrink: 0; }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

.mobile-menu {
  display: flex; position: fixed; inset: 0; background: var(--navy);
  z-index: 2000; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  opacity: 0; pointer-events: none; transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; transform: scale(1); }
.mobile-menu a { color: #fff; font-size: 1.4rem; font-weight: 700; }
.mobile-menu-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer;
}

/* ── PILL BADGES ── */
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 1.25rem;
}
.pill-teal { background: rgba(42,157,181,0.2); color: #6dd9ef; border: 1px solid rgba(42,157,181,0.4); }
.pill-gold { background: rgba(200,146,42,0.2); color: #f5c97a; border: 1px solid rgba(200,146,42,0.4); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 5rem 2rem;
  width: 100%;
}
.hero-content h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-content p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 560px; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-dark {
  background: var(--navy); min-height: 50vh;
  display: flex; align-items: center;
  padding: 6rem 2rem;
}
.hero-dark-content { max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-dark-content h1 { color: #fff; margin-bottom: 1rem; }
.hero-dark-content p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; }

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy  { background: var(--navy); }

.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--gray); max-width: 600px; margin: 0 auto; }

/* ── CARDS ── */
.card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 2rem; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); }

.cards-grid { display: grid; gap: 1.5rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon-teal { background: var(--teal-light); }
.card-icon-gold { background: var(--gold-light); }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--gray); font-size: 0.95rem; }

/* ── FEATURE ROWS ── */
.feature-row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 0; border-bottom: 1px solid var(--gray-light);
}
.feature-row:last-child { border-bottom: none; }
.feature-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon-teal { background: var(--teal-light); }
.feature-icon-gold { background: var(--gold-light); }
.feature-text h4 { margin-bottom: 0.25rem; }
.feature-text p  { color: var(--gray); font-size: 0.9rem; }

/* ── TWO-COL LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col-img { border-radius: 16px; overflow: hidden; height: 420px; }
.two-col-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── PROCESS STEPS ── */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-item {
  display: flex; gap: 2rem; align-items: flex-start;
  padding: 2rem 0; border-bottom: 1px solid var(--gray-light);
}
.process-item:last-child { border-bottom: none; }
.process-num {
  font-size: 3.5rem; font-weight: 900; line-height: 1;
  color: var(--gray-light); flex-shrink: 0; width: 80px;
  text-align: right;
}
.process-text h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.process-text p  { color: var(--gray); font-size: 0.95rem; }

/* ── CTA SECTION ── */
.cta-section { text-align: center; padding: 5rem 2rem; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.75); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── CAROUSEL ── */
.carousel-wrapper { position: relative; overflow: hidden; padding: 1.5rem 0; }
.carousel-track {
  display: flex; gap: 1.25rem;
  transition: transform 0.4s ease;
}
.carousel-slide {
  flex: 0 0 calc(33.333% - 0.85rem);
  border-radius: 12px; overflow: hidden;
  height: 620px;
}

/* Two-image static layout (no carousel) */
.two-image-grid {
  display: flex; gap: 1.25rem; justify-content: center;
}
.two-image-grid .carousel-slide {
  flex: 0 0 calc(33.333% - 0.85rem);
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: none; box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; transition: box-shadow 0.2s;
}
.carousel-btn:hover { background: #f3f4f6; }
.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }

.project-block { margin-bottom: 4rem; }
.project-block h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.project-underline {
  width: 48px; height: 3px; border-radius: 2px; margin-bottom: 2rem;
}
.underline-teal { background: var(--teal); }
.underline-gold { background: var(--gold); }

/* ── OBJEKTE CARD GRID ── */
.objekte-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.objekte-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.07); overflow: hidden; }
.objekte-card-img { overflow: hidden; height: 420px; }
.objekte-card-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.objekte-card-body { padding: 1.25rem 1.5rem; }
.objekte-card-location { display: flex; align-items: center; gap: 0.35rem; color: var(--gray); font-size: 0.8rem; margin-bottom: 0.5rem; }
.objekte-card-title { font-size: 1rem; font-weight: 700; color: var(--dark); }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
.contact-info-card h2 { margin-bottom: 0.5rem; font-size: 1.5rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--gray-light); }
.info-row:last-child { border-bottom: none; }
.info-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.info-icon-teal { background: var(--teal-light); }
.info-icon-gold { background: var(--gold-light); }
.info-label { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.15rem; }
.info-value { font-size: 0.95rem; font-weight: 600; }
.info-sub   { font-size: 0.85rem; color: var(--gray); }

.form-card h2 { margin-bottom: 0.35rem; }
.form-card > p { color: var(--gray); font-size: 0.9rem; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem; border: 1.5px solid var(--gray-light); border-radius: 8px;
  font-size: 0.95rem; font-family: inherit; outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); }
.objekte-form .form-group input:focus,
.objekte-form .form-group select:focus,
.objekte-form .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-required { color: var(--gray); font-weight: 400; }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; line-height: 1.5; color: var(--gray); margin-top: 0.25rem; cursor: pointer; }
.form-consent input { width: auto; margin-top: 0.2rem; flex-shrink: 0; }
.form-consent a { color: var(--teal); text-decoration: underline; }
.objekte-form .form-consent a { color: var(--gold); }
.form-status { margin-top: 1rem; font-size: 0.9rem; line-height: 1.5; }
.form-status-success { color: #1f7a4d; font-weight: 600; }
.form-status-error { color: #c0392b; font-weight: 600; }

/* ── FOOTER ── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 4rem 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 3rem; max-width: 1200px; margin: 0 auto; padding-bottom: 3rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo-wrap a { display: flex; align-items: center; }
.footer-logo-wrap img { height: 40px; }
.index-footer-logo { cursor: pointer; }
.footer-tagline { font-size: 0.9rem; line-height: 1.6; }
.objekte-site .footer-logo-wrap img { height: 96px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-contact-row { display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 0.85rem; font-size: 0.88rem; }
.footer-contact-row svg { flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.55); }
.footer-bottom-links a:hover { color: #fff; }

/* ── INDEX PAGE ── */
.index-nav {
  background: var(--navy); position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 70px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.index-nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.index-nav-logo img { height: 44px; }
.index-nav-logo-text { font-size: 0.9rem; font-weight: 800; letter-spacing: 0.05em; }
.hamburger-left  { position: absolute; left: 2rem; }
.hamburger-right { position: absolute; right: 2rem; }

.split-hero {
  height: 100vh; display: flex; position: relative;
}
.split-half {
  flex: 1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.split-half-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.split-half:hover .split-half-bg { transform: scale(1.06); }
.split-half-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(13,27,42,0.65);
  transition: background 0.6s ease;
}
.split-half:hover .split-half-bg::after { background: rgba(13,27,42,0.5); }
.split-content {
  position: relative; z-index: 1; text-align: center;
  padding: 2rem; max-width: 420px;
}
.split-content h1 { color: #fff; font-size: clamp(2.75rem, 5.5vw, 5rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.75rem; line-height: 1; }
.split-content p  { color: rgba(255,255,255,0.92); margin-bottom: 2rem; font-size: 0.95rem; font-weight: 400; letter-spacing: 0.01em; }
.split-content .btn { padding: 0.9rem 2.1rem; font-size: 1rem; font-weight: 500; }

.center-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 10;
  width: 156px; height: 156px; border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.center-badge img { width: 112px; height: auto; display: block; }

.about-section { background: #fff; padding: 6rem 2rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-photo { border-radius: 16px; overflow: hidden; }
.about-photo img { width: 100%; height: 520px; object-fit: cover; object-position: top; }
.about-caption { font-size: 1rem; font-weight: 700; color: var(--dark); text-align: center; margin-top: 0.85rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { color: var(--gray); margin-bottom: 1rem; font-size: 0.97rem; }

.index-footer { background: var(--navy-dark); color: rgba(255,255,255,0.65); padding: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.index-footer-logo { display: flex; align-items: center; gap: 0.65rem; }
.index-footer-logo img { height: 36px; }
.index-footer-links { display: flex; gap: 1.25rem; font-size: 0.85rem; }
.index-footer-links a { color: rgba(255,255,255,0.55); }
.index-footer-links a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .objekte-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col-img { height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .split-hero { flex-direction: column; }
  .split-half { min-height: 50vh; }
  .center-badge { width: 116px; height: 116px; top: 50%; }
  .center-badge img { width: 84px; height: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .objekte-grid { grid-template-columns: 1fr; }
  .carousel-slide { flex: 0 0 calc(80% - 0.5rem); }
  .top-bar { padding: 0.5rem 1rem; gap: 1rem; }
  .section { padding: 3.5rem 1.25rem; }
  .hero-content { padding: 4rem 1.25rem; }
}

/* SVG Icons inline */
svg { flex-shrink: 0; }
