/* pv-strom.ch – gemeinsame Gestaltung für alle Seiten */
:root {
  --text: #343237;
  --muted: #6b6870;
  --line: #e6e4e8;
  --bg: #ffffff;
  --panel: #f5f8fc;
  --blue: #1f4e8c;
  --green: #22a34a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, system-ui, sans-serif;
}
img, iframe { max-width: 100%; }
a { color: var(--blue); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.wrap-wide { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.small { font-size: 0.85rem; color: var(--muted); }
.caps { text-transform: uppercase; letter-spacing: 0.08em; }
.visually-hidden { position: absolute; left: -9999px; }

/* Kopf und Menü */
.site-header { padding: 24px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.site-title {
  font: 700 1.9rem/1.15 Montserrat, sans-serif;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 26px;
}
.site-nav a {
  font-family: "Roboto Slab", serif; color: var(--text); text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; align-items: center; }
  .site-title { font-size: 1.5rem; }
  .menu-toggle {
    display: block; background: none; border: 1px solid var(--line); border-radius: 6px;
    padding: 6px 14px; font: inherit; color: var(--text); cursor: pointer;
  }
  .site-nav { display: none; width: 100%; }
  .menu-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 10px 0; }
}

main section, main article { margin-bottom: 48px; }

/* eingebettete Dashboards */
.embed { display: block; width: 100%; border: 0; border-radius: 6px; }

/* Texte */
h1, h2, h3 { font-family: Montserrat, sans-serif; line-height: 1.25; }
h1 { font-size: 1.8rem; }
h2 { font-size: 1.35rem; margin-top: 2em; }
.prose img { display: block; margin: 24px auto; border-radius: 6px; }
.kicker {
  font: 700 0.95rem Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.06em; margin: 0;
}
.box { border: 1px solid var(--line); border-radius: 10px; padding: 4px 22px; margin: 18px 0; }
.box h3 { text-transform: uppercase; font-size: 1rem; letter-spacing: 0.03em; }

/* Blog-Liste */
.teaser-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.teaser-head a { font-size: 0.85rem; color: var(--muted); text-decoration: none; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.post-list a { color: var(--text); text-decoration: none; }
.post-list a:hover { text-decoration: underline; }
.post-list time { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }

/* Referenzprojekt */
.panel { background: var(--panel); border-radius: 12px; padding: 24px; }
.panel h2 { margin-top: 0; text-align: center; }
.card {
  background: #fff; border-top: 4px solid var(--blue); border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08); padding: 20px 28px; max-width: 460px; margin: 20px auto;
  text-align: center; font-family: "Roboto Slab", serif;
}
.card h3 { margin-top: 4px; }
.label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0; }
.big { font: italic 700 2rem/1.2 "Roboto Slab", serif; margin: 4px 0 12px; }
.badge { background: var(--green); color: #fff; border-radius: 99px; padding: 3px 12px; font: 600 0.75rem Inter, sans-serif; }
.dots { max-width: 460px; margin: 0 auto; font-family: "Roboto Slab", serif; }

/* Videos */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.videos iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 6px; }
@media (max-width: 700px) { .videos { grid-template-columns: 1fr; } }

/* Kontakt */
.button {
  display: inline-block; margin: 6px; padding: 10px 22px; border-radius: 6px;
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 600;
}
.button-alt { background: var(--green); }

/* Fuss */
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 0.85rem; color: var(--muted); text-align: center; }
.site-footer a { color: var(--muted); }
.site-footer p { margin: 4px 0; }

/* Einspeisen 2027 */
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.1rem; margin-top: 1.8em; }
.pv2027 .fazit { background: rgba(0,0,0,0.04); border-radius: 8px; padding: 1.25rem; margin-top: 1.5rem; }

/* Text auf Hintergrundbild (Wallbox-Seite) */
.hero {
  background-size: cover; background-position: center;
  position: relative; padding: 64px 0 48px; margin-bottom: 40px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,22,0.62); }
.hero > * { position: relative; }
.hero, .hero h1, .hero strong { color: #fff; }
.hero article { margin-bottom: 0; }
.hero h1 { font-weight: 500; font-size: 2.3rem; margin-top: 0; }
.hero p, .hero li { font-family: "Roboto Slab", serif; font-size: 1.1rem; line-height: 1.9; }
