/* ==========================================================================
   PowerPlan Solutions UG – Stylesheet
   Farbwelt aus dem Logo: Sonnenverlauf (Gelb→Orange) + Grün, Navy als Anker.
   Cyan ist neu und gehört ausschliesslich dem Klima-Bereich.
   Keine externen Fonts/CDNs – alles lokal, damit die Seite DSGVO-sauber bleibt.
   ========================================================================== */

:root {
  /* Anker */
  --navy:        #16212e;
  --navy-soft:   #1f2f42;
  --navy-line:   #2c3f56;

  /* Sonne / Photovoltaik */
  --sun:         #ffc72c;
  --sun-mid:     #f5941f;
  --sun-deep:    #e0601c;
  --sun-grad:    linear-gradient(115deg, #ffc72c 0%, #f5941f 48%, #e0601c 100%);

  /* Grün / Nachhaltigkeit */
  --green:       #2e9e4f;
  --green-deep:  #0f6b3c;

  /* Cyan / Klima */
  --cyan:        #1b9bc4;
  --cyan-light:  #48bcdd;
  --cyan-deep:   #12708f;
  --cyan-grad:   linear-gradient(115deg, #48bcdd 0%, #1b9bc4 55%, #12708f 100%);

  /* Neutral */
  --ink:         #16212e;
  --ink-soft:    #4a5a6d;
  --ink-mute:    #6f8096;
  --line:        #dfe5ec;
  --line-soft:   #eef2f6;
  --bg:          #ffffff;
  --bg-tint:     #f6f9fc;
  --bg-warm:     #fffaf0;

  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 1px 2px rgba(22, 33, 46, .06), 0 2px 8px rgba(22, 33, 46, .05);
  --shadow-md:   0 4px 12px rgba(22, 33, 46, .07), 0 14px 34px rgba(22, 33, 46, .08);
  --shadow-lg:   0 10px 24px rgba(22, 33, 46, .09), 0 30px 60px rgba(22, 33, 46, .11);

  --wrap:        1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------- Reset --- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 750; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--sun-deep); }

ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------- Layout --- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sun-deep);
  margin-bottom: .9rem;
}
.eyebrow--cyan { color: var(--cyan-deep); }
.eyebrow--light { color: var(--sun); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.6;
}
.section--dark .lead { color: #b9c7d6; }

/* ------------------------------------------------------------ Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--sun {
  background: var(--sun-grad);
  color: #2a1a06;
  box-shadow: 0 6px 18px rgba(224, 96, 28, .3);
}
.btn--sun:hover { color: #2a1a06; box-shadow: 0 10px 26px rgba(224, 96, 28, .38); }

.btn--cyan {
  background: var(--cyan-grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(18, 112, 143, .3);
}
.btn--cyan:hover { color: #fff; box-shadow: 0 10px 26px rgba(18, 112, 143, .38); }

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--ghost-light {
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
  background: transparent;
}
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ------------------------------------------------------------- Header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  flex-shrink: 0;
}
.brand img { width: 44px; height: 44px; }
.brand-name { font-weight: 800; font-size: 1.13rem; letter-spacing: -.02em; line-height: 1.1; }
.brand-sub {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: .96rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--sun-mid); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.header-phone:hover { color: var(--sun-deep); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------- Hero --- */

.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .38;
  pointer-events: none;
}
.hero::before {
  width: 560px; height: 560px;
  top: -220px; right: -140px;
  background: radial-gradient(circle, #f5941f 0%, transparent 68%);
}
.hero::after {
  width: 480px; height: 480px;
  bottom: -240px; left: -160px;
  background: radial-gradient(circle, #1b9bc4 0%, transparent 68%);
}
.hero > * { position: relative; z-index: 1; }

.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 .accent {
  background: var(--sun-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent-cool {
  background: var(--cyan-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text { max-width: 40rem; }
.hero .lead { color: #c4d1de; font-size: clamp(1.08rem, 1.8vw, 1.28rem); margin-bottom: 2rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1rem .45rem .55rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px;
  background: rgba(255, 255, 255, .06);
  font-size: .87rem;
  font-weight: 600;
  color: #d6e1ec;
  margin-bottom: 1.7rem;
}
.hero-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #45d17c;
  box-shadow: 0 0 0 4px rgba(69, 209, 124, .22);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.hero-fact strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.hero-fact span { font-size: .89rem; color: #9fb1c4; }

/* -------------------------------------------------------- Standbeine --- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.4rem 2.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
}
.pillar--pv::before   { background: var(--sun-grad); }
.pillar--klima::before { background: var(--cyan-grad); }

.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  color: #fff;
}
.pillar--pv .pillar-icon    { background: var(--sun-grad); color: #2a1a06; }
.pillar--klima .pillar-icon { background: var(--cyan-grad); }
.pillar-icon svg { width: 30px; height: 30px; }

.pillar ul { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.pillar li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-soft);
  font-size: .98rem;
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.pillar--pv li::before    { background: var(--sun-mid); }
.pillar--klima li::before { background: var(--cyan); }

.pillar .btn { align-self: flex-start; margin-top: auto; }

/* ----------------------------------------------------------- Kombi/CTA --- */

.combo {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.combo-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 199, 44, .28), transparent 55%),
    radial-gradient(circle at 72% 74%, rgba(27, 155, 196, .3), transparent 55%),
    var(--navy-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.combo-visual img { width: 62%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }

.combo-note {
  display: inline-flex;
  align-items: baseline;
  gap: .6rem;
  padding: 1rem 1.4rem;
  border-left: 4px solid var(--sun);
  background: var(--bg-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .97rem;
  color: var(--ink-soft);
  margin-top: 1.4rem;
}

/* ------------------------------------------------------------ Leistung --- */

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

.card {
  padding: 1.9rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #cbd6e2; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

.card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .22rem .6rem;
  border-radius: 6px;
  margin-bottom: .9rem;
}
.card-tag--pv    { background: #fff2d6; color: #96490f; }
.card-tag--klima { background: #ddf3fb; color: #0e5a74; }

/* --------------------------------------------------------------- Trust --- */

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem;
}
.trust-item {
  padding: 1.7rem;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
}
.trust-item h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.trust-item p { color: #a9bacb; font-size: .95rem; margin: 0; }
.trust-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: var(--sun-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .3rem;
}

/* --------------------------------------------------------------- Steps --- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step { position: relative; padding-top: 3.6rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sun-grad);
  color: #2a1a06;
  font-weight: 800;
  font-size: 1.2rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* --------------------------------------------------------------- Region --- */

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.region-list li {
  padding: .4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  font-size: .93rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ------------------------------------------------------------- Kontakt --- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-lines { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.contact-lines li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.contact-lines li:last-child { border-bottom: 0; }
.contact-lines .ico {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
}
.contact-lines .ico svg { width: 20px; height: 20px; stroke: var(--sun); }
.contact-lines strong { display: block; font-size: 1.02rem; }
.contact-lines a { color: #fff; text-decoration: none; }
.contact-lines a:hover { color: var(--sun); }
.contact-lines span { font-size: .87rem; color: #9fb1c4; }

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.form-card h3 { margin-bottom: 1.4rem; }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: .87rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(27, 155, 196, .16);
}
.field textarea { resize: vertical; min-height: 118px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .84rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 1.4rem;
}
.consent input { width: 18px; height: 18px; margin-top: .18rem; flex-shrink: 0; }

.form-card .btn { width: 100%; justify-content: center; }
.form-hint { font-size: .82rem; color: var(--ink-mute); text-align: center; margin-top: .9rem; }

/* -------------------------------------------------------------- Footer --- */

.site-footer {
  background: #0f1822;
  color: #93a5b8;
  padding: 3.5rem 0 2rem;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #22303f;
}
.footer-grid h4 {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-grid a { color: #93a5b8; text-decoration: none; }
.footer-grid a:hover { color: var(--sun); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.6rem;
  font-size: .86rem;
  color: #6f8296;
}

/* ------------------------------------------------- Unterseiten-Hero --- */

.hero--sub { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 4.5rem); }
.hero--sub h1 { max-width: 18ch; }
.hero--sub .lead { margin-bottom: 1.8rem; }

/* -------------------------------------------------- Vergleich Truhe --- */

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}

.compare-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-card svg { display: block; width: 100%; height: auto; background: #fbfdfe; }
.compare-card figcaption { padding: 1.5rem 1.6rem 1.7rem; border-top: 1px solid var(--line-soft); }
.compare-card h3 { margin-bottom: .45rem; }
.compare-card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

.compare-card--warn { border-top: 4px solid #e0601c; }
.compare-card--good { border-top: 4px solid var(--green); }

/* ------------------------------------------------------- Rechtstexte --- */

.legal { max-width: 46rem; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2.8rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin-top: 1.8rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal address { font-style: normal; color: var(--ink-soft); }

.legal-note {
  padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--sun);
  background: var(--bg-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 1.5rem 0;
}

/* --------------------------------------------------------- Responsive --- */

@media (max-width: 900px) {
  .combo { grid-template-columns: 1fr; }
  .combo-visual { order: -1; aspect-ratio: 16 / 10; }
  .combo-visual img { width: 42%; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .header-phone span { display: none; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav[hidden] { display: none; }
  .nav a {
    padding: .85rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.02rem;
  }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--line-soft); }
}

@media (min-width: 781px) {
  .nav[hidden] { display: flex; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-facts { gap: 1.5rem 2rem; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
  .pillar .btn { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
