/* CSS RESET & VARIABLES */
:root {
    --primary: #A90072;
    --primary-hover: #b71c1c;
    --secondary: #ff9800;
    --dark: #212121;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #666666;
    --border: #e0e0e0;
    --nav-green: #7B7D2C;
    --nav-blue: #397899;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--dark); background-color: var(--light); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* LAYOUT CONTAINERS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 60px 0; }
.text-center { text-align: center; }
section-cta { padding: 100px 0; }
.text-center { text-align: center; }

.cta {
    background-image: url('../images/pc.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0; /* Optional: sorgt für Abstand oben und unten */
}

/* BUTTONS */
.btn { display: inline-block; padding: 12px 24px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: background 0.2s, transform 0.1s; border: none; text-align: center; font-size: 1rem; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: #e68a00; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover, .btn-outline.active { background: var(--primary); color: var(--white); }
/* HEADER TELEFON BUTTON MIT SPRECHZEITEN */
.btn-phone {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    line-height: 1.2;
}

.btn-phone .phone-number {
    font-size: 0.95rem;
    font-weight: bold;
}

.btn-phone .phone-hours {
    font-size: 0.7rem;
    font-weight: normal;
    opacity: 0.9;
    margin-top: 2px;
}
/* ============================================
   HEADER & NAVIGATION
   Design übernommen von webseiten-fewo.de
   ============================================ */
header {
	background: var(--white);
	border-bottom: none;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: auto;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.logo-group { display: flex; align-items: center; gap: 12px; }
.logo-img { max-height: 50px; width: auto; }
.logo-text { font-size: 1.3rem; font-weight: bold; color: var(--primary); }

/* Basis Nav-Menu */
.nav-menu {
	display: flex;
	list-style: none;
	gap: 0.5rem;
	align-items: center;
	position: relative;
}
.nav-menu > li { position: relative; }

/* Nav Links */
.nav-menu a {
	text-decoration: none;
	color: var(--dark);
	font-weight: 500;
	font-size: 0.925rem;
	padding: 0.6rem 1rem;
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	white-space: nowrap;
}

/* Hover-Effekt */
.nav-menu a:hover {
	color: var(--nav-green);
	background: rgba(123, 125, 44, 0.07);
	transform: translateY(-1px);
}

/* Aktiver Link – Hintergrund + Punkt */
.nav-menu a.active {
	color: var(--nav-green);
	background: rgba(123, 125, 44, 0.1);
	font-weight: 600;
}
.nav-menu a.active::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--nav-green);
	border-radius: 50%;
	margin-left: 6px;
	vertical-align: middle;
	box-shadow: 0 0 0 3px rgba(123, 125, 44, 0.25);
	animation: navPulse 2s ease-in-out infinite;
	position: static;
	transform: none;
	top: auto;
	left: auto;
}
@keyframes navPulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.15); opacity: 0.8; }
}

/* Smooth Underline Animation */
.nav-menu a::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 60%;
	height: 2px;
	background: var(--nav-blue);
	border-radius: 2px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
	transform: translateX(-50%) scaleX(1);
	opacity: 1;
}

/* CTA Button in Nav */
.nav-menu .cta-button {
	background: linear-gradient(135deg, var(--primary), var(--primary-hover));
	color: var(--white) !important;
	padding: 0.65rem 1.4rem !important;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.9rem;
	box-shadow: 0 4px 12px rgba(169, 0, 114, 0.3);
	transition: all 0.3s;
}
.nav-menu .cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(169, 0, 114, 0.4);
	background: linear-gradient(135deg, var(--primary-hover), #7a0052);
}
.nav-menu .cta-button::after { display: none; }

/* Telefonnummer in der Nav (nur Desktop > 1100px) */
.nav-menu .nav-phone {
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.15;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--gray);
	padding: 0.4rem 0.6rem;
}
.nav-menu .nav-phone small { font-size: 0.68rem; font-weight: 400; opacity: 0.85; }
@media (max-width: 1100px) {
	.nav-menu .nav-phone { display: none; }
}

/* Hamburger */
.hamburger {
	display: none;
	background: none;
	border: none;
	font-size: 1.8rem;
	cursor: pointer;
	color: var(--primary);
	padding: 0.5rem;
	z-index: 1001;
}
/* HERO SECTION - FULL WIDTH BLOCK */
.hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('/images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0;
    display: flex;
    align-items: center;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; width: 100%; }
.hero-text h1 { font-size: 2.4rem; line-height: 1.4; margin-bottom: 20px; font-weight: 800; }
.hero-text p { font-size: 1.2rem; color: #ddd; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-image-wrapper { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 3px solid rgba(255,255,255,0.2); }

/* PAGE HEADER */
.page-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 50px 0 40px; }
.page-header h1 { font-size: 2.2rem; color: var(--dark); margin-bottom: 10px; }
.page-header p { font-size: 1.1rem; color: var(--gray); max-width: 800px; margin: 0 auto; }

