/* ══════════════════════════════════════════
   Dachbau Wesselowski – Shared Styles
   ══════════════════════════════════════════ */

/* ── Self-hosted Fonts (DSGVO) ── */
@font-face {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/bebas-neue-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/work-sans-latin.woff2') format('woff2');
}

/* ── Design Tokens ── */
:root {
    --primary-color: #c8102e;
    --primary-dark: #a00d25;
    --secondary-color: #1a1a1a;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #5a6672;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 50px rgba(0,0,0,0.15);
}

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
}

/* ── Accessibility ── */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}
.logo img { height: 120px; width: auto; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 15px;
    letter-spacing: 0.5px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--primary-color); }

/* ── CTA Button ── */
.cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}
.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 16, 46, 0.4);
}
.nav-links .cta-button,
.nav-links .cta-button.active,
.nav-links .cta-button:hover { color: var(--white) !important; }

/* ── Mobile Menu ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 3px 0;
    transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .logo img { height: 55px; }
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: 0.3s;
        z-index: 1000;
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 20px 0; }
    body.menu-open { overflow: hidden; }
}

/* ── Page Header (subpages) ── */
.page-header {
    height: 560px;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.92) 0%, rgba(26, 26, 26, 0.88) 100%),
                url("hero-dachdecker-berlin-steildach.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 110px;
    padding: 0 20px;
}
.page-header h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 64px;
    letter-spacing: 3px;
}
.page-header-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin: 10px 0 18px;
    opacity: 0.95;
}
.page-header-intro {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.88;
    max-width: 720px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .page-header { height: auto; padding: 60px 20px; }
    .page-header h1 { font-size: 48px; }
}

/* ── Layout ── */
.container { max-width: 1400px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ── Footer ── */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 20px 20px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-grid img { height: 120px; width: auto; }
.footer-grid p,
.footer-grid a {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
.footer-grid a:hover { color: #fff; }
.footer-grid h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #fff;
}
.footer-social { display: flex; gap: 15px; }
.footer-social a { color: #fff; font-size: 20px; transition: color 0.3s; }
.footer-social a:hover { color: var(--primary-color); }
.footer-links { line-height: 2; }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}
.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

/* ── Google Maps DSGVO Placeholder ── */
.maps-consent {
    width: 100%;
    height: 450px;
    background: #e8e8e8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    padding: 40px;
}
.maps-consent p {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    max-width: 500px;
    line-height: 1.6;
}
.maps-consent button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.maps-consent button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.maps-consent small {
    font-size: 12px;
    color: var(--text-light);
}

/* ── Breadcrumb ── */
.breadcrumb {
    background: var(--bg-light);
    padding: 20px 0;
    margin-top: 110px;
}
.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--primary-color);
}
.breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

/* ── Service Detail Pages ── */
.hero-service {
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}
.hero-service h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 56px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.hero-service p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.95;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-white {
    background: var(--white);
    color: var(--primary-color);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.content-section {
    padding: 80px 20px;
    background: var(--white);
}
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}
.main-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 42px;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    letter-spacing: 1px;
}
.main-content h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}
.main-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 17px;
}
.main-content ul {
    margin: 20px 0 20px 30px;
}
.main-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.sidebar-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.sidebar-box h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 26px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.sidebar-box ul {
    list-style: none;
}
.sidebar-box li {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}
.sidebar-box li:last-child {
    border: none;
}
.sidebar-box a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}
.sidebar-box a:hover {
    color: var(--primary-color);
}
.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}
.cta-box h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.cta-box p {
    margin-bottom: 25px;
    opacity: 0.95;
}
.btn-cta {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    font-size: 16px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 40px 0;
}
.feature-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}
.feature-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.feature-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}
.faq-section {
    background: var(--bg-light);
    padding: 60px 20px;
    margin-top: 60px;
}
.faq-item {
    background: var(--white);
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.faq-item h4 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.faq-item p {
    color: var(--text-dark);
    line-height: 1.7;
}
@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

/* ── Referenz Detail Pages ── */
.project-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 25px;
    font-size: 15px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    padding: 8px 16px;
    border-radius: 50px;
}
.project-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 40px 0;
}
.detail-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}
.detail-box h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.detail-box p {
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary-color);
}
.quote {
    font-style: italic;
    background: var(--bg-light);
    padding: 28px 30px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
    font-size: 16px;
    color: var(--text-dark);
}
.nav-project {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
}
.nav-project a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}
@media (max-width: 768px) {
    .project-image { height: 280px; }
    .project-meta { gap: 10px; }
}

