/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    color: #1e2e2e;
    line-height: 1.7;
    background: #fff;
}
a { color: inherit; text-decoration: none; }

/* ===== FARBPALETTE (Logo) =====
   Navy:   #27444e  → Header, Footer, Dunkel-Sections
   Teal:   #287697  → Links/Akzente
   Grün:   #4c8b34  → Primärfarbe Texte & Borders
   Orange: #db7e1d  → Call-to-Action Buttons
   Gelb:   #e9ae22  → Highlights, Zahlen, Hero-Akzent
   Hellgrün-Text: #497b4b
*/

/* ===== HEADER ===== */
header {
    background: #27444e;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.logo-area { display: flex; align-items: center; gap: 14px; }
.header-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
}
header h1 { font-size: 1.6rem; letter-spacing: 1px; color: #e9ae22; }
.tagline { font-size: 0.8rem; color: #9ecad8; margin-top: 2px; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a {
    color: #c8e0e8;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}
nav a:hover { color: #e9ae22; border-bottom-color: #e9ae22; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #27444e 0%, #2d5a6e 50%, #287697 100%);
    color: #fff;
    text-align: center;
    padding: 70px 24px 90px;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    background: #fff;
}
.hero h2 { font-size: 2.4rem; line-height: 1.3; margin-bottom: 20px; font-weight: 800; }
.hero p { font-size: 1.1rem; color: #b8d8e8; margin-bottom: 36px; }
.highlight { color: #e9ae22; }
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin: 6px 8px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary { background: #db7e1d; color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(219,126,29,0.45); }
.btn-secondary { border: 2px solid #e9ae22; color: #e9ae22; }
.btn-secondary:hover { background: rgba(233,174,34,0.15); }

/* ===== SECTIONS ===== */
.section { padding: 70px 24px; }
.section-light { background: #f5f8f9; }
.section-dark { background: #27444e; color: #fff; }
.section-green { background: #4c8b34; color: #fff; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #27444e;
    position: relative;
    padding-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 52px; height: 4px;
    background: linear-gradient(90deg, #287697, #4c8b34, #db7e1d);
    border-radius: 2px;
}
.section-title.white { color: #e9ae22; }
.section-title.white::after { background: rgba(255,255,255,0.4); }
.section-intro {
    font-size: 1.05rem;
    color: #4a6070;
    max-width: 760px;
    margin-bottom: 40px;
}

/* ===== CARDS (3 Logo-Farben) ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card:nth-child(1) { border-top: 4px solid #287697; }
.card:nth-child(2) { border-top: 4px solid #4c8b34; }
.card:nth-child(3) { border-top: 4px solid #db7e1d; }
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { font-size: 1.1rem; color: #27444e; margin-bottom: 10px; }

/* ===== TWO-COL SCHWERPUNKT ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }
.sub-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9ecad8;
    margin: 20px 0 6px;
}
.text-block p { color: #b8d8e8; margin-bottom: 10px; }
.solar-visual { text-align: center; }
.solar-stat {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(233,174,34,0.4);
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 20px;
}
.stat-number { font-size: 3.5rem; font-weight: 900; color: #e9ae22; line-height: 1; }
.stat-label { font-size: 0.95rem; color: #9ecad8; text-align: center; margin-top: 8px; }
.solar-icons { font-size: 2.5rem; display: flex; gap: 16px; justify-content: center; }

/* ===== KOOPERATIONEN (3 Logo-Farben) ===== */
.koop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.koop-item {
    background: #fff;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.koop-item:hover { transform: translateY(-4px); }
.koop-item:nth-child(1) { border-bottom: 4px solid #287697; }
.koop-item:nth-child(2) { border-bottom: 4px solid #4c8b34; }
.koop-item:nth-child(3) { border-bottom: 4px solid #db7e1d; }
.koop-icon { font-size: 2.5rem; margin-bottom: 12px; }
.koop-item h3 { color: #27444e; margin-bottom: 10px; font-size: 1.1rem; }
.koop-item p { color: #4a6070; font-size: 0.95rem; }

/* ===== TEAM ===== */
.team-text { font-size: 1.05rem; color: #d4eeda; max-width: 800px; margin-bottom: 16px; }
.link-white { color: #e9ae22; text-decoration: underline; }
.btn-white {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 30px;
    border-radius: 50px;
    background: #fff;
    color: #4c8b34;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.15s;
}
.btn-white:hover { transform: translateY(-2px); }

/* ===== KONTAKT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info p, .contact-info address { margin-bottom: 14px; font-style: normal; color: #2c4050; }
.contact-info a { color: #287697; text-decoration: underline; }
.contact-info a:hover { color: #db7e1d; }
.contact-links h3 { font-size: 1.2rem; color: #27444e; margin-bottom: 16px; font-weight: 700; }
.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-left: 4px solid #db7e1d;
    transition: transform 0.15s, box-shadow 0.15s;
}
.link-card:hover { transform: translateX(4px); box-shadow: 0 4px 18px rgba(0,0,0,0.13); }
.link-card span:first-child { font-size: 1.8rem; }
.link-card div { display: flex; flex-direction: column; }
.link-card strong { font-size: 1rem; color: #27444e; }
.link-card span:last-child { font-size: 0.85rem; color: #777; }

/* ===== FOOTER ===== */
footer {
    background: #27444e;
    color: #7aacb8;
    text-align: center;
    padding: 24px 24px 20px;
    font-size: 0.85rem;
}
.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
    opacity: 0.85;
}