/* FEATURE HIGHLIGHTS & GRID */
.intro-features { background: var(--white); border-bottom: 1px solid var(--border); }
.three-col-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-box { background: var(--light); padding: 30px; border-radius: 8px; border-left: 4px solid var(--primary); }
.feature-box h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--dark); }
.feature-box p { font-size: 0.95rem; color: #444; line-height: 1.6; }

/* DEMO GALLERY */
.filter-buttons { margin-bottom: 35px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.demo-card { background: var(--white); border-radius: 8px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.demo-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.demo-img-wrapper { position: relative; width: 100%; height: 250px; overflow: hidden; background: #eee; }
.demo-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.demo-card:hover .demo-img-wrapper img { transform: scale(1.05); }
.category-badge { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.75rem; padding: 4px 8px; border-radius: 4px; font-weight: bold; }
.demo-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.demo-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 8px; color: var(--dark); }
.demo-desc { font-size: 0.88rem; color: var(--gray); margin-bottom: 15px; }
.demo-price { font-size: 1.2rem; font-weight: bold; color: var(--primary); margin-bottom: 15px; }

/* CONTENT & CARD STYLES */
.content-box { background: var(--white); padding: 40px; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 30px; }
.content-box h2 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary); }
.content-box p { margin-bottom: 15px; font-size: 1rem; color: #444; }

.section-title { font-size: 2rem; margin-bottom: 15px; color: var(--dark); }
.section-title-white { font-size: 2rem; margin-bottom: 15px; color: #FFF; }
.section-subtitle { font-size: 1.1rem; color: var(--gray); max-width: 700px; margin: 0 auto 40px; }

.price-banner { background: var(--white); border-radius: 12px; border: 1px solid var(--border); padding: 40px; margin-top: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* FOOTER */
footer {
	background: var(--dark);
	color: var(--white);
	padding: 50px 0 20px;
	font-size: 0.9rem;
	margin-top: 1px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-grid h3 { margin-bottom: 15px; color: var(--white); }
.footer-grid p, .footer-grid a { color: #ccc; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; color: #888; }

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.1rem; }
    .hero-buttons { justify-content: center; }
}
/* ============================================
   MOBILE NAVIGATION (neu, ab ≤ 768px)
   ============================================ */
@media (max-width: 768px) {
	.hamburger { display: block; }

	.nav-menu {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: var(--white);
		padding: 1rem 0;
		box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
		gap: 0;
		z-index: 999;
	}
	.nav-menu.active { display: flex; }
	.nav-menu li { width: 100%; text-align: center; }
	.nav-menu a {
		display: block;
		padding: 1rem;
		border-bottom: 1px solid var(--light);
	}
	/* Keine pulsierenden Indikatoren im Mobile-Menü */
	.nav-menu a.active {
		color: var(--nav-green);
		font-weight: 600;
		background: transparent;
	}
	.nav-menu a.active::before { display: none; }
	.nav-menu a::after { display: none; }

	.nav-menu .cta-button {
		margin: 1rem;
		text-align: center;
		display: inline-block;
	}
}

/* MOBILE NAVIGATION STYLES */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================
   4. PRINT & FLYER SECTION (DESKTOP)
   ========================================== */
.print-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.print-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.print-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.print-text h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.print-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray);
    margin-bottom: 20px;
}

.print-text {
    padding-left: 30px; /* Oder ein beliebiger Wert wie 20px, 40px */
}
.print-btn {
    align-self: flex-start;
    margin-bottom: 20px;
}

.print-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--light);
    margin-top: auto;
}

.print-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.print-card:hover .print-img-wrapper img {
    transform: scale(1.04);
}

/* ==========================================
   5. TEXTBLÖCKE SECTION (DESKTOP)
   ========================================== */
.text-blocks-section {
    background-color: var(--light);
}

.text-blocks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.text-block-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-block-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.text-block-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.text-block-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
}

/* ==========================================
   6. FOOTER (MIT HINTERGRUNDBILD)
   ========================================== */
footer {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35)), 
                url('../images/footer-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 60px 0;
    margin-top: 60px;
}

footer p {
    font-size: 0.95rem;
    color: #ffffff;
}

/* ==========================================
   7. MOBILE & TABLET RESPONSIVE (BIS 1024PX)
   ========================================== */
@media (max-width: 1024px) {
    /* MENÜ SCHALTET AUF HAMBURGER UM */
    .menu-toggle {
        display: flex !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white) !important;
        flex-direction: column;
        padding: 20px;
        border-bottom: 2px solid var(--border);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 15px;
        text-align: center;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        color: #222222 !important;
        font-weight: 600;
        padding: 8px 0;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary) !important;
    }

    .nav-links .btn-phone {
        width: 100%;
        background-color: var(--primary) !important;
    }

    .nav-links .btn-phone span,
    .nav-links .btn-phone .phone-number,
    .nav-links .btn-phone .phone-hours {
        color: #ffffff !important;
    }

    /* CARDS SCHALTEN AUF 1 SPALTE UNTEREINANDER UM */
    .print-grid, 
    .text-blocks-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .print-btn {
        width: 100%;
    }

    .print-img-wrapper {
        height: 220px !important;
    }
}