/* ── Kontakt Page ── */
.contact-section {
    padding: 80px 20px;
    background: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}
.contact-info h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    letter-spacing: 2px;
}
.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}
.contact-item-content h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}
.contact-item-content p {
    color: var(--text-light);
    line-height: 1.6;
}
.contact-item-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.contact-form h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    transition: border 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}
.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 1px;
}
.form-group textarea {
    resize: vertical;
    min-height: 150px;
}
.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.map-section {
    padding: 0;
    height: 450px;
    background: #e0e0e0;
}
.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Über Uns Page ── */
.about-section {
    padding: 80px 20px;
    background: var(--white);
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.about-text h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    letter-spacing: 2px;
}
.about-text p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.values-section {
    padding: 80px 20px;
    background: var(--bg-light);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 30px;
}
.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}
.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}
@media (max-width: 768px) {
    .about-content { grid-template-columns: 1fr; }
}

/* ── Legal Pages ── */
.legal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}
.legal-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    margin: 40px 0 20px;
    color: var(--secondary-color);
    letter-spacing: 1px;
}
.legal-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--secondary-color);
    font-weight: 600;
}
.legal-content h4 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: var(--secondary-color);
    font-weight: 600;
}
.legal-content p {
    margin-bottom: 15px;
    line-height: 1.9;
    text-align: justify;
}
.legal-content ul {
    margin: 15px 0 15px 30px;
    line-height: 1.9;
}
.legal-content li {
    margin-bottom: 10px;
}
.legal-content strong {
    font-weight: 600;
    color: var(--secondary-color);
}
.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}
.warning-box h4 {
    color: #856404;
    margin-top: 0;
}
.warning-box p {
    color: #856404;
}
@media (max-width: 768px) {
    .legal-content { padding: 40px 20px; }
}

/* ── 404 Page ── */
.error-section {
    min-height: calc(100vh - 150px);
    margin-top: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.error-content {
    max-width: 600px;
}
.error-code {
    font-family: 'Bebas Neue', cursive;
    font-size: 180px;
    line-height: 1;
    color: var(--primary-color);
    letter-spacing: 8px;
    margin-bottom: 10px;
}
.error-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 42px;
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.error-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}
.error-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .error-code { font-size: 120px; }
    .error-title { font-size: 32px; }
    .error-section { margin-top: 120px; }
}

