/* Dein Energiemanagement – Webseite · Die Solarwerkstatt
   Gleicher Hintergrund und Stil wie die App: helles Grau, weiße Karten, Schwarz/Gelb, Oswald + Roboto Slab.
   Schriften liegen auf dem eigenen Server (kein Abruf bei Google). */
@font-face { font-family: "SW Oswald"; font-weight: 500; font-display: swap; src: url(/_web/fonts/oswald-500.woff2) format("woff2"); }
@font-face { font-family: "SW Oswald"; font-weight: 600; font-display: swap; src: url(/_web/fonts/oswald-600.woff2) format("woff2"); }
@font-face { font-family: "SW Oswald"; font-weight: 700; font-display: swap; src: url(/_web/fonts/oswald-700.woff2) format("woff2"); }
@font-face { font-family: "SW Slab"; font-weight: 300; font-display: swap; src: url(/_web/fonts/robotoslab-300.woff2) format("woff2"); }
@font-face { font-family: "SW Slab"; font-weight: 400; font-display: swap; src: url(/_web/fonts/robotoslab-400.woff2) format("woff2"); }
@font-face { font-family: "SW Slab"; font-weight: 700; font-display: swap; src: url(/_web/fonts/robotoslab-700.woff2) format("woff2"); }

:root {
	--gelb: #ffc800;
	--gelb-dunkel: #c79a00;
	--grund: #f4f4f2;         /* Hintergrund der App */
	--karte: #ffffff;
	--text: #111111;
	--leise: #6b6b6b;
	--linie: #e3e3df;
	--schatten: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.06);
	--kopf: rgba(244,244,242,.88);
	--head: "SW Oswald", "Arial Narrow", Arial, sans-serif;
	--body: "SW Slab", Georgia, serif;
	color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
	:root {
		--grund: #0b0b0b;
		--karte: #1c1c1c;
		--text: #f2f2f2;
		--leise: #a3a3a3;
		--linie: #2c2c2c;
		--schatten: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.35);
		--kopf: rgba(11,11,11,.86);
	}
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: var(--body); font-weight: 300; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
b, strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: .01em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
h2 { font-weight: 600; font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-weight: 600; font-size: 1.25rem; }
p { margin: 0 0 1em; }
mark { background: linear-gradient(transparent 62%, var(--gelb) 62%, var(--gelb) 92%, transparent 92%); color: inherit; padding: 0 .05em; }

.breit { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .breit { padding: 0 28px; } }
.schmal { max-width: 820px; }
.kicker { font-family: var(--head); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--leise); margin-bottom: .7em; }
.gelb-text { color: var(--gelb) !important; }
.leise { color: var(--leise); font-size: .93rem; }
.gross { font-size: 1.15rem; }
.einleitung { max-width: 720px; font-size: 1.08rem; }

