<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px;">
  <div style="text-align: center; margin-bottom: 30px;">
    <h1 style="color: #2563eb; margin: 0;">ManaCore</h1>
  </div>

  <div style="background-color: #f3f4f6; border-radius: 8px; padding: 20px; margin-bottom: 20px;">
    <h2 style="color: #1f2937; margin: 0 0 10px 0;">{{eventTitle}}</h2>

    <p style="margin: 5px 0; color: #4b5563;">
      <strong>Wann:</strong> {{eventTime}}
    </p>

    {{#if eventLocation}}
    <p style="margin: 5px 0; color: #4b5563;">
      <strong>Wo:</strong> {{eventLocation}}
    </p>
    {{/if}}
  </div>

  <div style="text-align: center; margin: 30px 0;">
    <a href="{{eventUrl}}" style="background-color: #2563eb; color: white; padding: 12px 30px; text-decoration: none; border-radius: 6px; font-weight: 500; display: inline-block;">Termin anzeigen</a>
  </div>

  <hr style="border: none; border-top: 1px solid #eee; margin: 30px 0;">

  <p style="color: #999; font-size: 12px; text-align: center;">
    Diese Erinnerung wurde automatisch von ManaCore gesendet.<br>
    Du kannst Erinnerungen in den Kalender-Einstellungen verwalten.
  </p>
</body>
</html>
