/* ============================================================
   INTERESSE-FORMULAR STYLES
   ============================================================
   Styles für die Interesse-anmelden Seite
   - Kontaktformular
   - Werk-Info-Box
   - Info-Sektion (Lieferung & Rahmung)
   
   Alphabetisch sortiert, keine Duplikate
   Version: CLEANED
   ============================================================ */

/* ============================================================
   CONTAINER
   ============================================================ */

.interesse-container {
    margin: 2rem auto;
    max-width: 800px;
    padding: 2rem;
}

/* ============================================================
   HEADER
   ============================================================ */

.interesse-header {
    margin-bottom: 3rem;
    text-align: center;
}

.interesse-header h1 {
    color: var(--color-text-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ============================================================
   WERK-INFO BOX
   ============================================================ */

.werk-info {
    background: var(--color-background-secondary);
    border-radius: 8px;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.werk-info-content {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.werk-info-image {
    flex-shrink: 0;
}

.werk-info-label {
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.werk-info-text {
    flex: 1;
}

.werk-name {
    color: var(--color-text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.werk-facts,
.werk-price {
    margin: 0.35rem 0 0;
}

.werk-facts {
    color: var(--color-text-secondary);
}

.werk-price {
    color: var(--color-text-primary);
    font-weight: 600;
}

.werk-facts:empty,
.werk-price:empty {
    display: none;
}

.formular-container .inquiry-reassurance {
    color: var(--color-text-secondary);
    margin: -0.75rem 0 1.5rem;
}

.werk-thumbnail {
    border-radius: 6px;
    box-shadow: var(--shadow-small);
    height: 120px;
    object-fit: cover;
    width: 120px;
}

/* ============================================================
   FORMULAR CONTAINER
   ============================================================ */

.formular-container {
    background: var(--color-background-secondary);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 3rem;
    padding: 2rem;
}

.formular-container h2 {
    color: var(--color-text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-input,
.form-textarea {
    background: var(--color-background-primary);
    border: 2px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 1rem;
    padding: 0.75rem;
    transition: border-color 0.3s;
    width: 100%;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-accent-text);
    outline: none;
}

.form-label {
    color: var(--color-text-primary);
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-label.optional {
    font-weight: 400;
}

.form-label .required {
    color: var(--color-status-sold-text);
}

.form-submit {
    background: var(--color-accent-primary);
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow-small);
    color: white;
    cursor: pointer;
    display: inline-block;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    transition: all 0.3s;
}

.form-submit:hover {
    background: var(--color-accent-primary-hover);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit:focus-visible {
    outline: 2px solid var(--color-accent-text);
    outline-offset: 3px;
}

.form-hint {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0.75rem 0 0;
}

/* Bestätigung nach dem Absenden */
.sent-panel {
    border: 1px solid var(--color-status-available);
    border-radius: 8px;
    margin-top: 2rem;
    padding: 1.5rem;
}

.sent-panel[hidden] {
    display: none;
}

.sent-panel:focus {
    outline: none;
}

.sent-panel:focus-visible {
    outline: 2px solid var(--color-accent-text);
    outline-offset: 3px;
}

.sent-title {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.sent-panel a {
    color: var(--color-accent-text);
    font-weight: 600;
}

.sent-text {
    font-size: 0.9rem;
    margin-top: 1rem;
    width: 100%;
}

.sent-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.form-submit-secondary {
    background: var(--color-accent-secondary);
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.form-submit-secondary:hover {
    background: var(--color-accent-secondary-hover);
}

.copy-status {
    color: var(--color-status-available-text);
    font-weight: 600;
}

.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* ============================================================
   INFO SECTION
   ============================================================ */

.info-section {
    background: var(--color-background-secondary);
    border-radius: 12px;
    box-shadow: var(--shadow-small);
    margin-top: 4rem;
    padding: 2.5rem;
}

.info-section h2 {
    color: var(--color-text-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.info-section p,
.info-section strong {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    text-align: left;
}

.info-section strong {
    color: var(--color-text-primary);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    margin-top: 1rem;
}

.info-section ul {
    list-style: none;
    margin-bottom: 1rem;
    margin-left: 0;
    padding-left: 0;
}

.info-section ul li {
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.info-section a {
    color: var(--color-accent-text);
    font-weight: 500;
    text-decoration: none;
}

.info-section a:hover {
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {

    .formular-container {
        padding: 1.5rem;
    }

    .interesse-container {
        padding: 1rem;
    }

    .interesse-header h1 {
        font-size: 2rem;
    }

    .werk-info-content {
        flex-direction: column;
        text-align: center;
    }

    .werk-thumbnail {
        height: 150px;
        width: 150px;
    }
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 1;
}
