@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat/montserrat-v30-latin-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat/montserrat-v30-latin-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat/montserrat-v30-latin-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat/montserrat-v30-latin-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}




body {
	font-family: 'Montserrat', system-ui, sans-serif;
	align-items: center;
	background-color: #fff;
	color: #fff;
	margin:0;
}

h1, h2, h3 {
	font-weight: 700;
}

h1 {
	color: #0088cc;
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

a {
	color: #cc0000;
	text-decoration: none;
}

ol li {
    margin-bottom: 20px;
}


.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}



#line-overlay {
  z-index: 5;       /* Header hat 1000, bleibt darüber */
}

/* Oberer Header-Bereich */


.site-header {
  position: sticky;
  top: 0;  /* wichtig */
  left: 0;
  right: 0;
  background: #fff;
  width: 100%; 
  z-index: 1000;
}


.top-header {
  position: relative; /* Bezugspunkt für .main-navigation */
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 10px 16px;
  background: transparent;
}

.top-header__logo {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin-right: auto;
}
.top-header__logo img{
	height: 100px;

}

.top-header__right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.5rem;
	margin-left: auto;
}


.top-header__phone {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: #e50060;
	font-weight: 600;
	font-size: 1rem;
}

.icon-phone {
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	background-image: url('../icons/icon_phone.svg');
	background-size: contain;
	background-repeat: no-repeat;
	position: relative;
	top: 6px;
}

/* Burger-Menü */
.burger {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	margin-top: 10px;
	background: url('../icons/icon_navigation.svg') center center no-repeat;
	background-size: contain;
	border: none;
	cursor: pointer;
}

.burger.open {
	/* 🛈 Platzhalter für späteres X-Symbol – aktuell ebenfalls Burger-Icon */
	background-image: url('../icons/icon_navigation.svg'); /* später ersetzen durch icon_close.svg */
}

/* Navigation (Dropdown-Styling) */
.main-navigation {
  display: none;
  width: 100%; /* jetzt bezogen auf .top-header, nicht auf den Viewport */
  background-color: #fff;
  flex-direction: column;
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  border-top: 1px solid #e50051; /* wie gehabt */
  max-height: 75vh;                 /* oder 70–80vh nach Geschmack */
  overflow-y: auto;                  /* eigener Scroll */
  -webkit-overflow-scrolling: touch; /* smooth auf iOS */
  overscroll-behavior: contain; 
}

.main-navigation.open {
	display: flex;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	border-top: none; 
}

.main-navigation li:last-child {
	border-bottom: 1px solid #e50051;
}

.main-navigation a {
	color: #2d2c80;
	text-decoration: none;
	display: block;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	transition: background-color 0.2s ease;
}

.main-navigation a:hover {
	background-color: #fbe4ec;
}

/* Submenü */
.main-navigation .sub-menu {
	display: none;
	margin-left: 1.5rem;
	padding-left: 0.5rem;
	border-left: 2px solid #e50051;
	border-top: none;
}

.main-navigation .sub-menu li {
	border: none; 
	padding-left: 0.5rem;
}

.main-navigation li.menu-item-has-children {
	border-bottom: 1px solid #e50051;
	position: relative;
}

.main-navigation .menu-item-has-children {
	position: relative;
}
.main-navigation .menu-item-has-children.open > a::after {
	content: '-';
}
.menu-link-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	padding-right: 2.5rem; /* Platz schaffen für das Symbol */
}

.menu-link-wrapper a {
	flex: 1;
	display: block;
	padding: 0.75rem 1rem;
}
.submenu-toggle {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #e50051;
	font-weight: bold;
	font-size: 1.3rem;
	user-select: none;
	line-height: 1;
}
.main-navigation .submenu-toggle:focus {
	outline: 2px solid #e50051;
	outline-offset: 2px;
}
.main-navigation .menu-item-has-children.open > .sub-menu {
	display: block;
}




/* Suche innerhalb Menü */
.menu-search {
	display: none;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem;
	border-bottom: 1px solid #e50051;
}

.main-navigation.open .menu-search {
	display: flex;
}

.menu-search__field {
	flex: 1;
	padding: 0.5rem 1rem;
	border: 1px solid #e50051;
	border-radius: 4px 0 0 4px;
	font-size: 1rem;
	color: #2d2c80;
}

.menu-search__submit {
	width: 2.5rem;
	height: 2.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #e50051;
	border: none;
	border-radius: 0 4px 4px 0;
	background-image: url('../icons/weisse-lupe.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.2rem;
	cursor: pointer;
}

/* === FOOTER === */
.site-footer-outer {
	background-color: #2d2c80;
	color: #fff;
	padding: 4rem 1rem 2rem;
	box-sizing: border-box;
	max-width: 1400px;
	margin: 0 auto;
	margin-top: -20px;
}


.site-footer {
	max-width: 1400px;
	margin: 0 auto;
	box-sizing: border-box;
}

.footer-inner {
	max-width: 960px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.footer-col h3 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #fff;
	text-decoration: none;
}

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

.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li {
	margin-bottom: 0.5rem;
}

.footer-menu a {
	color: #fff;
	text-decoration: none;
	font-size: 0.95rem;
}

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



.error-nav-links .button {
	display: inline-block;
	padding: 0.7rem 1.5rem;
	border: 2px solid #2d2c80;
	color: #2d2c80;
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	transition: all 0.3s ease;
}

.error-nav-links .button:hover {
	background-color: #2d2c80;
	color: #fff;
}


/* ===== BEITRAG ===== */
.beitrag-bereich {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 0;
	color: #2d2c80;
}

.beitrag-bereich__wrapper {
	display: grid;
	grid-template-columns: minmax(0, 220px) 2fr 1fr minmax(0, 220px);
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.beitrag-bereich__content {
	grid-column: 2 / 4;
	padding: 3rem 2rem;
	box-sizing: border-box;
	color: #2d2c80;
}

.beitrag-inhalt h2,
.beitrag-inhalt h3,
.beitrag-inhalt p {
	margin-bottom: 1.5rem;
}



.footer-social .social-list {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.footer-social .social-item {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #ffffff;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	transition: opacity 0.2s ease;
}

.footer-social .social-item:hover {
	opacity: 0.8;
}

.footer-social .social-item img {
	width: 24px;
	height: 24px;
	margin-right: 12px;
	display: inline-block;
}




/* Responsive Verhalten */
@media (max-width: 1224px) {
	.beitrag-bereich__wrapper {
		grid-template-columns: minmax(0, 110px) 2fr 1fr minmax(0, 110px);
	}
}

@media (max-width: 579px) {
	.beitrag-bereich__wrapper {
		grid-template-columns: 0 1fr 1fr 0;
	}
}






/* Responsive Footer */
@media (max-width: 768px) {
	.footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 500px) {
	.footer-inner {
		grid-template-columns: 1fr;
	}
}




