:root{
    --primary:#132651;
    --primary-dark:#0d1c3d;
    --accent:#2a6df4;
    --light:#f5f7fb;
    --text:#1e293b;
    --muted:#64748b;
    --white:#ffffff;
    --border:#e5e7eb;
    --shadow:0 12px 30px rgba(19,38,81,0.10);
    --radius:20px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    color:var(--text);
    background:#fff;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:min(1200px, calc(100% - 40px));
    margin:0 auto;
}

/* ===== HEADER ===== */

.site-header{
    position:relative;
    z-index:999;
    background:#fff;
    box-shadow:0 8px 24px rgba(15, 23, 42, 0.08);
}

.topbar{
    background:var(--primary-dark);
    color:#dbe4f0;
    font-size:13px;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.topbar-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:38px;
    gap:20px;
}

.topbar-left span{
    letter-spacing:0.02em;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:16px;
}

.topbar-right a{
    color:#dbe4f0;
    font-weight:500;
    transition:0.2s ease;
}

.topbar-right a:hover{
    color:#ffffff;
}

.navbar{
    background:#ffffff;
}

.nav-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:96px;
    gap:28px;
    position:relative;
}

.logo{
    flex:0 0 auto;
}

.logo a{
    display:inline-flex;
    align-items:center;
}

.logo img{
    height:120px;
    width:100%;
    object-fit:cover;
}

.nav-menu{
    flex:1;
    display:flex;
    justify-content:flex-end;
}

.nav-menu ul{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:26px;
    list-style:none;
    margin:0;
    padding:0;
    flex-wrap:wrap;
}

.nav-menu a{
    color:var(--primary);
    font-size:15px;
    font-weight:600;
    line-height:1;
    transition:0.2s ease;
    position:relative;
    padding:8px 0;
}

.nav-menu a:not(.nav-cta)::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-4px;
    width:0;
    height:2px;
    background:var(--accent);
    transition:0.25s ease;
}

.nav-menu a:not(.nav-cta):hover::after{
    width:100%;
}

.nav-menu a:hover{
    color:var(--accent);
}

.nav-cta{
    background:linear-gradient(135deg, var(--accent), #1d4ed8);
    color:#fff !important;
    padding:13px 22px !important;
    border-radius:999px;
    box-shadow:0 10px 24px rgba(42, 109, 244, 0.22);
}

.nav-cta:hover{
    transform:translateY(-1px);
    color:#fff !important;
}

/* ===== MOBILE NAV TOGGLE ===== */

.nav-toggle{
    display:none;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    padding:0;
    border:none;
    background:transparent;
    cursor:pointer;
    border-radius:12px;
    flex-direction:column;
    gap:5px;
    flex:0 0 auto;
}

.nav-toggle span{
    display:block;
    width:24px;
    height:3px;
    background:var(--primary);
    border-radius:999px;
    transition:0.25s ease;
}

.nav-toggle.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2){
    opacity:0;
}

.nav-toggle.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

/* ===== RESPONSIVE HEADER ===== */

@media (max-width:1100px){
    .nav-inner{
        flex-direction:column;
        align-items:flex-start;
        padding:18px 0;
        min-height:auto;
    }

    .nav-menu{
        width:100%;
        justify-content:flex-start;
    }

    .nav-menu ul{
        gap:16px 22px;
        justify-content:flex-start;
    }
}

@media (max-width:900px){
    .topbar-inner{
        flex-direction:column;
        align-items:flex-start;
        padding:10px 0;
    }

    .logo img{
        height:56px;
        width:auto;
        object-fit:contain;
    }
}