/* ── Leistungen Overview ── */
.services-grid {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.service-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    width: fit-content;
}
.service-content h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.service-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}
.service-link:hover {
    gap: 12px;
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ── FAQ Page ── */
.faq-filters {
    max-width: 1000px;
    margin: 50px auto 0;
    padding: 0 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.filter-btn {
    background: #fff;
    border: 2px solid #e0e0e0;
    color: var(--text-dark);
    padding: 9px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.faq-page .faq-section {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 0 20px;
    background: transparent;
    margin-top: 40px;
}
.faq-category {
    margin-bottom: 55px;
}
.faq-category-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-category-title i {
    color: var(--primary-color);
    font-size: 26px;
}
.faq-page .faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.2s;
    padding: 0;
}
.faq-page .faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    gap: 15px;
}
.faq-question h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.4;
    flex: 1;
}
.faq-question .faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}
.faq-question .faq-icon i {
    color: var(--primary-color);
    font-size: 14px;
    transition: transform 0.3s;
}
.faq-item.open .faq-question {
    border-bottom: 1px solid #f0f0f0;
}
.faq-item.open .faq-question .faq-icon {
    background: var(--primary-color);
}
.faq-item.open .faq-question .faq-icon i {
    color: #fff;
    transform: rotate(45deg);
}
.faq-answer {
    display: none;
    padding: 22px 28px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    background: #fafafa;
}
.faq-answer.open {
    display: block;
}
.faq-answer strong {
    color: var(--secondary-color);
}
.faq-answer .tip {
    background: #fff3cd;
    border-left: 4px solid #e8a000;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin: 12px 0;
    font-size: 14px;
}
.faq-answer .tip i {
    color: #e8a000;
    margin-right: 6px;
}
.faq-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 16px;
    margin: 0 20px 80px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.faq-cta h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 42px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.faq-cta p {
    opacity: 0.92;
    margin-bottom: 30px;
    font-size: 17px;
}
.faq-cta a {
    background: #fff;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
@media (max-width: 768px) {
    .faq-question h3 { font-size: 15px; }
    .faq-question { padding: 18px 20px; }
    .faq-answer { padding: 18px 20px; }
}

/* ── Karriere Page ── */
.intro-section {
    padding: 80px 20px;
    background: var(--white);
}
.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.intro-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.intro-content p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}
.benefits-section {
    padding: 80px 20px;
    background: var(--bg-light);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.benefit-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 26px;
    color: var(--white);
}
.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}
.benefit-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}
.jobs-section {
    padding: 80px 20px;
    background: var(--white);
}
.job-card {
    max-width: 1000px;
    margin: 0 auto 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
}
.job-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}
.job-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 40px;
}
.job-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}
.job-header h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 38px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.job-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 15px;
    opacity: 0.95;
}
.job-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.job-content {
    padding: 40px;
}
.job-intro {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 500;
}
.job-section {
    margin-bottom: 35px;
}
.job-section h4 {
    font-family: 'Bebas Neue', cursive;
    font-size: 26px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.job-list {
    list-style: none;
}
.job-list li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.7;
}
.job-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}
.job-footer {
    background: var(--bg-light);
    padding: 40px;
    border-top: 3px solid var(--primary-color);
}
.job-footer h4 {
    font-family: 'Bebas Neue', cursive;
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    letter-spacing: 1px;
}
.job-footer p {
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.7;
}
.contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.whatsapp-button {
    background: #25D366;
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(37,211,102,0.3);
}
.whatsapp-button:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}
.whatsapp-button i {
    font-size: 22px;
}
.phone-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(200,16,46,0.3);
}
.phone-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200,16,46,0.4);
}
.email-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(26,26,26,0.3);
}
.email-button:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26,26,26,0.4);
}
.contact-info-box {
    background: linear-gradient(135deg, rgba(200,16,46,0.1), rgba(243,156,18,0.1));
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
}
.contact-info-box p {
    margin-bottom: 10px;
    font-weight: 500;
}
.contact-info-box strong {
    color: var(--primary-color);
}
@media (max-width: 768px) {
    .job-header h3 { font-size: 28px; }
    .contact-buttons { flex-direction: column; }
    .whatsapp-button,
    .phone-button,
    .email-button { width: 100%; justify-content: center; }
}

/* ── Referenzen Overview ── */
.projects-grid {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* ── Referenz Detail Hero & Content ── */
.referenz-hero {
    height: 350px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}
.referenz-hero .hero-content { max-width: 1200px; margin: 0 auto; }
.referenz-hero h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.15;
}
.referenz-hero p { font-size: 18px; opacity: 0.92; max-width: 800px; }
.referenz-content { max-width: 1200px; margin: 60px auto; padding: 0 20px; }
.referenz-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    color: var(--secondary-color);
    margin: 50px 0 20px;
    letter-spacing: 1px;
}
.referenz-content p { margin-bottom: 20px; line-height: 1.85; font-size: 16px; }
.referenz-content ul { margin: 15px 0 25px 25px; }
.referenz-content li { margin-bottom: 11px; line-height: 1.7; }
@media (max-width: 768px) {
    .referenz-hero { padding: 50px 20px; height: auto; }
    .referenz-hero h1 { font-size: 36px; }
}

/* ── Referenzen CTA ── */
.referenzen-cta {
    text-align: center;
    margin: 0 auto 80px;
    max-width: 1200px;
    padding: 60px 20px;
    background: var(--bg-light);
    border-radius: 15px;
}
.referenzen-cta h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.referenzen-cta p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ── Legacy Footer Classes ── */
footer.site-footer,
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 20px 30px;
}
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}
.footer-section h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-section a:hover {
    color: var(--white);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-contact-item {
    display: flex;
    gap: 15px;
}
.footer-contact-item i {
    color: var(--primary-color);
    font-size: 20px;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    margin-top: 40px;
}
.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}
