/*
Theme Name: Interoffice GmbH
Theme URI: https://www.immomarket.de
Author: Interoffice GmbH
Author URI: https://www.immomarket.de
Description: Eigenes WordPress-Theme für die Interoffice GmbH Immobilienmanagement – Neustrelitz & Magdeburg.
Version: 1.0.0
License: Private
Text Domain: interoffice
*/

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

/* === VARIABLES === */
:root {
  --io: #0E7490;
  --io-dark: #0A5A73;
  --io-darker: #042C53;
  --io-light: #E0F2F7;
  --io-mid: #22B8D1;
  --font-serif: 'Josefin Slab', Georgia, serif;
  --font-sans: 'Josefin Sans', system-ui, sans-serif;
  --text: #1a1a1a;
  --text-muted: #666;
  --border: rgba(0,0,0,0.12);
  --bg: #fff;
  --bg-secondary: #f7f7f5;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
p { font-size: 14px; line-height: 1.8; color: var(--text-muted); }
a { color: var(--io); text-decoration: none; }
a:hover { color: var(--io-dark); }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--io); display: block; margin-bottom: 0.5rem; }

/* === NAVIGATION === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.logo-mark::before {
  content: ''; position: absolute;
  width: 28px; height: 28px;
  border: 2.5px solid var(--io); border-radius: 50%;
}
.logo-mark::after {
  content: 'I'; font-size: 13px; font-weight: 500; color: var(--io);
  position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.logo-name { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--io); }
.logo-sub { font-size: 10px; color: var(--text-muted); letter-spacing: 0.08em; }

.main-nav ul { display: flex; gap: 2rem; list-style: none; }
.main-nav a { font-size: 13px; color: var(--text-muted); letter-spacing: 0.04em; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--io); }

.nav-cta {
  background: var(--io); color: #fff;
  padding: 8px 20px; border-radius: 4px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--io-dark); color: #fff; }

/* Hamburger (mobile) */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
}
.hero-content {
  padding: 5rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--io); margin-bottom: 1.2rem; display: block; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { color: var(--io); font-style: normal; }
.hero-desc { font-size: 14px; color: var(--text-muted); line-height: 1.8; max-width: 400px; margin-bottom: 2rem; }
.hero-visual {
  background: var(--io);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-visual::before {
  content: ''; position: absolute;
  width: 300px; height: 300px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.hero-visual::after {
  content: ''; position: absolute;
  width: 190px; height: 190px;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.hero-monogram {
  color: rgba(255,255,255,0.9);
  position: relative; z-index: 1;
  display: flex; align-items: center;
  font-size: 80px; font-weight: 300;
  font-family: var(--font-sans);
}
.hero-monogram span {
  width: 60px; height: 60px;
  border: 2px solid rgba(255,255,255,0.7); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 30px; margin-left: 6px;
}

/* === BUTTONS === */
.btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0.05em; transition: background 0.2s; cursor: pointer; }
.btn-primary { background: var(--io); color: #fff; }
.btn-primary:hover { background: var(--io-dark); color: #fff; }
.btn-outline { border: 1px solid var(--border); color: var(--text-muted); }
.btn-outline:hover { border-color: var(--io); color: var(--io); }

/* === STANDORTE === */
.standorte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
}
.standort-card {
  background: var(--bg);
  padding: 3rem;
  transition: background 0.2s;
}
.standort-card:hover { background: var(--io-light); }
.standort-num {
  font-family: var(--font-serif);
  font-size: 72px; font-weight: 400;
  color: var(--io); opacity: 0.12;
  line-height: 1; margin-bottom: -1.2rem;
}
.standort-card h3 { margin-bottom: 12px; }
.standort-tag {
  display: inline-block;
  background: var(--io-light); color: var(--io-dark);
  font-size: 11px; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 3px; margin-top: 1rem;
}

/* === CONTACT === */
.contact-section {
  background: var(--io);
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-left h2 { color: #fff; margin-bottom: 1rem; }
.contact-left p { color: rgba(255,255,255,0.72); max-width: 360px; }
.contact-card {
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 2rem;
}
.contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1.2rem; }
.contact-row:last-child { margin-bottom: 0; }
.c-dot { width: 6px; height: 6px; background: rgba(255,255,255,0.45); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.c-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.c-value { font-size: 14px; color: #fff; }
.contact-person { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 0.5px solid rgba(255,255,255,0.2); }
.person-name { font-family: var(--font-serif); font-size: 24px; font-weight: 500; color: #fff; }
.person-title { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px; }

/* === FOOTER === */
.site-footer {
  padding: 1.5rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 0.5px solid var(--border);
}
.site-footer p { font-size: 12px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 12px; color: var(--text-muted); }
.footer-legal a:hover { color: var(--io); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .site-header { padding: 1rem 1.5rem; }
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--bg); padding: 1rem 1.5rem;
    border-bottom: 0.5px solid var(--border);
    z-index: 99;
  }
  .main-nav.open ul { flex-direction: column; gap: 1rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { padding: 3rem 1.5rem; }
  .standorte-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .site-footer { flex-direction: column; gap: 1rem; text-align: center; padding: 1.5rem; }
}
