* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:#eef2f7;
    color: #222;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.site-header {
    background: linear-gradient(135deg, #111827, #2563eb);
    color: #fff;
    padding: 20px 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.form-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h1 {
    margin: 0 0 10px;
    font-size: 32px;
    color: #111827;
}

.form-header p {
    color: #6b7280;
    font-size: 15px;
}

.section-title {
    margin: 30px 0 18px;
    font-size: 20px;
    color: #1f2937;
    border-left: 5px solid #2563eb;
    padding-left: 12px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.field {
    margin-bottom: 18px;
}
.radio-group{
    display:flex;
    gap:15px;
}

.radio-card{
    position:relative;
    cursor:pointer;
}

.radio-card input{
    display:none;
}

.radio-card span{
    display:block;
    padding:14px 30px;
    border:2px solid #dbe2ea;
    border-radius:12px;
    background:#fff;
    font-weight:600;
    transition:.2s;
}

.radio-card input:checked + span{
    background:#2563eb;
    border-color:#2563eb;
    color:#fff;
}

.radio-card:hover span{
    border-color:#2563eb;
}
label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

input,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: 0.2s;
    background: #fff;
}

input:focus,
textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

textarea {
    resize: vertical;
}

.req {
    color: #dc2626;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.checkbox-label {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    background: #f9fafb;
    transition: 0.2s;
}

.checkbox-label:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.checkbox-label input {
    width: auto;
    margin-right: 7px;
}

.btn-submit {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    padding: 15px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.35);
}

.alert {
    padding: 15px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.has-error input,
.has-error textarea {
    border-color: #dc2626;
}

.error-msg {
    display: block;
    margin-top: 6px;
    color: #dc2626;
    font-size: 13px;
}

.site-footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #6b7280;
}

.phone-group{
    display:flex;
    align-items:center;
}

.phone-group span{
    padding:13px 15px;
    background:#f3f4f6;
    border:1px solid #d1d5db;
    border-right:none;
    border-radius:10px 0 0 10px;
    font-weight:600;
}

.phone-group input{
    border-radius:0 10px 10px 0;
}

/* Tablet */
@media (max-width: 768px) {
    .form-card {
        padding: 24px;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-header h1 {
        font-size: 26px;
    }
}

/* Telefon */
@media (max-width: 480px) {
    main.container {
        padding: 1rem !important;
    }

    .form-card {
        padding: 20px;
        border-radius: 14px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .form-header h1 {
        font-size: 24px;
    }

    input,
    textarea {
        font-size: 14px;
        padding: 12px;
    }
}
.radio-group {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.radio-card {
    display: inline-block;
    cursor: pointer;
    margin: 0;
}

.radio-card input[type="radio"] {
    display: none !important;
}

.radio-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 13px 24px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    background: #f9fafb;
    color: #374151;
    font-weight: 700;
    transition: 0.2s;
}

.radio-card:hover span {
    border-color: #2563eb;
    background: #eff6ff;
}

.radio-card input[type="radio"]:checked + span {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37,99,235,0.25);
}
.brand-area{
    margin:-32px -32px 30px;
}

.brand-logo{
    display:block;
    margin:25px auto 20px;
    max-width:180px;
    height:auto;
}

.form-banner{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    border-radius:18px 18px 0 0;
}
@media (max-width: 768px) {
    .form-banner {
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}