/* --- Header Grundlayout --- */
.fp-header {
  position: relative;
  background: var(--fp-bg, #fff);
  color: var(--fp-text, #231f20);
}

.fp-header .fp-header-inner {
  max-width: var(--content-width, 1200px);
  margin: 0 auto;
  padding: 24px 16px 12px;
  display: grid;
  place-items: center;
  text-align: center;
}

.fp-branding .custom-logo,
.fp-logo img {
  height: auto;
  max-height: clamp(48px, 12vw, 140px);
  width: auto;
}

.fp-sitename {
  font-family: var(--heading-font, Georgia, 'Times New Roman', serif);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 42px);
  text-decoration: none;
  color: inherit;
}

.fp-tagline {
  margin: 6px 0 0 0;
  opacity: .7;
  font-size: 0.95rem;
}

/* --- Horizontales Scroll-Menü --- */
.fp-navwrap {
  position: relative;
  overflow: visible;
  border-top: 1px solid var(--fp-border, #ece7eb);
  border-bottom: 1px solid var(--fp-border, #ece7eb);
  background: #fff;
}

.fp-nav {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
}

.fp-nav::-webkit-scrollbar { display: none; } /* WebKit */

.fp-menu,
.fp-nav .menu {
  display: inline-flex;
  gap: clamp(16px, 2.5vw, 36px);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 10px 48px; /* Platz für Buttons */
}

.fp-menu > li > a {
  text-decoration: none;
  color: #3b3543;
  font-family: var(--heading-font, 'Roboto Slab', serif);
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 20px);
  display: inline-block;
  padding: 10px 2px 14px;
  transition: opacity .2s ease, color .2s ease;
}

.fp-menu > li.current-menu-item > a,
.fp-menu > li > a:hover,
.fp-menu > li > a:focus {
  color: #c55b8a;
}

/* Inkbar (Unterstreichung) */
.fp-inkbar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: #e173a1;
  border-radius: 2px;
  transition: transform .25s ease, width .25s ease, opacity .2s ease;
  opacity: .9;
}

/* Scroll-Buttons */
.fp-scrollbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e7e0e6;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.fp-scrollbtn[disabled] { opacity: .35; cursor: default; }

.fp-scrollbtn.prev { left: 6px; }
.fp-scrollbtn.next { right: 6px; }

.fp-icon { line-height: 1; font-size: 14px; }

/* Kleinere Geräte */
@media (max-width: 768px) {
  .fp-header .fp-header-inner { padding: 18px 10px 8px; }
  .fp-menu { padding: 8px 44px; gap: 18px; }
  .fp-menu > li > a { font-size: 16px; }
}
/* 1.0.2 ScrollFix: enable smooth horizontal scrolling and better wheel behavior pairing with JS */
.fp-nav {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}

/* 1.0.3: Arrow color update to match logo */
.fp-scrollbtn {
  border-color: #7e4c77;
}
.fp-scrollbtn svg {
  fill: #7e4c77;
}

/* 1.0.3 BrandColor: Align arrow buttons with logo tone */
.fp-scrollbtn {
  border-color: #7e4c77;
}
.fp-scrollbtn .fp-icon {
  color: #7e4c77;
  line-height: 1;
  font-size: 16px;
}
.fp-scrollbtn:hover:not([disabled]),
.fp-scrollbtn:focus-visible:not([disabled]) {
  background: rgba(126, 76, 119, 0.10);
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
}

/* 1.0.4 BrandColor Fix: enforce arrow color against late-loading styles */
.fp-navwrap .fp-scrollbtn { 
  border-color: #7e4c77 !important;
  background: #fff !important;
}
.fp-navwrap .fp-scrollbtn .fp-icon { 
  color: #7e4c77 !important; 
  background: transparent !important; 
  box-shadow: none !important;
}
.fp-navwrap .fp-scrollbtn .fp-icon svg { 
  fill: #7e4c77 !important; 
  stroke: #7e4c77 !important;
}

/* 1.0.6 Background fix: remove unwanted blue circle behind arrows */
.fp-navwrap .fp-scrollbtn .fp-icon,
.fp-navwrap .fp-scrollbtn .fp-icon svg,
.fp-navwrap .fp-scrollbtn .fp-icon::before,
.fp-navwrap .fp-scrollbtn .fp-icon::after {
  background: transparent !important;
  fill: #7e4c77 !important;
  stroke: #7e4c77 !important;
}


/* 1.0.7: Use inline SVG arrows and neutralize any icon-font/background overrides */
.fp-scrollbtn .fp-icon {
  all: unset;
  display: inline-block;
  width: 16px;
  height: 16px;
  line-height: 1;
  vertical-align: middle;
}
.fp-scrollbtn svg path {
  stroke: #7e4c77 !important;
}
.fp-scrollbtn svg, 
.fp-scrollbtn .fp-icon, 
.fp-scrollbtn .fp-icon * {
  background: transparent !important;
  fill: none !important;
}


/* 1.0.8: Hard reset for any background-image/iconfont replacements */
.fp-navwrap .fp-scrollbtn .fp-icon,
.fp-navwrap .fp-scrollbtn .fp-icon * {
  background: transparent !important;
  background-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  box-shadow: none !important;
}
.fp-navwrap .fp-scrollbtn .fp-icon svg path { stroke: #7e4c77 !important; }
