/* Seite frontend/index.php */
body {
    margin: 0;
    color: #e5e7eb;
    min-height: 100vh;
    background: linear-gradient(135deg, #0b223f 0%, #1e3a8a 45%, #0f766e 100%);
    background-attachment: fixed;
}
main { max-width: 1160px; margin: 24px auto; padding: 0 20px 84px 20px; }
.hero {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 36px rgba(3, 8, 20, 0.25);
    padding: 26px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    align-items: center;
}
.hero h2 { margin: 0; color: #fff; font-size: 46px; line-height: 1.08; }
.hero p { color: #dbeafe; }
.hero-subline {
    margin-top: 10px;
    color: #bfdbfe;
    font-size: 18px;
    font-weight: 600;
}
.hero-side {
    display: block;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 18px;
    background: rgba(15, 23, 42, 0.32);
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-side:hover {
    background: rgba(15, 23, 42, 0.48);
    border-color: rgba(191,219,254,0.5);
    transform: translateY(-1px);
}
.hero-icon {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 8px;
}
.hero-side-title {
    margin: 4px 0 8px 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}
.hero-side-text {
    margin: 0;
    color: #bfdbfe;
}
.cards { margin-top: 18px; display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:12px; }
.card {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.07);
    padding: 14px;
    color: #dbeafe;
    text-decoration: none;
    display: block;
}
.card-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}
.card-title { color:#fff; margin: 0 0 4px 0; font-weight: 700; }
.active-box {
    margin-top: 12px;
    border: 1px solid rgba(191,219,254,.4);
    border-radius: 12px;
    background: rgba(59,130,246,.12);
    padding: 12px;
    color: #dbeafe;
}
.modal-backdrop { position:fixed; inset:0; background:rgba(0,0,0,0.45); opacity:0; pointer-events:none; transition:opacity .2s ease; z-index:45; }
.modal-backdrop.open { opacity:1; pointer-events:auto; }
.modal { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); background:#fff; color:#111827; padding:24px; border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,.2); width:520px; max-width:92vw; max-height:90vh; overflow:auto; z-index:46; display:none; }
.modal.open { display:block; }
.modal-close { position:absolute; top:12px; right:12px; width:32px; height:32px; border:0; background:#eef2f6; color:#1f2a36; border-radius:50%; cursor:pointer; font-weight:700; font-size:20px; }
.modal label { display:block; margin:12px 0 4px 0; }
.modal input, .modal select { width:100%; }
.wizard { display:none; }
.wizard.active { display:block; }
.wizard-progress { display:flex; gap:8px; margin-bottom:12px; }
.wizard-step { flex:1; height:4px; background:#e0e0e0; border-radius:2px; }
.wizard-step.active { background:#2563eb; }
.error-text { color:#b00020; font-size:13px; margin:8px 0 0 0; }
.success-text { color:#2e7d32; font-size:13px; margin:8px 0 0 0; }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .hero h2 { font-size: 34px; }
    .hero-subline { font-size: 16px; }
}
