/* =========================================================
   Kanzlei Feuerbach – Custom CSS (Quark)
   Ziel:
   - stabiler Fixed Header (kein Überlappen)
   - ruhiger, moderner Kanzlei-Look
   - dezente Hover-Effekte
   - aufgeräumter Footer
   ========================================================= */

/* ---------------------------------------------------------
   Global settings
--------------------------------------------------------- */

:root {
  --header-height: 74px; /* ggf. 68–80px feinjustieren */
}

body {
  margin: 0;
  padding-top: var(--header-height);
}

/* ---------------------------------------------------------
   Header / Navigation (FIXED, stabil)
--------------------------------------------------------- */

header,
#header,
.header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Kein experimenteller Fade – Stabilität zuerst */
header::after,
#header::after,
.header::after {
  display: none;
}

/* ---------------------------------------------------------
   Content / Scroll behaviour
--------------------------------------------------------- */

/* verhindert, dass Anker unter dem Header landen */
main,
.content,
#body,
.main,
.page-content {
  scroll-margin-top: var(--header-height);
}

/* bessere Lesbarkeit */
main,
.content,
#body {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* Typografie */
p,
li {
  line-height: 1.6;
}

h1,
h2,
h3 {
  letter-spacing: -0.01em;
}

h2 {
  margin-top: 2rem;
}

h3 {
  margin-top: 1.4rem;
}

/* ---------------------------------------------------------
   Navigation hover effects (ruhig, nicht verspielt)
--------------------------------------------------------- */

nav a,
.navbar a,
.menu a,
header a {
  position: relative;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

nav a:hover,
.navbar a:hover,
.menu a:hover,
header a:hover {
  opacity: 0.85;
}

nav a::after,
.navbar a::after,
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.25;
  transition: width 0.18s ease;
}

nav a:hover::after,
.navbar a:hover::after,
.menu a:hover::after {
  width: 100%;
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95em;
}

.site-footer .footer-head {
  font-weight: 600;
  margin: 0 0 0.6rem 0;
}

.site-footer p {
  margin: 0 0 0.8rem 0;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------
   Footer – Two-Click Google Maps
--------------------------------------------------------- */

.footer-map .map-placeholder {
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.footer-map .map-hint {
  margin: 0 0 10px 0;
}

.footer-map .map-load-btn {
  cursor: pointer;
  padding: 8px 12px;
}

.footer-map .map-altlink {
  margin: 10px 0 0 0;
}

/* ---------------------------------------------------------
   Responsive tweaks
--------------------------------------------------------- */

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  body {
    padding-top: var(--header-height);
  }
}