/* ════════════════════════════════════════════════════════
   MLEJNEK WIRTSCHAFTSTREUHAND — style.css
   Entspricht exakt der Vorlage (vorlage.html)
   © 2026 — bleibt bis zur Zahlung im Eigentum des Erstellers
════════════════════════════════════════════════════════ */

:root {
  --white:     #ffffff;
  --light:     #f7f7f5;
  --line:      #b2b2aa;   /* dunkler als vorher (#d8d8d4) */
  --mid:       #5a5a56;   /* dunkler als vorher (#888882) */
  --ink:       #111110;
  --deep:      #0f0f0e;
  --accent:    #1d3a5f;
  --link:      #1a5899;   /* für Content-Links: helles, lesbares Blau */
  --langbar-h: 32px;
  --navbar-h:  60px;      /* erhöht für zweizeiliges Textlogo */
  --total-h:   92px;      /* 32px + 60px */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--total-h) + 1.8rem);
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 400;   /* dunkler/schwerer als vorher (300) */
  line-height: 1.8;
  padding-top: var(--total-h);
}

/* ══════════════════════════════════════════════════
   SPRACHLEISTE
══════════════════════════════════════════════════ */
.langbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--langbar-h);
  background: #16304f;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  z-index: 1001;
}

.langbar a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.52);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-family: 'Source Sans 3', sans-serif;
  transition: color 0.2s;
  cursor: pointer;
}

.langbar a:hover,
.langbar a.active { color: rgba(255,255,255,0.92); }

.langbar .flag { font-size: 0.95rem; line-height: 1; }

.langbar a + a::before {
  content: '·';
  color: rgba(255,255,255,0.2);
  margin-right: 1.8rem;
  font-size: 0.8rem;
}

/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: var(--langbar-h);
  left: 0; right: 0;
  height: var(--navbar-h);
  background: var(--accent);
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.navbar-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Logo ─────────────────────────────────────── */
.nav-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 2.5rem;
  flex-shrink: 0;
  height: var(--navbar-h);
  transition: opacity 0.2s;
  font-family: "Myriad Pro", Myriad, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.nav-logo:hover {
  opacity: 0.85;
}

.logo-main {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-transform: lowercase;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.1;
  margin-top: 0.08rem;
}

/* ── Nav-Links ──────────────────────────────────── */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li a {
  display: block;
  padding: 0 1.2rem;
  height: var(--navbar-h);
  line-height: var(--navbar-h);
  color: rgba(255,255,255,0.82);   /* aufgehellt von 0.68 */
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Libre Baskerville', serif;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.6);
}

/* Hamburger ────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  background: none;
  border: none;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--total-h);
  left: 0; right: 0;
  background: var(--accent);
  z-index: 999;
  flex-direction: column;
  padding: 0.5rem 0 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block;
  padding: 0.85rem 2rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Libre Baskerville', serif;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s, background 0.2s;
}

.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* ══════════════════════════════════════════════════
   MAIN
══════════════════════════════════════════════════ */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

section { margin-bottom: 5rem; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.section-header h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}

.section-header span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 400;
}

/* ── TÄTIGKEITEN ─────────────────────────────── */
.taetig-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.taetig-col { padding: 2rem; }
/* Mittlere Trennlinie entfernt */
.taetig-col ul { list-style: none; }

.taetig-col ul li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.taetig-col ul li::before {
  content: '';
  width: 4px; height: 4px; min-width: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.72rem;
}

.taetig-col ul li:last-child { border-bottom: none; }

/* ── KANZLEI ─────────────────────────────────── */
.kanzlei-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 4rem;
  align-items: start;
}

.kanzlei-body p { margin-bottom: 1rem; font-size: 0.975rem; }

.person-box {
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 1.8rem 1.5rem;
  text-align: center;
}

.person-photo {
  width: 150px; height: 195px;
  border-radius: 2px;
  background: var(--light);
  border: 1px solid var(--line);
  margin: 0 auto 1.2rem;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--mid); font-size: 2rem;
}

.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.person-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.person-meta { font-size: 0.825rem; color: var(--mid); line-height: 2; }
.person-meta a { color: var(--link); text-decoration: none; }
.person-meta a:hover { text-decoration: underline; }

/* ── STANDORTE ───────────────────────────────── */
.standort-two { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.standort-box {
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 2rem;
}

.standort-heading {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.standort-data { font-size: 0.9rem; line-height: 2; color: var(--ink); }
.standort-data a { color: var(--link); text-decoration: none; }
.standort-data a:hover { text-decoration: underline; }

.standort-data .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #3a3a38;   /* deutlich dunkler als --mid */
  font-weight: 500;
  display: block;
  margin-top: 0.5rem;
}

/* Google Maps embed */
.map-embed {
  margin-top: 1.5rem;
  height: 180px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--deep);
  color: var(--mid);
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

footer a { color: rgba(255,255,255,0.72); text-decoration: none; }   /* aufgehellt von 0.5 */
footer a:hover { color: #fff; }
.footer-right { text-align: right; }

/* ══════════════════════════════════════════════════
   RESPONSIVE — Mobile
══════════════════════════════════════════════════ */
@media (max-width: 820px) {
  html { scroll-padding-top: calc(var(--total-h) + 1.2rem); }

  .langbar {
    padding: 0.5rem 1.5rem;
    gap: 1.5rem;
    justify-content: center;
  }

  .langbar a + a::before { margin-right: 1.5rem; }

  .navbar-inner {
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-logo { margin-right: 0; }
  .logo-main { font-size: 1.35rem; }
  .logo-sub { font-size: 0.62rem; }

  .nav-links { display: none; }

  .nav-hamburger { display: flex; }

  main { padding: 2rem 1.2rem 4rem; }

  .taetig-two-col,
  .kanzlei-wrap,
  .standort-two { grid-template-columns: 1fr; }

  .taetig-col:first-child { border-bottom: 1px solid var(--line); }

  .kanzlei-wrap { gap: 2.5rem; }

  footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .footer-right { text-align: center; }
}

@media (max-width: 480px) {
  .section-header { flex-direction: column; gap: 0.25rem; }
  .taetig-col { padding: 1.25rem; }
  .standort-box { padding: 1.5rem; }
  .person-box { padding: 1.5rem 1rem; }
}
