/* Energieberatung Noah Leier - Stylesheet (keine externen Schriften, keine Cookies) */
:root {
  --ink: #14231F;
  --muted: #3F524C;
  --soft: #6A7C76;
  --accent: #0B6E5B;
  --accent-dark: #095646;
  --surface: #F3F7F5;
  --tint: #E4EFEA;
  --line: #D6E2DD;
  --white: #FFFFFF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

.wrap { padding-left: 48px; padding-right: 48px; max-width: 1280px; margin-left: auto; margin-right: auto; }

/* Kopf */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand img { display: block; height: 72px; width: auto; }
.brand { font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--accent); }
.nav a.cta { color: var(--accent); font-weight: 600; }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 80px; padding-bottom: 64px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.lead { margin: 0; font-size: 20px; color: var(--muted); max-width: 620px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.btn { display: inline-block; font-weight: 600; font-size: 17px; padding: 15px 26px; border-radius: 10px; text-decoration: none; border: 2px solid var(--accent); background: var(--accent); color: var(--white); cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.hero-visual { flex: 1 1 340px; min-width: 0; background: var(--tint); border-radius: 20px; padding: 28px; }
.hero-visual svg { width: 100%; height: auto; display: block; }
.hero-visual figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.hero-visual { margin: 0; }

/* Vertrauensleiste */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-top: 22px; padding-bottom: 22px; font-size: 15px; font-weight: 500; color: #28403A; }
.trust img { height: 52px; width: auto; display: block; }
.trust a.logo { display: inline-block; line-height: 0; background: var(--white); padding: 8px 12px; border-radius: 8px; }

/* Abschnitte */
section.block .wrap { padding-top: 80px; padding-bottom: 64px; }
section.alt { background: var(--surface); }
h2 { margin: 0 0 12px; font-size: 36px; font-weight: 700; letter-spacing: -0.01em; }
.sub { margin: 0 0 36px; font-size: 18px; color: var(--muted); max-width: 640px; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 280px; border: 1px solid var(--line); border-radius: 14px; padding: 30px; display: flex; flex-direction: column; gap: 12px; background: var(--white); }
.card h3 { margin: 0; font-size: 22px; }
.card p { margin: 0; color: var(--muted); }
.card svg { width: 36px; height: 36px; }
.steps { display: flex; flex-wrap: wrap; gap: 32px; }
.step { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.step .no { font-size: 40px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.step h3 { margin: 0; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }

/* Ueber mich */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.about-text p { margin: 0; font-size: 18px; color: var(--muted); max-width: 660px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; }
details p { margin: 10px 0 0; color: var(--muted); max-width: 720px; }

/* Kontakt */
.contact { background: var(--ink); color: var(--white); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.contact-info { flex: 1 1 320px; min-width: 0; }
.contact h2 { color: var(--white); }
.contact .sub { color: #C9D8D2; }
.contact dl { margin: 0; display: grid; gap: 14px; }
.contact dt { font-size: 14px; color: #9FB5AD; }
.contact dd { margin: 0; font-size: 18px; font-weight: 600; }
.contact a { color: var(--white); }
.form { flex: 1 1 380px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.form label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #9DB2AA; border-radius: 8px; background: var(--white); color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.form .check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.form .check label { font-weight: 400; font-size: 14px; margin: 0; }
.form .check a { color: var(--accent); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.note { font-size: 13px; color: var(--soft); margin: 0; }

/* Fuss */
.site-footer { border-top: 1px solid var(--line); color: #4A5D57; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.site-footer a { color: #4A5D57; margin-left: 20px; }
.site-footer a:first-child { margin-left: 0; }

/* Textseiten (Impressum, Datenschutz) */
.legal .wrap { max-width: 860px; padding-top: 56px; padding-bottom: 72px; }
.legal h1 { font-size: 38px; margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 40px; gap: 32px; }
  section.block .wrap { padding-top: 56px; padding-bottom: 40px; }
  h2 { font-size: 28px; }
  .lead { font-size: 18px; }
  .contact .wrap { padding-top: 48px; padding-bottom: 48px; }
}
