:root {
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #64748b;
  --accent: #111827;
  --header-h: 72px;
  --logo-h: 42px;
  --font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
} 

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  font-family: var(--font);
  background: var(--bg) !important;
  color: var(--fg) !important;
  display: flex;
  flex-direction: column;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid rgba(2,6,23,.06);
  z-index: 1000;
  position: relative; /* NEU: Anker für .main-nav */
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* neu: Inhalte linksbündig */
  gap: 0.75rem;                 /* Abstand zwischen Menü & Logo */
  padding-left: 0.75rem;        /* ≈ 12 px – analog zu Google Maps „Karte | Satellit“ */
  padding-right: 1rem;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}

/* Logo-Size Standard (Desktop) */
.brand__logo {
  max-height: var(--logo-h);
  width: auto;
  object-fit: contain;
}
/* Mobile-Optimierung 
@media (max-width: 720px) {
  .brand__logo {
    max-width: 300px; /* kleiner auf Handy, Platz für Hamburger */
  /*}
}
*/
.brand__name { font-weight: 800; font-size: 18px; }

@font-face {
  font-family: 'Sharp Grotesk';
  src: url('../fonts/SharpGrotesk-Bold15.woff2') format('woff2'),
       url('../fonts/SharpGrotesk-Bold15.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Powered by Weischer.Cinema (Header, rechtsbündig) */
.powered-by-header {
  margin-left: auto;              /* schiebt den Block nach rechts */
  text-align: right;              /* bündig rechts */
  line-height: 1.2;
  font-size: 1.0rem;
  color: var(--fg);
  opacity: 0.9;
  white-space: normal;            /* erlaubt Zeilenumbruch via <br> */
  align-self: center;
}

.powered-by-header a {
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}

.powered-by-header a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.powered-by-header a {
  font-family: 'Sharp Grotesk', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;          /* Bold 15 */
  font-size: 1.3rem;         /* deutlich grösser als 0.8rem Basis */
  color: #E60011;            /* Weischer-Rot */
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1;
}
.powered-by-header a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* Mobile Variante 
@media (max-width: 720px) {
  .powered-by-header {
    display: block;
    width: 100%;
    text-align: right;
    margin-top: 0.25rem;
    font-size: 0.75rem;
  }
}
*/
/* === Footer */

.site-footer {
  padding: 0.5rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.8rem;
  color: var(--muted);
  background: #fff;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem; 
  text-align: center;
}

.footer-inner a {
  color: var(--accent);
  text-decoration: none;
}

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

.seo-text {
  font-size: 0.8rem;
  color: var(--accent);
  text-align: center;
  margin: 0.5rem 0 0.75rem 0;
}

/* Bottom-bar */
.bottom-bar {
  background: var(--bg);
  border-top: 1px solid rgba(2,6,23,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.75rem;
  position: relative;
}

/* === Einheitlicher Close-Button-Stil (optisch wie Google Maps) === */
.close-btn,
#chat-close,
.info-overlay__close {
  appearance: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: absolute !important;
  top: 0px !important;
  right: 8px !important;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 0 !important;
  font-size: 2.1rem !important;
  line-height: 1 !important;
  color: #5f6368 !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
  z-index: 10 !important;
}

.close-btn:hover,
#chat-close:hover,
.info-overlay__close:hover {
  color: #202124 !important;
}

/* Einheitlicher Inhalt für den Chat-Button */
#chat-close::before {
  content: "×" !important;
  font-size: inherit !important;
  color: inherit !important;
  line-height: 1 !important;
  font-weight: 0 !important;
}

/* Seite sichtbar machen - wird im Index auf weiss gesetzt.*/
body { opacity: 1; } 