/* ---------- Kopfzeile (wie die App: Logo, Name, gelbe Linie) ---------- */
.kopf { position: sticky; top: 0; z-index: 10; background: var(--kopf); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.kopf-innen { display: flex; align-items: center; gap: 20px; min-height: 76px; border-bottom: 3px solid var(--gelb); }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke span { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 1.05rem; line-height: 1.02; letter-spacing: .01em; }
.marke img { width: 52px; height: 52px; }
.menue { display: none; gap: 26px; margin-left: auto; }
.menue a { font-family: var(--head); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; font-size: .95rem; }
.menue a:hover { color: var(--gelb-dunkel); }
.kopf .knopf { margin-left: auto; }
@media (min-width: 900px) { .menue { display: flex; } .kopf .knopf { margin-left: 8px; } }

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 .6em; }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.knopf:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.knopf.klein { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.knopf.gelb { background: var(--gelb); color: #000; }
.knopf.dunkel { background: #000; color: #fff; }
.knopf.rand { border-color: var(--text); color: var(--text); }
.knopf.rand-dunkel { border-color: #000; color: #000; }
@media (prefers-color-scheme: dark) {
	.kopf .knopf.dunkel { background: var(--gelb); color: #000; }
	mark { background: none; color: var(--gelb); }
	.knopf.rand-dunkel { border-color: #000; color: #000; }
	.dunkel-band { background: #151515; }
	.haken li::before { background-color: #2a2a2a; }
}
.hinweis { font-size: .9rem; color: var(--leise); }

/* ---------- Einstieg ---------- */
.held { padding: 44px 0 30px; }
.held-raster { display: grid; gap: 40px; align-items: center; }
.haken { list-style: none; padding: 0; margin: 1.2em 0 0; }
.haken li { position: relative; padding-left: 34px; margin-bottom: .55em; }
.haken li::before { content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 50%; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ffc800' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.held-bild { display: flex; justify-content: center; }
.held-bild .handy { width: min(330px, 78vw); transform: rotate(2deg); }
@media (min-width: 900px) {
	.held { padding: 72px 0 48px; }
	.held-raster { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}

/* ---------- Handy- und Browser-Rahmen ---------- */
.handy { background: #000; border-radius: 38px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06) inset; }
.handy img { border-radius: 29px; width: 100%; }
.pc { margin: 56px 0 0; background: var(--karte); border-radius: 18px; overflow: hidden; box-shadow: var(--schatten); border: 1px solid var(--linie); }
.pc .browser { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--linie); }
.pc .browser span { width: 11px; height: 11px; border-radius: 50%; background: var(--linie); }
.pc figcaption { padding: 14px 18px; color: var(--leise); font-size: .93rem; }

/* ---------- Abschnitte und Karten (wie die Karten der App) ---------- */
.abschnitt { padding: 56px 0; }
@media (min-width: 900px) { .abschnitt { padding: 84px 0; } }
.karten { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 760px) { .karten.drei { grid-template-columns: repeat(3, 1fr); } .karten.vier { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .karten.vier { grid-template-columns: repeat(4, 1fr); } }
.karte { background: var(--karte); border-radius: 26px; padding: 28px 26px 22px; box-shadow: var(--schatten); }
.karte.mini { padding: 22px 22px 14px; border-radius: 20px; }
.karte.mini h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.karte.mini h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gelb); flex: none; }
.karte.mini p { font-size: .95rem; }
.symbol { width: 58px; height: 58px; border-radius: 50%; background: #000; display: grid; place-items: center; margin-bottom: 18px; }
.symbol svg { width: 28px; height: 28px; fill: none; stroke: var(--gelb); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Dunkles Band: lokal erklärt ---------- */
.dunkel-band { background: #000; color: #f2f2f2; }
.dunkel-band .kicker { color: #a3a3a3; }
.zwei { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .zwei { grid-template-columns: 1fr 1fr; gap: 60px; } }
.vergleich { display: grid; gap: 14px; }
@media (min-width: 560px) { .vergleich { grid-template-columns: 1fr 1fr; } }
.vergleich .spalte { background: #1c1c1c; border-radius: 22px; padding: 22px 22px 12px; }
.vergleich .spalte.plus { background: transparent; border: 1.5px dashed #444; }
.vergleich h3 { font-size: 1.05rem; color: var(--gelb); }
.vergleich .plus h3 { color: #d0d0d0; }
.vergleich ul { list-style: none; padding: 0; margin: 0; }
.vergleich li { padding: 0 0 .7em 22px; position: relative; font-size: .97rem; line-height: 1.45; }
.vergleich li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--gelb); }
.vergleich .plus li::before { background: transparent; border: 1.5px solid #888; }

/* ---------- App-Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 18px; margin-top: 34px; align-items: start; }
@media (min-width: 960px) { .galerie { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.galerie.drei { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .galerie.drei { grid-template-columns: repeat(3, 1fr); max-width: 880px; gap: 26px; } }
.tarif-karten { margin-bottom: 18px; }
.galerie figure { margin: 0; }
.galerie .handy { border-radius: 26px; padding: 7px; }
.galerie .handy img { border-radius: 20px; }
.galerie figcaption { margin-top: 14px; font-size: .92rem; line-height: 1.45; color: var(--leise); }
.galerie figcaption b { display: block; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--text); font-size: 1.02rem; margin-bottom: 3px; }
.galerie em { font-style: normal; font-weight: 700; color: var(--text); }

/* ---------- Schritte (wie in der Kurzanleitung) ---------- */
.schritte { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .schritte { grid-template-columns: repeat(4, 1fr); } }
.schritte li { background: var(--karte); border-radius: 22px; padding: 22px; box-shadow: var(--schatten); display: grid; grid-template-columns: 46px 1fr; gap: 14px; }
@media (min-width: 1040px) { .schritte li { grid-template-columns: 1fr; } }
.schritte .n { width: 46px; height: 46px; border-radius: 50%; background: #000; color: var(--gelb); font-family: var(--head); font-weight: 700; font-size: 1.4rem; display: grid; place-items: center; }
.schritte h3 { font-size: 1.1rem; margin-top: .3em; }
.schritte p { font-size: .95rem; margin: 0; }

/* ---------- Fragen ---------- */
details { background: var(--karte); border-radius: 18px; margin-bottom: 12px; box-shadow: var(--schatten); }
summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 1.06rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #000; color: var(--gelb); display: grid; place-items: center; font-family: var(--head); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 22px 8px; margin: 0 0 12px; }

/* ---------- Aufruf ---------- */
.aufruf { background: var(--gelb); color: #000; border-radius: 30px; padding: 34px 28px; display: grid; gap: 10px; align-items: center; }
.aufruf p { font-size: 1.08rem; margin: 0; }
@media (min-width: 900px) { .aufruf { grid-template-columns: 1.4fr 1fr; padding: 48px 52px; } .aufruf .knoepfe { justify-content: flex-end; margin: 0; } }

/* ---------- Fußzeile ---------- */
.fuss { border-top: 3px solid var(--gelb); padding: 46px 0 28px; font-size: .95rem; }
.fuss-raster { display: grid; gap: 26px; }
@media (min-width: 760px) { .fuss-raster { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.fuss h3 { font-size: .95rem; letter-spacing: .08em; color: var(--leise); }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss .marke img { width: 44px; height: 44px; }
.fuss .marke span { font-size: .95rem; }
.fuss .leise { margin-top: 12px; }
.unten { margin-top: 30px; color: var(--leise); font-size: .85rem; }

/* ---------- Unterseiten (Datenschutz) ---------- */
.text { padding: 48px 0 70px; }
.text h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.text h2 { font-size: 1.35rem; margin-top: 1.6em; }
.text .karte { padding: 30px 28px 14px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .knopf { transition: none; } }
