.d-none {
    display: none !important;
}

/* ==========================================================================
   danibanu – Tattoo-Terminanfrage (Contact Form 7)
   ========================================================================== */

.tf-form {
	--tf-border: #1b1b1b;
	--tf-border-focus: #414141;
	--tf-text: #808080;
	--tf-muted: #808080;
	--tf-req: #d63638;
	--tf-radius: 4px;
	--tf-btn-bg: #333;
	--tf-btn-text: #fff;

	--tf-input-bg: #1B1B1B;
	--tf-input-text: #f2f2f2;
	max-width: 740px;
	color: var(--tf-text);
}

/* Gruppen & Labels */
.tf-form .tf-group { margin-bottom: 1.75rem; }
.tf-form label { display: block; margin: 0; font-weight: normal; }
.tf-form .tf-label { display: block; font-weight: 600; margin-bottom: .5rem; }
.tf-form .tf-req { color: var(--tf-req); }
.tf-form .tf-sub { display: block; font-size: .85em; color: var(--tf-muted); margin-top: .25rem; }

/* Zweispaltige Reihen */
.tf-form .tf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.tf-form .tf-row + .tf-row,
.tf-form .tf-full + .tf-full,
.tf-form .tf-full + .tf-row, .tf-full > label.tf-full { margin-top: .75rem; }
.tf-form .wpcf7-form-control-wrap { display: block; }

/* Eingabefelder */
.tf-form input[type="text"],
.tf-form input[type="email"],
.tf-form input[type="tel"],
.tf-form input[type="date"],
.tf-form select,
.tf-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .6rem .75rem;
	border: 1px solid var(--tf-border);
	border-radius: var(--tf-radius);
	background: var(--tf-input-bg);
	color: var(--tf-input-text);
	font: inherit;
}
.tf-form textarea { min-height: 120px; resize: vertical; }
.tf-form input:focus,
.tf-form select:focus,
.tf-form textarea:focus {
	outline: none;
	border-color: var(--tf-border-focus);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .06);
}

/* Checkboxen / Acceptance */
.tf-form .tf-check .wpcf7-list-item { display: block; margin: 0; }
.tf-form .tf-check .wpcf7-list-item label {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
	font-size: 1rem;
	cursor: pointer;
}
.tf-form .tf-check input[type="checkbox"] { margin-top: .2em; flex-shrink: 0; }

/* Validierung */
.tf-form .wpcf7-not-valid { border-color: var(--tf-req) !important; }
.tf-form .wpcf7-not-valid-tip { font-size: .85em; margin-top: .25rem; }

/* Submit */
.tf-form .tf-submit input[type="submit"] {
	padding: .65rem 1.5rem;
	border: 0;
	border-radius: var(--tf-radius);
	background: var(--tf-btn-bg);
	color: var(--tf-btn-text);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.tf-form .tf-submit input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }

.wpcf7 form .wpcf7-response-output {
    padding: 2rem;
    color: #aaa;
    border-color: var(--tf-btn-bg);
}
.wpcf7 form.sent .wpcf7-response-output {
    background: #e0ffc7;
    border: 1px solid #b4d39b;
    color: #333;
}

/* Mobil */
@media (max-width: 600px) {
	.tf-form .tf-row { grid-template-columns: 1fr; gap: .75rem; }
}

/* Dunkle Inputs: native Elemente (Datepicker-Icon, Select-Pfeil) hell darstellen */
.tf-form input,
.tf-form select,
.tf-form textarea { color-scheme: dark; }

.tf-form select option { background: var(--tf-input-bg); color: var(--tf-input-text); }

.tf-form ::placeholder { color: var(--tf-muted); opacity: 1; }

/* Browser-Autofill überschreibt sonst den Hintergrund mit Hellblau/Gelb */
.tf-form input:-webkit-autofill,
.tf-form input:-webkit-autofill:hover,
.tf-form input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--tf-input-text);
	-webkit-box-shadow: 0 0 0 1000px var(--tf-input-bg) inset;
	caret-color: var(--tf-input-text);
}


/* --------------- CF7 FORM / Drag n drop images ------------ */
.wpcf7 form {
    position: relative;
    margin-top: 2rem;
}

.wpcf7 h2, .wpcf7 p {
    color: var(--tf-text);
}

.wpcf7-form-control-wrap {
    position: relative;
    max-width: 100%;
}

.wpcf7-form-control-wrap > * {
    max-width: 100%;
}

span.wpcf7-form-control.wpcf7-acceptance {
    font-size: 12px;
}
span.wpcf7-form-control.wpcf7-acceptance label {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}
span.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

.wpcf7-not-valid-tip {
    color: #e44e56;
    font-size: 12px;
    font-weight: normal;
    display: block;
    margin: 8px 10px;
}
.cf7-drop-text-error {
    color: #e44e56;
    padding-left: 50px;
    font-size: 12px;
}

.cf7-dragandrophandler {
    padding: 0;
    height: auto !important;
}
.cf7-dragandrophandler-inner {
    padding: 12px !important;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 2.2;
    color: #a7a7a7;
}

.cf7-dragandrophandler-inner > div {
    font-size: 15px !important;
}

.cf7-text-browser {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.cf7-text-browser a {
    margin: 0;
    border: none;
    overflow: visible;
    font: inherit;
    text-transform: none;
    -webkit-appearance: none;
    border-radius: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 0 20px;
    vertical-align: middle;
    font-size: 11px;
    line-height: 38px;
    text-align: center;
    text-decoration: none;
    transition: .1s ease-in-out;
    transition-property: color, background-color, background-position, background-size, border-color, box-shadow;
    font-family: inherit;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-origin: border-box;

    background-color: #f7f7f7;
    color: #6c6d74 !important;
}

.cf7-text-browser a:before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.1' d='M6.5,14.61 L3.75,14.61 C1.96,14.61 0.5,13.17 0.5,11.39 C0.5,9.76 1.72,8.41 3.31,8.2 C3.38,5.31 5.75,3 8.68,3 C11.19,3 13.31,4.71 13.89,7.02 C14.39,6.8 14.93,6.68 15.5,6.68 C17.71,6.68 19.5,8.45 19.5,10.64 C19.5,12.83 17.71,14.6 15.5,14.6 L12.5,14.6'%3E%3C/path%3E%3Cpolyline fill='none' stroke='%23000' points='7.25 11.75 9.5 9.5 11.75 11.75'%3E%3C/polyline%3E%3Cpath fill='none' stroke='%23000' d='M9.5,18 L9.5,9.5'%3E%3C/path%3E%3C/svg%3E");
    content: "";
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
}


.cf7-drop-filename {
    display: block;
    vertical-align: top;
    margin-left: 50px;
    font-size: 12px;
}
.cf7-drop-filesize {
    display: block;
    vertical-align: top;
    color: #30693D;
    margin-left: 50px !important;
    margin-right: 5px;
    margin-left: 10px;
    color: #444242;
    font-weight: 500;
    font-size: 12px;
}
.cf7-drop-img {
    width: 50px;
    height: 50px;
    left: 0;
    position: absolute;
    top: 0;
    margin: 10px 0;
}

/* Captcha */
.f12-captcha.template-1 {
    background-color: #fff;
    border: none  !important;
    padding: 0 0  !important;
    position: relative;
    border-radius: 3px;
    max-width: 100%;
}
