/*
	Theme Name: Hello Elementor Child
	Theme URI: https://philip-hilgendorf.com
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Philip Hilgendorf
    Template: hello-elementor
	Author URI: https://philip-hilgendorf.com
	Version: 3.4.4
	Stable tag: 3.4.4
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* ==========================================
   Raleway Font Import
   ========================================== */

/* Raleway Thin */
@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

/* Raleway ExtraLight */
@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

/* Raleway Light */
@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Raleway Regular */
@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Raleway Medium */
@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* Raleway SemiBold */
@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* Raleway Bold */
@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Raleway ExtraBold */
@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* Raleway Black */
@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ==========================================
   CSS Variables
   ========================================== */

:root {
  /* Hauptfarben */
  --tbg-primary: #0413FF;
  --tbg-secondary: #F0D3E5;
  --tbg-text: #FFFFFF;
  --tbg-accent: #631446;
  
  /* Custom Colors */
  --tbg-dark-blue: #041384;
  --tbg-dark-pink: #E2ABCB;
  --tbg-dark-beige: #E1CDC8;
  --tbg-light-beige: #F3ECE9;
  --tbg-black-blue: #04134E;
}

html, body {
	width: 100%;
	font-family: 'Raleway', sans-serif;
}
#content {
	margin: 0 20px;
}
.page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {margin: auto!important;}

/* ==========================================
   Custom Header Styles
   ========================================== */

/* Header Container */
#site-header.site-header {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
	position: relative;
	padding: 15px 30px;
	background-color: #fff;
	box-sizing: border-box;
	margin: 0;
	max-width: unset;
}

/* Left Logo */
.site-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.site-logo img {
	max-height: 60px;
	width: auto;
}

/* Center Branding */
.site-branding {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	grid-column: 2;

}
.site-header .site-title {
	font-size: 1em;
	font-weight: 700;
}

/* Right Section: DE and Hamburger Menu */
.header-right {
	display: flex;
	align-items: center;
	gap: 15px;
	justify-self: flex-end;
	grid-column: 3;
}

.language-switcher {
	font-size: 1rem;
	font-weight: 600;
	color: var(--tbg-primary);
	letter-spacing: 1px;
	cursor: pointer;
	transition: color 0.3s ease;
}

.language-switcher:hover {
	color: #666;
}

.site-branding .site-title {
	margin: 0;
	font-size: 1rem!important;
	font-weight: 700!important;
	letter-spacing: 2px;
}

.site-branding .site-title a {
	text-decoration: none;
	color: var(--tbg-primary);
	transition: color 0.3s ease;
}

.site-branding .site-title a:hover {
	color: #666;
}

/* Hamburger Menu Button */
.hamburger-menu {
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 1000;
	display: flex;
	flex-direction: column;
    gap: 4px;
    width: 45px;
    height: 42px;
	margin-top: 3px;
}

.hamburger-menu .hamburger-line {
	display: block;
	width: 100%;
	height: 3px;
	transition: all 0.3s ease;
	border-radius: 2px;
	background-color: var(--tbg-primary);
}

.hamburger-menu:hover, 
.hamburger-menu:focus {
	background-color: transparent;
}

/* Mobile Navigation */
.site-navigation {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.3s ease;
	z-index: 999;
	padding: 0 20px;
}

.site-navigation.active {
	max-height: 500px;
	opacity: 1;
	padding: 0;
}
.site-navigation ul.menu li a {
    padding: 8px 30px!important;
}
.site-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.site-navigation li {
	margin: 0;
	font-weight: 500;
	width: 100%;
}

.site-navigation a {
	display: block;
	padding: 15px 20px;
	text-decoration: none;
	color: #333;
	font-size: 16px;
	transition: background-color 0.3s ease;
	border-radius: 0;
	width: 100%;
	text-align: left;
	border-bottom: 1px solid #f0f0f0;
}

.site-navigation a:hover {
	background-color: #f5f5f5;
}

.site-navigation li:last-child a {
	border-bottom: none;
}

/* Hamburger Animation when Active */
.hamburger-menu.active .hamburger-line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
	opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Overlay for Mobile Menu - Deaktiviert */
.menu-overlay {
	display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.site-branding .site-title {
		font-size: 14px;
		letter-spacing: 1.5px;
	}
}