@media (max-width:768px){
    .site-header{
        position:sticky;
        top:0;
    }

    .topbar{
        display:none;
    }

    .nav-inner{
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
        min-height:72px;
        padding:10px 0;
        gap:16px;
    }

    .logo img{
        height:52px;
        width:auto;
        object-fit:contain;
    }

    .nav-toggle{
        display:flex;
    }

    .nav-menu{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        display:none;
        background:#fff;
        border-top:1px solid var(--border);
        box-shadow:0 16px 30px rgba(15, 23, 42, 0.10);
        padding:14px 20px 20px;
        z-index:1000;
    }

    .nav-menu.open{
        display:block;
    }

    .nav-menu ul{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        justify-content:flex-start;
        gap:14px;
        width:100%;
    }

    .nav-menu li{
        width:100%;
    }

    .nav-menu a{
        display:block;
        width:100%;
        font-size:15px;
        padding:10px 0;
    }

    .nav-menu a:not(.nav-cta)::after{
        display:none;
    }

    .nav-cta{
        display:inline-flex !important;
        padding:12px 18px !important;
        margin-top:4px;
    }
}

@media (max-width:420px){
    .nav-inner{
        min-height:66px;
    }

    .logo img{
        height:46px;
    }

    .nav-menu{
        padding:12px 16px 18px;
    }

    .nav-menu a{
        font-size:14px;
    }
}

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

.hero{
    position:relative;
    min-height:720px;
    background:
        linear-gradient(90deg, rgba(13,28,61,0.88) 0%, rgba(19,38,81,0.72) 45%, rgba(19,38,81,0.38) 100%),
        url('/assets/img/solar-panel-in-countryside-2022-12-15-21-27-01-utc-1-1.jpg') center center / cover no-repeat;
    display:flex;
    align-items:center;
}

.hero-content{
    position:relative;
    z-index:2;
    padding:110px 0;
}

.hero-text{
    max-width:720px;
    color:#fff;
}

.hero-kicker{
    display:inline-block;
    margin-bottom:18px;
    font-size:14px;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:#dbe7ff;
}

.hero h1{
    margin:0 0 22px;
    font-size:58px;
    line-height:1.08;
    font-weight:700;
}

.hero p{
    margin:0 0 30px;
    font-size:19px;
    color:#e4ebf7;
    max-width:680px;
}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

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

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 24px;
    border-radius:999px;
    font-weight:700;
    transition:0.25s ease;
}

.btn-primary{
    background:var(--accent);
    color:#fff;
}

.btn-primary:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

.btn-secondary{
    background:rgba(255,255,255,0.12);
    color:#fff;
    border:1px solid rgba(255,255,255,0.35);
}

.btn-secondary:hover{
    background:rgba(255,255,255,0.20);
}

.btn-light{
    background:#fff;
    color:var(--primary);
}

.btn-light:hover{
    transform:translateY(-2px);
}

/* ===== GENERAL SECTIONS ===== */

.section-kicker{
    display:inline-block;
    margin-bottom:12px;
    color:var(--accent);
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.08em;
}

.section-head{
    margin-bottom:42px;
}

.section-head.center{
    text-align:center;
}

.section-head h2{
    margin:0 0 14px;
    font-size:40px;
    line-height:1.15;
}

.section-head p{
    margin:0;
    color:var(--muted);
}

/* ===== INTRO ===== */

.intro-section{
    padding:95px 0;
}

.intro-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
}

.intro-image img{
    width:100%;
    border-radius:24px;
    box-shadow:var(--shadow);
    object-fit:cover;
}

.intro-text-block h2{
    margin:0 0 16px;
    font-size:40px;
    line-height:1.15;
}

.intro-text-block p{
    color:var(--muted);
    margin:0 0 16px;
}

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

.services-section{
    padding:95px 0;
    background:var(--light);
}

.service-cards{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
}

.service-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:0.25s ease;
    color:inherit;
}

.service-card:hover{
    transform:translateY(-6px);
}

.service-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.service-card-body{
    padding:24px;
}

.service-card-body h3{
    margin:0 0 12px;
    font-size:22px;
    color:var(--primary);
}

.service-card-body p{
    margin:0;
    color:var(--muted);
}

/* ===== ADVANTAGES ===== */

.advantages-section{
    padding:95px 0;
}

.advantage-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}

.advantage-box{
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:30px;
    box-shadow:var(--shadow);
}

.advantage-box h3{
    margin:0 0 10px;
    color:var(--primary);
    font-size:22px;
}

.advantage-box p{
    margin:0;
    color:var(--muted);
}

/* ===== PROJECT ===== */

.project-section{
    padding:95px 0;
    background:#fff;
}

