Startseite: Anfrageformular sendet serverseitig, Landingpage und netcup-Ziel
- Neues oeffentliches Formular-Endpoint POST /anfrage (app/inquiry.php): Pflichtfelder ausser Nachricht, Validierung, Honeypot, IP-Limit 5/Stunde, Versand per mail_send() mit Reply-To des Kunden - kein mailto mehr - mail_send() akzeptiert zusaetzliche Kopfzeilen (CRLF bereinigt) - app.inquiry_email in Konfiguration und Deploy-Template (DIC_INQUIRY_EMAIL) - Statische Landingpage web/index.html mit Assets, Service-Worker-Cache dic-v18 - App-Routen auf /dashboard, netcup-Deploy-Doku und Fundstellen aktualisiert
This commit is contained in:
parent
273eabfdb7
commit
fe388838db
27 changed files with 2598 additions and 57 deletions
22
README.md
22
README.md
|
|
@ -9,6 +9,13 @@ Die Anforderungen stammen aus
|
|||
|
||||
## Was die App kann
|
||||
|
||||
- **Startseite mit Anfrageformular**: `web/index.html` ist die öffentliche
|
||||
Marketing-Seite. Das Formular „Terminanfrage“ sendet per POST an `/anfrage`,
|
||||
der Server verschickt die Anfrage direkt an `app.inquiry_email` (Fallback:
|
||||
E-Mail aus den Betreiberangaben) – kein `mailto:` und kein E-Mail-Programm
|
||||
beim Kunden nötig. Alle Felder außer der Nachricht sind Pflicht; ein Honeypot
|
||||
und ein IP-Limit (5 Anfragen/Stunde) bremsen Spam (Logik: `app/inquiry.php`).
|
||||
|
||||
- **Kalender** mit Tages-, 4-Wochen- und Monatsansicht (4 Kalenderwochen sind Standard und starten mit der aktuellen KW). Alle Anhänger haben
|
||||
eine eigene Zeile und sind immer gleichzeitig sichtbar. Jeder Termin ist ein
|
||||
durchgehender, farbiger Balken in der Farbe des Anhängers. Gesetzliche
|
||||
|
|
@ -177,12 +184,15 @@ Zugangsdaten liegen in `docs/credentials.txt` (nicht eingecheckt).
|
|||
./tools/deploy.sh --target netcup --sync
|
||||
```
|
||||
|
||||
`--target programmschmiede` (Standard) nutzt `docs/credentials.txt` und
|
||||
`drink-it-cold.programmschmiede.de`; `--target netcup` nutzt
|
||||
`docs/credentials.netcup.txt` und `drinkitcold.de` (`REMOTE_DIR` dort
|
||||
`httpdocs`). Zielordner und URL lassen sich in der jeweiligen Credential-Datei
|
||||
per `REMOTE_DIR`/`PUBLIC_URL` überschreiben; `FTP_TLS_LEGACY=1` erzwingt die
|
||||
KAS-Workarounds (TLS 1.2, Zertifikat ungeprüft), die netcup nicht braucht.
|
||||
`--target programmschmiede` (Standard) nutzt die generischen Keys in
|
||||
`docs/credentials.txt` und `drink-it-cold.programmschmiede.de`; `--target
|
||||
netcup` liest dieselbe Datei, aber die `*_LIVE_*`-Keys (`FTP_LIVE_*`,
|
||||
`DB_LIVE_URL`, `DB_LIVE_NAME`, `DB_LIVE_USER`, `DB_LIVE_PASSWORD`) und deployt
|
||||
nach `drinkitcold.de` (`REMOTE_DIR` dort `.`, da das netcup-FTP-Konto auf den
|
||||
DocumentRoot gechrootet ist). Zielordner und URL lassen
|
||||
sich in der Credential-Datei per `REMOTE_DIR`/`PUBLIC_URL` überschreiben;
|
||||
`FTP_TLS_LEGACY=1` erzwingt die KAS-Workarounds (TLS 1.2, Zertifikat
|
||||
ungeprüft), die netcup nicht braucht.
|
||||
|
||||
Für `--install` werden `DIC_ADMIN_FIRST`, `DIC_ADMIN_LAST` und
|
||||
`DIC_ADMIN_PASSWORD` aus der Umgebung gelesen oder interaktiv abgefragt.
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ require DIC_APP . '/auth.php';
|
|||
require DIC_APP . '/data.php';
|
||||
require DIC_APP . '/push.php';
|
||||
require DIC_APP . '/mail.php';
|
||||
require DIC_APP . '/inquiry.php';
|
||||
require DIC_APP . '/invite.php';
|
||||
require DIC_APP . '/privacy.php';
|
||||
require DIC_APP . '/pages.php';
|
||||
|
|
@ -64,7 +65,7 @@ if (PHP_SAPI !== 'cli') {
|
|||
$path = current_path();
|
||||
$legalPublic = legal_is_public_path($path);
|
||||
security_headers($legalPublic);
|
||||
$sessionFree = ['/health', '/cron/reminders'];
|
||||
$sessionFree = ['/health', '/cron/reminders', '/anfrage'];
|
||||
if (!$legalPublic && !in_array($path, $sessionFree, true)) {
|
||||
start_session();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@ return [
|
|||
// (tools/send_reminders.php) und Einladungen für neue Benutzer.
|
||||
'mail_enabled' => false,
|
||||
'mail_from' => 'Drink it cold <noreply@drink-it-cold.programmschmiede.de>',
|
||||
// Empfänger der Terminanfragen von der Startseite. Leer = E-Mail aus
|
||||
// den Betreiberangaben (app/legal.php bzw. legal.email).
|
||||
'inquiry_email' => '',
|
||||
// Token für /cron/reminders?token=…, falls kein CLI-Cron möglich ist.
|
||||
'cron_token' => '',
|
||||
],
|
||||
|
|
|
|||
255
app/inquiry.php
Normal file
255
app/inquiry.php
Normal file
|
|
@ -0,0 +1,255 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Öffentliches Anfrageformular der Startseite (web/index.html).
|
||||
*
|
||||
* Die Anfrage wird serverseitig per E-Mail an den Betrieb geschickt, damit
|
||||
* Besucher kein E-Mail-Programm mehr brauchen (vorher `mailto:`). Der Endpunkt
|
||||
* ist ohne Anmeldung erreichbar und wird deshalb durch einen Honeypot und ein
|
||||
* einfaches IP-Limit gegen Spam geschützt.
|
||||
*/
|
||||
|
||||
/** Maximale Anfragen pro IP und Stunde. */
|
||||
const INQUIRY_MAX_PER_HOUR = 5;
|
||||
/** Empfänger: app.inquiry_email, sonst die E-Mail aus den Betreiberangaben. */
|
||||
function inquiry_recipient(): string
|
||||
{
|
||||
$configured = trim((string) config('app.inquiry_email', ''));
|
||||
if ($configured !== '' && filter_var($configured, FILTER_VALIDATE_EMAIL) !== false) {
|
||||
return $configured;
|
||||
}
|
||||
$legal = legal_data();
|
||||
$fallback = trim((string) ($legal['email'] ?? ''));
|
||||
return filter_var($fallback, FILTER_VALIDATE_EMAIL) !== false ? $fallback : 'drinkitcold@web.de';
|
||||
}
|
||||
|
||||
function inquiry_throttle_file(): string
|
||||
{
|
||||
$storage = rtrim((string) config('app.storage_path', DIC_ROOT . '/storage'), '/');
|
||||
return $storage . '/inquiry-rate.json';
|
||||
}
|
||||
|
||||
/**
|
||||
* true, wenn die IP ihr Stundenkontingent verbraucht hat. Mit $count = true
|
||||
* wird der Aufruf zusätzlich gezählt. Scheitert der Dateizugriff, wird nicht
|
||||
* blockiert (das Formular darf nie an einer Dateirechte-Frage scheitern).
|
||||
*/
|
||||
function inquiry_rate_limited(string $ip, bool $count = false, int $max = INQUIRY_MAX_PER_HOUR, int $window = 3600): bool
|
||||
{
|
||||
// Nur ein Hash der IP landet auf der Platte (Spam-Schutz, max. eine Stunde).
|
||||
$ip = hash('sha256', $ip);
|
||||
$handle = @fopen(inquiry_throttle_file(), 'c+');
|
||||
if ($handle === false) {
|
||||
return false;
|
||||
}
|
||||
$limited = false;
|
||||
if (flock($handle, LOCK_EX)) {
|
||||
$now = time();
|
||||
$decoded = json_decode((string) stream_get_contents($handle), true);
|
||||
$data = is_array($decoded) ? $decoded : [];
|
||||
$clean = [];
|
||||
foreach ($data as $key => $stamps) {
|
||||
$recent = [];
|
||||
foreach ((array) $stamps as $stamp) {
|
||||
if (is_int($stamp) && $stamp > $now - $window) {
|
||||
$recent[] = $stamp;
|
||||
}
|
||||
}
|
||||
if ($recent !== []) {
|
||||
$clean[(string) $key] = $recent;
|
||||
}
|
||||
}
|
||||
$stamps = $clean[$ip] ?? [];
|
||||
$limited = count($stamps) >= $max;
|
||||
if (!$limited && $count) {
|
||||
$stamps[] = $now;
|
||||
$clean[$ip] = $stamps;
|
||||
}
|
||||
ftruncate($handle, 0);
|
||||
rewind($handle);
|
||||
fwrite($handle, (string) json_encode($clean));
|
||||
fflush($handle);
|
||||
flock($handle, LOCK_UN);
|
||||
}
|
||||
fclose($handle);
|
||||
return $limited;
|
||||
}
|
||||
|
||||
/** Einzeilige Angaben ohne Steuerzeichen, damit der Mailkopf sauber bleibt. */
|
||||
function inquiry_line(string $value, int $maxLength = 160): string
|
||||
{
|
||||
$value = preg_replace('/[\r\n\t]+/', ' ', $value) ?? '';
|
||||
$value = trim(preg_replace('/\s{2,}/', ' ', $value) ?? '');
|
||||
return mb_substr($value, 0, $maxLength);
|
||||
}
|
||||
|
||||
function inquiry_date(string $value): ?string
|
||||
{
|
||||
$date = DateTimeImmutable::createFromFormat('!Y-m-d', $value);
|
||||
if (!$date instanceof DateTimeImmutable || $date->format('Y-m-d') !== $value) {
|
||||
return null;
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prüft und verschickt eine Anfrage.
|
||||
*
|
||||
* @return array{status:int, ok:bool, message:string}
|
||||
*/
|
||||
function inquiry_submit(array $input, string $ip): array
|
||||
{
|
||||
$get = static function (string $key) use ($input): string {
|
||||
$value = $input[$key] ?? '';
|
||||
return is_string($value) ? $value : '';
|
||||
};
|
||||
|
||||
// Honeypot: Bots füllen das unsichtbare Feld. Antwort wie beim Erfolg,
|
||||
// damit der Bot nichts über die Abwehr lernt.
|
||||
if (trim($get('website')) !== '') {
|
||||
error_log('Drink it cold: Anfrage-Honeypot ausgelöst (IP ' . $ip . ')');
|
||||
return ['status' => 200, 'ok' => true, 'message' => inquiry_success_message()];
|
||||
}
|
||||
|
||||
if (inquiry_rate_limited($ip)) {
|
||||
return [
|
||||
'status' => 429,
|
||||
'ok' => false,
|
||||
'message' => 'Es sind bereits mehrere Anfragen von dieser Verbindung eingegangen. '
|
||||
. 'Bitte versuchen Sie es in einer Stunde erneut oder rufen Sie uns an.',
|
||||
];
|
||||
}
|
||||
|
||||
$values = [
|
||||
'name' => inquiry_line($get('name'), 120),
|
||||
'phone' => inquiry_line($get('phone'), 40),
|
||||
'email' => inquiry_line($get('email'), 180),
|
||||
'street' => inquiry_line($get('street'), 120),
|
||||
'city' => inquiry_line($get('city'), 120),
|
||||
'tariff' => inquiry_line($get('tariff'), 60),
|
||||
'handover' => inquiry_line($get('handover'), 80),
|
||||
'message' => trim(mb_substr($get('message'), 0, 4000)),
|
||||
];
|
||||
$from = inquiry_date(inquiry_line($get('from'), 10));
|
||||
$to = inquiry_date(inquiry_line($get('to'), 10));
|
||||
|
||||
$errors = [];
|
||||
$labels = [
|
||||
'name' => 'Vor- und Nachname',
|
||||
'phone' => 'Telefonnummer',
|
||||
'email' => 'E-Mail-Adresse',
|
||||
'street' => 'Straße',
|
||||
'city' => 'PLZ & Ort',
|
||||
'from' => 'Miete von',
|
||||
'to' => 'Miete bis',
|
||||
];
|
||||
if ($values['name'] === '') {
|
||||
$errors[] = $labels['name'];
|
||||
}
|
||||
if (preg_match('/[0-9+][0-9 ()\/+.-]{4,}/', $values['phone']) !== 1) {
|
||||
$errors[] = $labels['phone'];
|
||||
}
|
||||
if (filter_var($values['email'], FILTER_VALIDATE_EMAIL) === false) {
|
||||
$errors[] = $labels['email'];
|
||||
}
|
||||
if ($values['street'] === '') {
|
||||
$errors[] = $labels['street'];
|
||||
}
|
||||
if ($values['city'] === '') {
|
||||
$errors[] = $labels['city'];
|
||||
}
|
||||
if ($from === null) {
|
||||
$errors[] = $labels['from'];
|
||||
}
|
||||
if ($to === null) {
|
||||
$errors[] = $labels['to'];
|
||||
}
|
||||
if ($from !== null && $to !== null && $to < $from) {
|
||||
return [
|
||||
'status' => 422,
|
||||
'ok' => false,
|
||||
'message' => 'Das Ende der Miete liegt vor dem Beginn. Bitte prüfen Sie den Zeitraum.',
|
||||
];
|
||||
}
|
||||
if ($errors !== []) {
|
||||
return [
|
||||
'status' => 422,
|
||||
'ok' => false,
|
||||
'message' => 'Bitte prüfen Sie folgende Pflichtfelder: ' . implode(', ', $errors) . '.',
|
||||
];
|
||||
}
|
||||
|
||||
inquiry_rate_limited($ip, true);
|
||||
|
||||
$subject = 'Kühlanhänger-Anfrage ' . fmt_date($from) . ' – ' . fmt_date($to);
|
||||
$body = "Hallo Drink it cold,\n\n"
|
||||
. "über drinkitcold.de ist eine neue Terminanfrage eingegangen:\n\n"
|
||||
. 'Name: ' . $values['name'] . "\n"
|
||||
. 'Telefon: ' . $values['phone'] . "\n"
|
||||
. 'E-Mail: ' . $values['email'] . "\n"
|
||||
. 'Straße: ' . $values['street'] . "\n"
|
||||
. 'PLZ & Ort: ' . $values['city'] . "\n"
|
||||
. 'Miete von: ' . fmt_date($from) . "\n"
|
||||
. 'Miete bis: ' . fmt_date($to) . "\n"
|
||||
. 'Tarif: ' . ($values['tariff'] !== '' ? $values['tariff'] : 'keine Angabe') . "\n"
|
||||
. 'Übergabe: ' . ($values['handover'] !== '' ? $values['handover'] : 'keine Angabe') . "\n";
|
||||
if ($values['message'] !== '') {
|
||||
$body .= "\nNachricht:\n" . $values['message'] . "\n";
|
||||
}
|
||||
$body .= "\nAbsender: " . $values['name'] . ' <' . $values['email'] . ">\n"
|
||||
. 'IP: ' . $ip . "\n"
|
||||
. 'Zeitpunkt: ' . fmt_date_with_time(date('Y-m-d'), date('H:i')) . "\n";
|
||||
|
||||
$replyTo = 'Reply-To: ' . mb_encode_mimeheader($values['name'], 'UTF-8', 'B')
|
||||
. ' <' . $values['email'] . '>';
|
||||
|
||||
if (!mail_send(inquiry_recipient(), $subject, $body, [$replyTo])) {
|
||||
error_log('Drink it cold: Anfrage-Versand fehlgeschlagen (' . $values['email'] . ', IP ' . $ip . ')');
|
||||
return [
|
||||
'status' => 502,
|
||||
'ok' => false,
|
||||
'message' => 'Die Anfrage konnte gerade nicht versendet werden. '
|
||||
. 'Bitte schreiben Sie uns direkt an ' . inquiry_recipient() . ' oder rufen Sie an.',
|
||||
];
|
||||
}
|
||||
|
||||
return ['status' => 200, 'ok' => true, 'message' => inquiry_success_message()];
|
||||
}
|
||||
|
||||
function inquiry_success_message(): string
|
||||
{
|
||||
return 'Vielen Dank! Ihre Anfrage ist bei uns eingegangen – wir melden uns per E-Mail oder Telefon bei Ihnen.';
|
||||
}
|
||||
|
||||
/** POST /anfrage: verschickt die Anfrage und antwortet als JSON bzw. HTML. */
|
||||
function page_inquiry(string $method): void
|
||||
{
|
||||
if ($method !== 'POST') {
|
||||
redirect('/#anfrage');
|
||||
}
|
||||
|
||||
$result = inquiry_submit($_POST, client_ip());
|
||||
|
||||
if (wants_json()) {
|
||||
json_response([
|
||||
'ok' => $result['ok'],
|
||||
'message' => $result['message'],
|
||||
], $result['status']);
|
||||
}
|
||||
|
||||
http_response_code($result['status']);
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
$title = $result['ok'] ? 'Anfrage gesendet' : 'Anfrage nicht gesendet';
|
||||
echo '<!doctype html><html lang="de"><meta charset="utf-8">'
|
||||
. '<meta name="viewport" content="width=device-width, initial-scale=1">'
|
||||
. '<title>' . e($title) . ' · Drink it cold</title>'
|
||||
. '<body style="font-family:system-ui,sans-serif;background:#f4f9fe;color:#0e1b26;padding:2.5rem 1.25rem">'
|
||||
. '<main style="max-width:34rem;margin:0 auto;background:#fff;border:1px solid #d7e7f5;'
|
||||
. 'border-radius:16px;padding:1.75rem 1.5rem">'
|
||||
. '<h1 style="font-size:1.25rem;margin:0 0 .75rem">' . e($title) . '</h1>'
|
||||
. '<p style="line-height:1.55;margin:0 0 1.25rem">' . e($result['message']) . '</p>'
|
||||
. '<p style="margin:0;font-size:.9rem"><a style="color:#196abc" href="/#anfrage">Zurück zum Formular</a>'
|
||||
. ' · <a style="color:#196abc" href="tel:+491726384350">+49 172 638 43 50</a></p>'
|
||||
. '</main></body></html>';
|
||||
}
|
||||
14
app/mail.php
14
app/mail.php
|
|
@ -22,8 +22,14 @@ function mail_is_enabled(): bool
|
|||
/**
|
||||
* Verschickt eine reine Textnachricht. Absender kommt aus app.mail_from.
|
||||
* Der Aufrufer prüft mail_is_enabled() und die Empfängeradresse.
|
||||
*
|
||||
* $extraHeaders erlaubt zusätzliche Kopfzeilen (z. B. Reply-To für das
|
||||
* Anfrageformular); Zeilenumbrüche werden entfernt, damit niemand weitere
|
||||
* Header einschleusen kann.
|
||||
*
|
||||
* @param list<string> $extraHeaders
|
||||
*/
|
||||
function mail_send(string $to, string $subject, string $body): bool
|
||||
function mail_send(string $to, string $subject, string $body, array $extraHeaders = []): bool
|
||||
{
|
||||
if (!filter_var($to, FILTER_VALIDATE_EMAIL)) {
|
||||
return false;
|
||||
|
|
@ -34,6 +40,12 @@ function mail_send(string $to, string $subject, string $body): bool
|
|||
'Content-Type: text/plain; charset=UTF-8',
|
||||
'Content-Transfer-Encoding: 8bit',
|
||||
];
|
||||
foreach ($extraHeaders as $header) {
|
||||
$clean = trim(preg_replace('/[\r\n]+/', ' ', $header) ?? '');
|
||||
if ($clean !== '') {
|
||||
$headers[] = $clean;
|
||||
}
|
||||
}
|
||||
return @mail(
|
||||
$to,
|
||||
mb_encode_mimeheader($subject, 'UTF-8', 'B'),
|
||||
|
|
|
|||
|
|
@ -62,6 +62,10 @@ function page_handle(string $method, string $path): void
|
|||
legal_page(substr($path, 1));
|
||||
return;
|
||||
}
|
||||
if ($path === '/anfrage') {
|
||||
page_inquiry($method);
|
||||
return;
|
||||
}
|
||||
|
||||
$user = auth_user();
|
||||
if ($user !== null && $user['must_change_password'] === 1
|
||||
|
|
@ -79,7 +83,7 @@ function page_handle(string $method, string $path): void
|
|||
|
||||
$user = auth_require_login();
|
||||
|
||||
if ($path === '/') {
|
||||
if ($path === '/' || $path === '/dashboard') {
|
||||
page_dashboard($user);
|
||||
return;
|
||||
}
|
||||
|
|
@ -239,7 +243,7 @@ function page_login(string $method): void
|
|||
// anderen Zugangsdaten im selben Browser stillschweigend verpuffen und
|
||||
// man bliebe im alten Konto.
|
||||
if ($method !== 'POST' && auth_user() !== null) {
|
||||
redirect('/');
|
||||
redirect('/dashboard');
|
||||
}
|
||||
$error = '';
|
||||
$first = '';
|
||||
|
|
@ -251,7 +255,7 @@ function page_login(string $method): void
|
|||
$last = post_string('last_name');
|
||||
$password = (string) ($_POST['password'] ?? '');
|
||||
$remember = post_string('remember') === '1';
|
||||
$next = safe_next(post_string('next'), '/');
|
||||
$next = safe_next(post_string('next'), '/dashboard');
|
||||
|
||||
if (!csrf_valid()) {
|
||||
$error = 'Die Sitzung ist abgelaufen. Bitte erneut versuchen.';
|
||||
|
|
@ -281,7 +285,7 @@ function page_login(string $method): void
|
|||
'first' => $first,
|
||||
'last' => $last,
|
||||
'remember' => $remember,
|
||||
'next' => safe_next(query_string('next') ?: post_string('next'), '/'),
|
||||
'next' => safe_next(query_string('next') ?: post_string('next'), '/dashboard'),
|
||||
], 'Anmelden');
|
||||
}
|
||||
|
||||
|
|
@ -1306,7 +1310,7 @@ function page_account(array $user, string $method): void
|
|||
$_SESSION['epoch'] = $newEpoch;
|
||||
$_SESSION['csrf'] = bin2hex(random_bytes(32));
|
||||
flash('success', 'Das Passwort wurde geändert. Andere Geräte müssen sich neu anmelden.');
|
||||
redirect('/');
|
||||
redirect('/dashboard');
|
||||
} catch (Throwable $error) {
|
||||
$pdo->rollBack();
|
||||
throw $error;
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ function abort_page(int $code, string $message): never
|
|||
. '<img src="' . e(asset('logo-mark.svg')) . '" alt="" width="64" height="46">'
|
||||
. '<p class="eyebrow">Drink it cold · Terminplanung</p>'
|
||||
. '<h1>' . e($title) . '</h1><p>' . e($message) . '</p>'
|
||||
. '<p><a class="btn primary" href="' . e(url('/')) . '">Zur Übersicht</a></p>'
|
||||
. '<p><a class="btn primary" href="' . e(url('/dashboard')) . '">Zur Übersicht</a></p>'
|
||||
. '<p class="muted small"><a href="' . e(url('/impressum')) . '">Impressum</a>'
|
||||
. ' · <a href="' . e(url('/datenschutz')) . '">Datenschutz</a></p>'
|
||||
. '</div></body></html>';
|
||||
|
|
|
|||
|
|
@ -106,9 +106,11 @@ Schlüsselmarkern suchen (`is-holiday`, `data-new-booking-url`,
|
|||
`cal-bar__meta--return`, `data-date-pair`). Dazu `php -l` über alle PHP-Dateien
|
||||
und `node --check web/assets/app.js`.
|
||||
|
||||
## 6. netcup-Umzug: alte FTP-Zugangsdaten nicht überschreiben
|
||||
## 6. netcup-Umzug: Zugangsdaten mit `LIVE` im Namen
|
||||
|
||||
Die Zugangsdaten in `docs/credentials.txt` gehören dem **Test-Deploy** auf
|
||||
Die generischen Keys in `docs/credentials.txt` gehören dem **Test-Deploy** auf
|
||||
`drink-it-cold.programmschmiede.de` und bleiben bis zum Go-Live gültig. Die
|
||||
netcup-Zugangsdaten für die endgültige Seite liegen getrennt in
|
||||
`docs/credentials.netcup.txt`. Details und Checkliste: `docs/netcup-umzug.md`.
|
||||
netcup-Zugangsdaten für die endgültige Seite stehen in derselben Datei mit
|
||||
`LIVE` im Namen (`FTP_LIVE_*`, `DB_LIVE_*`) und werden von
|
||||
`tools/deploy.sh --target netcup` gelesen. Details und Checkliste:
|
||||
`docs/netcup-umzug.md`.
|
||||
|
|
|
|||
|
|
@ -6,17 +6,17 @@ Webhosting 2000 NUE** (`Hosting256589`, Domains `drinkitcold.de` und
|
|||
|
||||
## Regeln (wichtig!)
|
||||
|
||||
1. **Bestehende FTP-Zugangsdaten in `docs/credentials.txt` nicht überschreiben.**
|
||||
Sie gehören dem *aktuellen Test-Deploy* auf
|
||||
`drink-it-cold.programmschmiede.de` und bleiben dort bis zum Go-Live in
|
||||
Betrieb.
|
||||
2. Die neuen netcup-Zugangsdaten gelten für die **endgültige Website** und
|
||||
werden getrennt abgelegt: `docs/credentials.netcup.txt` (per `.gitignore`
|
||||
ausgeschlossen, wie `docs/credentials.txt`).
|
||||
3. Deploy auf netcup erst, wenn die neue Datei vollständig ist und
|
||||
`tools/deploy.sh` die Credential-Datei per Umgebungsvariable
|
||||
(`CREDENTIALS=…`) akzeptiert. Bis dahin bleibt die Live-Domain
|
||||
`drink-it-cold.programmschmiede.de` die Produktiv-Instanz.
|
||||
1. **Beide Ziele liegen in einer Datei:** `docs/credentials.txt` (gitignored).
|
||||
Die generischen Keys (`FTP_HOST`, `DB_NAME`, …) gehören dem *aktuellen
|
||||
Test-Deploy* auf `drink-it-cold.programmschmiede.de` und bleiben dort bis
|
||||
zum Go-Live in Betrieb.
|
||||
2. Die neuen netcup-Zugangsdaten stehen in derselben Datei mit `LIVE` im Namen
|
||||
(`FTP_LIVE_HOST`, `FTP_LIVE_USER`, `FTP_LIVE_PASSWORD`, `DB_LIVE_URL`,
|
||||
`DB_LIVE_NAME`, `DB_LIVE_USER`, `DB_LIVE_PASSWORD`) und gelten für die
|
||||
**endgültige Website** `drinkitcold.de`.
|
||||
3. `tools/deploy.sh --target netcup` liest automatisch die `*_LIVE_*`-Keys;
|
||||
jedes weitere Tool, das Credentials auswertet, muss diese Namen
|
||||
berücksichtigen.
|
||||
4. Beim Umzug gilt zusätzlich: `app/config.local.php` und die Live-DB zeigen
|
||||
weiterhin auf Programmschmiede – vor dem Umschalten DB-Dump ziehen,
|
||||
`DB_HOST`/`DB_NAME`/`DB_USER`/`DB_PASSWORD` in der neuen Credential-Datei
|
||||
|
|
@ -31,15 +31,17 @@ Webhosting 2000 NUE** (`Hosting256589`, Domains `drinkitcold.de` und
|
|||
sonst netcup-Support.
|
||||
- [ ] Im WCP `FTP → FTP-Benutzer` einen Deploy-Account anlegen (Host, User,
|
||||
Passwort, Startverzeichnis) und DocumentRoot klären (`/httpdocs`).
|
||||
- [ ] Neue Werte in `docs/credentials.netcup.txt` eintragen (Keys identisch zu
|
||||
`docs/credentials.txt`, plus `FTP_URL`/`REMOTE_DIR`).
|
||||
- [x] `tools/deploy.sh` erweitert (nicht umgestellt): `--target netcup` nutzt
|
||||
eigene Credential-Datei, `REMOTE_DIR=httpdocs` und deaktiviert die
|
||||
KAS-Workarounds (`--tlsv1.2 --tls-max 1.2 --insecure`). Ohne `--target`
|
||||
bleibt alles beim Test-Deploy auf Programmschmiede.
|
||||
- [ ] FTP-Benutzer im WCP anlegen und Werte in `docs/credentials.netcup.txt`
|
||||
eintragen; danach `./tools/deploy.sh --target netcup --check` und
|
||||
`--sync` testen.
|
||||
- [ ] Neue Werte in `docs/credentials.txt` mit `LIVE` im Namen eintragen
|
||||
(`FTP_LIVE_HOST`, `FTP_LIVE_USER`, `FTP_LIVE_PASSWORD`, `DB_LIVE_URL`,
|
||||
`DB_LIVE_NAME`, `DB_LIVE_USER`, `DB_LIVE_PASSWORD`).
|
||||
- [x] `tools/deploy.sh` erweitert: `--target netcup` liest die `*_LIVE_*`-Keys
|
||||
aus derselben Credential-Datei, nutzt `REMOTE_DIR=.` (FTP-Konto ist auf
|
||||
den DocumentRoot gechrootet) und
|
||||
deaktiviert die KAS-Workarounds (`--tlsv1.2 --tls-max 1.2 --insecure`).
|
||||
Ohne `--target` bleibt alles beim Test-Deploy auf Programmschmiede.
|
||||
- [ ] FTP-Login verifizieren (`./tools/deploy.sh --target netcup --check`),
|
||||
danach `--sync` testen – Stand 29.11.2026 antwortet der Server auf das
|
||||
gespeicherte Passwort mit `530 Login incorrect`.
|
||||
- [ ] Datenbank und `storage/` (Push-Abos, Uploads) migrieren, VAPID-Keys und
|
||||
`DIC_CRON_TOKEN` übernehmen, damit bestehende Push-Abos gültig bleiben.
|
||||
- [ ] Nach erfolgreichem Umzug: `install.php` auf netcup löschen,
|
||||
|
|
|
|||
|
|
@ -10,8 +10,9 @@
|
|||
# --install # Schema + ersten Admin anlegen (einmalig)
|
||||
# --all # sync + install + check
|
||||
#
|
||||
# Die Zugangsdaten kommen je Ziel aus docs/credentials.txt (Programmschmiede)
|
||||
# bzw. docs/credentials.netcup.txt (netcup), beide gitignored. Für die
|
||||
# Die Zugangsdaten kommen für beide Ziele aus docs/credentials.txt (gitignored).
|
||||
# programmschmiede nutzt die generischen Keys (FTP_HOST, DB_NAME, …), netcup die
|
||||
# LIVE-Keys (FTP_LIVE_HOST, DB_LIVE_URL, …). Für die
|
||||
# Installation werden DIC_ADMIN_FIRST, DIC_ADMIN_LAST und DIC_ADMIN_PASSWORD
|
||||
# aus der Umgebung gelesen; fehlen sie, wird interaktiv gefragt.
|
||||
#
|
||||
|
|
@ -43,14 +44,19 @@ done
|
|||
case "$TARGET" in
|
||||
programmschmiede)
|
||||
CREDENTIALS_DEFAULT="$REPO_ROOT/docs/credentials.txt"
|
||||
CRED_PREFIX=""
|
||||
DB_HOST_KEY="DB_HOST"
|
||||
REMOTE_DIR_FALLBACK="drink-it-cold.programmschmiede.de"
|
||||
PUBLIC_URL_FALLBACK="https://drink-it-cold.programmschmiede.de"
|
||||
FTP_TLS_LEGACY_FALLBACK="1"
|
||||
MAIL_FROM_FALLBACK="Drink it cold <noreply@drink-it-cold.programmschmiede.de>"
|
||||
;;
|
||||
netcup)
|
||||
CREDENTIALS_DEFAULT="$REPO_ROOT/docs/credentials.netcup.txt"
|
||||
REMOTE_DIR_FALLBACK="httpdocs"
|
||||
CREDENTIALS_DEFAULT="$REPO_ROOT/docs/credentials.txt"
|
||||
CRED_PREFIX="LIVE"
|
||||
DB_HOST_KEY="DB_URL"
|
||||
# Das netcup-FTP-Konto ist auf seinen DocumentRoot gechrootet.
|
||||
REMOTE_DIR_FALLBACK="."
|
||||
PUBLIC_URL_FALLBACK="https://drinkitcold.de"
|
||||
FTP_TLS_LEGACY_FALLBACK="0"
|
||||
MAIL_FROM_FALLBACK="Drink it cold <noreply@drinkitcold.de>"
|
||||
|
|
@ -66,7 +72,21 @@ CREDENTIALS="${CREDENTIALS:-$CREDENTIALS_DEFAULT}"
|
|||
|
||||
cred() {
|
||||
# Unterstützt "KEY: value" (aktuelles Format) und "KEY=value" (älter).
|
||||
sed -n "s/^$1[:=][[:space:]]*//p" "$CREDENTIALS" | head -1 | tr -d '\r' | sed 's/[[:space:]]*$//'
|
||||
# Bei gesetztem CRED_PREFIX (netcup) wird zusätzlich die Variante mit
|
||||
# eingeschobenem Präfix gesucht, z. B. FTP_HOST -> FTP_LIVE_HOST und
|
||||
# DB_NAME -> DB_LIVE_NAME; der generische Key bleibt der Fallback.
|
||||
local key prefixed=""
|
||||
if [[ -n "${CRED_PREFIX:-}" && "$1" == *_* ]]; then
|
||||
prefixed="${1%%_*}_${CRED_PREFIX}_${1#*_}"
|
||||
fi
|
||||
for key in ${prefixed:+"$prefixed"} "$1"; do
|
||||
value="$(sed -n "s/^$key[:=][[:space:]]*//p" "$CREDENTIALS" | head -1 | tr -d '\r' | sed 's/[[:space:]]*$//')"
|
||||
if [[ -n "$value" ]]; then
|
||||
printf '%s\n' "$value"
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
||||
# FTP_HOST ist die Hostadresse, FTP_URL überschreibt sie bei Bedarf komplett.
|
||||
|
|
@ -77,7 +97,13 @@ if [[ -z "$FTP_URL" ]]; then
|
|||
fi
|
||||
FTP_USER="${FTP_USER:-$(cred FTP_USER)}"
|
||||
FTP_PASSWORD="${FTP_PASSWORD:-$(cred FTP_PASSWORD)}"
|
||||
DB_HOST="${DB_HOST:-$(cred DB_HOST)}"
|
||||
DB_HOST="${DB_HOST:-$(cred "$DB_HOST_KEY")}"
|
||||
# DB_LIVE_URL enthält "host:port" – für Verbindungen zählt nur der Host.
|
||||
case "$DB_HOST" in
|
||||
*/*@*) DB_HOST="${DB_HOST##*@}" ;;
|
||||
*://*) DB_HOST="${DB_HOST#*://}" ;;
|
||||
esac
|
||||
DB_HOST="${DB_HOST%%:*}"
|
||||
# Push und Cron bleiben erhalten, wenn sie per Umgebung übergeben werden.
|
||||
VAPID_PUBLIC_KEY="${VAPID_PUBLIC_KEY:-$(cred VAPID_PUBLIC_KEY)}"
|
||||
VAPID_PRIVATE_KEY="${VAPID_PRIVATE_KEY:-$(cred VAPID_PRIVATE_KEY)}"
|
||||
|
|
@ -242,6 +268,7 @@ return [
|
|||
'login_max_per_ip' => 15,
|
||||
'mail_enabled' => {mail_enabled},
|
||||
'mail_from' => {php(os.environ['DIC_MAIL_FROM'])},
|
||||
'inquiry_email' => {php(os.environ.get('DIC_INQUIRY_EMAIL') or 'drinkitcold@web.de')},
|
||||
|
||||
'cron_token' => {php(os.environ['DIC_CRON_TOKEN'])},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -85,18 +85,25 @@ def main():
|
|||
parser.add_argument("--force", action="store_true", help="vorhandene VAPID-Schlüssel überschreiben")
|
||||
parser.add_argument("--subject", default=DEFAULT_SUBJECT, help="VAPID_SUBJECT (Default: %(default)s)")
|
||||
parser.add_argument("--file", default=CRED_FILE, help="Zieldatei für --write")
|
||||
parser.add_argument(
|
||||
"--key-prefix",
|
||||
default="VAPID",
|
||||
help="Präfix der Keys, z. B. VAPID_LIVE für das netcup-Ziel (Default: %(default)s)",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
public, private = generate()
|
||||
values = {
|
||||
"VAPID_PUBLIC_KEY": public,
|
||||
"VAPID_PRIVATE_KEY": private,
|
||||
"VAPID_SUBJECT": args.subject,
|
||||
"%s_PUBLIC_KEY" % args.key_prefix: public,
|
||||
"%s_PRIVATE_KEY" % args.key_prefix: private,
|
||||
"%s_SUBJECT" % args.key_prefix: args.subject,
|
||||
}
|
||||
|
||||
public_key = "%s_PUBLIC_KEY" % args.key_prefix
|
||||
private_key = "%s_PRIVATE_KEY" % args.key_prefix
|
||||
if args.write:
|
||||
existing = read_env(args.file)
|
||||
if (existing.get("VAPID_PUBLIC_KEY") or existing.get("VAPID_PRIVATE_KEY")) and not args.force:
|
||||
if (existing.get(public_key) or existing.get(private_key)) and not args.force:
|
||||
sys.exit("VAPID-Schlüssel sind in %s schon vorhanden (--force zum Ersetzen)." % args.file)
|
||||
write_env(args.file, values)
|
||||
print("Schlüssel in %s eingetragen." % args.file)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ $groupMeta = [
|
|||
<a class="btn" href="<?= e(url('/calendar?date=' . $from)) ?>">
|
||||
<svg class="ico" aria-hidden="true"><use href="#i-calendar"/></svg> Im Kalender
|
||||
</a>
|
||||
<a class="btn" href="<?= e(url('/')) ?>">
|
||||
<a class="btn" href="<?= e(url('/dashboard')) ?>">
|
||||
<svg class="ico" aria-hidden="true"><use href="#i-grid"/></svg> Zur Übersicht
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ $isForm = $state === 'form';
|
|||
|
||||
<section class="auth-panel">
|
||||
<div class="auth-card">
|
||||
<a class="auth-card__mobilebrand" href="<?= e(url('/')) ?>" aria-label="Drink it cold">
|
||||
<a class="auth-card__mobilebrand" href="<?= e(url('/dashboard')) ?>" aria-label="Drink it cold">
|
||||
<img src="<?= e(asset('logo-mark.svg')) ?>" alt="" width="44" height="32">
|
||||
<span>Drink it cold</span>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ $navActive = static function (string $area) use ($path): string {
|
|||
|
||||
<header class="topbar">
|
||||
<div class="topbar__inner">
|
||||
<a class="brand" href="<?= e(url('/')) ?>" aria-label="Drink it cold – zur Übersicht">
|
||||
<a class="brand" href="<?= e(url('/dashboard')) ?>" aria-label="Drink it cold – zur Übersicht">
|
||||
<img class="brand__mark" src="<?= e(asset('logo-mark.svg')) ?>" alt="" width="44" height="32">
|
||||
<span class="brand__text">
|
||||
<span class="brand__name">Drink it cold</span>
|
||||
|
|
@ -87,7 +87,7 @@ $navActive = static function (string $area) use ($path): string {
|
|||
</a>
|
||||
|
||||
<nav class="mainnav" aria-label="Hauptnavigation">
|
||||
<a href="<?= e(url('/')) ?>"<?= $navActive('dashboard') ?>>
|
||||
<a href="<?= e(url('/dashboard')) ?>"<?= $navActive('dashboard') ?>>
|
||||
<svg class="ico" aria-hidden="true"><use href="#i-grid"/></svg><span><span class="nav-long">Übersicht</span><span class="nav-short">Start</span></span>
|
||||
</a>
|
||||
<a href="<?= e(url('/reminders')) ?>"<?= $navActive('reminders') ?>>
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
<section class="auth-panel">
|
||||
<div class="auth-card">
|
||||
<a class="auth-card__mobilebrand" href="<?= e(url('/')) ?>" aria-label="Drink it cold">
|
||||
<a class="auth-card__mobilebrand" href="<?= e(url('/dashboard')) ?>" aria-label="Drink it cold">
|
||||
<img src="<?= e(asset('logo-mark.svg')) ?>" alt="" width="44" height="32">
|
||||
<span>Drink it cold</span>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,9 @@
|
|||
# liegen zwar im selben FTP-Baum, sind aber zusätzlich per .htaccess gesperrt.
|
||||
|
||||
Options -Indexes
|
||||
DirectoryIndex index.php index.html
|
||||
# Die öffentliche Startseite ist statisch (index.html, Kunden-Marketing);
|
||||
# die App liegt unter /login bzw. /dashboard und wird von index.php bedient.
|
||||
DirectoryIndex index.html index.php
|
||||
AddDefaultCharset UTF-8
|
||||
|
||||
<IfModule mod_mime.c>
|
||||
|
|
|
|||
1249
web/assets/css/style.css
Normal file
1249
web/assets/css/style.css
Normal file
File diff suppressed because it is too large
Load diff
BIN
web/assets/img/achtung-900.jpg
Normal file
BIN
web/assets/img/achtung-900.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
BIN
web/assets/img/alpen-800.jpg
Normal file
BIN
web/assets/img/alpen-800.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 72 KiB |
BIN
web/assets/img/flotte-1400.jpg
Normal file
BIN
web/assets/img/flotte-1400.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 291 KiB |
BIN
web/assets/img/heck-1200.jpg
Normal file
BIN
web/assets/img/heck-1200.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 172 KiB |
BIN
web/assets/img/hero-1280.jpg
Normal file
BIN
web/assets/img/hero-1280.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 253 KiB |
BIN
web/assets/img/innen-560.jpg
Normal file
BIN
web/assets/img/innen-560.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
203
web/assets/js/main.js
Normal file
203
web/assets/js/main.js
Normal file
|
|
@ -0,0 +1,203 @@
|
|||
/* Drink it cold – Interaktionen
|
||||
Kein Framework, kein Tracking. */
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
var reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
||||
|
||||
/* ---------- Jahr im Footer ---------- */
|
||||
var year = document.getElementById('year');
|
||||
if (year) year.textContent = new Date().getFullYear();
|
||||
|
||||
/* ---------- Header: Zustand beim Scrollen ---------- */
|
||||
var header = document.getElementById('header');
|
||||
var lastY = -1;
|
||||
function onScroll() {
|
||||
var y = window.scrollY;
|
||||
if (y === lastY) return;
|
||||
lastY = y;
|
||||
header.classList.toggle('is-scrolled', y > 24);
|
||||
}
|
||||
onScroll();
|
||||
window.addEventListener('scroll', onScroll, { passive: true });
|
||||
|
||||
/* ---------- Mobile Navigation ---------- */
|
||||
var toggle = document.getElementById('navToggle');
|
||||
var nav = document.getElementById('nav');
|
||||
|
||||
function setNav(open) {
|
||||
header.classList.toggle('is-open', open);
|
||||
toggle.setAttribute('aria-expanded', String(open));
|
||||
toggle.setAttribute('aria-label', open ? 'Menü schließen' : 'Menü öffnen');
|
||||
document.body.style.overflow = open && window.innerWidth <= 1200 ? 'hidden' : '';
|
||||
}
|
||||
|
||||
if (toggle && nav) {
|
||||
toggle.addEventListener('click', function () {
|
||||
setNav(!header.classList.contains('is-open'));
|
||||
});
|
||||
|
||||
nav.addEventListener('click', function (e) {
|
||||
if (e.target.closest('a')) setNav(false);
|
||||
});
|
||||
|
||||
document.addEventListener('keydown', function (e) {
|
||||
if (e.key === 'Escape' && header.classList.contains('is-open')) {
|
||||
setNav(false);
|
||||
toggle.focus();
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener('click', function (e) {
|
||||
if (!header.classList.contains('is-open')) return;
|
||||
if (header.contains(e.target)) return;
|
||||
setNav(false);
|
||||
});
|
||||
|
||||
window.addEventListener('resize', function () {
|
||||
if (window.innerWidth > 1200) setNav(false);
|
||||
});
|
||||
}
|
||||
|
||||
/* ---------- Einblenden beim Scrollen ---------- */
|
||||
var revealItems = document.querySelectorAll('.reveal');
|
||||
if (!reduceMotion && 'IntersectionObserver' in window) {
|
||||
var io = new IntersectionObserver(function (entries) {
|
||||
entries.forEach(function (entry) {
|
||||
if (!entry.isIntersecting) return;
|
||||
var el = entry.target;
|
||||
var siblings = Array.prototype.slice.call(
|
||||
el.parentElement ? el.parentElement.children : []
|
||||
).filter(function (n) { return n.classList.contains('reveal'); });
|
||||
var i = Math.max(0, siblings.indexOf(el));
|
||||
el.style.transitionDelay = Math.min(i * 70, 350) + 'ms';
|
||||
el.classList.add('is-visible');
|
||||
io.unobserve(el);
|
||||
});
|
||||
}, { rootMargin: '0px 0px -8% 0px', threshold: 0.08 });
|
||||
|
||||
revealItems.forEach(function (el) { io.observe(el); });
|
||||
} else {
|
||||
revealItems.forEach(function (el) { el.classList.add('is-visible'); });
|
||||
}
|
||||
|
||||
/* ---------- Galerie-Lightbox ---------- */
|
||||
var lightbox = document.getElementById('lightbox');
|
||||
var lightboxImg = document.getElementById('lightboxImg');
|
||||
var lightboxClose = document.getElementById('lightboxClose');
|
||||
var lastFocus = null;
|
||||
|
||||
function openLightbox(img) {
|
||||
lastFocus = document.activeElement;
|
||||
lightboxImg.src = img.currentSrc || img.src;
|
||||
lightboxImg.alt = img.alt || '';
|
||||
lightbox.hidden = false;
|
||||
document.body.style.overflow = 'hidden';
|
||||
lightboxClose.focus();
|
||||
}
|
||||
|
||||
function closeLightbox() {
|
||||
lightbox.hidden = true;
|
||||
lightboxImg.removeAttribute('src');
|
||||
document.body.style.overflow = '';
|
||||
if (lastFocus) lastFocus.focus();
|
||||
}
|
||||
|
||||
document.querySelectorAll('#gallery figure').forEach(function (fig) {
|
||||
var img = fig.querySelector('img');
|
||||
if (!img) return;
|
||||
fig.addEventListener('click', function () { openLightbox(img); });
|
||||
fig.setAttribute('tabindex', '0');
|
||||
fig.setAttribute('role', 'button');
|
||||
fig.setAttribute('aria-label', 'Bild vergrößern: ' + (img.alt || ''));
|
||||
fig.addEventListener('keydown', function (e) {
|
||||
if (e.key === 'Enter' || e.key === ' ') {
|
||||
e.preventDefault();
|
||||
openLightbox(img);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
if (lightbox) {
|
||||
lightboxClose.addEventListener('click', closeLightbox);
|
||||
lightbox.addEventListener('click', function (e) {
|
||||
if (e.target === lightbox) closeLightbox();
|
||||
});
|
||||
document.addEventListener('keydown', function (e) {
|
||||
if (e.key === 'Escape' && !lightbox.hidden) closeLightbox();
|
||||
});
|
||||
}
|
||||
|
||||
/* ---------- Anfrageformular ---------- */
|
||||
var form = document.getElementById('requestForm');
|
||||
var status = document.getElementById('formStatus');
|
||||
var MAIL = 'drinkitcold@web.de';
|
||||
|
||||
function showStatus(message, isError) {
|
||||
if (!status) return;
|
||||
status.textContent = message;
|
||||
status.classList.add('is-visible');
|
||||
status.classList.toggle('is-error', !!isError);
|
||||
}
|
||||
|
||||
if (form) {
|
||||
var submitButton = form.querySelector('button[type="submit"]');
|
||||
var phone = form.elements['phone'];
|
||||
var dateFrom = form.elements['from'];
|
||||
var dateTo = form.elements['to'];
|
||||
|
||||
form.addEventListener('submit', function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
if (!form.checkValidity()) {
|
||||
form.reportValidity();
|
||||
return;
|
||||
}
|
||||
|
||||
if (phone && !/[0-9+][0-9 ()\/+.-]{4,}/.test(phone.value.trim())) {
|
||||
phone.setCustomValidity('Bitte eine erreichbare Telefonnummer angeben.');
|
||||
form.reportValidity();
|
||||
return;
|
||||
}
|
||||
if (phone) phone.setCustomValidity('');
|
||||
|
||||
if (dateFrom && dateTo && dateFrom.value && dateTo.value && dateTo.value < dateFrom.value) {
|
||||
dateTo.setCustomValidity('Das Ende der Miete muss nach dem Beginn liegen.');
|
||||
form.reportValidity();
|
||||
return;
|
||||
}
|
||||
if (dateTo) dateTo.setCustomValidity('');
|
||||
|
||||
if (submitButton) submitButton.disabled = true;
|
||||
showStatus('Ihre Anfrage wird gesendet …', false);
|
||||
|
||||
fetch(form.action, {
|
||||
method: 'POST',
|
||||
body: new FormData(form),
|
||||
headers: { 'X-Requested-With': 'fetch', 'Accept': 'application/json' },
|
||||
credentials: 'omit'
|
||||
})
|
||||
.then(function (response) {
|
||||
return response.json()
|
||||
.catch(function () { return {}; })
|
||||
.then(function (payload) {
|
||||
return { ok: response.ok && payload.ok !== false, message: payload.message || '' };
|
||||
});
|
||||
})
|
||||
.then(function (result) {
|
||||
if (result.ok) {
|
||||
form.reset();
|
||||
showStatus(result.message || 'Vielen Dank! Ihre Anfrage ist bei uns eingegangen.', false);
|
||||
} else {
|
||||
showStatus(result.message || ('Die Anfrage konnte nicht gesendet werden. Bitte schreiben Sie uns an ' + MAIL + '.'), true);
|
||||
}
|
||||
})
|
||||
.catch(function () {
|
||||
showStatus('Die Anfrage konnte nicht gesendet werden – bitte prüfen Sie Ihre Verbindung oder schreiben Sie uns an ' + MAIL + '.', true);
|
||||
})
|
||||
.then(function () {
|
||||
if (submitButton) submitButton.disabled = false;
|
||||
});
|
||||
});
|
||||
}
|
||||
})();
|
||||
764
web/index.html
Normal file
764
web/index.html
Normal file
|
|
@ -0,0 +1,764 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Kühlanhänger mieten in Neuss · Drink it cold</title>
|
||||
<meta name="description" content="Kühlanhänger und Kühlwagen mieten in Neuss, Düsseldorf, Köln und Umgebung. Sofort einsatzbereit, Kühlung bis +2 °C, 6,4 m³ Stauraum, 230-Volt-Anschluss. Ab 85 € pro Tag.">
|
||||
<meta name="theme-color" content="#196abc">
|
||||
<link rel="canonical" href="https://drinkitcold.de/">
|
||||
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="assets/icons/apple-touch-icon-180.png">
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:locale" content="de_DE">
|
||||
<meta property="og:site_name" content="Drink it cold">
|
||||
<meta property="og:title" content="Kühlanhänger mieten in Neuss · Drink it cold">
|
||||
<meta property="og:description" content="Wir machen Kälte mobil: gepflegte Kühlanhänger für Partys, Hochzeiten, Schützenfeste und Events – Abholung in 41470 Neuss.">
|
||||
<meta property="og:image" content="https://drinkitcold.de/assets/img/hero-1280.jpg">
|
||||
|
||||
<link rel="preload" as="font" type="font/woff2" href="assets/fonts/manrope-latin.woff2" crossorigin>
|
||||
<link rel="preload" as="font" type="font/woff2" href="assets/fonts/inter-latin.woff2" crossorigin>
|
||||
<link rel="preload" as="image" imagesrcset="assets/img/hero-800.webp 800w, assets/img/hero-1280.webp 1280w, assets/img/hero-1920.webp 1920w" imagesizes="100vw">
|
||||
<link rel="stylesheet" href="assets/css/style.css?v=2">
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "LocalBusiness",
|
||||
"name": "Drink it cold – Ihre Kühlwagen-Vermietung",
|
||||
"description": "Vermietung von Kühlanhängern und Kühlwagen für Feiern, Feste und Events in Neuss, Düsseldorf, Köln und Umgebung.",
|
||||
"url": "https://drinkitcold.de/",
|
||||
"telephone": "+49 172 6384350",
|
||||
"email": "drinkitcold@web.de",
|
||||
"priceRange": "85 € – 210 €",
|
||||
"address": {
|
||||
"@type": "PostalAddress",
|
||||
"streetAddress": "Rosellener Schulstr. 2",
|
||||
"postalCode": "41470",
|
||||
"addressLocality": "Neuss",
|
||||
"addressCountry": "DE"
|
||||
},
|
||||
"areaServed": ["Neuss", "Düsseldorf", "Köln"],
|
||||
"openingHoursSpecification": {
|
||||
"@type": "OpeningHoursSpecification",
|
||||
"dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
|
||||
"opens": "08:00",
|
||||
"closes": "20:00"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<a class="skip-link" href="#main">Zum Inhalt springen</a>
|
||||
|
||||
<!-- ============ Icon sprite ============ -->
|
||||
<svg width="0" height="0" aria-hidden="true" focusable="false" style="position:absolute">
|
||||
<defs>
|
||||
<g id="i-check"><path d="M20 6 9 17l-5-5"/></g>
|
||||
<g id="i-phone"><path d="M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z"/></g>
|
||||
<g id="i-mail"><rect x="2.5" y="4.5" width="19" height="15" rx="2"/><path d="m3 7 9 6 9-6"/></g>
|
||||
<g id="i-pin"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z"/><circle cx="12" cy="10" r="2.8"/></g>
|
||||
<g id="i-clock"><circle cx="12" cy="12" r="9"/><path d="M12 7v5.4l3.4 2"/></g>
|
||||
<g id="i-calendar"><rect x="3" y="5" width="18" height="16" rx="2.5"/><path d="M8 3v4M16 3v4M3 10.5h18"/></g>
|
||||
<g id="i-snow"><path d="M12 2v20M4.5 6.8l15 10.4M19.5 6.8 4.5 17.2M12 6.4 9.6 4M12 6.4 14.4 4M12 17.6 9.6 20M12 17.6l2.4 2.4"/></g>
|
||||
<g id="i-lamp"><path d="M9.5 18h5M10.5 21h3M12 3a5.8 5.8 0 0 1 3.4 10.5c-.6.4-1 1.1-1.1 1.9l-.1 1.1h-4.4l-.1-1.1c-.1-.8-.5-1.5-1.1-1.9A5.8 5.8 0 0 1 12 3z"/></g>
|
||||
<g id="i-shelf"><path d="M3.5 3v18M20.5 3v18M3.5 9.5h17M3.5 15h17"/></g>
|
||||
<g id="i-bolt"><path d="M13.5 2 5 13.5h5.5L10 22l8.5-11.5H13z"/></g>
|
||||
<g id="i-shield"><path d="M12 3l7 2.8v6.1c0 4.4-3 7.7-7 9.1-4-1.4-7-4.7-7-9.1V5.8z"/><path d="m9.2 11.8 2 2 3.7-3.8"/></g>
|
||||
<g id="i-lock"><rect x="4.5" y="10.5" width="15" height="10" rx="2"/><path d="M8 10.5V7.5a4 4 0 0 1 8 0v3"/></g>
|
||||
<g id="i-plug"><path d="M9 3v6M15 3v6M6.5 9h11v3.5a5.5 5.5 0 0 1-11 0z"/><path d="M12 18v3"/></g>
|
||||
<g id="i-truck"><path d="M2.5 6.5h10.5v10H2.5z"/><path d="M13 10h4l4 3.6v2.9h-8z"/><circle cx="6.5" cy="18.5" r="1.8"/><circle cx="17" cy="18.5" r="1.8"/></g>
|
||||
<g id="i-close"><path d="M6 6l12 12M18 6 6 18"/></g>
|
||||
<g id="i-chevron"><path d="m6 9 6 6 6-6"/></g>
|
||||
<g id="i-arrow"><path d="M5 12h14M13 6l6 6-6 6"/></g>
|
||||
<g id="i-expand"><path d="M4 9.5V4h5.5M20 14.5V20h-5.5M4 14.5V20h5.5M20 9.5V4h-5.5"/></g>
|
||||
<g id="i-alert"><path d="M12 3.5 2.5 20.5h19z"/><path d="M12 9.5v5M12 17.6v.4"/></g>
|
||||
<g id="i-box"><path d="M12 2.5 3.5 7v10l8.5 4.5 8.5-4.5V7z"/><path d="M3.5 7 12 11.6 20.5 7M12 11.6v10"/></g>
|
||||
<g id="i-ruler"><path d="M3 16 16 3l5 5L8 21z"/><path d="M7.5 11.5 10 14M11 8l2.5 2.5M14.5 4.5 17 7"/></g>
|
||||
<g id="i-weight"><path d="M7 7.5h10l2.5 13h-15z"/><circle cx="12" cy="4.5" r="2.5"/></g>
|
||||
<g id="i-key"><circle cx="8" cy="12" r="4"/><path d="M12 12h9M18 12v3M15 12v2.5"/></g>
|
||||
</defs>
|
||||
</svg>
|
||||
|
||||
<!-- ============ Header ============ -->
|
||||
<header class="header" id="header">
|
||||
<div class="container header__inner">
|
||||
<a class="brand" href="#top" aria-label="Drink it cold – zur Startseite">
|
||||
<svg class="brand__mark" viewBox="0 0 100 72" aria-hidden="true">
|
||||
<path d="M50 1.5 98.5 36 50 70.5 1.5 36Z" fill="#196abc"/>
|
||||
<g fill="none" stroke="#fff" stroke-width="2.1" stroke-linecap="round" stroke-linejoin="round">
|
||||
<g transform="translate(50 35.5) scale(1.8)">
|
||||
<g transform="rotate(0)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(60)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(120)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(180)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(240)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(300)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="brand__text">
|
||||
<span class="brand__name">Drink it cold</span>
|
||||
<span class="brand__sub">Kühlwagen-Vermietung</span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="nav" id="nav" aria-label="Hauptnavigation">
|
||||
<a href="#anhaenger">Der Anhänger</a>
|
||||
<a href="#ausstattung">Ausstattung</a>
|
||||
<a href="#galerie">Galerie</a>
|
||||
<a href="#preise">Preise</a>
|
||||
<a href="#technik">Technik</a>
|
||||
<a href="#kontakt">Kontakt</a>
|
||||
</nav>
|
||||
|
||||
<div class="header__actions">
|
||||
<a class="header__phone" href="tel:+491726384350">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-phone"/></svg>
|
||||
<span>0172 638 43 50</span>
|
||||
</a>
|
||||
<a class="btn btn--ghost" href="/login">Login</a>
|
||||
<a class="btn" href="#anfrage">Jetzt anfragen</a>
|
||||
<button class="nav-toggle" type="button" id="navToggle" aria-expanded="false" aria-controls="nav" aria-label="Menü öffnen">
|
||||
<span class="nav-toggle__bars" aria-hidden="true"><span></span><span></span><span></span></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main id="main">
|
||||
<!-- ============ Hero ============ -->
|
||||
<section class="hero" id="top">
|
||||
<div class="hero__bg">
|
||||
<picture>
|
||||
<source type="image/webp" srcset="assets/img/hero-800.webp 800w, assets/img/hero-1280.webp 1280w, assets/img/hero-1920.webp 1920w" sizes="100vw">
|
||||
<img src="assets/img/hero-1280.jpg" srcset="assets/img/hero-800.jpg 800w, assets/img/hero-1280.jpg 1280w, assets/img/hero-1920.jpg 1920w" sizes="100vw" alt="Drei weiße Kühlanhänger von Drink it cold auf einer Wiese" width="1536" height="1024" fetchpriority="high" decoding="async">
|
||||
</picture>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="hero__inner">
|
||||
<p class="eyebrow">Kühlanhänger-Verleih · Neuss & Umgebung</p>
|
||||
<h1>Wir machen<br>Kälte <em>mobil.</em></h1>
|
||||
<p class="hero__lead">Gepflegte Kühlanhänger für Partys, Hochzeiten, Schützenfeste und Firmenfeiern – in Neuss, Düsseldorf, Köln und Umgebung. Anhängen, einstecken, fertig.</p>
|
||||
<div class="btn-row">
|
||||
<a class="btn" href="#anfrage">
|
||||
Termin anfragen
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-arrow"/></svg>
|
||||
</a>
|
||||
<a class="btn btn--outline-light" href="#preise">Preise ansehen</a>
|
||||
</div>
|
||||
<ul class="hero__chips">
|
||||
<li class="chip"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-snow"/></svg> bis +2 °C</li>
|
||||
<li class="chip"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-box"/></svg> 6,4 m³ Stauraum</li>
|
||||
<li class="chip"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-bolt"/></svg> 230-Volt-Steckdose</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<span class="hero__scroll" aria-hidden="true"></span>
|
||||
</section>
|
||||
|
||||
<!-- ============ Facts ============ -->
|
||||
<section class="facts" aria-label="Auf einen Blick">
|
||||
<div class="container">
|
||||
<div class="facts__grid">
|
||||
<div class="fact">
|
||||
<div class="fact__value">3</div>
|
||||
<div class="fact__label">Kühlanhänger stehen für Sie bereit</div>
|
||||
</div>
|
||||
<div class="fact">
|
||||
<div class="fact__value">+2 <span>°C</span></div>
|
||||
<div class="fact__label">konstante Kühlung für Speisen & Getränke</div>
|
||||
</div>
|
||||
<div class="fact">
|
||||
<div class="fact__value">6,4 <span>m³</span></div>
|
||||
<div class="fact__label">Innenvolumen mit festem Edelstahlregal</div>
|
||||
</div>
|
||||
<div class="fact">
|
||||
<div class="fact__value">ab 85 <span>€</span></div>
|
||||
<div class="fact__label">pro Tag, zzgl. 19 % MwSt.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============ Der Anhänger ============ -->
|
||||
<section class="section" id="anhaenger">
|
||||
<div class="container split">
|
||||
<div class="reveal">
|
||||
<p class="eyebrow">Der Kühlanhänger</p>
|
||||
<h2 class="h2">Platz für alles,<br>was kalt bleiben muss.</h2>
|
||||
<p class="lead" style="margin-top:1rem">Sie suchen einen Kühlanhänger für Ihre nächste Feier? Ob Familienfeier, Vereinsfest, Firmenevent oder Party – bei uns sind Sie richtig.</p>
|
||||
<p>Unsere Kühlanhänger sind sehr gepflegt und bieten ausreichend Platz für Ihre Speisen und Getränke. Für Speisen ist ein fest eingebautes Edelstahlregal montiert, in dem Salate, Kuchen oder Grillgut problemlos unterkommen.</p>
|
||||
<ul class="checklist">
|
||||
<li>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-check"/></svg>
|
||||
<span><strong>Sofort einsatzbereit</strong> – einfach an die normale 230-Volt-Steckdose anschließen.</span>
|
||||
</li>
|
||||
<li>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-check"/></svg>
|
||||
<span><strong>Alle Anhänger gleich ausgestattet</strong> – Sie wissen vorher genau, was Sie bekommen.</span>
|
||||
</li>
|
||||
<li>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-check"/></svg>
|
||||
<span><strong>Abholung in 41470 Neuss</strong> – auf Wunsch bringen wir den Anhänger auch zu Ihnen.</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="split__media reveal">
|
||||
<picture>
|
||||
<source type="image/webp" srcset="assets/img/innen-560.webp">
|
||||
<img src="assets/img/innen-560.jpg" alt="Blick in den Kühlanhänger: Edelstahlregal und Kühlaggregat an der Decke" width="560" height="1055" loading="lazy" decoding="async">
|
||||
</picture>
|
||||
<span class="split__badge">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-shelf"/></svg>
|
||||
Fest eingebautes Edelstahlregal
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============ Ausstattung ============ -->
|
||||
<section class="section section--tint" id="ausstattung">
|
||||
<div class="container">
|
||||
<div class="section-head reveal">
|
||||
<p class="eyebrow">Ausstattung</p>
|
||||
<h2 class="h2">Alles inklusive.</h2>
|
||||
<p>Unsere Kühlanhänger sind sofort einsatzbereit und verfügen serienmäßig über:</p>
|
||||
</div>
|
||||
|
||||
<div class="feature-grid">
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-lock"/></svg></div>
|
||||
<h3>Kupplungsschloss</h3>
|
||||
<p>Der Anhänger ist gesichert, auch wenn er unbeaufsichtigt steht.</p>
|
||||
</article>
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-shield"/></svg></div>
|
||||
<h3>Radkralle</h3>
|
||||
<p>Zusätzlicher Diebstahlschutz – serienmäßig dabei.</p>
|
||||
</article>
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-plug"/></svg></div>
|
||||
<h3>Ca. 15 m Anschlusskabel</h3>
|
||||
<p>Genug Spielraum, um die nächste Steckdose zu erreichen.</p>
|
||||
</article>
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-snow"/></svg></div>
|
||||
<h3>Kühlung bis +2 °C</h3>
|
||||
<p>Zuverlässig kalt – auch an heißen Sommertagen.</p>
|
||||
</article>
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-lamp"/></svg></div>
|
||||
<h3>Helle Innenbeleuchtung</h3>
|
||||
<p>Sie finden alles auf Anhieb, auch abends im Festzelt.</p>
|
||||
</article>
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-shelf"/></svg></div>
|
||||
<h3>Edelstahlregal</h3>
|
||||
<p>Fest eingebaut und ideal für Speisen, Salate, Kuchen oder Grillgut.</p>
|
||||
</article>
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-bolt"/></svg></div>
|
||||
<h3>230-Volt-Anschluss</h3>
|
||||
<p>Einfach an eine normale Steckdose anschließen – fertig.</p>
|
||||
</article>
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-truck"/></svg></div>
|
||||
<h3>Lieferung möglich</h3>
|
||||
<p>Gegen Gebühr liefern wir an und holen den Anhänger wieder ab.</p>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============ Galerie ============ -->
|
||||
<section class="section" id="galerie">
|
||||
<div class="container">
|
||||
<div class="section-head reveal">
|
||||
<p class="eyebrow">Galerie</p>
|
||||
<h2 class="h2">Unsere Kühlanhänger</h2>
|
||||
<p>Alle Anhänger sind baugleich: Weiß, blau beklebt und mit festem Edelstahlregal ausgestattet.</p>
|
||||
</div>
|
||||
|
||||
<div class="gallery" id="gallery">
|
||||
<figure class="gallery__a reveal">
|
||||
<picture>
|
||||
<source type="image/webp" srcset="assets/img/flotte-700.webp 700w, assets/img/flotte-1400.webp 1400w" sizes="(max-width: 720px) 100vw, 66vw">
|
||||
<img src="assets/img/flotte-1400.jpg" srcset="assets/img/flotte-700.jpg 700w, assets/img/flotte-1400.jpg 1400w" sizes="(max-width: 720px) 100vw, 66vw" alt="Drei Kühlanhänger nebeneinander auf einer Wiese" width="1400" height="933" loading="lazy" decoding="async">
|
||||
</picture>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-expand"/></svg>
|
||||
</figure>
|
||||
<figure class="gallery__b reveal">
|
||||
<picture>
|
||||
<source type="image/webp" srcset="assets/img/innen-560.webp">
|
||||
<img src="assets/img/innen-560.jpg" alt="Innenraum des Kühlanhängers mit Edelstahlregal" width="560" height="1055" loading="lazy" decoding="async">
|
||||
</picture>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-expand"/></svg>
|
||||
</figure>
|
||||
<figure class="gallery__c reveal">
|
||||
<picture>
|
||||
<source type="image/webp" srcset="assets/img/heck-600.webp 600w, assets/img/heck-1200.webp 1200w" sizes="(max-width: 720px) 50vw, 33vw">
|
||||
<img src="assets/img/heck-1200.jpg" srcset="assets/img/heck-600.jpg 600w, assets/img/heck-1200.jpg 1200w" sizes="(max-width: 720px) 50vw, 33vw" alt="Zwei geöffnete Kühlanhänger von hinten, Blick auf die Hecktüren" width="1200" height="900" loading="lazy" decoding="async">
|
||||
</picture>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-expand"/></svg>
|
||||
</figure>
|
||||
<figure class="gallery__d reveal">
|
||||
<picture>
|
||||
<source type="image/webp" srcset="assets/img/alpen-800.webp">
|
||||
<img src="assets/img/alpen-800.jpg" alt="Zwei Kühlanhänger vor Berglandschaft" width="800" height="640" loading="lazy" decoding="async">
|
||||
</picture>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-expand"/></svg>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============ Preise ============ -->
|
||||
<section class="section section--tint" id="preise">
|
||||
<div class="container">
|
||||
<div class="section-head reveal">
|
||||
<p class="eyebrow">Preise</p>
|
||||
<h2 class="h2">Faire Tarife, klar geregelt.</h2>
|
||||
<p>Alle Preise gelten bei Abholung in 41470 Neuss und verstehen sich netto zzgl. 19 % gesetzlicher Mehrwertsteuer.</p>
|
||||
</div>
|
||||
|
||||
<div class="price-grid">
|
||||
<article class="price reveal">
|
||||
<h3 class="price__name">Tarif Tag</h3>
|
||||
<p class="price__amount">85 € <small>netto</small></p>
|
||||
<p class="price__meta">24 Stunden · Mo–Do</p>
|
||||
<div class="price__rule"></div>
|
||||
<p class="price__text">Übergabe in der Regel gegen <strong>16 Uhr</strong>. Ideal für die kurze Feier zwischendurch.</p>
|
||||
</article>
|
||||
|
||||
<article class="price price--featured reveal">
|
||||
<span class="price__badge">Beliebt</span>
|
||||
<h3 class="price__name">Tarif Wochenende</h3>
|
||||
<p class="price__amount">140 € <small>netto</small></p>
|
||||
<p class="price__meta">Freitag bis Montag</p>
|
||||
<div class="price__rule"></div>
|
||||
<p class="price__text">Übergabe in der Regel gegen <strong>16 Uhr</strong>. Der Klassiker für Feiern am Samstag.</p>
|
||||
</article>
|
||||
|
||||
<article class="price reveal">
|
||||
<h3 class="price__name">Langes Wochenende</h3>
|
||||
<p class="price__amount">180 € <small>netto</small></p>
|
||||
<p class="price__meta">Freitag bis Mittwoch</p>
|
||||
<div class="price__rule"></div>
|
||||
<p class="price__text">Wenn das Fest etwas länger dauert. Übergabe in der Regel gegen <strong>16 Uhr</strong>.</p>
|
||||
</article>
|
||||
|
||||
<article class="price reveal">
|
||||
<h3 class="price__name">Tarif Woche</h3>
|
||||
<p class="price__amount">210 € <small>netto</small></p>
|
||||
<p class="price__meta">7 Tage, gleicher Wochentag</p>
|
||||
<div class="price__rule"></div>
|
||||
<p class="price__text">Montag bis Montag, Dienstag bis Dienstag und so weiter. Übergabe gegen <strong>16 Uhr</strong>.</p>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
<div class="price-footnote reveal">
|
||||
<span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-pin"/></svg> Abholung in 41470 Neuss</span>
|
||||
<span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-truck"/></svg> Anlieferung & Abholung gegen Gebühr möglich</span>
|
||||
<span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-calendar"/></svg> Längerer Zeitraum? Fragen Sie uns einfach.</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============ Ablauf ============ -->
|
||||
<section class="section" id="ablauf">
|
||||
<div class="container">
|
||||
<div class="section-head reveal">
|
||||
<p class="eyebrow">So funktioniert's</p>
|
||||
<h2 class="h2">In drei Schritten kalt.</h2>
|
||||
<p>Von der ersten Anfrage bis zum kalten Getränk ist es nicht weit.</p>
|
||||
</div>
|
||||
|
||||
<div class="steps">
|
||||
<div class="step reveal">
|
||||
<h3>Termin anfragen</h3>
|
||||
<p>Schreiben Sie uns Zeitraum und Ort – wir prüfen die Verfügbarkeit und melden uns umgehend.</p>
|
||||
</div>
|
||||
<div class="step reveal">
|
||||
<h3>Abholen oder liefern lassen</h3>
|
||||
<p>Übergabe in der Regel gegen 16 Uhr in Neuss, oder wir bringen den Anhänger zu Ihnen.</p>
|
||||
</div>
|
||||
<div class="step reveal">
|
||||
<h3>Einstecken & kühlen</h3>
|
||||
<p>Anhänger an die 230-Volt-Steckdose anschließen, Türen zu – und die Feier kann kommen.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="feature-grid" style="margin-top:clamp(2.25rem,4vw,3.25rem)">
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-calendar"/></svg></div>
|
||||
<h3>Belegungskalender</h3>
|
||||
<p style="margin-bottom:1.1rem">Prüfen Sie in Echtzeit, ob Ihr Wunschtermin noch frei ist – der Kalender öffnet sich in einem neuen Fenster.</p>
|
||||
<a class="btn" href="https://api.belegungskalender-kostenlos.de/kalender.php?kid=54413" target="_blank" rel="noopener">
|
||||
Kalender öffnen
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-arrow"/></svg>
|
||||
</a>
|
||||
</article>
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-clock"/></svg></div>
|
||||
<h3>Übergabe gegen 16 Uhr</h3>
|
||||
<p>Freitags und vor Feiertagen sind die Termine schnell vergeben – am besten früh anfragen.</p>
|
||||
</article>
|
||||
<article class="feature reveal">
|
||||
<div class="feature__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-key"/></svg></div>
|
||||
<h3>Längerer Zeitraum?</h3>
|
||||
<p>Kein Problem – fragen Sie einfach unverbindlich an, wir finden einen passenden Tarif.</p>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============ Technik ============ -->
|
||||
<section class="section section--tint" id="technik">
|
||||
<div class="container">
|
||||
<div class="section-head reveal">
|
||||
<p class="eyebrow">Technisches Datenblatt</p>
|
||||
<h2 class="h2">WM Meyer AZKF 1325/145</h2>
|
||||
<p>Alle Angaben zum Anhänger „Mr. Been“ – kompakt zusammengefasst zum Aufklappen.</p>
|
||||
</div>
|
||||
|
||||
<div class="spec reveal">
|
||||
<details open>
|
||||
<summary>
|
||||
<span class="spec__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-weight"/></svg></span>
|
||||
Allgemeine Daten
|
||||
<span class="spec__chev"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-chevron"/></svg></span>
|
||||
</summary>
|
||||
<div class="spec__body">
|
||||
<table class="spec-table">
|
||||
<tbody>
|
||||
<tr><th scope="row">Hersteller</th><td>WM Meyer</td></tr>
|
||||
<tr><th scope="row">Typ</th><td>AZKF 1325/145</td></tr>
|
||||
<tr><th scope="row">Zulässiges Gesamtgewicht</th><td>1.300 kg</td></tr>
|
||||
<tr><th scope="row">Leergewicht</th><td>ca. 580 kg</td></tr>
|
||||
<tr><th scope="row">Nutzlast im Fahrbetrieb</th><td>ca. 720 kg</td></tr>
|
||||
<tr><th scope="row">Nutzlast im Standbetrieb</th><td>bis 3.000 kg (mit 4 Schwerlaststützen)</td></tr>
|
||||
<tr><th scope="row">Achsen</th><td>1</td></tr>
|
||||
<tr><th scope="row">Bereifung</th><td>14 Zoll</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="spec-note">Die Nutzlast von 3.000 kg im Standbetrieb gilt ausschließlich bei vollständig ausgefahrenen und tragfähig abgestützten Schwerlaststützen.</p>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
<span class="spec__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-ruler"/></svg></span>
|
||||
Abmessungen
|
||||
<span class="spec__chev"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-chevron"/></svg></span>
|
||||
</summary>
|
||||
<div class="spec__body">
|
||||
<table class="spec-table">
|
||||
<tbody>
|
||||
<tr><th scope="row">Innenmaß (L × B × H)</th><td>2.453 × 1.446 × 1.800 mm</td></tr>
|
||||
<tr><th scope="row">Außenmaß (L × B × H)</th><td>ca. 4.100 × 2.050 × 2.440 mm</td></tr>
|
||||
<tr><th scope="row">Ladehöhe</th><td>ca. 700 mm</td></tr>
|
||||
<tr><th scope="row">Innenvolumen</th><td>ca. 6,4 m³</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
<span class="spec__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-bolt"/></svg></span>
|
||||
Kühltechnik
|
||||
<span class="spec__chev"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-chevron"/></svg></span>
|
||||
</summary>
|
||||
<div class="spec__body">
|
||||
<table class="spec-table">
|
||||
<tbody>
|
||||
<tr><th scope="row">Netzanschluss</th><td>230 V AC</td></tr>
|
||||
<tr><th scope="row">Anschlussleistung</th><td>ca. 1,2–1,3 kW</td></tr>
|
||||
<tr><th scope="row">Leistungsaufnahme im Betrieb</th><td>ca. 800–850 W</td></tr>
|
||||
<tr><th scope="row">Stromaufnahme bei 230 V</th><td>ca. 3,5–3,8 A</td></tr>
|
||||
<tr><th scope="row">Abtauheizung</th><td>ca. 500 W</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="spec-note">Die tatsächliche Leistungsaufnahme hängt von Außentemperatur, eingestellter Kühltemperatur, Beladung sowie Türöffnungsfrequenz ab.</p>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
<span class="spec__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-box"/></svg></span>
|
||||
Aufbau
|
||||
<span class="spec__chev"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-chevron"/></svg></span>
|
||||
</summary>
|
||||
<div class="spec__body">
|
||||
<table class="spec-table">
|
||||
<tbody>
|
||||
<tr><th scope="row">Aufbau</th><td>Vollisolierter Sandwich-Polyester-Aufbau</td></tr>
|
||||
<tr><th scope="row">Wand- und Dachstärke</th><td>ca. 60 mm</td></tr>
|
||||
<tr><th scope="row">Türstärke</th><td>ca. 54 mm</td></tr>
|
||||
<tr><th scope="row">K-Wert</th><td>ca. 0,52 W/m²K</td></tr>
|
||||
<tr><th scope="row">Hecktür</th><td>2-flügelig, 270° umschlagbar</td></tr>
|
||||
<tr><th scope="row">Stützen</th><td>4 Schwerlaststützen</td></tr>
|
||||
<tr><th scope="row">Innenbeleuchtung</th><td>230 V</td></tr>
|
||||
<tr><th scope="row">Fahrgestell</th><td>Verzinkter V-Deichselrahmen</td></tr>
|
||||
<tr><th scope="row">Bremse</th><td>Auflaufbremse mit Rückfahrautomatik</td></tr>
|
||||
<tr><th scope="row">Kupplung</th><td>Sicherheitskugelkupplung</td></tr>
|
||||
<tr><th scope="row">Stecker</th><td>13-polig</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============ Warnung ============ -->
|
||||
<section class="section section--tight">
|
||||
<div class="container">
|
||||
<div class="warning reveal">
|
||||
<picture>
|
||||
<source type="image/webp" srcset="assets/img/achtung-900.webp">
|
||||
<img src="assets/img/achtung-900.jpg" alt="Warnschild: Dieses Gerät darf nicht mit einem Stromaggregat betrieben werden" width="900" height="428" loading="lazy" decoding="async">
|
||||
</picture>
|
||||
<div>
|
||||
<p class="warning__icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-alert"/></svg>
|
||||
Wichtig
|
||||
</p>
|
||||
<h2>Bitte nicht am Stromaggregat betreiben.</h2>
|
||||
<p>Unsere Kühlanhänger dürfen <strong>nicht</strong> mit einem Stromaggregat betrieben werden. Das Aggregat liefert keine saubere Sinuswelle – das kann das Kühlaggregat beschädigen. Bitte nutzen Sie eine normale 230-Volt-Steckdose.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============ Kontakt & Anfrage ============ -->
|
||||
<section class="section contact" id="kontakt">
|
||||
<div class="container contact__grid">
|
||||
<div class="reveal">
|
||||
<p class="eyebrow" style="color:#cfe7ff">Kontakt</p>
|
||||
<h2 class="h2">Direkt vom Vermieter.</h2>
|
||||
<p class="contact__lead" style="margin-top:.9rem">Kein Callcenter, keine Warteschleife: Sie sprechen mit Michael Schmitz – dem Mann hinter Drink it cold.</p>
|
||||
|
||||
<dl class="contact__list">
|
||||
<div class="contact__item">
|
||||
<span class="contact__item-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-phone"/></svg></span>
|
||||
<div>
|
||||
<dt>Telefon</dt>
|
||||
<dd><a href="tel:+491726384350">+49 172 638 43 50</a></dd>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact__item">
|
||||
<span class="contact__item-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-mail"/></svg></span>
|
||||
<div>
|
||||
<dt>E-Mail</dt>
|
||||
<dd><a href="mailto:drinkitcold@web.de">drinkitcold@web.de</a></dd>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact__item">
|
||||
<span class="contact__item-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-pin"/></svg></span>
|
||||
<div>
|
||||
<dt>Abholung</dt>
|
||||
<dd>Rosellener Schulstr. 2<span>41470 Neuss</span></dd>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact__item">
|
||||
<span class="contact__item-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-clock"/></svg></span>
|
||||
<div>
|
||||
<dt>Übergabe</dt>
|
||||
<dd>In der Regel gegen 16 Uhr</dd>
|
||||
</div>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<div class="form-card reveal" id="anfrage">
|
||||
<h3>Terminanfrage</h3>
|
||||
<p>Füllen Sie die Felder aus – die Anfrage geht direkt an uns, Sie brauchen kein E-Mail-Programm. Alternativ einfach anrufen.</p>
|
||||
|
||||
<form id="requestForm" action="/anfrage" method="post">
|
||||
<div class="hp" aria-hidden="true">
|
||||
<label for="f-website">Website</label>
|
||||
<input type="text" id="f-website" name="website" tabindex="-1" autocomplete="off">
|
||||
</div>
|
||||
<div class="form-grid">
|
||||
<div class="field field--full">
|
||||
<label for="f-name">Vor- und Nachname <span class="req" aria-hidden="true">*</span></label>
|
||||
<input type="text" id="f-name" name="name" autocomplete="name" required>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="f-phone">Handynummer <span class="req" aria-hidden="true">*</span></label>
|
||||
<input type="tel" id="f-phone" name="phone" autocomplete="tel" required>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="f-email">E-Mail <span class="req" aria-hidden="true">*</span></label>
|
||||
<input type="email" id="f-email" name="email" autocomplete="email" required>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="f-street">Straße <span class="req" aria-hidden="true">*</span></label>
|
||||
<input type="text" id="f-street" name="street" autocomplete="street-address" required>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="f-city">PLZ & Ort <span class="req" aria-hidden="true">*</span></label>
|
||||
<input type="text" id="f-city" name="city" autocomplete="postal-code" required>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="f-from">Miete von <span class="req" aria-hidden="true">*</span></label>
|
||||
<input type="date" id="f-from" name="from" required>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="f-to">Miete bis <span class="req" aria-hidden="true">*</span></label>
|
||||
<input type="date" id="f-to" name="to" required>
|
||||
</div>
|
||||
<div class="field field--full">
|
||||
<label for="f-tariff">Tarif</label>
|
||||
<select id="f-tariff" name="tariff">
|
||||
<option value="Bitte beraten">Bitte beraten</option>
|
||||
<option value="Tag (85 € netto)">Tag – 85 € netto</option>
|
||||
<option value="Wochenende (140 € netto)">Wochenende – 140 € netto</option>
|
||||
<option value="Langes Wochenende (180 € netto)">Langes Wochenende – 180 € netto</option>
|
||||
<option value="Woche (210 € netto)">Woche – 210 € netto</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="field field--full">
|
||||
<span id="deliveryLabel" style="font-size:.8rem;font-weight:600;color:var(--ink)">Übergabe</span>
|
||||
<div class="radio-row" role="radiogroup" aria-labelledby="deliveryLabel">
|
||||
<label class="radio-pill">
|
||||
<input type="radio" name="handover" value="Selbstabholung in 41470 Neuss" checked>
|
||||
<span>Selbstabholung</span>
|
||||
</label>
|
||||
<label class="radio-pill">
|
||||
<input type="radio" name="handover" value="Lieferung und Abholung gewünscht">
|
||||
<span>Lieferung & Abholung</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field field--full">
|
||||
<label for="f-msg">Nachricht</label>
|
||||
<textarea id="f-msg" name="message" rows="3" placeholder="Anlass, Anzahl Gäste, Besonderheiten …"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-foot">
|
||||
<button class="btn" type="submit">
|
||||
Anfrage senden
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-arrow"/></svg>
|
||||
</button>
|
||||
<p class="form-note">Alle Felder sind Pflichtfelder – nur die Nachricht ist freiwillig. Ihre Angaben werden ausschließlich zur Bearbeitung der Anfrage verwendet.</p>
|
||||
</div>
|
||||
<p class="form-status" id="formStatus" role="status" aria-live="polite"></p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<!-- ============ Footer ============ -->
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<div class="footer__grid">
|
||||
<div>
|
||||
<div class="footer__brand">
|
||||
<svg viewBox="0 0 100 72" aria-hidden="true">
|
||||
<path d="M50 1.5 98.5 36 50 70.5 1.5 36Z" fill="#196abc"/>
|
||||
<g fill="none" stroke="#fff" stroke-width="2.1" stroke-linecap="round" stroke-linejoin="round">
|
||||
<g transform="translate(50 35.5) scale(1.8)">
|
||||
<g transform="rotate(0)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(60)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(120)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(180)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(240)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(300)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<span>Drink it cold</span>
|
||||
</div>
|
||||
<address>
|
||||
Michael Schmitz<br>
|
||||
Rosellener Schulstr. 2<br>
|
||||
41470 Neuss
|
||||
</address>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h4>Kontakt</h4>
|
||||
<ul>
|
||||
<li><a href="tel:+491726384350">+49 172 638 43 50</a></li>
|
||||
<li><a href="mailto:drinkitcold@web.de">drinkitcold@web.de</a></li>
|
||||
<li><a href="https://api.belegungskalender-kostenlos.de/kalender.php?kid=54413" target="_blank" rel="noopener">Belegungskalender</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h4>Seite</h4>
|
||||
<ul>
|
||||
<li><a href="#anhaenger">Der Anhänger</a></li>
|
||||
<li><a href="#preise">Preise</a></li>
|
||||
<li><a href="#technik">Technik</a></li>
|
||||
<li><a href="#anfrage">Terminanfrage</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="legal">
|
||||
<details id="impressum">
|
||||
<summary>Impressum</summary>
|
||||
<div class="legal__body">
|
||||
<p><strong>Angaben gemäß § 5 DDG</strong><br>
|
||||
Drink it cold – Michael Schmitz<br>
|
||||
Rosellener Schulstr. 2<br>
|
||||
41470 Neuss</p>
|
||||
<p><strong>Kontakt</strong><br>
|
||||
Telefon: +49 172 638 43 50<br>
|
||||
E-Mail: drinkitcold@web.de</p>
|
||||
<p><strong>Steuernummer:</strong> 122/5553/5322<br>
|
||||
<strong>USt-IdNr.:</strong> DE408374900</p>
|
||||
<p>Verantwortlich für den Inhalt nach § 18 Abs. 2 MStV: Michael Schmitz, Adresse wie oben.</p>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<details id="datenschutz">
|
||||
<summary>Datenschutz</summary>
|
||||
<div class="legal__body">
|
||||
<p><strong>Verantwortlich:</strong> Michael Schmitz, Rosellener Schulstr. 2, 41470 Neuss.</p>
|
||||
<p>Diese Website setzt <strong>keine Cookies</strong> und verwendet <strong>keine Tracking- oder Analyse-Dienste</strong>. Schriftarten und Bilder werden von diesem Server ausgeliefert; es werden dabei keine Daten an Dritte übertragen.</p>
|
||||
<p><strong>Server-Logfiles:</strong> Beim Aufruf der Seite speichert der Hosting-Anbieter technisch notwendige Zugriffsdaten (IP-Adresse, Zeitpunkt, abgerufene Datei). Diese Daten dienen ausschließlich der Sicherheit und dem Betrieb der Seite.</p>
|
||||
<p><strong>Kontaktanfragen:</strong> Wenn Sie uns per E-Mail oder über das Anfrageformular kontaktieren, verarbeiten wir Ihre Angaben zur Bearbeitung der Anfrage. Das Formular übermittelt Ihre Angaben verschlüsselt an unseren Server und von dort per E-Mail an uns; eine Weitergabe an Dritte findet nicht statt. Zur Abwehr von Spam speichern wir Ihre IP-Adresse für höchstens eine Stunde in gehashter Form. Rechtsgrundlage ist Art. 6 Abs. 1 lit. b DSGVO.</p>
|
||||
<p><strong>Externer Link:</strong> Der Belegungskalender wird von einem externen Anbieter bereitgestellt. Beim Anklicken gelten die Datenschutzbestimmungen des Anbieters.</p>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
|
||||
<div class="footer__bottom">
|
||||
<p>© <span id="year">2026</span> Drink it cold · Kühlwagen-Vermietung Neuss</p>
|
||||
<div class="footer__legal">
|
||||
<a href="#impressum">Impressum</a>
|
||||
<a href="#datenschutz">Datenschutz</a>
|
||||
<a href="#top">Nach oben</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- ============ Lightbox ============ -->
|
||||
<div class="lightbox" id="lightbox" role="dialog" aria-modal="true" aria-label="Bildansicht" hidden>
|
||||
<button class="lightbox__close" type="button" id="lightboxClose" aria-label="Schließen">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-close"/></svg>
|
||||
</button>
|
||||
<img id="lightboxImg" alt="">
|
||||
</div>
|
||||
|
||||
<script src="assets/js/main.js?v=2" defer></script>
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function () {
|
||||
navigator.serviceWorker.register('/sw.js', { scope: '/' }).catch(function () {});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"id": "/",
|
||||
"id": "/login",
|
||||
"name": "Drink it cold – Terminplanung",
|
||||
"short_name": "Drink it cold",
|
||||
"description": "Kühlanhänger-Verleih: Buchungen, Kalender, Übergaben und automatische Erinnerungen für das Team.",
|
||||
"lang": "de",
|
||||
"dir": "ltr",
|
||||
"start_url": "/?source=pwa",
|
||||
"start_url": "/login?source=pwa",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#f4f9fe",
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
* zwischengespeichert, damit niemand veraltete Buchungen sieht.
|
||||
*/
|
||||
|
||||
const VERSION = 'dic-v17';
|
||||
const VERSION = 'dic-v18';
|
||||
const CACHE = VERSION;
|
||||
const BASE = new URL(self.registration.scope).pathname.replace(/\/$/, '');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue