/* HERO-Bereich gestalten */
.hero {
  /* Hintergrundfarbe = Hauptton deines Headerbilds */
  background-color: #f3e9e4; 

  /* Höhe reservieren, damit nichts springt (verhindert CLS) */
  min-height: clamp(40vh, 60vh, 70vh);

  /* Bild korrekt darstellen, wenn es geladen ist */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* optional sanfter Übergang beim Laden */
  transition: background-image 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* Moderne Browser können Seitenverhältnis fixieren */
@supports (aspect-ratio: 16/9) {
  .hero {
    aspect-ratio: 16/9;
  }
}

/* Sticky Header */
/* Sticky-Look + Slide-In */
#masthead{
  will-change: transform;
	box-shadow: 0px 5px 5px rgba(128,128,128,0.3);
}

/* Sticky-Zustand, aber OHNE Transition (Start: oben raus) */
#masthead.rn-sticky{
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 9999;

  transform: translateY(-110%);
}

/* Transition erst später aktivieren */
#masthead.rn-sticky.rn-sticky--animate{
  transition: transform 220ms ease;
}

/* Sichtbar */
#masthead.rn-sticky.rn-sticky--visible{
  transform: translateY(0);
}

/* WP Admin Bar */
body.admin-bar #masthead.rn-sticky{ top: 32px; 
}


/* Button framework */
.btn-rosa-weiss a {
	background-color: #d36e70 !important;
	color: #ffffff !important;
	transition: all 0.5s ease;
}

.btn-rosa-weiss:hover a {
	background-color: #ffffff !important;
	color: #d36e70 !important;
}

.rahmen-rosa a {
		border: 1px solid #d36e70 !important;
}
	
.rahmen-blau a {
		border: 1px solid #004f7c !important;
}
	
.rahmen-weiss a {
		border: 1px solid #dffffff !important;
}	
	
.rahmen-rosa-weiss a {
	border: 1px solid #d36e70 !important;
}

.rahmen-rosa-weiss:hover a {
	border-color: #ffffff !important;
}


.btn-blau-weiss a {
	background-color: #004f7c !important;
	color: #ffffff !important;
	transition: all 0.5s ease;
}

.btn-blau-weiss:hover a {
	background-color: #ffffff !important;
	color: #004f7c !important;
}

.rahmen-blau-weiss a {
	border: 1px solid #004f7c !important;
}

.rahmen-blau-weiss:hover a {
	border-color: #ffffff !important;
}


.btn-weiss-rosa a {
	background-color: #ffffff !important;
	color: #d36e70 !important;
	transition: all 0.5s ease;
}

.btn-weiss-rosa:hover a {
	background-color: #d36e70 !important;
	color: #ffffff !important;
}

.rahmen-weiss-rosa a {
	border: 1px solid #ffffff !important;
}

.rahmen-weiss-rosa:hover a {
	border-color: #d36e70 !important;
}


.btn-weiss-blau a {
	background-color: #ffffff !important;
	color: #004f7c !important;
	transition: all 0.5s ease;
}

.btn-weiss-blau:hover a {
	background-color: #004f7c !important;
	color: #ffffff !important;
}

.rahmen-weiss-blau a {
	border: 1px solid #ffffff !important;
}

.rahmen-weiss-blau:hover a {
	border-color: #004f7c !important;
}


/* Silbentrennung Deutsch */
h1, h2, h3, h4, h5, h6, p, figcaption {
  -webkit-hyphens: manual !important;
  hyphens: manual !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}