.project-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
}

.project-text h2{
    margin:0 0 16px;
    font-size:40px;
    line-height:1.15;
}

.project-text p{
    margin:0 0 24px;
    color:var(--muted);
}

.project-image img{
    width:100%;
    border-radius:24px;
    box-shadow:var(--shadow);
    object-fit:cover;
}

/* ===== CTA ===== */

.cta-section{
    padding:0 0 95px;
}

.cta-box{
    background:linear-gradient(135deg, #132651 0%, #1d4ed8 100%);
    color:#fff;
    border-radius:26px;
    padding:55px 40px;
    text-align:center;
    box-shadow:var(--shadow);
}

.cta-box h2{
    margin:0 0 14px;
    font-size:38px;
    line-height:1.15;
}

.cta-box p{
    margin:0 0 24px;
    color:#dce7fb;
}

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

.footer{
    background:var(--primary-dark);
    color:#fff;
    padding:60px 0 24px;
}

.footer-content{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:30px;
    padding-bottom:30px;
}

.footer h3,
.footer h4{
    margin:0 0 14px;
    color:#fff;
}

.footer p,
.footer li,
.footer a{
    color:#d7e2f3;
}

.footer ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer li{
    margin-bottom:10px;
}

.footer a:hover{
    color:#fff;
}

.footer-logo{
    height:58px;
    width:auto;
    margin-bottom:16px;
}

.footer-social{
    margin-top:20px;
}

.social-links{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.12);
    padding-top:20px;
    color:#d7e2f3;
}

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

@media (max-width:1100px){
    .service-cards{
        grid-template-columns:repeat(2, 1fr);
    }

    .advantage-grid{
        grid-template-columns:1fr;
    }

    .intro-grid,
    .project-grid,
    .footer-content{
        grid-template-columns:1fr;
    }
}

@media (max-width:768px){
    .hero{
        min-height:560px;
    }

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:17px;
    }

    .service-cards{
        grid-template-columns:1fr;
    }

    .section-head h2,
    .intro-text-block h2,
    .project-text h2,
    .cta-box h2{
        font-size:30px;
    }

    .cta-box{
        padding:40px 24px;
    }
}

/* ===== INFO PAGE ===== */

.page-hero{
    padding:110px 0 80px;
    background:
        linear-gradient(135deg, rgba(19,38,81,0.95), rgba(29,78,216,0.88)),
        url('/assets/img/placeholder-hero.jpg') center center / cover no-repeat;
    color:#fff;
}

.page-hero-content{
    max-width:850px;
}

.page-hero h1{
    margin:0 0 18px;
    font-size:54px;
    line-height:1.08;
}

.page-hero p{
    margin:0;
    max-width:760px;
    font-size:18px;
    color:#dbe7fb;
}

.info-section,
.process-section,
.target-section,
.numbers-section,
.usp-section,
.future-section{
    padding:95px 0;
}

.info-grid,
.usp-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
}

.info-image-block img,
.usp-image-block img{
    width:100%;
    border-radius:24px;
    box-shadow:var(--shadow);
    object-fit:cover;
}

.info-text-block h2,
.usp-text-block h2{
    margin:0 0 16px;
    font-size:40px;
    line-height:1.15;
}

.info-text-block p,
.usp-text-block p{
    margin:0 0 16px;
    color:var(--muted);
}

.process-section{
    background:var(--light);
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
}

.process-card{
    background:#fff;
    border-radius:22px;
    padding:28px;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
}

.process-number{
    font-size:14px;
    font-weight:700;
    color:var(--accent);
    margin-bottom:10px;
    letter-spacing:0.08em;
}

.process-card h3{
    margin:0 0 12px;
    color:var(--primary);
    font-size:22px;
    line-height:1.2;
}

.process-card p{
    margin:0;
    color:var(--muted);
}

.target-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}

.target-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:30px;
    box-shadow:var(--shadow);
}

.target-card h3{
    margin:0 0 12px;
    color:var(--primary);
    font-size:24px;
}

.target-card p{
    margin:0;
    color:var(--muted);
}

.numbers-section{
    background:var(--light);
}

