function ImpressumPage() {
  const section = (title, children) => (
    <div style={{ marginBottom: 'var(--space-7)' }}>
      <h2 style={{ fontFamily: 'var(--font-serif-display)', fontSize: '1.25rem', color: 'var(--text-primary)', marginBottom: 'var(--space-3)' }}>
        {title}
      </h2>
      <div style={{ font: 'var(--text-body)', color: 'var(--text-secondary)', lineHeight: 1.7 }}>
        {children}
      </div>
    </div>
  );

  return (
    <section style={{ maxWidth: 720, margin: '0 auto', padding: 'var(--space-9) var(--space-6)' }}>
      <div className="eyebrow" style={{ marginBottom: 'var(--space-3)' }}>Rechtliches</div>
      <h1 className="headline" style={{ fontSize: '1.8rem', marginBottom: 'var(--space-7)' }}>Impressum</h1>

      {section('Angaben gemäß § 5 TMG', (
        <>
          <p style={{ margin: 0 }}>[Firmenname / Praxisname]</p>
          <p style={{ margin: 0 }}>[Vor- und Nachname des Inhabers / der Inhaberin]</p>
          <p style={{ margin: 0 }}>[Straße, Hausnummer]</p>
          <p style={{ margin: 0 }}>[PLZ, Ort]</p>
        </>
      ))}

      {section('Kontakt', (
        <>
          <p style={{ margin: 0 }}>Telefon: [Telefonnummer]</p>
          <p style={{ margin: 0 }}>E-Mail: [E-Mail-Adresse]</p>
        </>
      ))}

      {section('Umsatzsteuer-ID', (
        <p style={{ margin: 0 }}>
          Umsatzsteuer-Identifikationsnummer gemäß § 27 a Umsatzsteuergesetz: [USt-IdNr.]
        </p>
      ))}

      {section('Berufsbezeichnung / Aufsichtsbehörde', (
        <p style={{ margin: 0 }}>[Falls zutreffend: Berufsbezeichnung, verleihender Staat, zuständige Kammer/Behörde]</p>
      ))}

      {section('Verantwortlich für den Inhalt nach § 55 Abs. 2 RStV', (
        <>
          <p style={{ margin: 0 }}>[Name]</p>
          <p style={{ margin: 0 }}>[Adresse wie oben]</p>
        </>
      ))}

      {section('EU-Streitschlichtung', (
        <p style={{ margin: 0 }}>
          Die Europäische Kommission stellt eine Plattform zur Online-Streitbeilegung (OS) bereit:{' '}
          <a href="https://ec.europa.eu/consumers/odr/" target="_blank" rel="noreferrer">https://ec.europa.eu/consumers/odr/</a>.
          Unsere E-Mail-Adresse finden Sie oben im Impressum. Wir sind nicht verpflichtet und nicht bereit,
          an Streitbeilegungsverfahren vor einer Verbraucherschlichtungsstelle teilzunehmen.
        </p>
      ))}

      {section('Haftung für Inhalte', (
        <p style={{ margin: 0 }}>
          [Platzhaltertext — üblicher Haftungsausschluss für Inhalte gemäß §§ 7 Abs. 1 TMG.]
        </p>
      ))}

      {section('Bildnachweise', (
        <p style={{ margin: 0 }}>[Fotograf/in bzw. Bildquelle, falls erforderlich]</p>
      ))}
    </section>
  );
}

window.ImpressumPage = ImpressumPage;
