/* Tchouela Solarpanel — gemeinsames Stylesheet (Multi-Page) */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Segoe UI', Roboto, Arial, sans-serif; color:#1b2a33; line-height:1.6; background:#f6fafc; }
:root { --grun:#1ba94c; --dunkel:#0b241b; --gold:#f7d774; }
/* NAV */
nav { position:sticky; top:0; z-index:100; background:#0b241b; box-shadow:0 2px 12px rgba(0,0,0,.25); }
.nav-in { max-width:1150px; margin:0 auto; padding:13px 20px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.logo { display:flex; align-items:center; gap:8px; color:#fff; font-weight:800; font-size:17px; text-decoration:none; }
.logo .sun { font-size:22px; }
.nav-links { display:flex; gap:18px; align-items:center; }
.nav-links a { color:#d4e6dc; text-decoration:none; font-size:14px; font-weight:600; padding:6px 2px; border-bottom:2px solid transparent; transition:color .15s, border-color .15s; }
.nav-links a:hover, .nav-links a.aktiv { color:#fff; border-color:var(--gold); }
.nav-cta { background:linear-gradient(135deg,var(--grun),#128a3d); color:#fff; padding:9px 18px; border-radius:9px; font-weight:700; font-size:13.5px; text-decoration:none; white-space:nowrap; }
.burger { display:none; background:none; border:none; color:#fff; font-size:26px; cursor:pointer; }
@media (max-width:820px){ .nav-links { display:none; position:absolute; top:60px; left:0; right:0; background:#0b241b; flex-direction:column; padding:14px 20px 20px; gap:6px; } .nav-links.offen { display:flex; } .burger { display:block; } }
/* HERO */
.hero { background:linear-gradient(rgba(5,20,15,.34), rgba(5,20,15,.48)), url('img/hero-solar.jpg?v=2') center/cover no-repeat; color:#fff; text-align:center; padding:110px 20px 100px; min-height:72vh; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.sub-hero { background:linear-gradient(rgba(5,20,15,.55), rgba(5,20,15,.6)), url('img/hero-solar.jpg?v=2') center/cover no-repeat; color:#fff; text-align:center; padding:56px 20px 48px; }
.sub-hero h1 { font-size:34px; font-weight:800; text-shadow:0 2px 10px rgba(0,0,0,.5); }
.sub-hero p { margin-top:8px; color:#dbe9e0; font-size:15px; }
.hero .kicker, .sub-hero .kicker { display:inline-block; border:1px solid rgba(255,255,255,.35); border-radius:20px; padding:5px 16px; font-size:12px; letter-spacing:2px; text-transform:uppercase; font-weight:700; background:rgba(5,20,15,.35); }
.hero h1 { font-size:42px; line-height:1.15; font-weight:800; margin-top:16px; text-shadow:0 2px 10px rgba(0,0,0,.55); }
.hero h1 span { color:var(--gold); }
.hero p { margin:16px auto 0; max-width:640px; font-size:17px; text-shadow:0 1px 8px rgba(0,0,0,.6); }
.hero-badges { margin-top:22px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.hero-badges span { background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); border-radius:20px; padding:5px 14px; font-size:12.5px; font-weight:600; }
.hero-cta { margin-top:30px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.btn { display:inline-block; padding:13px 26px; border-radius:10px; font-weight:700; font-size:15px; text-decoration:none; transition:transform .12s, box-shadow .15s; }
.btn:hover { transform:translateY(-2px); }
.btn-gold { background:linear-gradient(135deg,#f7d774,#e0a93c); color:#0b241b; box-shadow:0 8px 22px rgba(224,169,60,.4); }
.btn-green { background:linear-gradient(135deg,var(--grun),#128a3d); color:#fff; box-shadow:0 8px 22px rgba(27,169,76,.35); }
.btn-ghost { border:1.5px solid rgba(255,255,255,.4); color:#fff; }
/* TRUST */
.trust { background:#fff; border-bottom:1px solid #e3edf2; }
.trust-in { max-width:1150px; margin:0 auto; padding:15px 20px; display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:10px; }
.trust-item { display:flex; align-items:center; gap:10px; font-size:13px; font-weight:600; color:#2d4250; }
.trust-item .t-ico { background:#e8f7ee; color:var(--grun); width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; flex-shrink:0; }
/* SECTIONS */
.wrap { max-width:1150px; margin:0 auto; padding:0 20px; }
section { padding:60px 0; }
.sec-head { text-align:center; margin-bottom:34px; }
.kicker { color:var(--grun); font-weight:800; font-size:12px; letter-spacing:2px; text-transform:uppercase; }
.sec-head h2 { font-size:29px; font-weight:800; color:#0b241b; margin-top:6px; }
.sec-head p { color:#5f7a86; max-width:600px; margin:8px auto 0; font-size:15px; }
/* KARTEN */
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:18px; }
.card { background:#fff; border:1px solid #e3edf2; border-radius:16px; padding:24px 20px; box-shadow:0 4px 14px rgba(15,32,40,.05); transition:transform .18s, box-shadow .18s; }
.card:hover { transform:translateY(-4px); box-shadow:0 14px 32px rgba(15,32,40,.12); }
.card .ico { font-size:34px; }
.card h3 { margin-top:10px; font-size:17px; color:#0b241b; }
.card p { margin-top:8px; font-size:13.5px; color:#4c626e; }
.card a.mehr { display:inline-block; margin-top:12px; color:var(--grun); font-weight:700; font-size:13px; text-decoration:none; }
/* SCHRITTE */
.steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:20px; max-width:900px; margin:0 auto; counter-reset:step; }
.step { background:#fff; border:1px solid #e3edf2; border-radius:14px; padding:26px 22px; position:relative; }
.step .num { position:absolute; top:-16px; left:20px; background:linear-gradient(135deg,var(--grun),#128a3d); color:#fff; width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px; }
.step h3 { font-size:15.5px; color:#0b241b; margin-bottom:6px; }
.step p { font-size:13.5px; color:#4c626e; }
/* GALERIE + LIGHTBOX */
.gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:18px; }
figure { margin:0; cursor:pointer; position:relative; border-radius:14px; overflow:hidden; box-shadow:0 4px 14px rgba(15,32,40,.1); }
figure img { width:100%; height:220px; object-fit:cover; display:block; transition:transform .3s; }
figure:hover img { transform:scale(1.04); }
figcaption { position:absolute; left:0; right:0; bottom:0; background:linear-gradient(transparent, rgba(0,0,0,.75)); color:#fff; font-size:13px; font-weight:600; padding:26px 14px 12px; }
#lightbox { display:none; position:fixed; inset:0; z-index:200; background:rgba(0,0,0,.92); align-items:center; justify-content:center; flex-direction:column; }
#lightbox.offen { display:flex; }
#lightbox img { max-width:92vw; max-height:80vh; border-radius:10px; }
#lightbox .lb-close, #lightbox .lb-nav { position:absolute; background:rgba(255,255,255,.15); border:none; color:#fff; font-size:30px; width:52px; height:52px; border-radius:50%; cursor:pointer; }
#lightbox .lb-close { top:20px; right:20px; }
#lightbox .lb-nav.prev { left:20px; top:50%; transform:translateY(-50%); }
#lightbox .lb-nav.next { right:20px; top:50%; transform:translateY(-50%); }
#lightbox .lb-cap { color:#cfe3ea; margin-top:12px; font-size:14px; }
/* ENERGIE-FLUSS */
.flow { margin-top:34px; background:#eaf6ee; border:1px solid #cfe6d8; border-radius:14px; padding:24px 16px; }
.flow-title { text-align:center; font-size:13px; font-weight:800; color:#0f3d2e; letter-spacing:1.5px; text-transform:uppercase; margin-bottom:18px; }
.flow-row { display:flex; align-items:stretch; justify-content:center; gap:6px; flex-wrap:wrap; }
.flow-step { background:#fff; border:1.5px solid #dcebe4; border-radius:10px; padding:13px 14px; text-align:center; min-width:132px; transition:transform .15s, border-color .15s, box-shadow .15s; cursor:default; }
.flow-step:hover { transform:translateY(-3px); border-color:var(--grun); box-shadow:0 8px 18px rgba(27,169,76,.18); }
.flow-step.aktiv { border-color:var(--grun); background:#f0faf4; }
.flow-step .f-ico { font-size:26px; }
.flow-step .f-txt { font-size:12px; font-weight:800; color:#1b2a33; margin-top:4px; }
.flow-step .f-sub { font-size:10.5px; color:#6f9a82; }
.flow-arrow { display:flex; align-items:center; color:var(--grun); font-size:20px; font-weight:800; }
.flow-note { text-align:center; font-size:12px; color:#6f9a82; margin-top:14px; }
@media (max-width:640px){ .flow-arrow { transform:rotate(90deg); } }
/* FAQ */
.faq { max-width:760px; margin:0 auto; }
details { background:#fff; border:1px solid #e3edf2; border-radius:12px; padding:16px 20px; margin-bottom:12px; }
summary { font-weight:700; color:#0b241b; cursor:pointer; font-size:15px; list-style:none; display:flex; justify-content:space-between; align-items:center; }
summary::after { content:'▾'; color:var(--grun); transition:transform .2s; }
details[open] summary::after { transform:rotate(180deg); }
details p { margin-top:10px; font-size:13.5px; color:#4c626e; }
/* LEISTUNGEN (Akkordeon-artige Bloecke) */
.leistung { background:#fff; border:1px solid #e3edf2; border-radius:14px; padding:22px 22px; margin-bottom:14px; }
.leistung h3 { color:#0b241b; font-size:17px; margin-bottom:6px; }
.leistung p { color:#4c626e; font-size:13.5px; }
.leistung ul { margin-top:8px; padding-left:18px; color:#4c626e; font-size:13.5px; }
.leistung li { margin-bottom:3px; }
.leistung li::marker { color:var(--grun); }
/* RECHNER + CHECKLISTE */
.rechner { max-width:560px; margin:0 auto; background:#fff; border:1px solid #e3edf2; border-radius:16px; padding:26px; }
.rechner label { display:block; font-size:13px; font-weight:700; color:#33475b; margin-bottom:6px; }
.rechner input[type=number], .rechner select { width:100%; padding:11px 12px; border:1.5px solid #d4dee6; border-radius:9px; font-size:15px; }
.rechner input[type=tel], .rechner input[type=text], .rechner textarea { width:100%; padding:11px 12px; border:1.5px solid #d4dee6; border-radius:9px; font-size:15px; font-family:inherit; }
.rechner textarea { resize:vertical; }
.rechner .k-btn { width:100%; margin-top:14px; padding:13px; border:none; border-radius:9px; background:linear-gradient(135deg,var(--grun),#128a3d); color:#fff; font-size:15px; font-weight:700; cursor:pointer; }
.rechner .k-btn:disabled { opacity:.6; cursor:wait; }
.rechner .k-status { display:none; margin-top:12px; padding:11px 13px; border-radius:8px; font-size:13px; font-weight:600; }
.rechner .k-status.ok { display:block; background:#e8f7ee; color:#166534; border:1px solid #86efac; }
.rechner .k-status.err { display:block; background:#fdeaea; color:#991b1b; border:1px solid #fca5a5; }
.rechner input:focus, .rechner select:focus { outline:none; border-color:var(--grun); }
.rechner .erg { margin-top:16px; background:#eaf6ee; border:1px solid #cfe6d8; border-radius:10px; padding:14px 16px; font-size:14px; }
.rechner .erg b { color:#0b241b; }
.rechner .hinw { font-size:11.5px; color:#6f9a82; margin-top:8px; }
.checkliste { max-width:560px; margin:0 auto; }
.check-item { background:#fff; border:1px solid #e3edf2; border-radius:10px; padding:13px 16px; margin-bottom:8px; display:flex; align-items:center; gap:12px; cursor:pointer; transition:border-color .15s, background .15s; }
.check-item:hover { border-color:var(--grun); }
.check-item.gewaehlt { background:#eaf6ee; border-color:var(--grun); }
.check-item .cb { width:20px; height:20px; border:2px solid #c4d6cd; border-radius:5px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:13px; color:#fff; transition:background .15s, border-color .15s; }
.check-item.gewaehlt .cb { background:var(--grun); border-color:var(--grun); }
.check-item .ct { font-size:14px; color:#1b2a33; }
.check-fortschritt { max-width:560px; margin:0 auto 14px; background:#e8f0ec; border-radius:20px; height:10px; overflow:hidden; }
.check-fortschritt .bar { height:100%; width:0; background:linear-gradient(90deg,var(--grun),#128a3d); transition:width .3s; }
/* KONTAKT */
.kontakt-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:18px; max-width:900px; margin:0 auto; }
.kontakt-card { background:#fff; border:1px solid #e3edf2; border-radius:14px; padding:24px; text-align:center; }
.kontakt-card .k-ico { font-size:30px; }
.kontakt-card h3 { color:#0b241b; font-size:16px; margin-top:8px; }
.kontakt-card p { color:#4c626e; font-size:13.5px; margin-top:6px; }
.kontakt-card a { color:var(--grun); font-weight:700; font-size:16px; text-decoration:none; }
/* CTA-BANNER */
.cta-banner { background:linear-gradient(160deg,#0b241b,#145c38); color:#fff; text-align:center; padding:46px 20px; }
.cta-banner h2 { font-size:26px; }
.cta-banner p { color:#cfe3d8; margin:10px auto 20px; max-width:560px; }
/* FOOTER */
footer { background:#081a12; color:#9fc4ae; font-size:13px; padding:36px 20px 22px; }
.foot-in { max-width:1150px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:26px; }
.foot-in h4 { color:#fff; font-size:14px; margin-bottom:10px; }
.foot-in a { color:#9fc4ae; text-decoration:none; display:block; margin:4px 0; }
.foot-in a:hover { color:#fff; }
.copy { text-align:center; margin-top:24px; color:#6f9a82; font-size:12px; }
/* ANIMATION */
.reveal { opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal { opacity:1; transform:none; transition:none; } }
/* CHAT */
#pius-chat-btn { position:fixed; bottom:22px; right:22px; z-index:150; width:60px; height:60px; border-radius:50%; background:linear-gradient(135deg,var(--grun),#128a3d); color:#fff; font-size:27px; border:none; cursor:pointer; box-shadow:0 8px 22px rgba(27,169,76,.45); }
#pius-chat-panel { position:fixed; bottom:94px; right:22px; z-index:150; width:320px; max-width:92vw; background:#fff; border-radius:14px; box-shadow:0 16px 48px rgba(0,0,0,.3); display:none; overflow:hidden; font-size:14px; }
#pius-chat-head { background:linear-gradient(135deg,#0b241b,#145c38); color:#fff; padding:13px 16px; font-weight:700; }
#pius-chat-body { height:260px; overflow-y:auto; padding:12px 14px; background:#f6fafc; }
.msg { margin:6px 0; padding:9px 12px; border-radius:12px; max-width:88%; line-height:1.45; }
.q { background:#e3f6e9; margin-left:auto; border-top-right-radius:3px; }
.a { background:#fff; border:1px solid #dcebe4; border-top-left-radius:3px; }
#pius-chat-input { display:flex; border-top:1px solid #e3edf2; }
#pius-chat-input input { flex:1; border:none; padding:13px 14px; font-size:14px; outline:none; }
#pius-chat-input button { border:none; background:var(--grun); color:#fff; padding:0 18px; font-weight:700; cursor:pointer; }
.typing { color:#8aa0ac; font-size:12px; padding:4px 2px; }