.numbers-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
}

.number-card{
    background:#fff;
    border-radius:22px;
    padding:34px 24px;
    text-align:center;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
}

.number-card .counter,
.number-card .suffix{
    font-size:48px;
    font-weight:700;
    color:var(--primary);
    line-height:1;
}

.number-card p{
    margin:12px 0 0;
    color:var(--muted);
    font-weight:600;
}

.usp-list{
    display:grid;
    gap:18px;
}

.usp-item{
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:22px 24px;
    box-shadow:var(--shadow);
}

.usp-item h3{
    margin:0 0 8px;
    color:var(--primary);
    font-size:22px;
}

.usp-item p{
    margin:0;
    color:var(--muted);
}

.future-box{
    background:linear-gradient(135deg, #132651 0%, #1d4ed8 100%);
    color:#fff;
    border-radius:28px;
    padding:55px 40px;
    box-shadow:var(--shadow);
}

.future-box h2{
    margin:0 0 14px;
    font-size:38px;
    line-height:1.15;
}

.future-box p{
    margin:0;
    color:#dce7fb;
    max-width:900px;
}

@media (max-width:1100px){
    .process-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .target-grid,
    .numbers-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .info-grid,
    .usp-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width:768px){
    .page-hero{
        padding:90px 0 70px;
    }

    .page-hero h1{
        font-size:38px;
    }

    .page-hero p{
        font-size:17px;
    }

    .process-grid,
    .target-grid,
    .numbers-grid{
        grid-template-columns:1fr;
    }

    .info-text-block h2,
    .usp-text-block h2,
    .future-box h2{
        font-size:30px;
    }

    .future-box{
        padding:40px 24px;
    }
}

/* ===== LEISTUNGEN PAGE ===== */

.services-hero{
    background:
        linear-gradient(135deg, rgba(19,38,81,0.95), rgba(29,78,216,0.88)),
        url('/assets/img/placeholder-services-hero.jpg') center center / cover no-repeat;
}

.services-intro-section,
.services-overview-section,
.workflow-section,
.highlight-energy-section{
    padding:95px 0;
}

.services-intro-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
}

.services-intro-image img{
    width:100%;
    border-radius:24px;
    box-shadow:var(--shadow);
    object-fit:cover;
}

.services-intro-text h2{
    margin:0 0 16px;
    font-size:40px;
    line-height:1.15;
}

.services-intro-text p{
    margin:0 0 16px;
    color:var(--muted);
}

.services-overview-section{
    background:var(--light);
}

.services-overview-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}

.service-feature-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;
    padding:30px;
    box-shadow:var(--shadow);
    transition:0.25s ease;
}

.service-feature-card:hover{
    transform:translateY(-5px);
}

.service-feature-icon{
    width:52px;
    height:52px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(42,109,244,0.10);
    color:var(--accent);
    font-weight:700;
    margin-bottom:18px;
}

.service-feature-card h3{
    margin:0 0 12px;
    color:var(--primary);
    font-size:24px;
}

.service-feature-card p{
    margin:0;
    color:var(--muted);
}

.workflow-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
}

.workflow-step{
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:28px;
    box-shadow:var(--shadow);
    text-align:left;
}

.workflow-step-number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:999px;
    background:var(--primary);
    color:#fff;
    font-weight:700;
    margin-bottom:16px;
}

.workflow-step h3{
    margin:0 0 10px;
    color:var(--primary);
    font-size:22px;
}

.workflow-step p{
    margin:0;
    color:var(--muted);
}

