/* assets/css/components.css */

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
}

.btn-primary {
    background: #ffffff;
    color: #fb1500;
    border-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: none;
}

.btn-secondary {
    background: #fb1500;
    color: #fff;
    border-color: #fb1500;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: transparent;
    color: #fb1500;
    border-color: #fb1500;
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.card--outlined {
    box-shadow: none;
    border: 1px solid #e0e0e0;
}

.card__title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card__text {
    font-size: 0.95rem;
    color: #555;
}

/* Key figure / feature list */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.4rem;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: #fb1500;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: #ffe4e4;
    color: #fb1500;
}

/* Job listing */
.job-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-list__item {
    margin-bottom: 1rem;
}

.job-card {
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.job-card__title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.job-card__meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.5rem;
}

/* Flash-Messages */
.flash-message {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.flash-message--success {
    background: #e7f8ec;
    border: 1px solid #45a766;
    color: #25613c;
}

.flash-message--error {
    background: #fdeaea;
    border: 1px solid #d9534f;
    color: #8a1f1c;
}

.flash-message--error ul {
    padding-left: 1.2rem;
}

/* Honeypot-Feld verstecken */
.contact-form__hp {
    display: none;
}

/* Client-side Fehlerhighlight (für JS) */
.contact-form__field--invalid input,
.contact-form__field--invalid textarea {
    border-color: #d9534f;
    background: #fff7f7;
}
