:root{
    --color-primary:#57A0CF;   /* Wissen, Vertrauen, Seriosität */
    --color-secondary:#7B7005; /* Eleganz, Exklusivität */
    --color-text:#333333;      /* Stabil, gut lesbar */
    --color-bg:#ffffff;        /* Klar, sauber */
    --radius:16px;
    --shadow:0 12px 24px rgba(0,0,0,.08);
    --border:1px solid rgba(51,51,51,.08);
    --focus:0 0 0 3px rgba(87,160,207,.35);
    --muted:#6b7280;
    --success:#1b8f2e;
    --error:#b3261e;
    --info:#2a3a44;
    --success-bg: #e8f5ec;
    --error-bg: #fdeceb;
    --info-bg: #eaf4fb;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    background:var(--color-bg);
    color:var(--color-text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    line-height:1.5;
}

/* Topbar mit Logo */
.topbar{
    display:flex; align-items:center; justify-content:center;
    border-bottom: var(--border); background:#fff;
}
.topbar-inner{
    width:min(960px,100%); padding:12px 20px;
    display:flex; align-items:center; gap:16px;
}
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit; }
.brand img{ height:40px; width:auto; display:block; }
.brand-name{ font-weight:800; letter-spacing:.2px; }

.wrap{ width:min(960px,100%); margin:32px auto; padding:0 20px; }
.card{
    background:#fff; border:var(--border); border-radius:var(--radius);
    box-shadow:var(--shadow); padding:24px;
}

header h1{
    margin:0 0 6px; font-size:clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
    color:var(--color-primary); letter-spacing:.2px;
}
header p{ margin:0; color:var(--muted); }

.notice{
    margin-top:14px; padding:14px 16px; border-radius:12px;
    background:rgba(87,160,207,.08); border:1px solid rgba(87,160,207,.25);
    color:var(--info);
}

form{ margin-top:18px; }
fieldset{
    margin:0; padding:18px; border-radius:12px;
    border:1px dashed rgba(123,112,5,.35);
}
legend{ padding:0 6px; color:var(--color-secondary); font-weight:700; letter-spacing:.2px; }

.grid{ display:grid; gap:16px; }
.control label{ display:block; font-weight:600; margin-bottom:6px; }
.control input{
    width:100%; padding:.9rem 1rem; border-radius:10px;
    border:1px solid rgba(51,51,51,.2); background:#fff; color:var(--color-text);
    transition: box-shadow .15s ease, border-color .15s ease;
}
.control input:focus{ outline:none; border-color:var(--color-primary); box-shadow:var(--focus); }
.help{ color:var(--muted); font-size:.92rem; margin-top:6px; }

.actions{ display:flex; gap:10px; justify-content:flex-end; margin-top:6px; }
.btn{
    appearance:none; border:0; border-radius:12px; padding:.9rem 1.1rem;
    font-weight:700; cursor:pointer; transition: transform .02s ease, box-shadow .15s ease, background .15s;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background:var(--color-primary); color:#fff; box-shadow:0 6px 14px rgba(87,160,207,.35); }
.btn-primary:hover{ filter:brightness(1.05); }
.btn-outline{ background:#fff; color:var(--color-secondary); border:1px solid rgba(123,112,5,.5); }
.btn:disabled{ opacity:.6; cursor:not-allowed; }

/* Feedback-Nachricht (nicht-technisch) */
.feedback{ margin-top:16px; display:none; }
.alert{
    display:flex; gap:10px; align-items:flex-start;
    padding:12px 14px; border-radius:12px; border:1px solid;
    font-size: .98rem;
}
.alert.info{ border-color:#cfe8f7; background:var(--info-bg); color:var(--info); }
.alert.success{ border-color:#cfe9d5; background:var(--success-bg); color:var(--success); }
.alert.error{ border-color:#f6c9c7; background:var(--error-bg); color:var(--error); }
.alert strong{ font-weight:700; }

@media (max-width:520px){
    .topbar-inner{ padding:10px 16px; }
    .card{ padding:18px; }
    fieldset{ padding:14px; }
}
