/*
Theme Name: Kunz Immobilien Management
Theme URI: https://www.immo-kunz.de
Author: Alexander Kunz
Author URI: https://www.immo-kunz.de
Description: Custom Theme für Kunz Immobilien Management – Berlin
Version: 1.0.0
License: Private
Text Domain: kunz-theme
*/

/* ---------------------------------------------------------------
   CSS VARIABLEN
--------------------------------------------------------------- */
:root {
  --navy:   #0b1e3d;
  --blue:   #4a9eff;
  --bg:     #f4f6fb;
  --white:  #ffffff;
  --gray:   #8896b0;
  --border: #e8edf5;
  --shadow: 0 4px 24px rgba(11,30,61,0.10);
  --radius: 12px;
}

/* ---------------------------------------------------------------
   RESET
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
button { font-family: inherit; cursor: pointer; }

/* ---------------------------------------------------------------
   NAVIGATION (header.php)
--------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,30,61,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(11,30,61,0.25);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 6vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.logo-icon {
  width: 42px; height: 42px;
  border: 2px solid #ffffff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon span {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 400;
  color: #ffffff; line-height: 1;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 5px; color: #ffffff;
  text-transform: uppercase; line-height: 1;
}
.logo-line {
  width: 36px; height: 2px;
  background: var(--blue); margin: 4px 0;
}
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 7.5px; font-weight: 400;
  letter-spacing: 3px; color: var(--blue);
  text-transform: uppercase; line-height: 1;
}

/* Hauptmenü */
.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav a {
  font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.75);
  text-decoration: none; letter-spacing: 0.3px;
  transition: color 0.2s;
}
.primary-nav a:hover,
.primary-nav a.nav-active { color: #ffffff; }

/* CTA im Nav */
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: #ffffff !important;
  padding: 9px 18px; border-radius: 7px;
  font-size: 13px !important; font-weight: 600 !important;
  border: none; cursor: pointer;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #3b8aee !important; }

/* Mobile Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #ffffff; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 16px 6vw;
  font-size: 15px; color: rgba(255,255,255,0.8);
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a:hover { color: #ffffff; background: rgba(255,255,255,0.04); }

/* ---------------------------------------------------------------
   FOOTER (footer.php)
--------------------------------------------------------------- */
.site-footer {
  background: #070f1e;
  color: rgba(255,255,255,0.5);
  padding: 48px 6vw 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-start;
  gap: 32px; margin-bottom: 36px;
}
.footer-logo .logo-name { font-size: 11px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 4px; text-transform: uppercase;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px;
}
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.3); }

/* ---------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
}