.highlight-energy-box{
    background:linear-gradient(135deg, #132651 0%, #1d4ed8 100%);
    color:#fff;
    border-radius:28px;
    padding:48px 40px;
    display:grid;
    grid-template-columns:1.2fr 0.8fr;
    gap:28px;
    align-items:center;
    box-shadow:var(--shadow);
}

.highlight-energy-text h2{
    margin:0 0 14px;
    font-size:38px;
    line-height:1.15;
}

.highlight-energy-text p{
    margin:0;
    color:#dce7fb;
    max-width:760px;
}

.highlight-energy-stats{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
}

.highlight-mini-card{
    background:rgba(255,255,255,0.10);
    border:1px solid rgba(255,255,255,0.16);
    border-radius:18px;
    padding:20px;
}

.highlight-mini-card strong{
    display:block;
    font-size:30px;
    line-height:1;
    margin-bottom:8px;
}

.highlight-mini-card span{
    color:#dce7fb;
}

@media (max-width:1100px){
    .services-intro-grid,
    .highlight-energy-box{
        grid-template-columns:1fr;
    }

    .services-overview-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .workflow-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width:768px){
    .services-overview-grid,
    .workflow-grid{
        grid-template-columns:1fr;
    }

    .services-intro-text h2,
    .highlight-energy-text h2{
        font-size:30px;
    }

    .highlight-energy-box{
        padding:36px 24px;
    }
}

/* ===== SOLARPROJEKTE PAGE NEW ===== */

.solarprojects-hero{
    background:
        linear-gradient(135deg, rgba(19,38,81,0.94), rgba(29,78,216,0.86)),
        url('/assets/img/placeholder-solarprojects-hero.jpg') center center / cover no-repeat;
}

.solar-intro-section,
.solar-types-section,
.solar-focus-section,
.solar-approach-section,
.solar-cta-section{
    padding:95px 0;
}

.solar-intro-grid,
.solar-focus-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
}

.solar-intro-image img,
.solar-focus-image img{
    width:100%;
    border-radius:24px;
    box-shadow:var(--shadow);
    object-fit:cover;
}

.solar-intro-text h2,
.solar-focus-text h2{
    margin:0 0 16px;
    font-size:40px;
    line-height:1.15;
}

.solar-intro-text p,
.solar-focus-text p{
    margin:0 0 16px;
    color:var(--muted);
}

.solar-types-section{
    background:var(--light);
}

.solar-types-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}

.solar-type-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
}

.solar-type-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.solar-type-body{
    padding:26px;
}

.solar-type-tag{
    display:inline-block;
    margin-bottom:12px;
    padding:6px 12px;
    border-radius:999px;
    background:rgba(42,109,244,0.10);
    color:var(--accent);
    font-size:13px;
    font-weight:700;
}

.solar-type-body h3{
    margin:0 0 12px;
    color:var(--primary);
    font-size:26px;
    line-height:1.2;
}

.solar-type-body p{
    margin:0 0 14px;
    color:var(--muted);
}

.solar-type-body ul{
    margin:0;
    padding-left:18px;
    color:var(--text);
}

.solar-type-body li{
    margin-bottom:8px;
}

.solar-focus-points{
    display:grid;
    gap:14px;
    margin-top:22px;
}

.solar-focus-point{
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:18px 20px;
    box-shadow:var(--shadow);
}

.solar-focus-point strong{
    display:block;
    color:var(--primary);
    margin-bottom:4px;
    font-size:18px;
}

.solar-focus-point span{
    color:var(--muted);
}

.solar-approach-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
}

.solar-approach-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:28px;
    box-shadow:var(--shadow);
}

.approach-number{
    width:48px;
    height:48px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(42,109,244,0.10);
    color:var(--accent);
    font-weight:700;
    margin-bottom:16px;
}

.solar-approach-card h3{
    margin:0 0 10px;
    color:var(--primary);
    font-size:22px;
}

.solar-approach-card p{
    margin:0;
    color:var(--muted);
}

.solar-cta-box{
    background:linear-gradient(135deg, #132651 0%, #1d4ed8 100%);
    color:#fff;
    border-radius:28px;
    padding:55px 40px;
    text-align:center;
    box-shadow:var(--shadow);
}

.solar-cta-box h2{
    margin:0 0 14px;
    font-size:38px;
    line-height:1.15;
}

.solar-cta-box p{
    margin:0 0 24px;
    color:#dce7fb;
}

@media (max-width:1100px){
    .solar-intro-grid,
    .solar-focus-grid{
        grid-template-columns:1fr;
    }

    .solar-types-grid{
        grid-template-columns:1fr;
    }

    .solar-approach-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width:768px){
    .solar-approach-grid{
        grid-template-columns:1fr;
    }

    .solar-intro-text h2,
    .solar-focus-text h2,
    .solar-cta-box h2{
        font-size:30px;
    }

    .solar-cta-box{
        padding:40px 24px;
    }
}

/* ===== ADMIN PROJEKTE ===== */

.admin-page{
    padding:60px 0 90px;
    background:#f5f7fb;
    min-height:100vh;
}

.admin-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    margin-bottom:32px;
}

