/*
Theme Name: SAVA Immobilienverwaltung
Theme URI: https://sava-immobilien.de
Author: SAVA Immobilienverwaltung
Description: Maßgeschneidertes Theme für SAVA Immobilienverwaltung. Editorial, Premium, ohne Bloat. Ersetzt Astra. Page-Templates für Homepage und 4 Leistungsseiten im Parallax-Design.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: sava
*/

/* ---------------------------------------------------------
   Globaler Reset für SAVA-Theme
   Die Page-Templates haben ihre eigenen Styles im <style>-Block
   Dieses Stylesheet sorgt nur dafür, dass WordPress nichts ungewolltes injiziert
--------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Jost', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #FAF8F5;
  color: #2A2724;
  font-weight: 400;
  line-height: 1.75;
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* WordPress Core Klassen (Admin-Bar, Galleries etc.) */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
  padding: 0; border: 0;
}

/* Admin-Bar berücksichtigen */
.admin-bar nav.main-nav {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar nav.main-nav {
    top: 46px;
  }
}
