:root{
	/* Rahmen + Füllung | Text auf Füllung | Text im Hover (ohne Füllung) */
	--btnHollowColor1: #0080c9;
	--btnTextColor1: #fff;
	--btnTextHoverColor1: #0080c9;

	--btnHollowColor2: #000;
	--btnTextColor2: #fff;
	--btnTextHoverColor2: #000;

	--btnHollowColor3: #fff; /* für dunkle Hintergründe */
	--btnTextColor3: #000;
	--btnTextHoverColor3: #fff;
}

:is(a, span).btn,
.wpcf7-submit{
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 18px 27px;
	margin: 0 10px 10px 0; /* Abstand zum nächsten Button rechts/unten */
	font-family: 'oss', sans-serif;
	letter-spacing: .3px;
	text-transform: uppercase;
	text-decoration: none;
	background-color: transparent;
	overflow: hidden;
	z-index: 1;
	cursor: pointer;
	/* Textfarbe erst wechseln, wenn der Kreis den Text freigibt bzw. wieder abdeckt */
	transition: color .2s ease-in .2s;
}
span.btn{ cursor: default; }


/* Farben – Normalzustand (gefüllt) */
.btn.hollow1{ color: var(--btnTextColor1); border: 1px solid var(--btnHollowColor1); }
.btn.hollow2{ color: var(--btnTextColor2); border: 1px solid var(--btnHollowColor2); }
.btn.hollow3{ color: var(--btnTextColor3); border: 1px solid var(--btnHollowColor3); }

/* Farben – Hover/Fokus (hohl) */
a.btn.hollow1:is(:hover, :focus-visible){ color: var(--btnTextHoverColor1); }
a.btn.hollow2:is(:hover, :focus-visible){ color: var(--btnTextHoverColor2); }
a.btn.hollow3:is(:hover, :focus-visible){ color: var(--btnTextHoverColor3); }


/* Füllkreis */
.btn::before{
	position: absolute;
	z-index: -1;
	content: '';
	display: block;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	transition: width .4s ease-in, height .4s ease-in;
}
a.btn:is(:hover, :focus-visible)::before{
	width: 0;
	height: 0;
}

.btn.hollow1::before{ background-color: var(--btnHollowColor1); }
.btn.hollow2::before{ background-color: var(--btnHollowColor2); }
.btn.hollow3::before{ background-color: var(--btnHollowColor3); }


/* Contact Form 7: <input> kann kein ::before -> Füllung per background-color */
.wpcf7-submit{
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
	font-size: inherit;
	line-height: inherit;
	color: var(--btnTextColor2);
	background-color: var(--btnHollowColor2);
	border: 1px solid var(--btnHollowColor2);
	transition: color .4s ease-in, background-color .4s ease-in;
}
.wpcf7-submit:is(:hover, :focus-visible){
	color: var(--btnTextHoverColor2);
	background-color: transparent;
}
.wpcf7-submit:disabled{
	opacity: .5;
	cursor: not-allowed;
}


/* Icon */
.btn .btn-icon img{
	display: block;
	width: auto;
	max-height: 21px;
	margin-left: -5px;
}


/* Ausrichtung (links = Standard, kein Wrapper) */
.th3-btn-wrap.bc{ text-align: center; }
.th3-btn-wrap.br{ text-align: right; }
.th3-btn-wrap .btn{ margin-right: 0; }


@media (prefers-reduced-motion: reduce){
	.btn, .btn::before, .wpcf7-submit{ transition: none; }
}