.admin-header h1{
    margin:0 0 10px;
    font-size:42px;
    line-height:1.1;
    color:var(--primary);
}

.admin-header p{
    margin:0;
    color:var(--muted);
    max-width:720px;
}

.admin-header-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.admin-card{
    background:#fff;
    border-radius:24px;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
    padding:28px;
}

.admin-table-wrap{
    overflow-x:auto;
}

.admin-table{
    width:100%;
    border-collapse:collapse;
    min-width:1100px;
}

.admin-table thead th{
    text-align:left;
    padding:16px 14px;
    font-size:14px;
    color:var(--primary);
    background:#f8fafc;
    border-bottom:1px solid var(--border);
}

.admin-table tbody td{
    padding:16px 14px;
    border-bottom:1px solid var(--border);
    vertical-align:top;
    color:var(--text);
}

.admin-table-description-row td{
    background:#fbfdff;
    color:var(--muted);
    font-size:15px;
}

.admin-status-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 12px;
    border-radius:999px;
    background:rgba(42,109,244,0.10);
    color:var(--accent);
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
}

.admin-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.admin-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 14px;
    border-radius:999px;
    font-weight:700;
    font-size:14px;
}

.admin-action.edit{
    background:rgba(42,109,244,0.10);
    color:var(--accent);
}

.admin-action.delete{
    background:rgba(220,38,38,0.10);
    color:#dc2626;
}

.admin-empty-state{
    text-align:center;
    padding:40px 20px;
}

.admin-empty-state h2{
    margin:0 0 10px;
    color:var(--primary);
}

.admin-empty-state p{
    margin:0 0 20px;
    color:var(--muted);
}

.admin-form-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
}

.admin-form-full{
    grid-column:1 / -1;
}

.admin-form label{
    display:block;
    margin-bottom:8px;
    font-weight:700;
    color:var(--primary);
}

.admin-form input,
.admin-form textarea,
.admin-form select{
    width:100%;
    padding:14px 16px;
    border:1px solid var(--border);
    border-radius:14px;
    font-size:16px;
    font-family:inherit;
    background:#fff;
}

.admin-form textarea{
    resize:vertical;
}

.admin-form-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:24px;
}

.admin-checkbox-row label{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    margin-bottom:0;
}

.admin-checkbox-row input[type="checkbox"]{
    width:auto;
}

.admin-message{
    margin:0 0 18px;
    padding:14px 16px;
    border-radius:14px;
    background:rgba(220,38,38,0.08);
    color:#b91c1c;
    font-weight:600;
}

.admin-btn-dark{
    color:var(--primary);
    border:1px solid var(--border);
    background:#fff;
}

.admin-btn-dark:hover{
    background:#f8fafc;
}

@media (max-width:900px){
    .admin-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .admin-form-grid{
        grid-template-columns:1fr;
    }
}

.admin-form input,
.admin-form textarea,
.admin-form select{
    width:100%;
    padding:14px 16px;
    border:1px solid var(--border);
    border-radius:12px;
    font-size:16px;
    font-family:inherit;
}

.admin-form textarea{
    resize:vertical;
}

.admin-form button{
    border:none;
    cursor:pointer;
}

/* =========================
   Kontaktformular
========================= */

.contact-section{
    padding:80px 20px;
    background:#f5f7fb;
}

.contact-form{
    max-width:980px;
    margin:40px auto 0;
    background:#ffffff;
    padding:40px;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(0, 0, 0, 0.08);
    border:1px solid #e9eef7;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group-full{
    grid-column:1 / -1;
}

