/* ═══════════════════════════════════════════════════════════════
 BASIS & VARIABLEN
 ═══════════════════════════════════════════════════════════════ */
:root {
    --primary-green: #d97706;
    --light-green: #f59e0b;
    --dark-green: #292524;
    --accent-green: #fb923c;
    --dark-bg: #fef3c7;
    --darker-bg: #78350f;
    --card-bg: #eeeeed;
    --text-light: #fef3c7;
    --text-gray: #78716c;
    --white: #ffffff;
    --mittelteil: #fde68a;
    --staatliche: #699E4B;
    --Schrift1: #1c1917;
    --Schrift2: #ffffff;
    --Schrift3: #fef3c7;
    --Footer1: #fef3c7;
    --Footer2: #92400e;
    --header: #f59e0be0;
    --background-formular: #fde68ae0;
    --button: #1e3a8a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--Schrift1);
    background: linear-gradient(to top, #f6881a, #f6f09f);
}


/* Padding-Top für fixed Header */
body {
    padding-top: 135px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══════════════════════════════════════════════════════════════
 HEADER & NAVIGATION
 ═══════════════════════════════════════════════════════════════ */
.header {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: fixed !important; 
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--header);
}

.header-top {
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 0;
    background-color: var(--dark-green);
    font-size: 14px;
}

.header .container,
.header-top .container,
.navbar .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

.header-top .container, .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
    padding-left: 80px !important;
}

.contact-info a {
    color: var(--Schrift2);
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 0.8;
}

.bafa-badge {
    color: var(--Schrift2);
    font-weight: 500;
    padding-right: 80px !important;
}

.navbar {
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 80px !important;
    margin-left: 60px;
}

.logo img {
    width: 200px;
    height: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    padding-right: 20px !important;
    position: relative;
}

