/* =============================================
   SUHR IMMOBILIEN — style.css
   Design System: Crescent (Navy + Gold)
   ============================================= */

:root {
  --navy-900: #1c2733;
  --navy-800: #243040;
  --navy-700: #2c3a49;
  --navy-300: #8b95a1;
  --gold-500: #c19a5b;
  --gold-600: #a17f45;
  --bg:        #f2f1ee;
  --surface:   #ffffff;
  --text:      #222b36;
  --text-muted:#6b7480;
  --border:    #e4e1db;

  --font-display: 'Poppins', sans-serif;
  --font-body:    'Manrope', sans-serif;
  --font-serif:   'Cormorant Garamond', serif;

  --space-1: 4px;   --space-2: 8px;
  --space-3: 16px;  --space-4: 24px;
  --space-5: 40px;  --space-6: 64px;

  --radius-sm: 4px;  --radius-md: 8px;
  --radius-lg: 14px; --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(28,39,51,.06);
  --shadow-md: 0 6px 20px rgba(28,39,51,.08);
  --shadow-lg: 0 18px 44px rgba(28,39,51,.14);

  --container: 1200px;
  --nav-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--gold-500); color: #fff; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- LAYOUT ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-500);
  color: #fff;
}
.btn-gold:hover { background: var(--gold-600); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(193,154,91,.35); }

.btn-navy {
  background: var(--navy-900);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-700); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION TYPOGRAPHY ---- */
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  color: var(--text);
}
.section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 580px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-sub { margin: 0 auto; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: var(--navy-900);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}
.nav-logo {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-md);
  padding: 5px 12px;
  transition: background .3s;
}
.navbar.scrolled .nav-logo {
  background: rgba(255,255,255,0.95);
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity .2s;
}
.nav-logo:hover img { opacity: .8; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  border-bottom-color: var(--gold-500);
}
.nav-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-900);
  background: var(--gold-500);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-left: auto;
}
.nav-cta:hover { background: var(--gold-600); transform: translateY(-1px); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-900);
  padding: 16px 32px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s;
}
.mobile-link:hover { color: var(--gold-500); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,39,51,.82) 0%, rgba(28,39,51,.55) 60%, rgba(28,39,51,.35) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(193,154,91,.12);
  border: 1px solid rgba(193,154,91,.3);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -.03em;
  color: #fff;
  max-width: 720px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero Stats Bar */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(28,39,51,.88);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stats-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 8px 0;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--gold-500);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  letter-spacing: .04em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
}

/* =============================================
   USP SECTION
   ============================================= */
.usp-section {
  padding: 72px 0;
  background: var(--surface);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.usp-card--featured {
  background: var(--navy-900);
  border-color: var(--navy-700);
  color: #fff;
}
.usp-card--featured h3 { color: #fff; }
.usp-card--featured p { color: var(--navy-300); }
.usp-card--featured .usp-icon { background: rgba(193,154,91,.15); color: var(--gold-500); }
.usp-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(193,154,91,.1);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.usp-icon svg { width: 26px; height: 26px; }
.usp-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
}
.usp-card p { font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* =============================================
   ÜBER UNS
   ============================================= */
.about-section {
  padding: 96px 0;
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.about-text .btn { margin-top: 12px; }
.about-highlight {
  font-weight: 700;
  color: var(--gold-600) !important;
  font-size: 16px !important;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(193,154,91,.1);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}
.feature-item p { font-size: 13px; line-height: 1.65; color: var(--text-muted); }

/* =============================================
   LEISTUNGEN
   ============================================= */
.leistungen-section {
  padding: 96px 0;
  background: var(--navy-900);
}
.leistungen-section .section-eyebrow { color: var(--gold-500); }
.leistungen-section .section-title { color: #fff; }
.leistungen-section .section-sub { color: var(--navy-300); }
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.leistung-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color .2s, transform .2s;
}
.leistung-card:hover { border-color: rgba(193,154,91,.4); transform: translateY(-3px); }
.leistung-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(193,154,91,.12);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.leistung-icon svg { width: 22px; height: 22px; }
.leistung-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}
.leistung-card p { font-size: 13px; line-height: 1.65; color: var(--navy-300); }

/* =============================================
   IS24 EINBETTUNG
   ============================================= */
.is24-section {
  padding: 96px 0;
  background: var(--surface);
}
.is24-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg);
}
.is24-frame-container {
  width: 100%;
  height: 700px;
  position: relative;
  overflow: hidden;
}
.is24-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.is24-fallback {
  padding: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.is24-fallback p { color: var(--text-muted); font-size: 14px; max-width: 400px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: 96px 0;
  background: var(--bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.star-filled {
  width: 16px; height: 16px;
  color: var(--gold-500);
  fill: var(--gold-500);
}
.testimonial-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* =============================================
   REFERENZEN
   ============================================= */
.referenzen-section {
  padding: 96px 0;
  background: var(--surface);
}
.referenzen-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.referenzen-list {
  list-style: none;
  margin: 20px 0 32px;
}
.referenzen-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.referenzen-list li:last-child { border-bottom: none; }
.referenzen-list svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; }

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-lg);
}
.gallery-main img {
  width: 100%; height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-main:hover img { transform: scale(1.04); }
.gallery-badge {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--navy-900);
  color: var(--gold-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.thumb {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: .55;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.thumb:hover, .thumb.active { opacity: 1; border-color: var(--gold-500); }

/* =============================================
   KONTAKT
   ============================================= */
.kontakt-section {
  padding: 96px 0;
  background: var(--navy-900);
}
.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.kontakt-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  padding: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
}
.kontakt-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-500);
}
.kontakt-details { display: flex; flex-direction: column; gap: 14px; }
.kontakt-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--navy-300);
  font-size: 14px;
  line-height: 1.6;
}
.kontakt-detail-item svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.kontakt-detail-item a { color: var(--navy-300); text-decoration: none; transition: color .2s; }
.kontakt-detail-item a:hover { color: var(--gold-500); }

.kontakt-form-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.kontakt-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.form-group input, .form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: #faf9f7;
  color: var(--text);
  outline: none;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold-500);
  background: #fff;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.form-check input { flex-shrink: 0; margin-top: 2px; accent-color: var(--gold-500); }
.form-check a { color: var(--gold-600); }
.form-success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-600);
  padding: 12px;
  background: rgba(193,154,91,.08);
  border-radius: var(--radius-md);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #111b24;
  color: rgba(255,255,255,.65);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; opacity: .9; }
.footer-desc { font-size: 14px; line-height: 1.65; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.social-link:hover { background: var(--gold-500); color: #fff; border-color: var(--gold-500); }
.social-link svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--gold-500); }
.footer-address { font-style: normal; font-size: 14px; line-height: 1.75; }
.footer-address a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-address a:hover { color: var(--gold-500); }

.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.footer-bottom {
  padding: 18px 0;
  background: rgba(0,0,0,.2);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-inner, .kontakt-inner, .referenzen-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .usp-grid { grid-template-columns: 1fr; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats-inner { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
  .kontakt-form-wrap { padding: 24px; }
  .is24-frame-container { height: 500px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}
