/* CSS RESET & VARIABLES */
:root {
    --primary: #A90072;
    --primary-hover: #b71c1c;
    --secondary: #ff9800;
    --dark: #212121;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #666666;
    --border: #e0e0e0;
    --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 */
header {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	background-color: #96F;
}
.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
	background-color: #96F;
}
.logo-group { display: flex; align-items: center; gap: 12px; }
.logo-img { max-height: 60px; width: auto; }
.logo-text { font-size: 1.3rem; font-weight: bold; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 15px; }
.nav-links a { font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links {
	font-size: 1.10rem;
	font-weight: bold;
	color: #FFF;
}
/* 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 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;
    }
}