/* ===================================================
   Solar-Seller – Haupt-Stylesheet
   =================================================== */

:root {
  --sun:       #f5a623;
  --sun-dark:  #d4881a;
  --green:     #2e7d32;
  --green-light: #43a047;
  --dark:      #1a1a2e;
  --grey-bg:   #f4f6f8;
  --text:      #222;
  --text-light:#555;
  --white:     #ffffff;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(0,0,0,.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

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

/* ── Navbar ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sun);
  letter-spacing: .5px;
}

.logo svg { width: 34px; height: 34px; }

nav a {
  color: #ccc;
  margin-left: 28px;
  font-size: .95rem;
  transition: color .2s;
}
nav a:hover { color: var(--sun); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a2a 60%, #2e5c1e 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(245,166,35,.18) 0%, transparent 70%);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 22px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span { color: var(--sun); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #c8d8c0;
  max-width: 620px;
  margin: 0 auto 38px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  border: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

.btn-primary {
  background: var(--sun);
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 14px;
}

/* ── Sections ── */
section { padding: 80px 5%; }

.section-label {
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: 2px;
  color: var(--sun-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
  margin-bottom: 52px;
}

/* ── Leistungen ── */
#leistungen { background: var(--grey-bg); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}

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

.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--sun), var(--sun-dark));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg { width: 28px; height: 28px; fill: var(--white); }

.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.card p  { font-size: .95rem; color: var(--text-light); }

/* ── Vorteile ── */
#vorteile { background: var(--white); }

.vorteile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
}

.vorteil {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.vorteil-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.vorteil-icon svg { width: 20px; height: 20px; fill: var(--green); }

.vorteil h4 { font-size: .98rem; font-weight: 700; margin-bottom: 4px; }
.vorteil p  { font-size: .9rem; color: var(--text-light); }

/* ── Zahlen ── */
#zahlen {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3a2a 100%);
  color: var(--white);
  text-align: center;
}

#zahlen h2 { color: var(--white); }

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--sun);
  line-height: 1;
}

.stat-item .label {
  font-size: .95rem;
  color: #a8c0a0;
  margin-top: 6px;
}

/* ── Sortiment ── */
#sortiment { background: var(--grey-bg); }

.produkte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.produkt {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--sun);
}

.produkt h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.produkt p  { font-size: .88rem; color: var(--text-light); }

/* ── Kontakt ── */
#kontakt { background: var(--white); text-align: center; }

.kontakt-box {
  background: var(--grey-bg);
  border-radius: var(--radius);
  padding: 52px 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.kontakt-box p { color: var(--text-light); margin-bottom: 28px; }

.email-link {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sun-dark);
  border-bottom: 2px solid var(--sun);
  padding-bottom: 2px;
  margin-bottom: 32px;
}

/* ── Footer ── */
footer {
  background: var(--dark);
  color: #888;
  text-align: center;
  padding: 28px 5%;
  font-size: .85rem;
}

footer a { color: var(--sun); margin: 0 8px; }
footer a:hover { text-decoration: underline; }

/* ── Impressum ── */
.impressum-wrap {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 5% 80px;
}

.impressum-wrap h1 { font-size: 2rem; margin-bottom: 32px; color: var(--dark); }
.impressum-wrap h2 { font-size: 1.15rem; margin: 28px 0 8px; color: var(--dark); }
.impressum-wrap p, .impressum-wrap address { font-size: .97rem; color: var(--text-light); font-style: normal; line-height: 1.8; }
.impressum-wrap a { color: var(--sun-dark); }

/* ── Responsive ── */
@media (max-width: 640px) {
  nav { display: none; }
  .btn-outline { display: none; }
  .vorteile-grid { grid-template-columns: 1fr; }
  .kontakt-box { padding: 36px 22px; }
}
