/* ============================================
   ePromoINK - Formular & Styles
============================================ */

/* Wrapper SVG Selector */
.tattoo-selector-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    text-align: center;
    padding: 0;
}

.tattoo-selector-wrapper svg {
    display: inline-block;
    width: 100%;
    max-width: none;
    height: auto;
}

.scroll-hint {
    display: none !important;
}

@media (max-width: 768px) {
    .scroll-hint {
        font-size: 0.7rem !important;
        text-align: center !important;
        margin-top: 0.25rem;
        width: 100%;
        display: block !important;
    }

    .tattoo-selector-wrapper svg {
        width: 600px;
        display: inline-block;
        margin: 0 auto;
    }
}

/* ============================================
   Form Layout
============================================ */
.epromoink-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    margin: 0 auto 2rem auto;
}

.epromoink-form .form-intro {
    width: 100%;
    margin-bottom: 1rem;
}

/* Feldbreiten */
.epromoink-form .full-width { flex: 1 1 100%; }
.epromoink-form .half-width { flex: 1 1 calc(50% - 0.5rem); }

/* Form Group muss relative sein für Floating Labels */
.epromoink-form .form-group {
    position: relative;
}

/* ============================================
   Inputs, Textareas, Selects & Floating Labels
============================================ */
.epromoink-form input[type="text"],
.epromoink-form input[type="email"],
.epromoink-form input[type="tel"],
.epromoink-form textarea,
.epromoink-form select {
    width: 100%;
    padding: 2rem 0.75rem 0.5rem 0.75rem;
    font-size: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

/* Floating Labels */
.epromoink-form .form-group input[type="text"] + label,
.epromoink-form .form-group input[type="email"] + label,
.epromoink-form .form-group input[type="tel"] + label,
.epromoink-form .form-group textarea + label,
.epromoink-form .form-group select + label {
    position: absolute;
    top: 1rem;
    left: 0.75rem;
    font-size: 0.9rem;
    color: #666;
    pointer-events: none;
    transition: 0.2s ease all;
    z-index: 2;
}

.epromoink-form .form-group input:focus + label,
.epromoink-form .form-group input:not(:placeholder-shown) + label,
.epromoink-form .form-group textarea:focus + label,
.epromoink-form .form-group textarea:not(:placeholder-shown) + label,
.epromoink-form .form-group select:focus + label,
.epromoink-form .form-group select:not([value=""]) + label {
    top: -0.5rem;
    font-size: 0.75rem;
     
}

/* ============================================
   Submit Button
============================================ */
.epromoink-form .epromoink_submit input[type="submit"] {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #999;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.epromoink-form .epromoink_submit input[type="submit"]:hover {
    background-color: #000;
}

/* ============================================
   Radios Stilrichtungen
============================================ */
.stilrichtung {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.radio-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    flex: 1 1 calc(50% - 0.5rem);
    transition: all 0.15s ease-in-out;
}

.radio-item input[type="radio"] {
    transform: scale(1.3);
    margin-right: 0.5rem;
    cursor: pointer;
}

/* Radios: Label normal positioniert, klickbar auf ganzen Container */
.radio-item label {
    position: static !important;  /* kein absolute mehr */
    top: auto !important;
    left: auto !important;
    display: flex;                /* flex für Ausrichtung mit Input */
    align-items: center;
    cursor: pointer;
    flex: 1;
}


.radio-item:hover { border-color: #aaa; }

.radio-item:has(input[type="radio"]:checked) {
    border-color: #ff8800;
    color: #ff8800;
}

@media (max-width: 768px) {
    .radio-item { flex: 1 1 100%; }
}

/* ============================================
   Checkbox / Acceptance / Datenschutz
============================================ */
.datenschutz-wrap {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #444;
}

.datenschutz-wrap .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.datenschutz-wrap label,
.epromoink-form .wpcf7-acceptance label {
    position: static !important;
    top: auto !important;
    left: auto !important;
    padding: 0 !important;
    pointer-events: auto !important;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: #444;
}

.datenschutz-wrap input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
    transform: scale(1.3);
    cursor: pointer;
    flex-shrink: 0;
}

.datenschutz-wrap .wpcf7-list-item-label {
    display: block;
    cursor: pointer;
    flex: 1 1 auto;
}

.datenschutz-wrap a {
    color: #0073aa;
    text-decoration: underline;
}

.datenschutz-wrap a:hover { color: #000; }


.epromoink-form .form-group label {
    position: absolute;  /* falls Floating Label */
    top: 0rem;
    left: 0.5rem;
    text-align: left !important;
	font-size: .9rem;
    font-weight: bold;
}


/* ============================================
   Responsive Layout
============================================ */
@media (max-width: 48rem) {
    .epromoink-form .half-width { flex: 1 1 100%; }
}

@media (max-width: 30rem) {
    .epromoink-form { gap: 0.75rem; }
    .epromoink-form input,
    .epromoink-form textarea,
    .epromoink-form select { font-size: 0.875rem; padding: 0.75rem 0.625rem 0.25rem 0.625rem; }
    .epromoink-form .epromoink_submit input[type="submit"] { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
}

/* ============================================
   Typografie / Überschriften
============================================ */
.epromoink-form h1, .epromoink-form h2, .epromoink-form h3, .epromoink-form h4, .epromoink-form h5,
h4, .tattoo-selector-wrapper h4 {
    font-weight: 900;
    font-size: 1.3rem;
    text-align: left;
    margin: 0.25rem 0;
    color: #FFF;
}

.epromoink-form p
{
text-align:left !important;
}


/* ============================================
   CF7 Felder an epromoink Design anpassen
============================================ */
.wpcf7 input.wpcf7-text,
.wpcf7 input.wpcf7-number,
.wpcf7 textarea.wpcf7-textarea,
.wpcf7 select.wpcf7-select {
    width: 100% !important;
    padding: 2rem 0.75rem 0.5rem 0.75rem !important;
    font-size: 1.2rem !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
	background:#FFF !important;
	background-color:#FFF !important;
}

/* Floating Label an CF7 Input */
.wpcf7-form .form-group label {
    position: absolute;
    top: 0rem !important;
    left: 0.5rem !important;
    text-align: left !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
}

/* Margin unten für CF7 Felder */
.wpcf7-form .wpcf7-form-control-wrap {
    margin-bottom: 1rem !important;
}
