/* FDP Pressemeldungen – Formular-Styles */

.fdp-pm-container {
    max-width: 820px;
    margin: 0 auto;
    font-family: inherit;
}

/* Paket-Info Banner */
.fdp-paket-info {
    background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
    color: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 32px;
}
.fdp-paket-info__title {
    font-size: 16px;
    margin-bottom: 10px;
}
.fdp-paket-info__features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.fdp-paket-info__features span {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 13px;
}

/* Nachrichten */
.fdp-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.5;
}
.fdp-message--success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.fdp-message--error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Abschnittstitel */
.fdp-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* Felder */
.fdp-field {
    margin-bottom: 20px;
}
.fdp-field label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}
.fdp-field--required label::after {
    content: ' *';
    color: #d63638;
}
.fdp-field input[type="text"],
.fdp-field input[type="email"],
.fdp-field input[type="tel"],
.fdp-field input[type="url"],
.fdp-field select,
.fdp-field textarea {
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.fdp-field input:focus,
.fdp-field select:focus,
.fdp-field textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34,113,177,0.12);
}
.fdp-field textarea {
    resize: vertical;
    min-height: 280px;
    font-family: inherit;
    line-height: 1.6;
}
.fdp-field-hint {
    font-size: 12px;
    color: #888;
    margin: 6px 0 0;
}
.fdp-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .fdp-field-row { grid-template-columns: 1fr; }
}

/* Wort-Zähler */
.fdp-word-counter {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    background: #f0f0f0;
    border-radius: 10px;
    padding: 2px 10px;
}
.fdp-word-counter--warning { color: #d63638; background: #fdf2f2; }

/* Upload-Bereich */
.fdp-upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
}
.fdp-upload-area:hover,
.fdp-upload-area.fdp-drag-over {
    border-color: #2271b1;
    background: #f0f7ff;
}
.fdp-upload-icon { font-size: 36px; margin-bottom: 8px; }
.fdp-upload-text { font-size: 15px; color: #555; }
.fdp-upload-link { color: #2271b1; cursor: pointer; text-decoration: underline; }
.fdp-upload-hint { font-size: 12px; color: #aaa; margin-top: 6px; }

/* Bild-Vorschau */
.fdp-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}
.fdp-preview-item {
    position: relative;
    width: 120px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #ddd;
}
.fdp-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fdp-preview-item__remove {
    position: absolute;
    top: 4px; right: 4px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px; height: 22px;
    cursor: pointer;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    padding: 0;
}

/* Datenschutz */
.fdp-field--consent label {
    font-weight: 400;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.fdp-field--consent input[type="checkbox"] {
    margin-top: 2px;
    width: 16px; height: 16px;
    flex-shrink: 0;
}
.fdp-field--consent label::after { display: none; }

/* Submit-Button */
.fdp-field--submit { margin-top: 32px; }
.fdp-btn-submit {
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
}
.fdp-btn-submit:hover { background: #135e96; }
.fdp-btn-submit:active { transform: scale(0.99); }
.fdp-btn-submit:disabled { background: #aaa; cursor: not-allowed; }
.fdp-submit-hint { font-size: 13px; color: #888; margin-top: 12px; text-align: center; }

/* Danke-Seite */
.fdp-danke { text-align: center; padding: 60px 20px; }
.fdp-danke__icon { font-size: 64px; margin-bottom: 16px; }
.fdp-danke h2 { font-size: 28px; color: #1a1a1a; margin-bottom: 16px; }
.fdp-danke p { font-size: 16px; color: #555; max-width: 500px; margin: 0 auto 12px; }
.fdp-btn-back {
    display: inline-block;
    margin-top: 24px;
    background: #2271b1;
    color: #fff;
    border-radius: 6px;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
}

/* Dokument-Upload */
.fdp-doc-upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}
.fdp-doc-upload-area:hover {
    border-color: #2271b1;
    background: #f0f7ff;
}
