<!doctype html>
<html lang="de">
<body style="margin:0;background:#eef3f4;font-family:Arial,sans-serif;color:#071a23">
<div style="max-width:720px;margin:0 auto;padding:32px 16px">
    <div style="background:#071a23;padding:24px 28px;color:#fff">
        <strong style="font-size:22px">Neuer Schnellkontakt</strong>
        <p style="margin:8px 0 0;color:#94d4e9">Website-Anfrage · {{ $inquiry->created_at->format('d.m.Y H:i') }} Uhr</p>
    </div>
    <div style="background:#fff;padding:28px">
        <h2 style="margin-top:0">Kontakt</h2>
        <table style="width:100%;border-collapse:collapse">
            <tr><td style="padding:7px 12px 7px 0;color:#60747c">Name</td><td style="padding:7px 0;font-weight:bold">{{ trim($inquiry->first_name.' '.$inquiry->name) }}</td></tr>
            <tr><td style="padding:7px 12px 7px 0;color:#60747c">E-Mail</td><td style="padding:7px 0"><a href="mailto:{{ $inquiry->email }}">{{ $inquiry->email }}</a></td></tr>
            @if($inquiry->phone)<tr><td style="padding:7px 12px 7px 0;color:#60747c">Telefon</td><td style="padding:7px 0">{{ $inquiry->phone }}</td></tr>@endif
            @if($inquiry->fax)<tr><td style="padding:7px 12px 7px 0;color:#60747c">Telefax</td><td style="padding:7px 0">{{ $inquiry->fax }}</td></tr>@endif
            @if($inquiry->street || $inquiry->postal_code || $inquiry->city)<tr><td style="padding:7px 12px 7px 0;color:#60747c">Adresse</td><td style="padding:7px 0">{{ $inquiry->street }}@if($inquiry->street)<br>@endif{{ trim($inquiry->postal_code.' '.$inquiry->city) }}</td></tr>@endif
        </table>
        <h2 style="margin:28px 0 10px;padding-bottom:8px;border-bottom:2px solid #139fd5">Nachricht</h2>
        <p style="white-space:pre-line;line-height:1.65">{{ $inquiry->message }}</p>
    </div>
</div>
</body>
</html>
