/* Lightbox für Leistungen-Bild */
.leistungen-lightbox-modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.75);
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.leistungen-lightbox-modal.show {
    display: flex;
    opacity: 1;
}
.leistungen-lightbox-content {
    /* ...bestehende Regeln... */
    transform: scale(0.85);
    opacity: 0;
    transition: transform 1s cubic-bezier(.4,1.6,.4,1), opacity 1s cubic-bezier(.4,1.6,.4,1);
}
.leistungen-lightbox-modal.show .leistungen-lightbox-content {
    transform: scale(1);
    opacity: 1;
}
.leistungen-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 8px 40px #2ecc7133, 0 2px 12px #3498db22;
    background: #fff;
}
.leistungen-lightbox-close {
    position: absolute;
    top: 32px;
    right: 48px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 20001;
    text-shadow: 0 2px 8px #23272b99;
    transition: color 0.2s;
}
.leistungen-lightbox-close:hover {
    color: #2ecc71;
}
@media (max-width: 700px) {
    .leistungen-lightbox-content {
        max-width: 98vw;
        max-height: 70vh;
    }
    .leistungen-lightbox-close {
        top: 12px;
        right: 18px;
        font-size: 2.2rem;
    }
}
/* Up-Button rechts unten */
/* Transparenter Up-Button */
#upButton {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 9999;
    background: rgba(46, 204, 113, 0.72);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 16px #2ecc7140;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, opacity 0.2s;
    opacity: 0.8;
    backdrop-filter: blur(2px);
    padding: 0;
}
#upButton i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.2rem;
    line-height: 1;
    margin: 0;
    padding: 0;
}
#upButton:hover {
    background: rgba(39, 174, 96, 0.85);
    box-shadow: 0 6px 24px #2ecc7160;
    opacity: 1;
}
@media (max-width: 700px) {
    #upButton {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }
}
/* Tipp-Absatz in Förderprogramme-Section */
.funding-tipp {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #e3f2fd;
    border-left: 6px solid #2ecc71;
    border-radius: 16px;
    padding: 18px 28px;
    margin: 28px 0 18px 0;
    font-size: 1.13rem;
    box-shadow: 0 2px 12px #e3f2fd44;
}
.funding-tipp-icon {
    color: #ffb347;
    font-size: 2.1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px #fff8);
    display: block;
    margin: 30px auto;
}
@media (max-width: 700px) {
    .funding-tipp {
        font-size: 1rem;
        padding: 10px 12px;
        border-radius: 10px;
    }
    .funding-tipp-icon {
        font-size: 1.3rem;
    }
}
/* Rundes, zentriertes Bild in Förderprogramme-Section */
.funding-img-round-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0 24px 0;
}
.funding-img-round {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 24px #2ecc7133, 0 2px 12px #3498db22;
    background: #e3f2fd;
    padding: 18px;
    box-sizing: border-box;
    border: 6px solid #fff;
}
@media (max-width: 700px) {
    .funding-img-round {
        width: 200px;
        height: 200px;
        border-width: 3px;
        padding: 10px;
    }
}
/* Abschnitt: Foto als Hintergrund mit Claim im Vordergrund */
.hero-photo-claim-bg {
    position: relative;
    width: 100%;
    min-height: 240px;
    height: 28vw;
    max-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../energieberater-wohngebaude/gebaude-energieberatung-wm-sta-iStock-171357242-2000.jpg') center center/cover no-repeat;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 40px #2ecc7133, 0 2px 12px #3498db22;
}
.hero-photo-claim-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, #e3f2fdcc 0%, #e8f5e9cc 100%);
    opacity: 0.35;
    z-index: 1;
}
.hero-photo-claim-bg-claim {
            text-shadow: 0 4px 18px #fff, 0 2px 8px #23272b55;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    position: relative;
    z-index: 2;
    color: #23272b;
    font-size: 1.8rem;
    font-weight: 500;
    background: rgba(255,255,255,0.88);
    padding: 32px 64px;
    border-radius: 1.5em;
    box-shadow: 0 2px 16px #e3f2fd55;
    text-align: center;
    letter-spacing: 0.04em;
    font-family: Arial, sans-serif;
}
@media (max-width: 900px) {
    .hero-photo-claim-bg {
        min-height: 220px;
        height: 70vw;
        max-height: 420px;
        border-radius: 0;
    }
            .hero-photo-claim-bg-claim {
                font-size: 1.2rem;
                padding: 12px 10vw;
    }
}
/* Dekoratives Foto mit Claim zwischen Hero und Leistungen */
.hero-photo-claim {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    margin: 0;
    padding: 0 0 32px 0;
}
.hero-photo-claim-imgwrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 8px 40px #2ecc7133, 0 2px 12px #3498db22;
}
.hero-photo-claim-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    filter: brightness(0.92) saturate(1.08);
    display: block;
}
.hero-photo-claim-claim {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.82);
    color: #2980b9;
    font-size: 2.1rem;
    font-weight: 700;
    padding: 22px 48px;
    border-radius: 1.5em;
    box-shadow: 0 2px 16px #e3f2fd55;
    text-align: center;
    letter-spacing: 0.01em;
    font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 900px) {
    .hero-photo-claim-img {
        height: 240px;
    }
    .hero-photo-claim-claim {
        font-size: 1.2rem;
        padding: 12px 18px;
    }
    .hero-photo-claim-imgwrap {
        border-radius: 18px;
    }
}
/* Home-Icon im Header */
.header-home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    color: #495057;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    top: -4px;
}
.header-home-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}
.header-home-icon:hover {
    color: var(--primary-color);
}
@media (max-width: 700px) {
    .header-home-icon {
        margin-right: 8px;
    }
    .header-home-icon svg {
        width: 26px;
        height: 26px;
    }
}
/* Hero-Buttons auf Mobilgeräten untereinander und bündig */
@media (max-width: 700px) {
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .hero-cta a {
        width: 100% !important;
        margin-right: 0 !important;
        text-align: center;
    }
}
/* Logo auf kleinen Bildschirmen verkleinern */
@media (max-width: 900px) {
    .logo img {
        max-width: 260px;
        height: auto;
    }
}
/* Responsive Navigation mit Hamburger-Menü */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    z-index: 1201;
}
.nav-toggle-bar {
    width: 30px;
    height: 4px;
    background: #34495e;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

nav.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-left: auto;
    transition: right 0.3s;
}
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }
    nav.main-nav {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 80vw;
        max-width: 340px;
        height: 100vh;
        background: #f8fafd;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px 32px;
        box-shadow: -2px 0 16px #34495e22;
        z-index: 1200;
        gap: 22px;
        transition: right 0.3s;
    }
    nav.main-nav.open {
        right: 0;
    }
    nav.main-nav a {
        font-size: 1.18rem;
        color: #34495e;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #e3f2fd;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    nav.main-nav a:last-child {
        border-bottom: none;
    }
}
/* Mehr Abstand nach oben für .funding-cta */
.funding-cta {
    margin-top: 48px;
}
/* Extra große Buttons im Hero-Bereich */
.hero-big {
    font-size: 2.8rem !important;
    padding: 2em 4em !important;
    border-radius: 2em !important;
}
/* Button in .funding-cta: Schrift bei Hover schwarz */
.funding-cta .btn-primary:hover, .funding-cta .btn-primary:focus {
    color: #111 !important;
}
/* Abstand zwischen Badge und Aufklapp-Pfeil im Accordion-Header (Förderprogramme) */
.accordion .badge {
    margin-right: 2.5rem;
}
/* Accordion Header Hintergrundfarbe */
.accordion-header .accordion-button {
    background: #e3f2fdcc !important;
}
/* Bereich 'Über mich' auf 950px begrenzen */
#ueber-mich .container,
#ueber-mich .about-text,
#ueber-mich .about-text > *,
#ueber-mich blockquote {
    max-width: 950px !important;
    margin-left: auto;
    margin-right: auto;
}
/* Accordion Header Icons: schwarz und Abstand nach rechts */
.accordion-header-icon {
    color: #222 !important;
    margin-right: 20px;
}
/* Accordion Header: Text größer, fett, mit Icon */
.accordion-title {
    font-size: 1.18rem;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}