.form-group label{
    margin-bottom:10px;
    font-size:15px;
    font-weight:600;
    color:#1f2f46;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    min-height:54px;
    padding:14px 16px;
    font-size:16px;
    line-height:1.4;
    color:#1f2f46;
    background:#fff;
    border:1px solid #cfd8e6;
    border-radius:14px;
    outline:none;
    transition:border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-sizing:border-box;
}

.form-group textarea{
    min-height:160px;
    resize:vertical;
    padding-top:14px;
}

.form-group input::placeholder,
.form-group textarea::placeholder{
    color:#97a3b6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color:#4a84ff;
    box-shadow:0 0 0 4px rgba(74, 132, 255, 0.12);
}

.form-actions{
    margin-top:28px;
    display:flex;
    justify-content:center;
}

.contact-form .btn,
.contact-form button[type="submit"]{
    min-width:240px;
    min-height:56px;
    padding:14px 28px;
    border:none;
    border-radius:999px;
    background:linear-gradient(135deg, #2f58b7, #5a98ff);
    color:#ffffff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 10px 24px rgba(74, 132, 255, 0.28);
    transition:transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contact-form .btn:hover,
.contact-form button[type="submit"]:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 30px rgba(74, 132, 255, 0.34);
}

.form-message{
    max-width:980px;
    margin:0 auto 24px;
    padding:16px 18px;
    border-radius:14px;
    font-size:15px;
    font-weight:600;
}

.success-message{
    background:#eaf8ee;
    color:#1d6b35;
    border:1px solid #bfe5c8;
}

.error-message{
    background:#fff0f0;
    color:#a12626;
    border:1px solid #f0c3c3;
}

.g-recaptcha{
    margin-top:6px;
    transform-origin:left top;
}

.contact-section .section-head h2{
    font-size:42px;
    line-height:1.15;
    margin-bottom:10px;
    color:#243a5a;
}

.contact-section .section-head p{
    font-size:16px;
    color:#7b8aa0;
}

.required-info-box{
    margin:0 auto 24px;
    max-width:860px;
    padding:14px 18px;
    background:#eef4ff;
    border-left:4px solid #2f6fed;
    border-radius:10px;
    color:#1f2d5a;
    line-height:1.5;
}

.required-star{
    color:#d93025;
    font-weight:700;
}

.optional-label{
    color:#6b7280;
    font-weight:400;
    font-size:0.95em;
}

.contact-form .form-group label{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}

.field-info-icon{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#dbe7ff;
    color:#23408e;
    font-size:11px;
    font-weight:700;
    cursor:default;
    line-height:1;
}

.field-tooltip{
    display:none;
    position:absolute;
    top:26px;
    left:0;
    min-width:220px;
    max-width:260px;
    padding:8px 10px;
    background:#1f2d5a;
    color:#fff;
    border-radius:8px;
    font-size:12px;
    font-weight:400;
    line-height:1.4;
    z-index:20;
    box-shadow:0 10px 24px rgba(0, 0, 0, 0.16);
}

.field-info-icon:hover .field-tooltip{
    display:block;
}

.input-error{
    border:2px solid #d93025 !important;
    background:#fff5f5;
}

.field-error{
    margin-top:8px;
    padding:10px 12px;
    background:#fdeaea;
    border-left:4px solid #d93025;
    border-radius:8px;
    color:#a1261d;
    font-size:14px;
    line-height:1.4;
}

.captcha-label{
    margin-bottom:12px;
}

@media (max-width:900px){
    .contact-form{
        padding:28px 20px;
        border-radius:18px;
    }

    .form-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .contact-section .section-head h2{
        font-size:30px;
    }

    .contact-form .btn,
    .contact-form button[type="submit"]{
        width:100%;
        min-width:0;
    }

    .g-recaptcha{
        transform:scale(0.92);
    }
}

@media (max-width:768px){
    .field-tooltip{
        left:auto;
        right:0;
        min-width:200px;
        max-width:240px;
    }

    .required-info-box{
        padding:12px 14px;
    }
}

@media (max-width:420px){
    .contact-section{
        padding:60px 14px;
    }

    .contact-form{
        padding:22px 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea{
        font-size:15px;
        min-height:50px;
    }

    .g-recaptcha{
        transform:scale(0.84);
    }
}