/* Poitzmann & Geißel – Energiehandel – One-Pager */

/* Schriften lokal (DSGVO, keine Google-Server). Fehlen die Dateien in /fonts,
   greift automatisch die Systemschrift. */
@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap;
  src: url("../fonts/inter-variable.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500 700; font-display: swap;
  src: url("../fonts/space-grotesk-variable.woff2") format("woff2"); }

:root {
  --red: #C8102E;
  --red-dark: #8E0B20;
  --text: #1A1A1A;
  --muted: #4A4A4A;
  --line: #E6E6E6;
  --sand: #F6F5F3;
  --placeholder: #E4E2DE;
  --display: "Space Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; color: var(--text); background: #fff; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
[id] { scroll-margin-top: 16px; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--red); }

/* Buttons */
.btn { display: inline-block; padding: 14px 24px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--outline { border: 1px solid var(--text); color: var(--text); padding: 13px 24px; }
.btn--outline:hover { background: var(--text); color: #fff; }
.btn--small { padding: 10px 18px; font-weight: 500; }

/* Header */
.header { border-bottom: 1px solid var(--line); }
.header__inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.logo__sub { font-size: 11px; font-weight: 600; letter-spacing: .32em; color: var(--red); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--red); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.05; letter-spacing: -.02em; }
.lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__img { flex: 1 1 460px; min-width: 0; }
.hero__img img { width: 100%; height: 440px; object-fit: cover; border-radius: 12px; background: #EDEDED; }

/* Leistungen */
.services { background: var(--sand); }
.services__inner { display: flex; flex-direction: column; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.section-head { display: flex; flex-direction: column; gap: 12px; }
h2 { font-size: clamp(30px, 4.5vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card__img img { width: 100%; height: 160px; object-fit: cover; background: var(--placeholder); }
.card__img--bottom img { object-position: center 85%; }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 22px; }
.card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
.contact__head { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact__grid { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; font-size: 17px; line-height: 1.6; }
.label { font-weight: 600; margin-bottom: 4px; }

/* Impressum & Datenschutz */
.legal { border-top: 1px solid var(--line); }
.legal__inner { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 64px; padding-bottom: 64px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.legal__col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-size: 22px; color: var(--text); }
.legal p { margin: 0; }
.privacy summary { cursor: pointer; font-weight: 600; color: var(--red); padding: 10px 0; }
.privacy summary:hover { color: var(--red-dark); }
.privacy h3 { font-size: 16px; color: var(--text); margin: 20px 0 6px; }
.privacy p + p { margin-top: 8px; }
.privacy ul { margin: 8px 0; padding-left: 20px; }

/* Footer */
.footer { background: var(--text); color: #CFCFCF; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-size: 14px; }
.footer__links { display: flex; gap: 20px; }
.footer a { color: #fff; }

@media (max-width: 600px) {
  .hero, .contact { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .services__inner { padding-top: 56px; padding-bottom: 56px; }
  .hero__img img { height: 280px; }
}

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