/* =============================================================
   IBA-RLP Base — Reset, @font-face, Typografie, Layout-Grundlagen
   ============================================================= */

/* --- Schriften (self-hosted, DSGVO-konform) --- */
@font-face {
  font-family: "Inter Tight";
  font-style:  normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/InterTight-Regular-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style:  normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/InterTight-Regular-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style:  italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/InterTight-Italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style:  italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/InterTight-Italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Box-sizing --- */
*, *::before, *::after { box-sizing: border-box; }

/* --- Basis --- */
html, body { margin: 0; padding: 0; }
body {
  font-family:  var(--font-body);
  font-size:    16px;
  line-height:  1.55;
  color:        var(--ink);
  background:   var(--paper);
  -webkit-font-smoothing:  antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 14px; color: var(--ink-2); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* --- Site-Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #ececea;
}
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Brand-Wortmarke */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__icon { flex-shrink: 0; }
.brand__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* Navigation — show_menu2()-Output */
.site-nav { display: flex; align-items: center; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav ul li { margin: 0; }
.site-nav a {
  font-size: 14px;
  color: #5a5e66;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav a:hover,
.site-nav li.menu_current_page > a,
.site-nav li.menu_parent_page > a {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* CTA-Anrufen-Button */
.cta-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.cta-call:hover { opacity: 0.85; }
.cta-call__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* --- Haupt-Content --- */
#main-content { min-height: 60vh; }

/* --- Site-Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* --- Utility-Klassen --- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a7e86;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left:  var(--side-pad);
  padding-right: var(--side-pad);
}