/* Accordion wie Bootstrap-Beispiel: zentriert und max. 700px */
.accordion {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}
/* Einheitlicher Abstand für Raketen-Icon im Accordion-Header */
.accordion-rocket-icon {
    margin-right: 16px;
    margin-left: 0;
    font-size: 1.2em;
    vertical-align: middle;
}
/* Accordion-Body bündig mit Header */
.accordion-body {
    padding: 0 32px 2.5rem 32px;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 900px;
    word-break: normal;
    margin-bottom: 1.2rem;
}
.accordion-body.d-flex > i.bi {
    margin-left: 32px;
    margin-right: 16px;
}
 
/* ==================== */
/* RESET & BASE STYLES  */
/* ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --secondary-color: #3498db;
    --secondary-dark: #2980b9;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #ecf0f1;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Section Dividers */
section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

footer::after {
    display: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== */
/* HEADER & NAVIGATION  */

h4 {
    line-height: 2.1;
}
/* ==================== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    /* overflow: hidden entfernt, damit Dropdown über Header hinaus angezeigt wird */
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.header-svg {
    width: 100%;
    height: 100%;
}

header .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-logo {
    height: 125px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    position: relative;
    transition: var(--transition);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a svg {
    transition: var(--transition);
}

nav a:hover svg {
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

/* ==================== */
/* HERO SECTION         */
/* ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(120deg, #e3f2fd 0%, #f8fafd 100%);
}


.hero-background.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #e3f2fd 0%, #f8fafd 100%);
    z-index: 0;
}


.hero-singlecol {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 70vh;
    position: relative;
    z-index: 1;
    text-align: center;
    gap: 0;
    padding-top: 32px;
}

.hero-logo {
    max-width: 650px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 24px #2ecc7140);
    box-shadow: none;
    margin-bottom: 60px;
    margin-top: -24px;
}

@media (max-width: 700px) {
    .hero-logo {
        max-width: 98vw;
    }
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: #2f4a45;
    text-shadow: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.08);
}

.hero-subtitle {
    font-size: 1.7rem;
    margin-bottom: 38px;
    color: #2980b9;
    font-weight: 500;
    opacity: 0.92;
    text-shadow: 0 1px 6px #e3f2fd;
}

.hero-cta {
    display: flex;
    gap: 24px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: #2f4a45;
    text-shadow: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.08);
}

.hero-subtitle {
    font-size: 1.7rem;
    margin-bottom: 38px;
    color: #2980b9;
    font-weight: 500;
    opacity: 0.92;
    text-shadow: 0 1px 6px #e3f2fd;
}

.hero-cta {
    display: flex;
    gap: 24px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    min-width: 220px;
    background: #26c6da;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1em 1.4em;
    border-radius: 0.95em;
    border: none;
    box-shadow: 0 2px 8px #26c6da44;
    letter-spacing: 0.013em;
    text-shadow: 0 1.35px 5.4px #1e7e8f88;
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
}
.hero-btn-info {
    background: #3498db;
}
.hero-btn-info:hover {
    background: #2980b9;
}
.hero-btn-contact {
    background: #ffb347;
}
.hero-btn-contact:hover {
    background: #e09c2b;
}

@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        gap: 32px;
        min-height: 60vh;
    }
    .hero-logo-col {
        margin-bottom: 0;
    }
    .hero-text-col {
        align-items: center;
        text-align: center;
        min-width: 0;
        max-width: 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-dark);
    max-width: 900px;
    margin-top: -40px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 56px;
    line-height: 1.2;
    color: #2f4a45;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-top: 32px;
    margin-bottom: 72px;
    opacity: 0.85;
    font-weight: 400;
    color: #34495e;
    text-shadow: none;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== */
/* BUTTONS              */
/* ==================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
    font-size: 2.2rem;
    font-weight: 700;
    font-family: inherit;
    padding: 1.5em 3.5em;
    border-radius: 1.5em;
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
    /* transform entfernt, damit kein Hüpfen */
}

/* ==================== */
/* ABOUT SECTION        */
/* ==================== */

.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.about h2 {
    text-align: center;
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about .section-subtitle {
    text-align: center;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

.about-image {
    text-align: center;
}

.profile-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credential-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.credential-badge svg {
    flex-shrink: 0;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 24px;
}

#einsatzbereich p:not(.section-subtitle),
#einsatzbereich li {
    font-size: 1.15rem !important;
    line-height: 1.8;
}

.funding p:not(.section-subtitle),
.funding li {
    font-size: 1.15rem !important;
    line-height: 1.8;
}

.expertise-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.expertise-area {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.expertise-area h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.expertise-area h4 svg {
    stroke: var(--primary-color);
}

.expertise-area > p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.expertise-area ul {
    list-style: none;
    padding: 0;
}

.expertise-area ul li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
}

.expertise-area ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.slogan {
    margin: 40px 0 0 0;
    padding: 32px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
    border-left: 5px solid var(--primary-color);
    border-radius: 12px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--primary-color);
}

.slogan p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0 0 12px 0;
    font-style: italic;
}

.slogan cite {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: normal;
}

/* ==================== */
/* SERVICES SECTION     */
/* ==================== */

.services {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.services h2 {
    text-align: center;
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* ==================== */
/* FUNDING SECTION      */
/* ==================== */

.funding {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.funding h2 {
    text-align: center;
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.funding .section-subtitle {
    text-align: center;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.funding-intro {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 60px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.funding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.funding-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.funding-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.funding-card.highlight {
    border-top-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.03) 0%, white 100%);
}

.funding-header {
    text-align: center;
    margin-bottom: 24px;
}

.funding-header svg {
    margin-bottom: 16px;
}

.funding-header h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.funding-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 2.5rem;
}

.funding-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.funding-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.funding-benefits li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.funding-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.funding-amount {
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    font-size: 0.95rem;
}

.funding-amount strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 4px;
}

.funding-cta {
    background: linear-gradient(135deg, #e8f5e9 0%, #e3fbe6 100%);
    border-radius: 18px;
    padding: 32px 36px 32px 36px;
    text-align: center;
    color: #234;
    box-shadow: 0 2px 12px #e3f2fd55;
    border: 1.5px solid #c8e6c9;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 48px;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-content .btn {
    background: white;
    color: var(--secondary-color);
    font-weight: 700;
    padding: 16px 40px;
}

.cta-content .btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ==================== */
/* BENEFITS SECTION     */
/* ==================== */

.benefits {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.benefits h2 {
    text-align: center;
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 24px;
    transition: var(--transition);
}

.benefit-number {
    margin-bottom: 24px;
    display: inline-block;
}

.benefit-item h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.benefit-item:hover {
    transform: translateY(-4px);
}

/* ==================== */
/* CONTACT SECTION      */
/* ==================== */

.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.contact h2 {
    text-align: center;
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.contact-section h2 {
    text-align: center;
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-detail:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.contact-detail svg {
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.contact-detail p {
    margin: 0;
    opacity: 0.9;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== */
/* FOOTER               */
/* ==================== */

footer {
    position: relative;
    background: var(--text-dark);
    color: white;
    padding: 60px 0 24px;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-svg {
    width: 100%;
    height: 100%;
}

.footer-container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* ==================== */
/* RESPONSIVE DESIGN    */
/* ==================== */

@media (max-width: 768px) {
    h1, .hero-title {
        font-size: 2.3rem !important;
        line-height: 1.38;
    }

    .about h2,
    #einsatzbereich h2,
    .services h2,
    .funding h2,
    .benefits h2,
    .contact h2,
    .contact-section h2 {
        font-size: 2.5rem !important;
        line-height: 1.18;
    }

    h3 {
        font-size: 1.2rem !important;
        line-height: 1.2;
    }

    h4, h5, h6 {
        font-size: 1rem !important;
        line-height: 1.2;
    }
}

@media (max-width: 968px) {
    .hero-photo-claim-bg-claim {
        font-size: 1.2rem;
        padding: 12px 18px;
        margin-left: 4vw;
        margin-right: 4vw;
        margin-top: 4vw;
        margin-bottom: 4vw;
    }
    .hero-subtitle {
        font-size: 1.75rem;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none; /* Vereinfacht - in Produktion würde man ein Hamburger-Menü implementieren */
    }

    .section-subtitle,
    .about .section-subtitle,
    .funding .section-subtitle,
    #einsatzbereich .section-subtitle {
        font-size: 1.8rem !important;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.55rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .about h2,
    #einsatzbereich h2,
    .services h2,
    .funding h2,
    .benefits h2,
    .contact h2,
    .contact-section h2 {
        font-size: 2.5rem !important;
    }
    
    .service-card,
    .contact-form-container {
        padding: 24px;
    }
}

@media (max-width: 430px) {
    h1, .hero-title,
    .hero h1 {
        font-size: 1.9rem !important;
        line-height: 1.34;
    }

    .about h2,
    #einsatzbereich h2,
    .services h2,
    .funding h2,
    .benefits h2,
    .contact h2,
    .contact-section h2 {
        font-size: 2.5rem !important;
        line-height: 1.16;
    }

    h3 {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 390px) {
    h1, .hero-title,
    .hero h1 {
        font-size: 1.75rem !important;
    }

    .about h2,
    #einsatzbereich h2,
    .services h2,
    .funding h2,
    .benefits h2,
    .contact h2,
    .contact-section h2 {
        font-size: 2.5rem !important;
    }
}

/* ==================== */
/* ANIMATIONS           */
/* ==================== */

@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .benefit-item {
        opacity: 0;
        animation: fadeIn 0.6s ease-out forwards;
    }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
    .service-card:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