.nav-menu a {
    color: var(--Schrift1);
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.navbar .btn-primary,
.btn-primary.btn-large {
    margin-right: 80px !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: auto;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--Schrift1);
    border-radius: 10px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ═══════════════════════════════════════════════════════════════
 DROPDOWN NAVIGATION
 ═══════════════════════════════════════════════════════════════ */
.nav-item {
    position: relative;
    list-style: none;
}

.dropdown-toggle {
    color: var(--Schrift1);
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: "▼";
    font-size: 12px;
    transition: transform 0.3s;
    margin-left: 3px;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: #ffffff;
    min-width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    z-index: 1000;
    border: 1px solid rgba(217, 119, 6, 0.1);
}

@media (min-width: 769px) {
    .nav-item.dropdown:hover > .dropdown-menu,
    .dropdown-menu:hover {
        display: block;
        animation: fadeInDown 0.3s ease;
    }
    .nav-item.dropdown::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 10px;
        background: transparent;
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu li {
    list-style: none;
    padding: 0;
    border-bottom: none;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--Schrift1);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #fef3c7;
    color: var(--primary-green);
    padding-left: 25px;
}

/* ═══════════════════════════════════════════════════════════════
 BUTTONS
 ═══════════════════════════════════════════════════════════════ */
.btn-primary {
    background-color: var(--button);
    color: var(--Schrift2);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
}

.btn-primary:hover {
    background-color: #5cac8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.btn-primary.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-secondary {
    background-color: var(--header);
    color: var(--Schrift1);
    border: 2px solid var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-secondary:hover {
    background-color: #5cac8a;
    color: #5cac8a;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-green {
    background: #7ab51d;
    color: #fff;
    box-shadow: 0 8px 18px rgba(86, 130, 19, 0.5);
}

.btn-green:hover {
    background: #6aa118;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(86, 130, 19, 0.6);
}

.btn-dark {
    background: #101628;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.btn-dark:hover {
    background: #0b1020;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

/* ═══════════════════════════════════════════════════════════════
 HERO BEREICHE (Komprimiert)
 ═══════════════════════════════════════════════════════════════ */
.hero, .heroenergieberatung, .herofoerdermittelberatung, .herobaubegleitung, 
.heroheizlastberechnung, .heroenergieausweis, .herowaermebruecken, .herofoerderrechner {
    margin-top: 147px;
    position: relative;
    min-height: 900px;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero {
    background-image: url('./Bilder/KI_Bilder/KI-index-gebaeudeenergieberatung.png');
    background-position: 65% 30%;
    padding: 100px 450px 200px 80px;
}

/* Geteilte Backgrounds und Paddings für Unterseiten-Heros */
.heroenergieberatung, .herofoerdermittelberatung, .herobaubegleitung, 
.heroheizlastberechnung, .heroenergieausweis, .herowaermebruecken, .herofoerderrechner {
    background-position: center 40%;
    padding: 50px 0;
}

.heroenergieberatung { background-image: url('./Bilder/KI_Bilder/KI-Energieberatung.png'); }
.herofoerdermittelberatung, .herobaubegleitung, .heroheizlastberechnung, .herofoerderrechner { 
    background-image: url('./Bilder/KI_Bilder/KI-\ Fördermittelberatung.png'); 
}
.heroenergieausweis { background-image: url('./Bilder/KI_Bilder/KI-Energieausweis.png'); }
.herowaermebruecken { background-image: url('./Bilder/KI_Bilder/KI-Wärmebrücken.png'); }
.herobaubegleitung { background-image: url('./Bilder/KI_Bilder/KI-baubegleitung.png'); }

.hero-overlay, .hero-overlay-con {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.hero-overlay-con {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}

.hero-text-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: 100px;
}

.hero-main-title {
    font-size: 60px;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-sub-title {
    font-size: 32px;
    font-weight: 600;
    color: #1c1917;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-description {
    font-size: 20px;
    color: #1c1917;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta-button {
    background-color: #1e3a8a;
    color: #ffffff;
    border: none;
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.hero-cta-button:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1025px 1fr;
    gap: 100px;
    align-items: center;
    width: 40%;
    margin-left: 80px;
}

.hero-logo-container img {
    border: none;
    width: 800px;
    height: auto;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-right: 200px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 0.3rem;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--Schrift1);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-location { color: var(--accent-green); }

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--Schrift1);
}

.checkmark {
    color: var(--accent-green);
    font-size: 20px;
    font-weight: bold;
}

/* Spezifische Hero Container für Unterseiten */
.herocontainer, .herocontainerindex {
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 40px 20px;
    background: url("grafik.jpg") center/cover no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.herocontainerindex {
    margin-left: -500px;
}

.hero-content-con {
    position: relative;
    max-width: 900px;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.8rem;
}

.hero-box {
    background: rgba(20, 20, 20, 0.85);
    border-radius: 18px;
    padding: 26px 30px;
    max-width: 780px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.hero-box p {
    line-height: 1.5;
    font-size: 1.02rem;
    margin-bottom: 1.4rem;
}

/* ═══════════════════════════════════════════════════════════════
 ALLGEMEINE SECTIONS & KARTEN
 ═══════════════════════════════════════════════════════════════ */
.section, .services-section, .funding-section, .target-section, .contact-section, .faq-accordion-section {
    padding: 80px 0;
}

.section .container,
.services-section .container,
.funding-section .container,
.target-section .container,
.contact-section .container,
.faq-accordion-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--Schrift1);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--Schrift1);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 30px;
    color: var(--Schrift1);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-section { background: linear-gradient(to top, #b6b9c8); }
.target-section { background: linear-gradient(180deg, #b6b9c8 20%, #b6b9c8 100%); }
.funding-section { background-color: var(--staatliche); }

.services-grid, .target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.target-grid { margin-bottom: 60px; }

.service-card, .target-card, .funding-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid rgba(217, 119, 6, 0.1);
}

.service-card { padding: 40px 30px; }
.target-card { padding: 35px 25px; text-align: center; border-radius: 12px; }
.funding-card { padding: 30px; border-radius: 12px; }

.service-card:hover, .target-card:hover, .funding-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.2);
    border-color: var(--light-green);
}

.service-icon, .target-icon, .funding-icon {
    background-color: var(--header);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon { width: 70px; height: 70px; border-radius: 12px; margin-bottom: 25px; }
.target-icon { width: 65px; height: 65px; border-radius: 10px; margin: 0 auto 20px; }
.funding-icon { width: 50px; height: 50px; border-radius: 8px; font-size: 24px; margin-bottom: 20px; }

.service-title, .target-title, .funding-card-title {
    font-weight: 700;
    color: var(--Schrift1);
}

.service-title { font-size: 24px; margin-bottom: 15px; }
.target-title { font-size: 20px; margin-bottom: 10px; }
.funding-card-title { font-size: 20px; margin-bottom: 10px; }

.service-description, .target-description, .funding-card-text {
    color: var(--Schrift1);
}
.service-description { font-size: 16px; margin-bottom: 25px; line-height: 1.7; }
.target-description { font-size: 14px; }
.funding-card-text { font-size: 14px; line-height: 1.6; }

.service-features { list-style: none; }
.service-features li {
    padding: 8px 0 8px 25px;
    color: var(--Schrift1);
    font-size: 15px;
    position: relative;
}
.service-features li::before {
    content: "•";
    color: var(--accent-green);
    font-size: 20px;
    position: absolute;
    left: 0;
}

.funding-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.funding-left { padding-right: 20px; }
.funding-text {
    font-size: 16px;
    color: var(--Schrift1);
    margin-bottom: 20px;
    line-height: 1.8;
}
.funding-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
/* ===================================================
   NEUES CLEANES DESIGN FÜR LEISTUNGSKARTEN
   =================================================== */
.services-section {
    background: #b6b9c8 !important; /* Heller, warmer Creme-Ton aus deinem Bild */
    padding: 80px 0;
}

.service-card {
    background-color: #ffffff !important;
    border-radius: 4px !important; /* Ganz leicht abgerundet */
    border: none !important; 
    border-left: 4px solid #699E4B !important; /* Dein GESA-Grün als Balken */
    padding: 30px 25px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    text-align: left !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.service-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}

/* Wir blenden die alten Icons und Listen aus, da sie im neuen Design nicht genutzt werden */
.service-icon {
    display: none !important;
}

.service-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    line-height: 1.4 !important;
}

.service-description {
    font-size: 15px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}
/* ═══════════════════════════════════════════════════════════════
 NUMBERED SECTIONS & FAQ
 ═══════════════════════════════════════════════════════════════ */
.numbered-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.section-number {
    background-color: #699E4B;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(105, 158, 75, 0.3);
}

.numbered-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--Schrift1);
    margin: 0;
    padding-left: 20px;
    border-left: 4px solid #699E4B;
    line-height: 1.3;
    flex: 1;
}

.numbered-section-title.no-border {
    border-left: none;
    padding-left: 0;
}

.section-content {
    padding-left: 120px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--Schrift1);
}

.section-content p { margin-bottom: 20px; }
.section-content ul { list-style: none; padding-left: 0; }
.section-content ul li {
    padding: 10px 0 10px 30px;
    position: relative;
}
.section-content ul li:before {
    content: "✓";
    color: #699E4B;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* FAQ Accordion */
.faq-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.btn-faq {
    background-color: #1c1917;
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-faq:hover {
    background-color: #699E4B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(105, 158, 75, 0.3);
}

.accordion-container {
    background-color: #ffffff;
    border: 2px solid #e7e5e4;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.accordion-item { border-bottom: 1px solid #e7e5e4; }
.accordion-item:last-child { border-bottom: none; }

.accordion-button {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #1c1917;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-button:hover { background-color: #fef3c7; }
.accordion-item.active .accordion-button { background-color: #f5f5f4; }
.accordion-bullet { color: #699E4B; font-size: 16px; flex-shrink: 0; }
.accordion-question { flex: 1; line-height: 1.4; }
.accordion-icon { color: #699E4B; font-size: 14px; transition: transform 0.3s ease; flex-shrink: 0; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 30px 24px 60px;
}

.accordion-content p {
    font-size: 16px;
    color: #57534e;
    line-height: 1.8;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
 KONTAKT & FORMULARE
 ═══════════════════════════════════════════════════════════════ */
.contact-section {
    background: linear-gradient(180deg, #b6b9c8 100%, #78350f 10%);
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.contact-info-card {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(217, 119, 6, 0.1);
    transition: all 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--light-green);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.15);
}

.contact-info-icon { font-size: 36px; margin-bottom: 15px; }
.contact-info-card h3 { font-size: 18px; font-weight: 700; color: var(--Schrift1); margin-bottom: 10px; }
.contact-info-card p { font-size: 14px; color: var(--Schrift1); line-height: 1.6; }

.contact-form {
    background-color: var(--card-bg);
    padding: 50px 45px;
    border-radius: 16px;
    border: 1px solid rgba(217, 119, 6, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 18px;
    font-weight: 600;
    color: var(--Schrift1);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15); /* Rand leicht abgedunkelt für bessere Sichtbarkeit */
    border-radius: 8px;
    background-color: #ffffff; /* Weißer Hintergrund für klaren Kontrast */
    color: var(--Schrift1);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03); /* Ganz dezenter innerer Schatten */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background: linear-gradient(to top, #fef3c7, #fffbeb);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select { cursor: pointer; }

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
}

.form-checkbox a { color: var(--accent-green); text-decoration: none; transition: opacity 0.3s; }
.form-checkbox a:hover { opacity: 0.8; text-decoration: underline; }

.contact-form .btn-primary { width: 100%; margin-top: 10px; }

.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.form-message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ═══════════════════════════════════════════════════════════════
 FÖRDERRECHNER (Konsolidiert)
 ═══════════════════════════════════════════════════════════════ */
.calculator,
.calculator .container,
.calculator-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.calculator {
    padding: 0;
    background-color: var(--background-color);
}

.calculator-container, .calculator-input-container {
    background: linear-gradient(to right, var(--primary-color), var(--gradient-start));
    border-radius: 10px;
    padding: 40px;
    margin: 50px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.calculator-intro { margin-bottom: 30px; }
.calculator-intro h2 { font-size: 36px; text-align: left; color: var(--secondary-color); }
.calculator-intro p { font-size: 16px; }

.calculator-input-container .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.calculator-input-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
}

.calculator-input-container input[type="number"],
.calculator-input-container select {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    background-color: #ffffff;
    color: #1c1917;
    transition: all 0.3s;
    width: 100%;
}

.calculator-input-container input[type="number"]:focus,
.calculator-input-container select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
    background-color: #fef3c7;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item { display: flex; align-items: center; gap: 10px; }
.checkbox-item input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; accent-color: #ffffff; }
.checkbox-item label { margin-bottom: 0; font-weight: 400; color: #ffffff; cursor: pointer; font-size: 14px; }

.calculator-input-container .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    grid-column: span 2;
}

.calculator-input-container .form-actions button {
    background-color: #1e3a8a;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.calculator-input-container .form-actions button:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
}

.calculator-input-container .form-actions button[type="reset"] { background-color: #78716c; }
.calculator-input-container .form-actions button[type="reset"]:hover { background-color: #57534e; }

.calculator-results {
    background: linear-gradient(to right, var(--primary-color), var(--gradient-start));
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    display: none;
    color: var(--Schrift1);
}

.calculator-results h3 {
    margin-bottom: 25px;
    text-align: center;
    color: var(--Schrift1);
    font-size: 28px;
    font-weight: 600;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.result-card h4 { margin-bottom: 15px; color: var(--Schrift1); font-size: 18px; }
.result-value { font-size: 40px; font-weight: 700; color: var(--Schrift1); margin-bottom: 10px; }
.result-info { font-size: 16px; color: var(--Schrift1); }

.results-note {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid white;
    padding: 15px;
    margin-top: 30px;
    border-radius: 0 4px 4px 0;
    color: var(--Schrift1);
}

/* ═══════════════════════════════════════════════════════════════
 PARTNER LOGOS
 ═══════════════════════════════════════════════════════════════ */
.partners-showcase-section {
    background-color: #b6b9c8;
    padding: 80px 0;
    border-top: 1px solid rgba(217, 119, 6, 0.1);
    border-bottom: 1px solid rgba(217, 119, 6, 0.1);
    text-align: center;
}

.partners-grid {
    display: flex; justify-content: center;
    margin-top: 50px;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.partner-box {
    background-color: #ffffff;
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.partner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.2);
    border-color: var(--accent-green);
}

.partner-image {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-box:hover .partner-image {
    transform: scale(1.05);
}


/* ═══════════════════════════════════════════════════════════════
 FOOTER
 ═══════════════════════════════════════════════════════════════ */
.footer {
    background-color: var(--card-bg);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-company { max-width: 350px; }
.hero-logofoo { max-width: 200px; height: auto; margin-bottom: 20px; display: block; }
.footer-tagline { font-size: 14px; color: var(--Footer2); margin-bottom: 15px; font-weight: 500; }
.footer-text { font-size: 14px; color: var(--Footer2); line-height: 1.6; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column { display: flex; flex-direction: column; }
.footer-heading { font-size: 16px; font-weight: 700; color: var(--Footer2); margin-bottom: 20px; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a {
    color: var(--Schrift1);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}
.footer-menu a:hover { color: var(--accent-green); transform: translateX(3px); }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p { color: var(--Footer2); font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════
 ZUSÄTZLICHE MODULE (Info Banner, Use Cases, Visualisierungen)
 ═══════════════════════════════════════════════════════════════ */

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, #6b8e23 0%, #556b2f 100%);
    padding: 40px 20px;
    margin: 60px 0;
}
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}
.info-icon { flex-shrink: 0; width: 60px; height: 60px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.info-content h3 { color: white; font-size: 18px; font-weight: 700; margin: 0 0 15px 0; }
.info-content p { color: white; font-size: 16px; line-height: 1.6; margin: 0; }

/* Use Cases */
.use-cases-section { padding: 60px 20px; background: #f5f5f5; }
.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.use-case-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.use-case-card:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); }
.card-image { width: 100%; height: 220px; overflow: hidden; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.use-case-card:hover .card-image img { transform: scale(1.05); }
.card-content { padding: 25px; }
.card-badge { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; }
.badge-pflicht { background: #dc3545; color: white; }
.badge-modernisierung { background: #6c757d; color: white; }
.badge-wichtig { background: #6b8e23; color: white; }
.badge-foerderung { background: #4a5568; color: white; }
.badge-berechnung { background: #2c5282; color: white; }
.card-content h3 { font-size: 22px; font-weight: 700; color: #2c3e50; margin: 0 0 15px 0; }
.card-content p { font-size: 15px; line-height: 1.7; color: #555; }

/* Heizlast Visualisierung */
.heizlast-visualisierung { padding: 60px 20px; background: #ffffff; }
.grundriss-container { background: #f8f9fa; border-radius: 12px; padding: 20px; margin-bottom: 40px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.grundriss-image { width: 100%; height: auto; border-radius: 8px; }
.berechnung-formel { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.formel-box { background: #6b8e23; color: white; border-radius: 12px; padding: 30px 40px; text-align: center; min-width: 280px; box-shadow: 0 4px 12px rgba(107, 142, 35, 0.3); animation: fadeInUp 0.6s ease-out; }
.formel-box.ergebnis { background: #556b2f; min-width: 320px; }
.formel-wert { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.formel-wert .klein { font-size: 20px; opacity: 0.9; }
.formel-label { font-size: 13px; font-weight: 700; text-transform: uppercase; }
.formel-operator { font-size: 36px; font-weight: 700; color: #6b8e23; padding: 0 10px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Haus Visualisierung (Hotspots) */
.haus-visualisierung { padding: 60px 20px; background: #f8f9fa; }
.haus-container { position: relative; max-width: 1200px; margin: 0 auto; background: #ffffff; border-radius: 12px; padding: 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.haus-image { width: 100%; height: auto; border-radius: 8px; }
.hotspot { position: absolute; z-index: 10; }
.hotspot-btn { width: 40px; height: 40px; border-radius: 50%; background: #6b8e23; color: white; border: 3px solid white; font-size: 24px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 4px 12px rgba(107, 142, 35, 0.4); } 50% { box-shadow: 0 4px 20px rgba(107, 142, 35, 0.8); } }
.hotspot-popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.hotspot-popup.active { display: flex; animation: fadeIn 0.3s ease; }
.popup-content { background: white; border-radius: 12px; max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: slideUp 0.4s ease; scrollbar-width: thin; }
.popup-image { width: 100%; height: 250px; object-fit: cover; border-radius: 12px 12px 0 0; }
.popup-content h3 { font-size: 24px; font-weight: 700; margin: 25px 25px 15px; }
.popup-content p { font-size: 16px; margin: 0 25px 25px; line-height: 1.7; }
.popup-close { position: absolute; top: 15px; right: 20px; font-size: 36px; color: white; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.5); border-radius: 50%; }
.popup-close:hover { background: rgba(0, 0, 0, 0.8); transform: rotate(90deg); }

/* ═══════════════════════════════════════════════════════════════
 MEDIA QUERIES (RESPONSIVE)
 ═══════════════════════════════════════════════════════════════ */

/* Mobile Header Anpassungen (bis 768px) */
@media (max-width: 768px) {
    /* --- 1. Top-Bar (Schwarzer Balken) anpassen --- */
    .header-top { padding: 5px 0 !important; font-size: 12px; }
    .header-top .container { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 5px !important; }
    .contact-info { padding: 0 !important; gap: 15px !important; justify-content: center !important; flex-wrap: wrap !important; }
    .bafa-badge { padding: 0 !important; text-align: center !important; }

    /* --- 2. Orange Nav-Bar: Buttons, Logo, Menü --- */
    .navbar { padding: 8px 0 !important; }
    .navbar .container { 
        display: flex !important; 
        justify-content: space-between !important; 
        align-items: center !important; 
        flex-wrap: nowrap !important; 
        padding: 0 10px !important;
    }
    
    /* Die Buttons (Rückruf & Kontakt) nach ganz links */
    .navbar .container > div[style*="display: flex"] {
        order: 1 !important; 
        gap: 5px !important;
        flex: 0 0 auto !important;
    }
    
    /* Buttons verkleinern und den 40px-Abstand überschreiben! */
    #btnOpenCallback, 
    .navbar .container a.scroll-to-contact {
        padding: 6px 10px !important;
        font-size: 12px !important;
        margin: 0 !important; 
        white-space: nowrap !important;
    }

    /* Logo verkleinern und in die Mitte zentrieren */
    .logo { 
        order: 2 !important; 
        padding: 0 !important; 
        margin: 0 auto !important; 
        flex: 0 1 auto !important; 
    }
    .logo img { width: 90px !important; height: auto !important; }
    
    /* Menü-Icon ganz nach rechts */
    .menu-toggle { 
        display: flex !important; 
        order: 3 !important; 
        margin: 0 !important; 
        flex: 0 0 auto !important; 
    }
    
    .navbar .btn-primary, .navbar .btn-primary.btn-large { display: none !important; }
    
    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 90px;
        flex-direction: column !important;
        background-color: var(--header) !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        height: auto !important;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        padding: 0 !important;
        gap: 0 !important;
        z-index: 999 !important;
        transition: left 0.3s ease-in-out !important;
    }
    
    .nav-menu.active { left: 0 !important; }
    .nav-menu li { width: 100%; border-bottom: 1px solid rgba(217, 119, 6, 0.1); display: block !important; padding: 0; }
    .nav-menu a { display: block !important; padding: 15px 20px !important; font-size: 18px !important; width: 100%; }
    
    /* Dropdown Mobile */
    .nav-item.dropdown { width: 100%; }
    .dropdown-toggle { width: 100%; padding: 15px 20px; font-size: 18px; justify-content: space-between; }
    .dropdown-menu { position: static; display: none; box-shadow: none; border: none; background-color: rgba(217, 119, 6, 0.08); min-width: 100%; border-radius: 0; }
    .nav-item.dropdown.active .dropdown-menu { display: block; }
    .dropdown-menu a { padding: 6px 20px 12px 40px !important; background-color: transparent; }
    
    /* Restliches Layout Mobile */
    .hero { min-height: 700px; padding: 120px 0; }
    .hero-text-content { padding: 30px 40px; margin-left: 0; }
    .hero-main-title { font-size: 28px; }
    .hero-sub-title { font-size: 22px; }
    
    .herocontainer, .herocontainerindex { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; border-radius: 0 !important; padding: 20px 15px !important; }
    .hero-box { padding: 18px !important; }
    
    .numbered-section-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .section-content { padding-left: 0; }
    
    .services-grid, .target-grid, .funding-content, .funding-grid { grid-template-columns: 1fr; }
    .contact-info-cards, .form-row, .footer-content, .footer-links { grid-template-columns: 1fr; }
    
    .calculator-input-container .form-grid { grid-template-columns: 1fr; }
    .calculator-input-container .form-group.full-width { grid-column: span 1; }
    .calculator-input-container .form-actions { grid-column: span 1; flex-direction: column; }
    
    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* Sehr kleine Smartphones (bis 480px) */
@media (max-width: 480px) {
    .header-top { padding: 5px 0; font-size: 11px; }
    .navbar { padding: 12px 0; }
    .logo img { width: 130px; }
    .nav-menu { top: 80px !important; }
    body { padding-top: 80px; }
    
    .hero { min-height: 600px; padding: 100px 0; }
    .hero-main-title { font-size: 24px; }
    .hero-cta-button { width: 100%; padding: 14px 35px; font-size: 16px; }
    
    .partners-grid { grid-template-columns: 1fr; }
}

/* Desktop Optimierungen (1024px+) */
@media (min-width: 1024px) {
    .container { max-width: 1200px; }
}

@media (min-width: 1440px) {
    .container { max-width: 1400px; }
    body { font-size: 18px; }
}

/* Print */
@media print {
    .header, .nav-menu, .btn-primary, .btn-secondary, .contact-form, .menu-toggle { display: none !important; }
    body { background: white; color: black; padding-top: 0; }
}
/* ===================================================
   UNTERSTRICHE BEI VERLINKTEN KARTEN ENTFERNEN
   =================================================== */
a.service-card-link,
.service-card-link h3,
.service-card-link p,
.service-card-link li {
    text-decoration: none !important; /* Entfernt den Unterstrich */
    color: inherit !important;        /* Verhindert, dass der Text "Link-Blau" wird */
}
/* ===================================================
   MODERNER HOVER-EFFEKT FÜR DIE HAUPT-NAVIGATION
   =================================================== */

/* 1. Vorbereitung für die Haupt-Links und das Dropdown-Wort */
.nav-menu > li > a, 
.dropdown-toggle {
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 5px; /* Schafft etwas Platz nach unten für die Linie */
}

/* 2. Die unsichtbare, animierte Linie (Startzustand: 0% Breite) */
.nav-menu > li > a::before,
.dropdown-toggle::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%; /* Startet exakt in der Mitte */
    background-color: var(--staatliche); /* Dein GESA-Grün */
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 3. Was passiert, wenn die Maus darüber fährt (Hover) */
.nav-menu > li > a:hover,
.dropdown-toggle:hover {
    color: var(--staatliche) !important; /* Schrift wird grün */
    opacity: 1 !important;
}

/* 4. Die Linie wächst weich von 0% auf 100% Breite */
.nav-menu > li > a:hover::before,
.dropdown-toggle:hover::before {
    width: 100%; 
}

/* 5. Auf dem Handy schalten wir die Linie aus, da es dort wie Buttons aussieht */
@media (max-width: 768px) {
    .nav-menu > li > a::before,
    .dropdown-toggle::before {
        display: none !important; 
    }
}
/* ===================================================
   ZIELGRUPPEN-KARTEN KOMPAKTER MACHEN (4 NEBENEINANDER)
   =================================================== */

/* Raster anpassen, damit die Boxen schmaler sein dürfen */
.target-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 20px !important; /* Etwas weniger Abstand zwischen den Boxen */
}

/* Innenabstände der Karten leicht verringern */
.target-card {
    padding: 25px 15px !important; 
}

/* Icon etwas kleiner machen, um Platz zu sparen */
.target-icon {
    width: 55px !important;
    height: 55px !important;
    margin-bottom: 15px !important;
}

/* Titel etwas kompakter */
.target-title {
    font-size: 18px !important;
}

/* Auf Handys (kleine Bildschirme) wieder untereinander anzeigen */
@media (max-width: 768px) {
    .target-grid {
        grid-template-columns: 1fr !important;
    }
}
/* ═══════════════════════════════════════════════════════════════
   ENERGIE INFO SECTION (Design wie auf Screenshot)
   ═══════════════════════════════════════════════════════════════ */
.energy-info-section {
    padding: 60px 0;
}

/* Die große äußere weiße Box */
.energy-info-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.info-grid {
    display: grid;
    grid-template-columns: 4fr 6fr; /* Bild etwas schmaler als die Karten */
    gap: 30px;
    margin-bottom: 30px; /* Abstand zur dunkelgrauen Leiste unten */
}

.info-image {
    display: flex;
}

.info-image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* Die 4 Kacheln rechts */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

/* Kleine dunkle Icons */
.card-icon {
    background-color: #292524;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.card-icon svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.info-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 13px;
    color: #6b7280; /* Grauer Text wie im Bild */
    line-height: 1.6;
    margin: 0;
}

/* Dunkelgrauer Hinweis Balken am Ende */
.info-notice {
    background-color: #6b6b6b;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-icon {
    background-color: #6b8e23; /* Grüner Hintergrund für das "!" */
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.info-notice p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}

/* Mobile Optimierung */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .info-image img {
        max-height: 300px;
    }
}

@media (max-width: 600px) {
    .energy-info-wrapper {
        padding: 20px;
    }
    .info-cards {
        grid-template-columns: 1fr;
    }
}
/* Styling für die neuen Aufzählungen in den Kacheln */
.service-features {
    list-style-type: none; /* Entfernt die Standard-Punkte */
    padding-left: 0;
    margin-top: 20px;
    text-align: left; /* Sorgt dafür, dass die Liste immer linksbündig bleibt */
}

.service-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
    line-height: 1.4;
}

.service-features li::before {
    content: "✓"; /* Setzt ein Häkchen vor den Text */
    color: #699E4B; /* Dein GeSa-Grün */
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 16px;
}
/* ===================================================
   NEUES DESIGN FÜR DIE LEISTUNGS-KARTEN (INDEX.HTML)
   =================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
    gap: 30px !important;
}

.service-card {
    background-color: #ffffff !important;
    border-radius: 12px !important; 
    border: 1px solid #eaeaea !important; 
    border-top: 5px solid #699E4B !important; 
    border-left: 1px solid #eaeaea !important; 
    padding: 40px 30px !important; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.03) !important;
    text-align: left !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease !important;
}

/* 1. FARBAKZENT: Zarter grüner Hintergrund beim Drüberfahren */
.service-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(105, 158, 75, 0.15) !important;
    border-color: #699E4B !important;
    background-color: #fbfdf9 !important; /* Ein extrem helles, frisches Grün */
}

.service-title {
    font-size: 24px !important; 
    font-weight: 800 !important; 
    color: #1c1917 !important; 
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
}

.service-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: #699E4B;
    margin-top: 15px;
    border-radius: 2px;
}

.service-description {
    font-size: 16px !important; 
    color: #555 !important;
    line-height: 1.7 !important; 
    margin-bottom: 25px !important;
    flex-grow: 1; 
}

.service-features {
    margin-top: auto !important; 
    padding-top: 20px !important;
    border-top: 1px solid #f0f0f0 !important; 
    display: block !important;
    list-style: none;
    padding-left: 0;
}

/* 2. FARBAKZENT: Grüne Kreise mit weißen Häkchen */
.service-features li {
    font-size: 15px !important;
    color: #444 !important;
    margin-bottom: 14px !important;
    line-height: 1.5 !important;
    position: relative;
    padding-left: 32px !important; /* Mehr Platz für den Kreis */
}

.service-features li::before {
    content: "✓"; 
    color: #ffffff !important; /* Weißes Häkchen */
    background-color: #699E4B !important; /* Grüner Kreis */
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 2px;
    font-weight: bold;
    font-size: 12px !important;
    box-shadow: 0 2px 5px rgba(105, 158, 75, 0.3);
}

/* 3. FARBAKZENT: Grüner "Mehr erfahren" Text am Ende der Kachel */
.service-card::after {
    content: "Details ansehen ➔";
    display: block;
    margin-top: 25px;
    color: #699E4B;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.3s ease;
}

.service-card:hover::after {
    transform: translateX(8px); /* Pfeil rutscht beim Hover nach rechts */
    color: #5a8a3f;
}
/* ===================================================
   FIX FÜR ERFOLGSBEISPIELE (USE CASES)
   =================================================== */
.use-cases-section {
    background-color: #f8f9fa !important; 
    padding: 80px 0 !important;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 50px !important;
}

.use-case-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04) !important;
    display: flex;
    flex-direction: column;
    overflow: hidden !important; 
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.use-case-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

.use-case-card .card-content {
    padding: 35px 30px 25px 30px !important;
    flex-grow: 1;
}

.use-case-card h3 {
    font-family: inherit !important;
    font-size: 22px !important;
    color: #333 !important; 
    font-weight: 800 !important;
    margin-top: 15px !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
}

.use-case-card p {
    font-family: inherit !important;
    font-size: 15px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

/* Die abgetrennte Daten-Liste unten mit sanftem grauem Hintergrund */
.use-case-features {
    background-color: #fafbfe !important; 
    padding: 25px 30px !important;
    margin: 0 !important;
    border-top: 1px solid #eaeaea !important;
    list-style: none !important;
    display: block !important;
}

.use-case-features li {
    position: relative !important;
    padding-left: 32px !important;
    margin-bottom: 12px !important;
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.4 !important;
    display: block !important;
}

.use-case-features li:last-child {
    margin-bottom: 0 !important;
}

/* Die korrigierten grünen Kreise für diese spezifischen Karten */
.use-case-features li::before {
    content: "✓" !important; 
    color: #ffffff !important; 
    background-color: #699E4B !important; 
    width: 20px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    font-weight: bold !important;
    font-size: 12px !important;
}

.use-case-features li strong {
    color: #222 !important;
    font-weight: 700 !important;
}

/* Farben für die kleinen "Badges" anpassen */
.badge-wichtig { background-color: #699E4B !important; color: white !important; }
.badge-foerderung { background-color: #fbbc04 !important; color: #333 !important; }