@media (max-width: 480px) {
	.site-branding .site-title {
		font-size: 12px;
		letter-spacing: 1px;
	}

	.hamburger-menu {
		width: 30px;
		height: 25px;
	}
}

/* ==========================================
   Blog Template Styles
   ========================================== */

.blog-template .page-header {
	text-align: center;
	margin-bottom: 50px;
	padding: 40px 20px;
}

.blog-template .page-header .entry-title {
	font-size: 2.5rem;
	color: var(--tbg-primary);
	margin-bottom: 15px!important;
    font-weight: 400;
    font-size: 55px;
    line-height: 1.2;
}

.blog-template .page-intro {
	margin: 0 auto;
	font-size: 1.1rem;
	line-height: 1.6;
	color: #666;
}

/* Blog Posts Container */
.blog-posts-container {
	margin: 0 auto;
	padding: 0 20px 60px;
}

/* Blog Posts Grid */
.blog-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 40px;
	margin-bottom: 50px;
}

/* Individual Blog Post Item */
.blog-post-item {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.blog-post-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

/* Post Thumbnail */
.blog-post-item .post-thumbnail {
	width: 100%;
	height: 250px;
	overflow: hidden;
	position: relative;
}

.blog-post-item .post-thumbnail a {
	display: block;
	height: 100%;
}

.blog-post-item .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blog-post-item:hover .post-thumbnail img {
	transform: scale(1.05);
}

/* Post Content */
.blog-post-item .post-content {
	padding: 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Post Meta */
.blog-post-item .post-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
	font-size: 0.875rem;
	color: #999;
}

.blog-post-item .post-date {
	font-weight: 500;
}

.blog-post-item .post-categories {
	display: flex;
	gap: 8px;
}

.blog-post-item .post-categories a {
	color: var(--tbg-primary);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.blog-post-item .post-categories a:hover {
	color: var(--tbg-dark-blue);
}

/* Post Title */
.blog-post-item .post-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 15px;
	line-height: 1.3;
}

.blog-post-item .post-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-post-item .post-title a:hover {
	color: var(--tbg-primary);
}

/* Post Excerpt */
.blog-post-item .post-excerpt {
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
	flex: 1;
}

/* Read More Link */
.blog-post-item .read-more-link {
	color: var(--tbg-primary);
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: gap 0.3s ease, color 0.3s ease;
	margin-top: auto;
	gap: 8px;
}

.blog-post-item .read-more-link i {
	transition: transform 0.3s ease;
	font-size: 0.9em;
}

.blog-post-item .read-more-link:hover {
	color: var(--tbg-dark-blue);
}

.blog-post-item .read-more-link:hover i {
	transform: translateX(4px);
}

/* No Posts Found */
.no-posts-found {
	text-align: center;
	padding: 60px 20px;
	font-size: 1.2rem;
	color: #999;
}

/* Blog Pagination */
.blog-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	gap: 20px;
}

.blog-pagination .nav-previous,
.blog-pagination .nav-next {
	flex: 1;
}

.blog-pagination .nav-next {
	text-align: right;
}

.blog-pagination a {
	color: var(--tbg-primary);
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	padding: 12px 24px;
	border: 2px solid var(--tbg-primary);
	border-radius: 5px;
	display: inline-block;
	transition: all 0.3s ease;
}

.blog-pagination a:hover {
	background-color: var(--tbg-primary);
	color: #fff;
}

.blog-pagination .meta-nav {
	margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.blog-posts-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.blog-template .page-header .entry-title {
		font-size: 2rem;
	}

	.blog-post-item .post-title {
		font-size: 1.3rem;
	}

	.blog-pagination {
		flex-direction: column;
	}

	.blog-pagination .nav-next {
		text-align: left;
	}
}

@media (max-width: 480px) {
	.blog-template .page-header {
		padding: 30px 15px;
		margin-bottom: 30px;
	}

	.blog-template .page-header .entry-title {
		font-size: 1.75rem;
	}

	.blog-post-item .post-thumbnail {
		height: 200px;
	}

	.blog-post-item .post-content {
		padding: 20px;
	}

	.blog-post-item .post-title {
		font-size: 1.2rem;
	}
}
