<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>KATAPULT</title>
    <style>
        :root {
            --bg: #f3f4f6;
            --card-bg: #ffffff;
            --text: #111827;
            --muted: #4b5563;
            --border: #d1d5db;
            --button-bg: #1f2937;
            --button-hover: #111827;
            --focus: #6366f1;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: "Figtree", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            color: var(--text);
            background-color: var(--bg);
        }

        .page {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 24px;
        }

        .logo {
            width: 80px;
            height: 80px;
            margin-bottom: 24px;
        }

        .card {
            width: 100%;
            max-width: 560px;
            background: var(--card-bg);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
            padding: 24px;
        }

        .panel-list {
            margin-top: 12px;
        }

        .error-box {
            border: 1px solid #fca5a5;
            background: #fef2f2;
            color: #991b1b;
            padding: 12px;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .success-box {
            border: 1px solid #86efac;
            background: #f0fdf4;
            color: #166534;
            padding: 12px;
            font-size: 0.9rem;
            line-height: 1.4;
            margin-bottom: 12px;
        }

        .form-error-box {
            margin-bottom: 12px;
            border: 1px solid #fca5a5;
            background: #fef2f2;
            color: #991b1b;
            padding: 10px;
            font-size: 0.85rem;
            line-height: 1.4;
        }

        .panel {
            border: 1px solid var(--border);
            margin-top: 12px;
            background: #ffffff;
        }

        .panel:first-child {
            margin-top: 0;
        }

        .panel summary {
            list-style: none;
            cursor: pointer;
            padding: 12px;
            font-size: 0.95rem;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .panel-heading {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .panel-logo {
            width: 26px;
            height: 26px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            flex-shrink: 0;
            overflow: hidden;
        }

        .panel-logo img {
            width: 18px;
            height: 18px;
            object-fit: contain;
        }

        .panel-logo-sepa {
            width: 64px;
            background: #ffffff;
            border: 1px solid #dbeafe;
        }

        .panel-logo-payment {
            width: 60px;
            height: 28px;
            background: #ffffff;
            border: 1px solid #e5e7eb;
            gap: 4px;
            padding: 0 4px;
        }

        .panel-logo-qr {
            background: #e9f7ef;
        }

        .panel summary::-webkit-details-marker {
            display: none;
        }

        .panel summary::after {
            content: "+";
            font-size: 1.1rem;
            color: var(--muted);
        }

        .panel[open] summary::after {
            content: "-";
        }

        .panel-content {
            border-top: 1px solid var(--border);
            padding: 12px;
        }

        .field {
            margin-top: 12px;
        }

        label {
            display: block;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 6px;
        }

        input {
            width: 100%;
            border: 1px solid var(--border);
            padding: 10px 12px;
            font-size: 1rem;
            outline: none;
        }

        input:focus {
            border-color: var(--focus);
            box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
        }

        .qr-placeholder {
            border: 1px solid var(--border);
            padding: 12px;
            text-align: center;
            background: #fafafa;
        }

        .qr-title {
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .qr-hint {
            margin-top: 8px;
            font-size: 0.75rem;
            color: var(--muted);
        }

        .actions {
            margin-top: 16px;
        }

        .hint-text {
            margin: 0;
            font-size: 0.875rem;
            line-height: 1.4;
            color: var(--muted);
        }

        button {
            display: inline-flex;
            align-items: center;
            border: none;
            padding: 10px 16px;
            background: var(--button-bg);
            color: #ffffff;
            text-transform: uppercase;
            font-size: 0.75rem;
            letter-spacing: 0.06em;
            font-weight: 700;
            cursor: pointer;
        }

        button:hover {
            background: var(--button-hover);
        }

        .mandate-text {
            margin-top: 16px;
            margin-bottom: 8px;
            font-size: 0.75rem;
            line-height: 1.45;
            color: var(--muted);
        }
    </style>
</head>
<body>
<main class="page">
    <svg class="logo" viewBox="0 0 316 316" xmlns="http://www.w3.org/2000/svg" aria-label="Katapult Logo" role="img">
        <path d="M81.43,130.26h93.16C165.17,157.21,130.46,256,128,256,125.76,256,90.91,157.21,81.43,130.26Z"
              fill="#ffd500"/>
        <path d="M191.57,120.11c.88-5.63,3.41-14.23,3.12-20.72-.77-15.43-9.31-22.63-21.09-21.84-2.28.14,5.66-6.78,3.21-19.38-1.46-7.58-5.49-16.2-21.27-19.38,0,0,7.9-24.11-8.31-34.27s-32.35,0-32.35,0,10.12,0,7.91,7.9S97,18.73,104.35,36.94c1.26,3.14-9.07,1.15-14.47,3.91-8.6,4.43-14.5,15-5.89,26.35a100.29,100.29,0,0,1-8.49,6C68.73,77.3,60.3,85.28,61.38,100c0,0,1.17,15.44,10.21,20.14H181s.17-.45-1.57,7.58c-3.1,14.51-6,46.09,4.27,45.92C198.71,173.38,190.63,125.76,191.57,120.11Z"
              fill="#005bbb"/>
    </svg>

    <section class="card">
        
        <div class="error-box">Der Link ist wahrscheinlich fehlerhaft. Bitte pruefen Sie den Link.</div>

        
    </section>
</main>
<script>
    (function () {
        const panels = document.querySelectorAll('.panel-list .panel');

        panels.forEach((panel) => {
            const summary = panel.querySelector('summary');
            if (!summary) {
                return;
            }

            summary.addEventListener('click', (event) => {
                event.preventDefault();
                panels.forEach((otherPanel) => {
                    if (otherPanel !== panel) {
                        otherPanel.open = false;
                    }
                });

                panel.open = true;
            });
        });
    })();
</script>
</body>
</html>
